On 10 October 2011 20:25, Frantisek Hanzlik <franta@xxxxxxxxxxx> wrote:
Okay
using localhost
Oct 10 21:09:07 gold xinetd[13402]: Exiting...
Oct 10 21:09:12 gold xinetd[13650]: xinetd Version 2.3.14 started with libwrap loadavg labeled-networking options compiled in.
Oct 10 21:09:12 gold xinetd[13650]: Started working: 1 available service
is all I am getting in messages
Checked tfpt is the only one enabled
[root@xxxxx /]# tcpdump -i em1 -l -nn udp port 69
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on em1, link-type EN10MB (Ethernet), capture size 65535 bytes
21:33:08.653033 IP 192.168.0.5.47352 > 192.168.0.4.69: 19 RRQ "vmlinuz" netascii
21:33:13.653306 IP 192.168.0.5.47352 > 192.168.0.4.69: 19 RRQ "vmlinuz" netascii
21:33:18.653565 IP 192.168.0.5.47352 > 192.168.0.4.69: 19 RRQ "vmlinuz" netascii
21:33:23.653963 IP 192.168.0.5.47352 > 192.168.0.4.69: 19 RRQ "vmlinuz" netascii
21:33:28.654212 IP 192.168.0.5.47352 > 192.168.0.4.69: 19 RRQ "vmlinuz" netascii
^C
5 packets captured
5 packets received by filter
0 packets dropped by kernel
Well thats it I am stumped tftp seem to be running but ignoring requests
Aaron
Aaron Gray wrote:You should check at server side:
> I am getting timeouts on TFTP on F15,
>
> Aaron
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
Okay
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
Okay
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
...
Added makes no difference
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)
using localhost
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)
Oct 10 21:09:07 gold xinetd[13402]: Exiting...
Oct 10 21:09:12 gold xinetd[13650]: xinetd Version 2.3.14 started with libwrap loadavg labeled-networking options compiled in.
Oct 10 21:09:12 gold xinetd[13650]: Started working: 1 available service
is all I am getting in messages
Checked tfpt is the only one enabled
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
[root@xxxxx /]# tcpdump -i em1 -l -nn udp port 69
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on em1, link-type EN10MB (Ethernet), capture size 65535 bytes
21:33:08.653033 IP 192.168.0.5.47352 > 192.168.0.4.69: 19 RRQ "vmlinuz" netascii
21:33:13.653306 IP 192.168.0.5.47352 > 192.168.0.4.69: 19 RRQ "vmlinuz" netascii
21:33:18.653565 IP 192.168.0.5.47352 > 192.168.0.4.69: 19 RRQ "vmlinuz" netascii
21:33:23.653963 IP 192.168.0.5.47352 > 192.168.0.4.69: 19 RRQ "vmlinuz" netascii
21:33:28.654212 IP 192.168.0.5.47352 > 192.168.0.4.69: 19 RRQ "vmlinuz" netascii
^C
5 packets captured
5 packets received by filter
0 packets dropped by kernel
Well thats it I am stumped tftp seem to be running but ignoring requests
Aaron
Best, Franta
-- users mailing list users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines