summaryrefslogtreecommitdiff
path: root/networking (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Joe.C writes:Eric Andersen2004-02-041-1/+3
| | | | | | | | | | | | Hi, When httpd connection is closed, bosybox httpd will not stop reading from CGI program. This patch fix this problem. It check the return value of bb_full_write and stop reading from CGI if the connection is closed. Please apply this patch. Joe.C
* Fix http proxy use, bytes were swapped1_00_pre6Glenn L McGrath2004-01-311-2/+2
|
* Use standard C99 typesEric Andersen2004-01-3019-117/+117
|
* Use proper C99 typesEric Andersen2004-01-301-2/+2
|
* Use proper C99 typesEric Andersen2004-01-301-16/+17
|
* Pascal Brisset writes:Eric Andersen2004-01-261-2/+2
| | | | | | | | | | uuencode fails to encode binary data because it right-shifts bytes as signed chars and keeps the duplicated sign bits. The original base64_encode() from wget/http.c is broken as well, but it is only used to encode ascii data. -- Pascal
* Redo getconfigent, save 150 bytes, still small memory leak whenGlenn L McGrath2004-01-201-80/+75
| | | | parsing invalid entries.
* Fix up a couple of bugs i introduced in yesterdays cleanup.Glenn L McGrath2004-01-181-18/+32
|
* Patch from Leif Lindholm (slightly modified by me), to fix httpGlenn L McGrath2004-01-171-1/+4
| | | | | | | redirection. Example of incorrect behaviour was the following url, busybox wget didnt get redirected to the busybox url as it should. http://freshmeat.net/redir/busybox/953/url_homepage/www.busybox.net
* Modify bb_lookup_port to allow the protocol to be specified, allowingGlenn L McGrath2004-01-176-29/+20
| | | | /etc/services support for inetd, netcat and tftp.
* The functions setconfig, enter and bump_nofile were only called once, marge ↵Glenn L McGrath2004-01-171-76/+50
| | | | | | them into the calling function.
* Use 1 line for function name and return value,Glenn L McGrath2004-01-171-116/+84
| | | | | remove dofork define/variable, dont check pid value is < or > than 0 if we know it is 0.
* Remove some defined statementsGlenn L McGrath2004-01-171-14/+7
|
* Changed #define names for common features (superficial)Glenn L McGrath2004-01-171-31/+22
|
* Use bb_get_chomped_line_from_fileGlenn L McGrath2004-01-171-18/+3
|
* Fix a bug of mine, identified by Stephane BilliartGlenn L McGrath2003-12-271-3/+2
|
* it should work even if you don't assign a pidfileRuss Dill2003-12-261-6/+7
|
* fix a long standing underallocation bugRuss Dill2003-12-241-2/+5
|
* move debugging to safe place (before vfork)Russ Dill2003-12-241-3/+2
|
* Allow recieving file to stdout, sending files from stdin, use the '-'Glenn L McGrath2003-12-201-35/+37
| | | | filename. Save a variable.
* display the port number number correctly, other minor optimisationsGlenn L McGrath2003-12-201-30/+20
|
* Change interface to bb_lookup_host, dont try and set port inside thisGlenn L McGrath2003-12-203-28/+20
| | | | | | | | function as there is no gracefull way of handling failures. Rename bb_getport to bb_lookup_port, allow a default port to be specified so it always returns a correct value. Modify ftpgetput/rdate/wget to use the new interface. wget/rdate now use etc/services with a falback default value.
* Use getopt_ulflagsGlenn L McGrath2003-12-191-58/+50
|
* Patch from Fillod Stephane:Eric Andersen2003-12-191-1/+10
| | | | | * While I'm at it, there's also a "telnetd.patch" which maps CRLF to CR, like netkit-telnet does, required by the loosy Windows telnet clients.
* Patch from Stephane Billiart:Eric Andersen2003-12-191-1/+5
| | | | | This removes references to config->remoteuser when CONFIG_FEATURE_HTTPD_CGI=y but CONFIG_FEATURE_HTTPD_BASIC_AUTH is not set
* Manousaridis Angelos writes:Eric Andersen2003-12-191-8/+9
| | | | | | | | | Another issue I found was with the iproute utility. While using another program I found that it failed because the "ip route del" command was not found. I looked at the full iproute implementation and this command exists. The busybox version has the "ip route delete" command. I have created a patch which makes the "ip route del" command an alias to the "ip route delete" command.
* Manousaridis Angelos writes:Eric Andersen2003-12-191-10/+8
| | | | | | | | | | | | | | | | Hello, I have been using busybox for some time now, for an ARM based platform. I was very pleased when I tried the 1.00preX series, with all the new utilities and daemons. I found out that the ifupdown in busybox does not behave exaclty like the debian version. Then the pre-up script fails, the interface is getting up. Also when the post-up script fails the return value is ignored. Actually everything is always run and the return value is always true. I looked at the original implementation from debian and fixed the busybox version to do the same. A patch is attached if anyone is interested.
* don't use kernel headersEric Andersen2003-12-191-1/+35
|
* Use getopt_ulflagsGlenn L McGrath2003-12-191-31/+23
|
* Finish remerging busybox udhcp and udhcp. Some cleanups as well.Russ Dill2003-12-1825-284/+509
|
* clean up some bad, bad formattingRuss Dill2003-12-161-48/+49
|
* include headers with prototypes to make sure prototypes matchRuss Dill2003-12-168-1/+9
|
* remove reference to missing header file which is breaking the buildEric Andersen2003-12-161-1/+0
|
* revert removal of defineRuss Dill2003-12-161-1/+1
|
* forgotten includeRuss Dill2003-12-161-0/+1
|
* why the complication of a static string rather than a define? gcc isn't dumbRuss Dill2003-12-163-2/+5
|
* start attempting to bring udhcp in busybox back to the state where it is ↵Russ Dill2003-12-163-6/+80
| | | | (ideally) an exact copy of udhcp outside of busybox so that its easy to merge back and forth
* when compiled standalone, udhcp needs these headersRuss Dill2003-12-161-0/+2
|
* whoopsRuss Dill2003-12-161-1/+1
|
* not sure who made this change, but it certainly mucks things up (note ↵Russ Dill2003-12-161-9/+13
| | | | 'fwrite(leases, ...'), adds a bit more code, and some stack overhead. Anywho, this fixes it, and retains the spirit of what the submitter of this change was attempting to acheive (the entire lease is written at once in a struct)
* make udhcp work under uclinux, to an extentRuss Dill2003-12-152-1/+7
|
* options is a pretty common symbol, bad idea to use as a global in udhcp when ↵Russ Dill2003-12-155-16/+17
| | | | compiling into busybox
* Stop sending data to the client after the first failure.Glenn L McGrath2003-12-081-1/+2
| | | | Patch by Joe.C
* As we no longer use function pointers for read in common archiving codeGlenn L McGrath2003-11-211-2/+2
| | | | | | | archive_xread can be replaced with bb_full_read, and archive_copy_file with bb_copyfd* bb_copyfd is split into two functions bb_copyfd_size and bb_copyfd_eof, they share a common backend.
* Michael Smith writes:Eric Andersen2003-11-141-2/+2
| | | | | | | | | | | | | | | | | | | I noticed a problem with ifconfig in busybox 0.60.5. The matching code seems to exist in busybox CVS as well, so I'll paste in the patch that fixed it. I was running: # ifconfig wan0 1.2.3.4 pointopoint 1.2.3.5 netmask 255.255.255.255 I was seeing the inet addr and P-t-P addr both being set to 1.2.3.5 (the pointopoint address). wan0 Link encap:Point-Point Protocol inet addr:1.2.3.5 P-t-P:1.2.3.5 Mask:255.255.255.255 UP POINTOPOINT RUNNING NOARP MTU:1500 Metric:1 ... The patch below seems to fix it.
* Ulrich Marx writes:Eric Andersen2003-11-141-0/+2
| | | | | | | | | | | | | | | hello i had some trouble with the filedescriptor in udhcp. Two things happened on my device: 1.) broken or not connected cable (no dhcp-server) 2.) daemonizing (starting with option -b) i got a filedescriptor fd=0 from function raw_socket, after daemonizing (daemon call) the fd is closed. Client can't recieve data's anymore. i fixed this problem (like pidfile handling):
* Fix rdate and ftpget/ftpput so they compile with the new xconnect.Eric Andersen2003-11-031-12/+28
| | | | | I have checked rdate. Someone should also check ftpget/ftpput to be sure they still work.
* Rework wget, the xconnect interface, and its various clientsEric Andersen2003-10-312-10/+24
| | | | | | | | | | | | | | in order to fix the problems with round robin DNS reported by Andrew Flegg: http://busybox.net/lists/busybox/2003-October/009579.html This removes the ipv6 specific xconnect dns lookups. I do not see why that would need to be special cased for ipv6 as was done, but that will just have to be tested. So IPV6 people -- please test this change! -Erik
* Andreas Mohr writes:Eric Andersen2003-10-222-18/+18
| | | | | | | | | | | the busybox menuconfig triggered my "inacceptable number of spelling mistakes" upper level, so I decided to make a patch ;-) I also improved some wording to describe some things in a better way. Many thanks for an incredible piece of software! Andreas Mohr, random OSS developer
* Vodz last_patch_105 without his xargs patch which doenst apply cleanlyGlenn L McGrath2003-10-061-0/+2
|