aboutsummaryrefslogtreecommitdiff
path: root/networking/tftp.c
AgeCommit message (Collapse)Author
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.
2002-04-13Teach tftp to direct the fetched file to stdout when theEric Andersen
user specifies "-l -" -Erik
2002-03-20Patch from Jeff Studer <jstuder@aquilagroup.com> to supply a defaults forEric Andersen
localfilename from remotefilename, and for remotefilename from localfilename when the other one is not supplied.
2001-11-10Can't use RESERVE_CONFIG_BUFFER here since the allocationEric Andersen
size varies meaning BUFFERS_GO_ON_STACK will fail
2001-10-24Major rework of the directory structure and the entire build system.Eric Andersen
-Erik
2001-10-05Apply Magnus Damm's patch, adds tftp blocksize support, and some cleanups.Glenn L McGrath
2001-08-20Apply Glenn's tftp rewriteEric Andersen
2001-05-16Add xgethostbyname and herror_msg* functions.Matt Kraai
2001-04-05A number of cleanups. Now compiles with libc5, glibc, and uClibc. Fix a fewEric Andersen
shadowed variables. Move (almost) all syscalls to libbb/syscalls.c, so I can handle them sanely and all at once. -Erik
2001-03-23xstrdup tftp cleanup from Jeff GarzikEric Andersen
2001-03-06Applied patch from Vladimir Oleynik via Magnus Damm that removes newlines fromMark Whitley
error_msg() calls and uses 'return EXIT_SUCCESS' instead of return 0.
2001-03-02Added Magnus Damm's tftp applet to Busybox.Mark Whitley