fedora-users October 2011 archive
Main Archive Page > Month Archives  > fedora-users archives
fedora-users: Re: Getting timeouts on TFTP on F15 as well as F14

Re: Getting timeouts on TFTP on F15 as well as F14

From: Frantisek Hanzlik <franta_at_nospam>
Date: Mon Oct 10 2011 - 19:25:41 GMT
To: Community support for Fedora users <users@lists.fedoraproject.org>

Aaron Gray wrote:
> I am getting timeouts on TFTP on F15,
>
> Aaron

You should check at server side:

1) if tftp service is enabled:
# chkconfig --list tftp

Note: This output shows SysV services only and does not include native
      systemd services. SysV configuration data might be overridden by native
      systemd configuration.

tftp on

2) if xinetd daemon is running (also "service xinetd status"):
# systemctl status xinetd.service
xinetd.service - LSB: start and stop xinetd
          Loaded: loaded (/etc/rc.d/init.d/xinetd)
          Active: active (running) since Wed, 21 Sep 2011 04:46:34 +0200; 2 weeks and 5 days ago
        Main PID: 1908 (xinetd)
          CGroup: name=systemd:/system/xinetd.service
                  └ 1908 xinetd -stayalive -pidfile /var/run/xinetd.pid

3) /etc/hosts.allow (if You use hosts.allow/hosts.deny) should contain:
...
# we allow access from 192.168.1.0/24 :
in.tftpd: 192.168.1.0/255.255.255.0
...

4) if You use firewall (iptables), You should load nf_conntrack_tftp module,
for tracking ephemeral ports. That means /etc/sysconfig/iptables-config should
contain line as:
...
IPTABLES_MODULES="nf_conntrack_tftp"
...
(other module is for NATting tftp connection)

5) /var/log/messages should contain entries as:
Oct 10 20:28:32 ns xinetd[1908]: START: tftp pid=5315 from=192.168.1.22
Oct 10 20:28:42 ns xinetd[1908]: EXIT: tftp status=0 pid=5315 duration=10(sec)

6) tcpdump on relevant interface (here eth0) should display traffic,
at minimal incomming packet:
# tcpdump -i eth0 -l -nn udp port 69
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth0, link-type EN10MB (Ethernet), capture size 65535 bytes
20:43:13.612200 IP 192.168.1.22.58949 > 192.168.1.254.69: 17 RRQ "b.log" netascii

Best, Franta
-- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines