aboutsummaryrefslogtreecommitdiff
path: root/networking
AgeCommit message (Collapse)Author
2004-10-13return failure when nslookup failsEric Andersen
2004-10-08Wade Berrier writes:Eric Andersen
Hello, Here's a patch for a first attempt at static leases for udhcpd. Included in the tarball are 2 files (static_leases.c, static_leases.h) and a patch against the latest cvs. In the config file you can configure static leases with the following format: static_lease 00:60:08:11:CE:4E 192.168.0.54 static_lease 00:60:08:11:CE:3E 192.168.0.44 Comments/suggestions/improvements are welcome. Wade
2004-10-08Patch from Denis Vlasenko to fix a problem whereEric Andersen
wget http://1.2.3.4/abc/ loses last '/'
2004-10-08last_patch139.gz from Vladimir N. Oleynik:Eric Andersen
>I also don't mean to disagree about leaving 30x status codes until after >1.0. In fact, although redirecting http://host/dir to http://host/dir/ >with a 301 is common practice (e.g. Apache, IIS), AFAIK it isn't >actually required (or mentioned) by the HTTP specs. Ok. Attached patch have 302 and 408 implemented features. --w vodz
2004-10-08egor duda writes:Eric Andersen
Hi! I've created a patch to busybox' build system to allow building it in separate tree in a manner similar to kbuild from kernel version 2.6. That is, one runs command like 'make O=/build/some/where/for/specific/target/and/options' and everything is built in this exact directory, provided that it exists. I understand that applyingc such invasive changes during 'release candidates' stage of development is at best unwise. So, i'm currently asking for comments about this patch, starting from whether such thing is needed at all to whether it coded properly. 'make check' should work now, and one make creates Makefile in build directory, so one can run 'make' in build directory after that. One possible caveat is that if we build in some directory other than source one, the source directory should be 'distclean'ed first. egor
2004-09-23Add some notes on how to make telnetd actually workEric Andersen
2004-09-14Patch from Felipe Kellermann, remove some unnecessary dups, i declared a few ↵Glenn L McGrath
extra const's also.
2004-08-28Fixup some warningsEric Andersen
2004-08-26Vladimir N. Oleynik writes:Eric Andersen
Ming-Ching, >>No. Here there are no mistakes. >>You using POST metod. >>For get data you should read from stdin CONTENT_LENGTH bytes. >Hower as I posted a little while ago, there is indeed a bug >in POST method if the CONTENT_LENGTH is bigger >than sizeof(wbuf[128]). So if your CGI script is expecting to >read the full CONTENT_LENGTH, it might block forever, >because it will only transfer sizeof(wbuf) to the CGI. Ok, Ok. I should find time to understand with a problem. Try attached patch. --w vodz
2004-08-11Set default command to list rather than get, its default behaviour nowGlenn L McGrath
coincides with upstream. Patch from debian diff.
2004-07-30use SIGTERM to kill off udhcpd, not SIGKILLEric Andersen
2004-07-30As noted by Eric Spakman, calling static_down() and then callingEric Andersen
bootp_down() seems redundant, esp since bootp_down was a subset of static_down, so just use that...
2004-07-26add missing ;Eric Andersen
2004-07-26bother. unrevert my fix.Eric Andersen
2004-07-26Make certain that udhcp shuts down the interfaceEric Andersen
2004-07-26oopsEric Andersen
2004-07-26Make certain that udhcp shuts down the interfaceEric Andersen
2004-07-23Patch from Manousaridis Angelos to bring dhclient down more elegentlyGlenn L McGrath
2004-07-21Patch from Mike Snitzer to fix return codes.Glenn L McGrath
"I have a need to _really_ know if the interface was properly configured via ifup so I made busybox's ifupdown pass the return codes through rather than dropping them on the floor." "All the functions in ifupdown.c return 1 on success and 0 on failure (which happens to the opposite of standard practices but whatever). So it is important for all these functions to not blindly return 1." "The problem with blindly returning ret, even if it is != 1, is the callers expect a 0 or 1 and accumulate the return codes. So a function that makes 3 calls to execute will have a value of 3 accumulated. That value of 1 (success) was almost always returned even if 1 of the commands in the command sequence failed. The attached patch fixes the lack of checking to verify thar result == expected_reult."
2004-07-21Patch from Mike Snitzer, bring down dhclient using its correct pid, fixGlenn L McGrath
a grammatical error.
2004-07-20Prevent "`bootp_down' was declared implicitly `extern' and later `static'" ↵Eric Andersen
warning
2004-06-29Paul Fox writes:Eric Andersen
hi -- working with ifupdown, i've found a couple of buglets -- the wrong string is passed to an error message. paul
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-06-22Patch from Bastian Blank:Eric Andersen
On Sat, Jun 19, 2004 at 10:57:37PM +0200, Bastian Blank wrote: > The following patch changes klogd to use openlog/syslog themself > instead of calling syslog_msg which always calls the triple > openlog/syslog/closelog. Updated patch: get rid of syslog_msg entirely. Request from Erik Andersen. Bastian
2004-06-22Robin Farine writes:Eric Andersen
Package: BusyBox Version: 1.0.0-pre10 Passing the -q <integer> option to inetd causes it to dereference an invalid pointer (optarg). The attached patch provides a fix to this problem. Robin
2004-05-19use busybox sysinfo structRuss Dill
2004-05-19Fix a compile problemEric Andersen
2004-05-19fix timewarp in client (server fix later)Russ Dill
2004-05-19remove uneccessary check (already done in pidfile.c)Russ Dill
2004-05-19fix memory leak caused by switch to vforkRuss Dill
2004-05-05Steve Grubb writes:Eric Andersen
Hello, Last November a bug was found in iproute. CAN-2003-0856 has more information. Basically, netlink packets can come from any user. If a program performs action based on netlink packets, they must be examined to make sure they came from the place they are expected (the kernel). Attached is a patch against pre8. Please apply this before releasing 1.00 final. All users of busy box may be vulnerable to local attacks without it. Best Regards, Steve Grubb
2004-05-04Fix size command, safe_strtoul gives and error if the \r is left in, theGlenn L McGrath
RFC spec says the \r should be there. This fix is the same as a recent wget fix
2004-04-26Thomas Koeller writes:Eric Andersen
Hi, the following output is from BusyBox 1.0.0-pre10: ~ # ip link help ip: Command "help" is unknown, try "ip link help". tk This patch fixes it by removing the advertisements for the "ip blah help" stuff that is not implemented.
2004-04-25Update my email address, document some of my tasks in the AUTHORS fileGlenn L McGrath
2004-04-14Larry Doolittle writes:Eric Andersen
This is a bulk spelling fix patch against busybox-1.00-pre10. If anyone gets a corrupted copy (and cares), let me know and I will make alternate arrangements. Erik - please apply. Authors - please check that I didn't corrupt any meaning. Package importers - see if any of these changes should be passed to the upstream authors. I glossed over lots of sloppy capitalizations, missing apostrophes, mixed American/British spellings, and German-style compound words. What is "pretect redefined for test" in cmdedit.c? Good luck on the 1.00 release! - Larry
2004-04-13slightly clean the whacked out formattingEric Andersen
2004-04-12Eric Spakman noticed that ifdown' will attempt to run 'ifconfig'Eric Andersen
even if built with CONFIG_FEATURE_IFUPDOWN_IP when shutting down a dhcp connection.
2004-04-12Fix compile error if CONFIG_FEATURE_IP_ADDR isnt enabledGlenn L McGrath
2004-04-12Fix up conditional compile of files needed by ip appletsGlenn L McGrath
2004-04-08Fix ftp resumeGlenn L McGrath
Terminate returned message at <CRLF> so strtoul returns without error
2004-04-06Fix indentingEric Andersen
2004-03-31Patch from Thomas Winkler:Eric Andersen
ifconfig did not look up hostnames, so ifconfig lo localhost would not work, you have to do ifconfig lo 127.0.0.1
2004-03-27s/fileno\(stdin\)/STDIN_FILENO/gEric Andersen
s/fileno\(stdout\)/STDOUT_FILENO/g
2004-03-19Oops.. got a bit to aggressive with size optimization and global replace. :-(Manuel Novoa III
2004-03-15Oops. Using the wrong variable was a rather stupidEric Andersen
thing for me to do.
2004-03-15Remove trailing whitespace. Update copyright to include 2004.Eric Andersen
2004-03-10In spite of the feature freeze, check in a complete rework of route whichManuel Novoa III
fixes some bugs, adds some error checking, and removes _lots_ of bloat. Text size on i386... old new ipv6 5425 3523 no ipv6 3143 2193
2004-03-06Fix/eliminate use of atolEric Andersen
2004-03-05Patch by Andrew Victor,Glenn L McGrath
In arpping.h, fix structure alignment of "struct arpMsg". GCC can insert padding in the structure which causes udhcpd to send an invalid ARP packet on the network. It will then not receive a valid reply, which can cause it to assign an IP address that's already in use on the network. (With kernels before 2.4.20, the "struct ethhdr" in linux/if_ether.h wasn't marked as packed. This is also an issue if your toolchain was built with a pre-2.4.20 kernel).
2004-03-05Fix a typo, patch by Andrew VictorGlenn L McGrath