[BusyBox] tftp get doesn't ack the last data block

Jean-Christophe Dubois jdubois at mc.com
Wed Dec 18 07:45:04 UTC 2002


Hi,

I am new to the mailing list but I'd like to report what I think is a
bug. Sorry if it is an already discussed issue but it doesn't show in
the list of outstanding bugs (maybe it is not a bug).

Well, I am not an expert in RFC and all but what the behavior of the
busybox tftp client does not please my linux (RH7.2) tftp server. In
particular it looks like the server is expecting the client to ack the
last block of a tftp get request. If not it will try to resend the last
block until it gets and ICMP (unreachable) packet (because the client is
gone). Things ends well but there are some unnecessary retries and ICMP
packets.

I have done a quick hack in tftp.c to fix this and now my TFTP server is
quite happy.

So, to the people who know, is this a "bug"? If yes, are you interested
in my "fix"?

At least it should be noted that the actual behavior is not the one
expected by some TFTP servers (RH7.2).

Thanks for your time.

Regards

JC

-- 
Jean-Christophe Dubois <jdubois at mc.com>
Mercury Computer Systems



More information about the busybox mailing list