On Fri, Apr 11, 2008 at 11:26:41AM +0200, Jordi Espasa Clofent wrote:
> Well...
>
> $ ifconfig nfe0
> nfe0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>         lladdr 00:e0:81:5c:e6:a0
>         media: Ethernet autoselect (1000baseT full-duplex,master)
>         status: active
>         inet 192.168.1.245 netmask 0xffffff00 broadcast 192.168.1.255
>         inet6 fe80::2e0:81ff:fe5c:e6a0%nfe0 prefixlen 64 scopeid 0x1
>
> $ cat /etc/ntpd.conf
> # $OpenBSD: ntpd.conf,v 1.8 2007/07/13 09:05:52 henning Exp $
> # sample ntpd configuration file, see ntpd.conf(5)
>
> # Addresses to listen on (ntpd does not listen by default)
> listen on 192.168.1.245
>
> # sync to a single server
> #server ntp.example.org
> #server yes
>
> # use a random selection of 8 public stratum 2 servers
> # see http://support.ntp.org/bin/view/Servers/NTPPoolServers
> servers es.pool.ntp.org
>
> but... ?no 'LISTEN' state in port 123?
>
> $ netstat -an | grep LISTEN
> tcp        0      0  127.0.0.1.587          *.*                    LISTEN
> tcp        0      0  127.0.0.1.25           *.*                    LISTEN
> tcp        0      0  *.1721                 *.*                    LISTEN
> tcp        0      0  *.37                   *.*                    LISTEN
> tcp        0      0  *.13                   *.*                    LISTEN
> tcp        0      0  *.113                  *.*                    LISTEN
> tcp6       0      0  ::1.587                *.*                    LISTEN
> tcp6       0      0  ::1.25                 *.*                    LISTEN
> tcp6       0      0  *.1721                 *.*                    LISTEN
> tcp6       0      0  *.37                   *.*                    LISTEN
> tcp6       0      0  *.13                   *.*                    LISTEN
> tcp6       0      0  *.113                  *.*                    LISTEN
>

NTP is UDP and UDP does not have states associated with sockets.

-- 
:wq Claudio

Reply via email to