aboutsummaryrefslogtreecommitdiff
path: root/networking
AgeCommit message (Collapse)Author
2004-01-20Redo getconfigent, save 150 bytes, still small memory leak whenGlenn L McGrath
parsing invalid entries.
2004-01-18Fix up a couple of bugs i introduced in yesterdays cleanup.Glenn L McGrath
2004-01-17Patch from Leif Lindholm (slightly modified by me), to fix httpGlenn L McGrath
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
2004-01-17Modify bb_lookup_port to allow the protocol to be specified, allowingGlenn L McGrath
/etc/services support for inetd, netcat and tftp.
2004-01-17The functions setconfig, enter and bump_nofile were only called once, marge ↵Glenn L McGrath
them into the calling function.
2004-01-17Use 1 line for function name and return value,Glenn L McGrath
remove dofork define/variable, dont check pid value is < or > than 0 if we know it is 0.
2004-01-17Remove some defined statementsGlenn L McGrath
2004-01-17Changed #define names for common features (superficial)Glenn L McGrath
2004-01-17Use bb_get_chomped_line_from_fileGlenn L McGrath
2003-12-27Fix a bug of mine, identified by Stephane BilliartGlenn L McGrath
2003-12-26it should work even if you don't assign a pidfileRuss Dill
2003-12-24fix a long standing underallocation bugRuss Dill
2003-12-24move debugging to safe place (before vfork)Russ Dill
2003-12-20Allow recieving file to stdout, sending files from stdin, use the '-'Glenn L McGrath
filename. Save a variable.
2003-12-20display the port number number correctly, other minor optimisationsGlenn L McGrath
2003-12-20Change interface to bb_lookup_host, dont try and set port inside thisGlenn L McGrath
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.
2003-12-19Use getopt_ulflagsGlenn L McGrath
2003-12-19Patch from Fillod Stephane:Eric Andersen
* 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.
2003-12-19Patch from Stephane Billiart:Eric Andersen
This removes references to config->remoteuser when CONFIG_FEATURE_HTTPD_CGI=y but CONFIG_FEATURE_HTTPD_BASIC_AUTH is not set
2003-12-19Manousaridis Angelos writes:Eric Andersen
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.
2003-12-19Manousaridis Angelos writes:Eric Andersen
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.
2003-12-19don't use kernel headersEric Andersen
2003-12-19Use getopt_ulflagsGlenn L McGrath
2003-12-18Finish remerging busybox udhcp and udhcp. Some cleanups as well.Russ Dill
2003-12-16clean up some bad, bad formattingRuss Dill
2003-12-16include headers with prototypes to make sure prototypes matchRuss Dill
2003-12-16remove reference to missing header file which is breaking the buildEric Andersen
2003-12-16revert removal of defineRuss Dill
2003-12-16forgotten includeRuss Dill
2003-12-16why the complication of a static string rather than a define? gcc isn't dumbRuss Dill
2003-12-16start attempting to bring udhcp in busybox back to the state where it is ↵Russ Dill
(ideally) an exact copy of udhcp outside of busybox so that its easy to merge back and forth
2003-12-16when compiled standalone, udhcp needs these headersRuss Dill
2003-12-16whoopsRuss Dill
2003-12-16not sure who made this change, but it certainly mucks things up (note ↵Russ Dill
'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)
2003-12-15make udhcp work under uclinux, to an extentRuss Dill
2003-12-15options is a pretty common symbol, bad idea to use as a global in udhcp when ↵Russ Dill
compiling into busybox
2003-12-08Stop sending data to the client after the first failure.Glenn L McGrath
Patch by Joe.C
2003-11-21As we no longer use function pointers for read in common archiving codeGlenn L McGrath
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.
2003-11-14Michael Smith writes:Eric Andersen
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.
2003-11-14Ulrich Marx writes:Eric Andersen
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):
2003-11-03Fix rdate and ftpget/ftpput so they compile with the new xconnect.Eric Andersen
I have checked rdate. Someone should also check ftpget/ftpput to be sure they still work.
2003-10-31Rework wget, the xconnect interface, and its various clientsEric Andersen
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
2003-10-22Andreas Mohr writes:Eric Andersen
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
2003-10-06Vodz last_patch_105 without his xargs patch which doenst apply cleanlyGlenn L McGrath
2003-10-03Vodz, last_patch_114Glenn L McGrath
- env vars CONTENT_TYPE, CONTENT_LENGTH, HTTPD_REFERER, REMOTE_USER and AUTH_TYPE(Basic always). - POST data pipied now (previous version have loading into memory may be big size data and reducing with hardcoded limit) - removed $CGI_foo environment variables, else my have rubbish enviroment if POST data have big binary file
2003-09-26Patch by Fillod Stephane, declare variables as static to not clobberGlenn L McGrath
busybox namespace
2003-09-15Patch from Stephane Billiart to fix an unused variable warning.Glenn L McGrath
2003-09-15Be entirely consistant when using ioctl(0, TIOCGWINSZ, &winsize)Eric Andersen
to ensure proper fallback behavior on, i.e. serial consoles. -Erik
2003-09-12Fix compile error, Vodz, last_path_113Glenn L McGrath
2003-09-12As vodz just pointed out, I screwup up the call to bb_xasprintf!Eric Andersen