aboutsummaryrefslogtreecommitdiff
path: root/networking (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Mark Lord writes:andersen2004-02-171-2/+5
| | | | | | | | | | | | | | | The config file processing for inetd in busybox-1.00-pre7 and newer is broken -- the saved command argv[] values overwrite each other. Patch to fix it is attached. Cheers -- Mark Lord Real-Time Remedies Inc. git-svn-id: svn://busybox.net/trunk/busybox@8502 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Joe.C writes: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 git-svn-id: svn://busybox.net/trunk/busybox@8400 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix http proxy use, bytes were swappedbug12004-01-311-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8385 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Use standard C99 typesandersen2004-01-3019-117/+117
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8379 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Use proper C99 typesandersen2004-01-301-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8378 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Use proper C99 typesandersen2004-01-301-16/+17
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8374 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Pascal Brisset writes: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 git-svn-id: svn://busybox.net/trunk/busybox@8348 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Redo getconfigent, save 150 bytes, still small memory leak whenbug12004-01-201-80/+75
| | | | | | | parsing invalid entries. git-svn-id: svn://busybox.net/trunk/busybox@8316 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix up a couple of bugs i introduced in yesterdays cleanup.bug12004-01-181-18/+32
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8313 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Leif Lindholm (slightly modified by me), to fix httpbug12004-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 git-svn-id: svn://busybox.net/trunk/busybox@8310 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Modify bb_lookup_port to allow the protocol to be specified, allowingbug12004-01-176-29/+20
| | | | | | | /etc/services support for inetd, netcat and tftp. git-svn-id: svn://busybox.net/trunk/busybox@8307 69ca8d6d-28ef-0310-b511-8ec308f3f277
* The functions setconfig, enter and bump_nofile were only called once, marge ↵bug12004-01-171-76/+50
| | | | | | | | | them into the calling function. git-svn-id: svn://busybox.net/trunk/busybox@8305 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Use 1 line for function name and return value,bug12004-01-171-116/+84
| | | | | | | | remove dofork define/variable, dont check pid value is < or > than 0 if we know it is 0. git-svn-id: svn://busybox.net/trunk/busybox@8304 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove some defined statementsbug12004-01-171-14/+7
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8302 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Changed #define names for common features (superficial)bug12004-01-171-31/+22
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8301 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Use bb_get_chomped_line_from_filebug12004-01-171-18/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8300 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix a bug of mine, identified by Stephane Billiartbug12003-12-271-3/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8184 69ca8d6d-28ef-0310-b511-8ec308f3f277
* it should work even if you don't assign a pidfileruss2003-12-261-6/+7
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8183 69ca8d6d-28ef-0310-b511-8ec308f3f277
* fix a long standing underallocation bugruss2003-12-241-2/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8178 69ca8d6d-28ef-0310-b511-8ec308f3f277
* move debugging to safe place (before vfork)russ2003-12-241-3/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8177 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Allow recieving file to stdout, sending files from stdin, use the '-'bug12003-12-201-35/+37
| | | | | | | filename. Save a variable. git-svn-id: svn://busybox.net/trunk/busybox@8143 69ca8d6d-28ef-0310-b511-8ec308f3f277
* display the port number number correctly, other minor optimisationsbug12003-12-201-30/+20
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8141 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Change interface to bb_lookup_host, dont try and set port inside thisbug12003-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. git-svn-id: svn://busybox.net/trunk/busybox@8140 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Use getopt_ulflagsbug12003-12-191-58/+50
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8132 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Fillod Stephane: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. git-svn-id: svn://busybox.net/trunk/busybox@8128 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Stephane Billiart: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 git-svn-id: svn://busybox.net/trunk/busybox@8126 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Manousaridis Angelos writes: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. git-svn-id: svn://busybox.net/trunk/busybox@8124 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Manousaridis Angelos writes: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. git-svn-id: svn://busybox.net/trunk/busybox@8123 69ca8d6d-28ef-0310-b511-8ec308f3f277
* don't use kernel headersandersen2003-12-191-1/+35
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8122 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Use getopt_ulflagsbug12003-12-191-31/+23
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8121 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Finish remerging busybox udhcp and udhcp. Some cleanups as well.russ2003-12-1825-284/+509
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8115 69ca8d6d-28ef-0310-b511-8ec308f3f277
* clean up some bad, bad formattingruss2003-12-161-48/+49
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8108 69ca8d6d-28ef-0310-b511-8ec308f3f277
* include headers with prototypes to make sure prototypes matchruss2003-12-168-1/+9
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8107 69ca8d6d-28ef-0310-b511-8ec308f3f277
* remove reference to missing header file which is breaking the buildandersen2003-12-161-1/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8106 69ca8d6d-28ef-0310-b511-8ec308f3f277
* revert removal of defineruss2003-12-161-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8099 69ca8d6d-28ef-0310-b511-8ec308f3f277
* forgotten includeruss2003-12-161-0/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8098 69ca8d6d-28ef-0310-b511-8ec308f3f277
* why the complication of a static string rather than a define? gcc isn't dumbruss2003-12-163-2/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8097 69ca8d6d-28ef-0310-b511-8ec308f3f277
* start attempting to bring udhcp in busybox back to the state where it is ↵russ2003-12-163-6/+80
| | | | | | (ideally) an exact copy of udhcp outside of busybox so that its easy to merge back and forth git-svn-id: svn://busybox.net/trunk/busybox@8096 69ca8d6d-28ef-0310-b511-8ec308f3f277
* when compiled standalone, udhcp needs these headersruss2003-12-161-0/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8094 69ca8d6d-28ef-0310-b511-8ec308f3f277
* whoopsruss2003-12-161-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8091 69ca8d6d-28ef-0310-b511-8ec308f3f277
* not sure who made this change, but it certainly mucks things up (note ↵russ2003-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) git-svn-id: svn://busybox.net/trunk/busybox@8090 69ca8d6d-28ef-0310-b511-8ec308f3f277
* make udhcp work under uclinux, to an extentruss2003-12-152-1/+7
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8089 69ca8d6d-28ef-0310-b511-8ec308f3f277
* options is a pretty common symbol, bad idea to use as a global in udhcp when ↵russ2003-12-155-16/+17
| | | | | | compiling into busybox git-svn-id: svn://busybox.net/trunk/busybox@8088 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Stop sending data to the client after the first failure.bug12003-12-081-1/+2
| | | | | | | Patch by Joe.C git-svn-id: svn://busybox.net/trunk/busybox@8057 69ca8d6d-28ef-0310-b511-8ec308f3f277
* As we no longer use function pointers for read in common archiving codebug12003-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. git-svn-id: svn://busybox.net/trunk/busybox@7984 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Michael Smith writes: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. git-svn-id: svn://busybox.net/trunk/busybox@7904 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Ulrich Marx writes: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): git-svn-id: svn://busybox.net/trunk/busybox@7903 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix rdate and ftpget/ftpput so they compile with the new xconnect.andersen2003-11-031-12/+28
| | | | | | | | I have checked rdate. Someone should also check ftpget/ftpput to be sure they still work. git-svn-id: svn://busybox.net/trunk/busybox@7765 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Rework wget, the xconnect interface, and its various clientsandersen2003-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 git-svn-id: svn://busybox.net/trunk/busybox@7735 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Andreas Mohr writes: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 git-svn-id: svn://busybox.net/trunk/busybox@7692 69ca8d6d-28ef-0310-b511-8ec308f3f277