tftp won't run
I am trying to setup tftp on my redhat 9 linux box.
I have installed the rpm tftp-0.32-4 My /tftpboot folder has permissions set to 777 and owner as nobody:nobody My tftp file in /etc/xinetd.d is: service tftp { socket_type = dgram protocol = udp wait = yes user = root server = /usr/sbin/in.tftpd server_args = -c -s /tftpboot disable = no per_source = 11 cps = 100 2 flags = IPv4 } I have stopped and started xinetd my netstat -at |grep tftp returns nothing my nmap -v -sS localhost returns Starting nmap V. 3.00 ( ) Host Linux (127.0.0.1) appears to be up ... good. Initiating SYN Stealth Scan against Linux (127.0.0.1) Adding open port 21/tcp Adding open port 80/tcp Adding open port 443/tcp Adding open port 6000/tcp Adding open port 25/tcp Adding open port 111/tcp Adding open port 3306/tcp The SYN Stealth Scan took 2 seconds to scan 1601 ports. Interesting ports on Linux (127.0.0.1): (The 1594 ports scanned but not shown below are in state: closed) Port State Service 21/tcp open ftp 25/tcp open smtp 80/tcp open http 111/tcp open sunrpc 443/tcp open https 3306/tcp open mysql 6000/tcp open X11 Nmap run completed -- 1 IP address (1 host up) scanned in 2 seconds So....I see that tftp is not sitting on port 69 . Help. My goal is to setup tftp so I can save router configurations for backup. Jerry |
Hi,
you have in your tftp file in /etc/xinetd.d protocol = udp so you need to run netstat with -u option My "netstat -ua | grep tftp" returns Code:
[root@iguana bin]# netstat -ua | grep tftp Code:
[root@iguana bin]# nmap -v -sU localhost |
still not showing up
I ran nmap and netstat as directed and it still is not showing up:
[root@:Linux xinetd.d]# netstat -ua Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address Foreign Address State udp 0 0 *:sunrpc *:* [root@Linux xinetd.d]# nmap -v -sU localhost Starting nmap V. 3.00 ( www.insecure.org/nmap/ ) Host Linux (127.0.0.1) appears to be up ... good. Initiating UDP Scan against Linux (127.0.0.1) The UDP Scan took 3 seconds to scan 1468 ports. Adding open port 111/udp Interesting ports on Linux (127.0.0.1): (The 1467 ports scanned but not shown below are in state: closed) Port State Service 111/udp open sunrpc Nmap run completed -- 1 IP address (1 host up) scanned in 3 seconds |
resolved
Resolved:
I was loading tftp instead of tftp-server. There is a difference. Relief. |
All times are GMT -5. The time now is 09:01 AM. |