tftp timeouts in 1.4.1

Alexander Kriegisch Alexander at Kriegisch.name
Tue May 8 16:59:43 PDT 2007


> That's why there is a small set of post-1.4.1 fixes on busybox.net:
> http://busybox.net/downloads/fixes-1.4.1/
> In particular, busybox-1.4.1-tftp.patch

Sorry for the inconvenience of having you point me to that patch. I
applied it and tftp behaves differently now, but it is still broken.
New symptoms:
  - File transfers up to 512 bytes are handled correctly.
  - Files bigger than 512 bytes result in the first 512 bytes
    transferred, but then there are timeouts again. After Ctrl-C or
    after the last timeout I have a 512 bytes file which is inaccessible
    on my Windows box. I cannot even delete it, until I changed ACLs so
    I have the rights to do so.
  - Using '-b 1024', for example, gets me a 571 bytes file showing the
    *end* of the file to be transferred, not the beginning. Very strange
    indeed.
  - Using '-b 4096' gets me a 0 bytes file which is inaccessible again.

Does that make any sense? I am attaching new strace logs of sessions
with different '-b' sizes (default, 1024, 4096). Tell me if you need
anything else.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: strace-tftp-512.log
Url: http://busybox.net/lists/busybox/attachments/20070509/edb4fc0e/attachment-0003.diff 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: strace-tftp-1024.log
Url: http://busybox.net/lists/busybox/attachments/20070509/edb4fc0e/attachment-0004.diff 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: strace-tftp-4096.log
Url: http://busybox.net/lists/busybox/attachments/20070509/edb4fc0e/attachment-0005.diff 


More information about the busybox mailing list