di# uname -a FreeBSD di.fm 4.9-RELEASE FreeBSD 4.9-RELEASE #0: Mon Jul 19 10:34:46 GMT 2004 [EMAIL PROTECTED]:/usr/src/sys/compile/di.fm i386 di# ps -axww | grep inetd di# netstat -a -p udp Active Internet connections (including servers) Proto Recv-Q Send-Q Local Address Foreign Address (state) udp4 0 0 di.syslog *.* udp4 0 0 *.syslog *.* udp6 0 0 *.syslog *.* di# cat /etc/inetd.conf | grep tftp tftp dgram udp wait root /usr/libexec/tftpd tftpd -l -s /tftpboot #tftp dgram udp6 wait root /usr/libexec/tftpd tftpd -s /tftpboot di# ll /tftpboot total 0 -rw-r--r-- 1 755 nobody 0 Sep 11 12:28 test di# ll / | grep tftpboot drwxrwxrwx 2 755 nobody 512 Sep 11 12:28 tftpboot di# inetd -wWdl & [1] 90216 di# ADD : tftp proto=udp accept=0 max=1 user=root group=(null)class=daemon builtin=0x0 server=/usr/libexec/tftpd policy="" inetd: tftp/udp: ipsec initialization failed; in entrust inetd: tftp/udp: ipsec initialization failed; out entrust inetd: enabling tftp, fd 4 inetd: registered /usr/libexec/tftpd on 4 di# netstat -a -p udp Active Internet connections (including servers) Proto Recv-Q Send-Q Local Address Foreign Address (state) udp4 0 0 *.tftp *.* udp4 0 0 di.syslog *.* udp4 0 0 *.syslog *.* udp6 0 0 *.syslog *.* di# fstat -p 90216 USER CMD PID FD MOUNT INUM MODE SZ|DV R/W root inetd 90216 root / 2 drwxr-xr-x 512 r root inetd 90216 wd /var 2 drwxr-xr-x 512 r root inetd 90216 text /usr 645936 -r-xr-xr-x 36484 r root inetd 90216 0 / 628 crw--w---- ttyp0 rw root inetd 90216 1 / 628 crw--w---- ttyp0 rw root inetd 90216 2 / 628 crw--w---- ttyp0 rw root inetd 90216 3* pipe ddd7ae80 <-> ddd7af20 0 rw root inetd 90216 4* internet dgram udp dc240bc0 root inetd 90216 5* pipe ddd7af20 <-> ddd7ae80 0 rw di# telnet localhost 69 Trying ::1... telnet: connect to address ::1: Connection refused Trying 127.0.0.1... telnet: connect to address 127.0.0.1: Connection refused telnet: Unable to connect to remote host di# telnet 64.235.xxx.4 69 Trying 64.235.xxx.4... telnet: connect to address 64.235.xxx.4: Connection refused telnet: Unable to connect to remote host di# tftp localhost tftp> get (files) test Transfer timed out.
tftp> quit di# tftp 64.235.xxx.4 tftp> get (files) test inetd: someone wants tftp inetd: disabling tftp, fd 4 inetd[90272]: warning: /etc/hosts.allow, line 23: can't verify hostname: getaddrinfo(something.is.not.right, AF_INET) failed inetd[90272]: connection from 64.235.xxx.4, service tftpd (udp) inetd: 90272 execl /usr/libexec/tftpd inetd: handling signal flag C inetd: 90272 reaped, status 0 inetd: enabling tftp, fd 4 di# ll test -rw-r--r-- 1 root wheel 0 Sep 11 12:44 test di# Can anyone tell me: - why tftp doesn't show as LISTEN in netstat? - why tftp did not respond on localhost? - why the tftp client only works? and only on the IP? - why telnetting to port 69 does not work at all? Regards, aaron.glenn _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"