Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Oct 2011 22:37:43 +0200
From:      Peter Olsson <pol@leissner.se>
To:        freebsd-stable@freebsd.org
Subject:   How disable ntpd on IPv6 adresses?
Message-ID:  <20111004203743.GM23883@pol.leissner.se>

next in thread | raw e-mail | index | archive | help
Hello!

I hope this is the right list for this question.
In FreeBSD 8.2, how do I make ntpd not open any
IPv6 ports? I have searched man pages and google,
but haven't found the answer. Some ntpd have the
command line option -4, but that doesn't seem to
be the case with FreeBSD ntpd.

The server runs IPv6, but ntpd will only ever be used
with IPv4 servers, so I don't want any unnecessary
open IPv6 ports for ntpd.

"Use restrict" or "Use a firewall" is not the answer.
I just don't want this junk in netstat -an:
udp6       0      0 fe80:3::1.123          *.*                    
udp6       0      0 ::1.123                *.*                    
udp6       0      0 x:x:x:x.123            *.*                    
udp6       0      0 fe80:2::219:bbff.123   *.*                    
udp6       0      0 fe80:1::219:bbff.123   *.*                    
udp6       0      0 *.123                  *.*                    

Thanks!

-- 
Peter Olsson                    pol@leissner.se



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20111004203743.GM23883>