No subject


Sun Jul 19 19:54:31 CDT 2009


        -u     Direct ntpdate to use an unprivileged port for outgoing packets.
               This is most useful when behind a firewall that blocks  incoming
               traffic  to  privileged  ports, and you want to synchronise with
               hosts beyond the firewall. Note that the -d option  always  uses
               unprivileged ports.

So ntpdate does not try and use 123 -- which is in use by ntpd.

Does:

 	sudo netstat -a -n -p | grep ntpd

show something like:

      udp        0      0 192.168.0.xx:123        0.0.0.0:*      1693/ntpd
      udp        0      0 127.0.0.1:123           0.0.0.0:*      1693/ntpd
      udp        0      0 0.0.0.0:123             0.0.0.0:*      1693/ntpd
      udp6       0      0 fe80::222:68ff:fe36:123 :::*           1693/ntpd
      udp6       0      0 ::1:123                 :::*           1693/ntpd
      udp6       0      0 :::123                  :::*           1693/ntpd
      unix  2      [ ]         DGRAM                    6635     1693/ntpd

-- 
Thanks in advance,
-------------------------------------------------------------------------
Steve Edwards       sedwards at sedwards.com      Voice: +1-760-468-3867 PST
Newline                                              Fax: +1-760-731-3000



More information about the asterisk-users mailing list