summaryrefslogtreecommitdiff
path: root/networking (follow)
Commit message (Collapse)AuthorAgeFilesLines
* return failure when nslookup failsEric Andersen2004-10-131-2/+5
|
* Wade Berrier writes:Eric Andersen2004-10-088-5/+253
| | | | | | | | | | | | | | | | | | | 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
* Patch from Denis Vlasenko to fix a problem whereEric Andersen2004-10-081-4/+8
| | | | wget http://1.2.3.4/abc/ loses last '/'
* last_patch139.gz from Vladimir N. Oleynik:Eric Andersen2004-10-081-31/+83
| | | | | | | | | | | | | | >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
* egor duda writes:Eric Andersen2004-10-086-17/+31
| | | | | | | | | | | | | | | | | | | | | | | | 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
* Add some notes on how to make telnetd actually workEric Andersen2004-09-231-2/+36
|
* Patch from Felipe Kellermann, remove some unnecessary dups, i declared a few ↵Glenn L McGrath2004-09-144-15/+14
| | | | extra const's also.
* Fixup some warningsEric Andersen2004-08-281-4/+4
|
* Vladimir N. Oleynik writes:Eric Andersen2004-08-261-5/+15
| | | | | | | | | | | | | | | | | | | | | 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
* Set default command to list rather than get, its default behaviour nowGlenn L McGrath2004-08-111-2/+1
| | | | coincides with upstream. Patch from debian diff.
* use SIGTERM to kill off udhcpd, not SIGKILLEric Andersen2004-07-301-1/+4
|
* As noted by Eric Spakman, calling static_down() and then callingEric Andersen2004-07-301-14/+4
| | | | | bootp_down() seems redundant, esp since bootp_down was a subset of static_down, so just use that...
* add missing ;1_00_rc2Eric Andersen2004-07-261-1/+1
|
* bother. unrevert my fix.Eric Andersen2004-07-261-1/+2
|
* Make certain that udhcp shuts down the interfaceEric Andersen2004-07-261-2/+1
|
* oopsEric Andersen2004-07-261-1/+1
|
* Make certain that udhcp shuts down the interfaceEric Andersen2004-07-261-1/+2
|
* Patch from Manousaridis Angelos to bring dhclient down more elegentlyGlenn L McGrath2004-07-231-1/+2
|
* Patch from Mike Snitzer to fix return codes.Glenn L McGrath2004-07-211-13/+29
| | | | | | | | | | | | | | | | | "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."
* Patch from Mike Snitzer, bring down dhclient using its correct pid, fixGlenn L McGrath2004-07-211-2/+2
| | | | a grammatical error.
* Prevent "`bootp_down' was declared implicitly `extern' and later `static'" ↵Eric Andersen2004-07-201-9/+9
| | | | warning
* Paul Fox writes:Eric Andersen2004-06-291-2/+2
| | | | | | | | | hi -- working with ifupdown, i've found a couple of buglets -- the wrong string is passed to an error message. paul
* Robin Farine writes:Eric Andersen2004-06-221-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | 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
* Patch from Bastian Blank:Eric Andersen2004-06-221-5/+7
| | | | | | | | | | | 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
* Robin Farine writes:Eric Andersen2004-06-221-1/+1
| | | | | | | | | | | 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
* use busybox sysinfo structRuss Dill2004-05-192-1/+1
|
* Fix a compile problemEric Andersen2004-05-191-2/+1
|
* fix timewarp in client (server fix later)Russ Dill2004-05-194-6/+16
|
* remove uneccessary check (already done in pidfile.c)Russ Dill2004-05-191-6/+4
|
* fix memory leak caused by switch to vforkRuss Dill2004-05-191-3/+4
|
* Steve Grubb writes:Eric Andersen2004-05-051-2/+4
| | | | | | | | | | | | | | | 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
* Fix size command, safe_strtoul gives and error if the \r is left in, theGlenn L McGrath2004-05-041-1/+6
| | | | | RFC spec says the \r should be there. This fix is the same as a recent wget fix
* Thomas Koeller writes:Eric Andersen2004-04-262-2/+2
| | | | | | | | | | | | | | 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.
* Update my email address, document some of my tasks in the AUTHORS fileGlenn L McGrath2004-04-254-4/+4
|
* Larry Doolittle writes:Eric Andersen2004-04-1414-27/+27
| | | | | | | | | | | | | | | | | | | | | | 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
* slightly clean the whacked out formattingEric Andersen2004-04-131-46/+47
|
* Eric Spakman noticed that ifdown' will attempt to run 'ifconfig'Eric Andersen2004-04-121-1/+1
| | | | | even if built with CONFIG_FEATURE_IFUPDOWN_IP when shutting down a dhcp connection.
* Fix compile error if CONFIG_FEATURE_IP_ADDR isnt enabledGlenn L McGrath2004-04-121-3/+3
|
* Fix up conditional compile of files needed by ip appletsGlenn L McGrath2004-04-121-0/+36
|
* Fix ftp resumeGlenn L McGrath2004-04-081-5/+9
| | | | Terminate returned message at <CRLF> so strtoul returns without error
* Fix indentingEric Andersen2004-04-061-12/+12
|
* Patch from Thomas Winkler:Eric Andersen2004-03-311-3/+9
| | | | | | | ifconfig did not look up hostnames, so ifconfig lo localhost would not work, you have to do ifconfig lo 127.0.0.1
* s/fileno\(stdin\)/STDIN_FILENO/gEric Andersen2004-03-274-6/+6
| | | | s/fileno\(stdout\)/STDOUT_FILENO/g
* Oops.. got a bit to aggressive with size optimization and global replace. :-(Manuel Novoa III2004-03-191-3/+5
|
* Oops. Using the wrong variable was a rather stupidEric Andersen2004-03-151-1/+1
| | | | thing for me to do.
* Remove trailing whitespace. Update copyright to include 2004.Eric Andersen2004-03-1555-421/+420
|
* In spite of the feature freeze, check in a complete rework of route whichManuel Novoa III2004-03-101-478/+486
| | | | | | | | 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
* Fix/eliminate use of atolEric Andersen2004-03-065-12/+22
|
* Patch by Andrew Victor,Glenn L McGrath2004-03-052-5/+10
| | | | | | | | | | | 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).
* Fix a typo, patch by Andrew VictorGlenn L McGrath2004-03-051-1/+1
|