Welcome to WebmasterWorld Guest from 54.146.59.202

Forum Moderators: bakedjake

Message Too Old, No Replies

Plugging NTP Security Holes

     
4:00 pm on Feb 27, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



We got a notice from ScanAlert saying that our mail server (FreeBSD) has a security issue with the NTP port, and offers this as a fix:

Quickfix: Set NTP to restrict default access to ignore all info packets: restrict default ignore

Will this disable the ability for servers to time sync? It seems to me (being a non- *nix person) that this command will effectively render server to server time sync useless? What are my options?

4:10 pm on Feb 27, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



This may help:
[freebsd.org...]

25.10.3.3 Controlling Access to Your Server
By default, your NTP server will be accessible to all hosts on the Internet. The restrict option in /etc/ntp.conf allows you to control which machines can access your server.
If you want to deny all machines from accessing your NTP server, add the following line to /etc/ntp.conf:
restrict default ignore

If you only want to allow machines within your own network to synchronize their clocks with your server, but ensure they are not allowed to configure the server or used as peers to synchronize against, add
restrict 192.168.1.0 mask 255.255.255.0 nomodify notrap

instead, where 192.168.1.0 is an IP address on your network and 255.255.255.0 is your network's netmask.
/etc/ntp.conf can contain multiple restrict options. For more details, see the Access Control Support subsection of ntp.conf(5).

 

Featured Threads

Hot Threads This Week

Hot Threads This Month