Re: tftpd probleme mit 5.4rc2

From: Thomas Vogt <freebsdlists(at)bsdunix.ch>
Date: Thu, 14 Apr 2005 22:01:41 +0200

Hallo

Jetzt hab ich nach langem suchen (such seit dem Nachmittag) doch noch
den Fehler entdeckt. net.inet.udp.blackhole: 1 war aktiv. Ich wusste
nicht, dass dies den tftp transfer beeinflusst. Dachte das ist nur für
ports die geschlossen sind bzw. keine sockets die lauschen. Was halt
wohl in diesem Fall zutreffen wird.

Gruss
Thomas

Thomas Vogt wrote:
> Hallo
>
> Ich hab ein Problem mit dem tftpd unter 5.4rc2. Wenn ich versuche ein
> File mit get abzuholen gibt es immer ein timeout und das File ist dann 0
> byte gross.
>
> meine inetd.conf hat folgenden tftp Eintrag:
> tftp dgram udp wait root /usr/libexec/tftpd tftpd -l -s /var/tftpboot
>
> /var/tftpboot hat die Rechte root:wheel 755. Ich hab auch schon
> nobody:nobody versucht. Hat aber nichts gebracht. Ausserdem hab ich -u
> root -l -s /var/tftpboot als option versucht. Aber auch das hat nichts
> gebracht.
>
> tftp> trace
> Packet tracing on.
> tftp> verbose
> Verbose mode on.
> tftp> get w2k-bzImage
> getting from localhost:w2k-bzImage to w2k-bzImage [octet]
> sent RRQ <file=w2k-bzImage, mode=octet>
> sent RRQ <file=w2k-bzImage, mode=octet>
> sent RRQ <file=w2k-bzImage, mode=octet>
> sent RRQ <file=w2k-bzImage, mode=octet>
> sent RRQ <file=w2k-bzImage, mode=octet>
> Transfer timed out.
>
> Funktioniert ich auch nicht ich ascii als Übertragungsmodus verwende.
> Witzigerweise steht im xferlog immer: Apr 14 19:34:03 lizard
> tftpd[49448]: 127.0.0.1: read request for //w2k-bzImage: success
>
> Aber das file selbst kam ja nie an. Firewall rules kann ich
> ausschliessen. Es läuft keine und ich mach den transfer nur localhost.
>
> Wenn ich jedoch die -l (loggen) aus inetd.conf im tftpd entferne
> funtkioert das ganze. Es geht auch wenn ich -l drin habe und dafür -s
> entferne. Jedoch beide zusammen, wie in der default inetd.conf
> funktionieren nicht.
>
> System Informationen:
> FreeBSD lizard 5.4-RC2 Wed Apr 13 15:04:30 UTC 2005
> root(at)lizard:/usr/obj/usr/src/sys/UP i386
>
> Weiss einer vielleicht an was das liegen könnte? Ich hatte unter 4.11
> die selben Einstellungen. Da lief das ganze problemlos.
>
> Regards,
> Thomas
>
>
> To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
> with "unsubscribe de-bsd-questions" in the body of the message

To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Thu 14 Apr 2005 - 22:02:32 CEST

search this site