-
Notifications
You must be signed in to change notification settings - Fork 381
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ntp: T6080: T6123: restrict config.boot.default NTP settings to RFC1918 and fe80::/10, fc00::/7 only #559
Conversation
Adds ipv4/ipv6 localhost, link-local and private address as allowed-clients to NTP service.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
default configuration is translated to:
set service ntp allow-client address '10.0.0.0/8'
set service ntp allow-client address '127.0.0.0/8'
set service ntp allow-client address '169.254.0.0/16'
set service ntp allow-client address '172.16.0.0/12'
set service ntp allow-client address '192.168.0.0/16'
set service ntp allow-client address '::1/128'
set service ntp allow-client address 'fc00::/7'
set service ntp allow-client address 'fe80::/10'
set service ntp server time1.vyos.net
set service ntp server time2.vyos.net
set service ntp server time3.vyos.net
While walking up through all migration scripts.
Commit message can be adjusted during squash
@Mergifyio backport sagitta |
✅ Backports have been created
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I kept thinking about including those defaults implicitly in the template, but explicit config options are probably better indeed.
Change Summary
Adds ipv4/ipv6 localhost, link-local and private address as allowed-clients to NTP service.
Types of changes
Related Task(s)
https://vyos.dev/T5694
https://vyos.dev/T6123
https://vyos.dev/T6080
Component(s) name
Proposed changes
How to test
Checklist: