summaryrefslogtreecommitdiff
path: root/networking/tftp.c
AgeCommit message (Collapse)Author
2007-02-08tftp: fix my bugDenis Vlasenko
2007-02-07tftp: fix IPv6 falloutDenis Vlasenko
2007-02-04add x to IPv6 functions which can dieDenis Vlasenko
2007-02-03suppress warnings about easch <applet>_main() havingDenis Vlasenko
no preceding prototype
2007-01-20fixing bugs revealed by randomconfig runsDenis Vlasenko
2007-01-12next part of ipv6-ization. dnsd code is "interesting"...Denis Vlasenko
2007-01-12next part of ipv6-ization is here: wget & httpdDenis Vlasenko
2007-01-11ipv6-ization efforts continue. Few bugs are found,Denis Vlasenko
unknown number likely introduced...
2006-12-17tftp: corrupted input packets were killing retransmits - fixedDenis Vlasenko
2006-12-16inline strcmp(s, "-") [actually macro-ize it for now - gcc is too stupid]Denis Vlasenko
2006-11-21httpd: slight reduction of #ifdef forestDenis Vlasenko
few other applets: #ifdef CONFIG_ -> #if ENABLE_ traceroute: fix exposed bugs defconfig: update
2006-10-08attempt to regularize atoi mess.Denis Vlasenko
2006-10-05eject: -T fixDenis Vlasenko
2006-10-03getopt_ulflags -> getopt32.Denis Vlasenko
It is impossible to formulate sane ABI based on size of ulong because it can be 32-bit or 64-bit. Basically it means that you cannot portably use more that 32 option chars in one call anyway... Make it explicit.
2006-08-03Remove bb_ prefixes from xfuncs.c (and a few other places), consolidateRob Landley
things like xasprintf() into xfuncs.c, remove xprint_file_by_name() (it only had one user), clean up lots of #includes... General cleanup pass. What I've been doing for the last couple days. And it conflicts! I've removed httpd.c from this checkin due to somebody else touching that file. It builds for me. I have to catch a bus. (Now you know why I'm looking forward to Mercurial.)
2006-07-16Cleaup read() and write() variants, plus a couple of new functions likeRob Landley
xlseek and fdlength() for the new mkswap.
2006-06-18Make this slightly more readable, and expose the hypocrasy of a comment thatRob Landley
says "our implementation makes it impossible to use blocksizes smaller than 22 octets" right above a check for blocksize < 8.
2006-06-14- rename CONFIG_FEATURE_TFTP_DEBUG to CONFIG_DEBUG_TFTP so it's off in defconfigBernhard Reutner-Fischer
- expand the cmd_get/cmd_put macros - Jason Schoon writes: unlink only if non-stdio
2006-06-13Don't break allbareconfig.Rob Landley
2006-06-10- revert incorrect select changeBernhard Reutner-Fischer
2006-06-10- fix two segfaults (reported by Horst Kronstorfer)Bernhard Reutner-Fischer
- remove dangling file if get fails (spotted and fixed by Jason Schoon) - shrink it (Bernhard Fischer) Thanks, all! text data bss dec hex filename 2684 0 0 2684 a7c networking/tftp.o.orig 2748 0 0 2748 abc networking/tftp.o.allfixed 2666 0 0 2666 a6a networking/tftp.o.+shrink
2006-06-10- use bb_xbindBernhard Reutner-Fischer
Thanks Erik Hovland
2006-06-03- use bb_msg_{read,write}_error where appropriate.Bernhard Reutner-Fischer
text data bss dec hex filename 825015 9100 645216 1479331 1692a3 busybox.old 824919 9100 645216 1479235 169243 busybox
2006-05-27Consolidate #include <sys/time.h> so libbb.h does it.Rob Landley
2006-04-12- patch from Denis Vlasenko to add and use bb_xsocket() and to useBernhard Reutner-Fischer
bb_xopen some more while at it. Also use shorter boilerplate while at it.
2006-04-05- this applet should peruse USE_FEATURE_TFTP_...Bernhard Reutner-Fischer
2006-01-25just whitespaceTim Riker
2005-12-15Fix -g and -p options. Patch from Traceman. (I don't know who that is,Rob Landley
it's the darn bug generator again.)
2005-10-17more const, use bb_getopt_ulflags, insert XXX for show place of problems"Vladimir N. Oleynik"
2005-07-20applying fix for:Paul Fox
0000271: [PATCH] tftp -g fails if a TFTP_ACK is lost
2005-06-07Thus spake Brenda J. Butler:Rob Landley
We were seeing some timeouts when getting files with the busybox tftp client. With tcpdump, we saw that the tftp client was receiving blocks and ack'ing them, but the server was failing to receive the occasional ack. When that happened, the server would send the last block over again, but the tftp client was expecting the next block. This patch allows the client to recover from this situation (it sends an ack for the repeat block but does not write it to the local file). I hope it meets your approval, please don't hesitate to send me comments for improvement. The patch is against "head" in svn, I tested it on an older version of busybox in our environment. It applied cleanly to the older version. Credit for this goes to my co-worker John McCarthy for finding it and me for fixing it (assuming it works for everyone else too). cheerio, bjb
2005-04-16Patch from Bernhard Fischer to make a bunch of symbols staticEric Andersen
which were otherwise cluttering the global namespace.
2004-09-14Patch from Felipe Kellermann, remove some unnecessary dups, i declared a few ↵Glenn L McGrath
extra const's also.
2004-06-22Robin Farine writes:Eric Andersen
Hi, Package: BusyBox Version: 1.0.0-pre10 When an incomplete read or write from/to a local file occurs (i.e. not an EOF condition), the tftp client prematurely exits. This problem can be reproduced by slowly piping data to the tftp client like this: (for v in 1 2 3; do echo $v; sleep 1; done) | \ tftp -p -l - -r output.txt <host> The output file on the TFTP server will contain "1". The attached patch provides a possible solution to this problem. I can reproduce this on ARM sa1110 and ARM xscale boards, both running Linux-2.6.4 & glibc-2.3.2. Thanks for the wonderful program! Robin
2004-03-27s/fileno\(stdin\)/STDIN_FILENO/gEric Andersen
s/fileno\(stdout\)/STDOUT_FILENO/g
2004-03-15Remove trailing whitespace. Update copyright to include 2004.Eric Andersen
2004-03-05Fix debugging output, patch by Hideki IWAMOTOGlenn L McGrath
2004-02-26Quick fix for tftp truncation bugGlenn L McGrath
2004-02-22Patch from Hideki IWAMOTO, output debugging messages to stderrGlenn L McGrath
2004-02-22Ptch by Hideki IWAMOTO, fix a bug preventing tftp from getting orGlenn L McGrath
putting more than 0xffff blocks.
2004-01-17Modify bb_lookup_port to allow the protocol to be specified, allowingGlenn L McGrath
/etc/services support for inetd, netcat and tftp.
2003-07-30Christian Meyer provided this patch to fix more bugs with the tftp clientEric Andersen
2003-07-26Patch from Christian Meyer:Eric Andersen
The client gives up way too soon because timeout is set to 0 ... There's a solution for that problem.
2003-03-19Major coreutils update.Manuel Novoa III
2002-12-19Bugfix, wastn retrieving last block, patch by Jean-Christophe DuboisGlenn L McGrath
2002-12-09Forgot to rename fooGlenn L McGrath
2002-12-09Fix a debug message, from Bastian BlankGlenn L McGrath
2002-10-25This patch from Magnus Damm fixed a long standing problemEric Andersen
with freeing memory.
2002-09-10Fix for handling of "tftp -l -" from Jean Wolter <jw5@os.inf.tu-dresden.de>Eric Andersen
2002-04-15Patch from Ben Low <ben@titr.uow.edu.au> to allow tftp to workEric Andersen
with stdin as well as stdout.