Hi
Problem was caused by net.inet.udp.blackhole=1. It looks like -l or -s
does not work with this option.
Regards,
Thomas
Thomas wrote:> Hello
>
> I can't download files via tftp. The tftp client gets a timeout and the
> written file is 0 bytes. I've done all my test on a local machine. No
> network was involved.
>
> System information:
> FreeBSD lizard 5.4-RC2 Wed Apr 13 15:04:30 UTC 2005
> root@lizard:/usr/obj/usr/src/sys/UP i386
>
> inetd.conf contains
> tftp dgram udp wait root /usr/libexec/tftpd tftpd -l -s /var/tftpboot
>
> /var/tftpboot permission is set to 755 (root:wheel).
>
> I tried the -u root option for tftpd too but it didn't work either.
Also
> changed ownership to nobody:nobody for /var/tftpboot but no luck.
> There is no error message in xferlog. I always get tftpd[47744]:
> 127.0.0.1: read request for //test: success. But the file was not
> transferred.
>
> Everything works fine if I remove the -l option or the -s option in
> inetd.conf for tftpd. Is this "strange" behavior with -l as
option
> intended?
>
> Regards,
> Thomas
>
> _______________________________________________
> freebsd-stable@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to
"freebsd-stable-unsubscribe@freebsd.org"
--
My blog: http://www.bsdunix.ch