aboutsummaryrefslogtreecommitdiff
path: root/networking
AgeCommit message (Collapse)Author
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
2003-09-12Invoke run-parts on /etc/network/if-*.d per the behavior ofEric Andersen
the upstream ifupdown code...
2003-09-12Busybox CVS version ipcalc have problems:Glenn L McGrath
- Can`t use 255.255.255.255 address - typo: double check for valid ip address and uncheck for valid mask httpd unseted SERVER_PORT (my bug from last_patch111). last_patch_112 from Vladimir N. Oleynik
2003-09-11Patch from Philip Blundell:Eric Andersen
On Thu, 2003-09-11 at 01:09, Glenn McGrath wrote: > Applied Thanks. Unfortunately there was one small bug in that last patch. Could you apply this one as well? p.
2003-09-10add ipv6 literal support to wgetGlenn L McGrath
2003-09-10Vodz, last_patch_104Glenn L McGrath
2003-09-08Vodz, last_patch_110 Glenn L McGrath
no limit, no memory usage for env buffer, always call putenv(). remove small error for previous last_patch109.
2003-09-08last_patch_109 from Vladimir N. OleynikGlenn L McGrath
Busybox`s httpd have the defect (from born): ip 1.2.3.1 have true comparing also with 1.2.3.10-1.2.3.19 and 1.2.3.100-1.2.3.199. Last patch removed this bug and added feature: allow/deny rule can support network/netmask example: 1.2.3.0/255.255.255.128 or network/mask_bits example: 1.2.3.0/25 now; old format 1 1.2 1.2.3 1.2.3.4 too support and converted to 1/8 1.2/16 1.2.3/24 1.2.3.4/32 automaticaly. Also, current CVS have small problem: ignores A:IP, (loses 'A', 'a' only work). Corrected.
2003-09-05Small bug in silent optionGlenn L McGrath
2003-09-02adds the ability to use and calculate network prefix specifications insteadGlenn L McGrath
of netmasks. It also fixes the parameters for network and netmask to match that of the official Red Hat version (-n for network and -m for netmask). Patch by Joshua Jackson
2003-09-02move all "-/bin/sh" "/bin/sh" and "sh" to libbb/messages.c file as oneGlenn L McGrath
constant. Vodz last_patch_107
2003-09-01Allow one to detect and handle the case where no lease could be obtainedGlenn L McGrath
via DHCP. (Just add a section "failed" to your script.) Patch by Steven Scholz
2003-08-30"Without this patch, udhcpcd output may be buffered and delayed forGlenn L McGrath
for minutes if stdout is not a tty." -vda@
2003-08-29"Due to a wrong format parameter in a printf httpd does not work whenGlenn L McGrath
compiled for with CONFIG_LFS (large file support). The attached patch suggested by Vladimir fixes that." - Steven Scholz
2003-08-29Remove stray '\n'Glenn L McGrath
2003-08-29Remove unused filesGlenn L McGrath
2003-08-29"This function was not updating the argc and argv pointers to reflectGlenn L McGrath
the arguments it consumed, which means the calling function encountered them as well. As a result, a command like "ip -6 addr" was yielding a usage error." - Philip Blundell
2003-08-29label's dont work in v4 tunnels, patch by Eric SpakmanGlenn L McGrath
2003-08-29Correct logic in determining size of block to download, as pointed outGlenn L McGrath
by Junio C Hamano
2003-08-28"When the initial request by wget is responded by a 3XX redirectGlenn L McGrath
response sent in chunked transfer encoding, the code path to resubmit the request to the redirected URL forgets to reset got_clen and chunked variables in the loop. If the redirected URL does not use chunked transfer encoding, this causes the code that slurps the body of the response to incorrectly try to parse out the chunk length which does not exist." - junkio@ ----------------------------------------------------------------------
2003-08-28"When the filesize is known from content-length header, safe_fread isGlenn L McGrath
always told to read sizeof(buf). This waits until the underlying fread() to time-out for the last part of the downloaded body. Fix this by sending the number of remaining bytes to read when known." - junkio@ I reworked the logic in his patch
2003-08-28*** empty log message ***Glenn L McGrath
2003-08-08Begin using the new "select" option. Good stuff!Eric Andersen
2003-08-06Eric Spakman writes:Eric Andersen
The attached patch adds "mtu" and "hwaddress" to the inet6 method and "mtu", "hwaddr" and "pointopoint" to the inet4 method (just like in the ifupdown part). Note: "hwaddress" can't be used with the busybox ip applet (this function isn't implemented in bb ip yet), but it can be of use with an external "full blown" ip package. The patch also removes "label" from the loopback configuration, labels (subinterfaces) aren't used with loopback interfaces. It further solves a problem in the bootp method, "ifconfig down %interface%" should be "ifconfig %interface% down" and it's now also possible to use ip with bootp. The patch is fully tested with both busybox ip and "stand-alone" ip and I didn't saw any problems.
2003-07-30Eric Spakman writes:Eric Andersen
The recent changes in ifupdown where all calls to 'ip link set' and 'ip addr set' are swapped give some problems with v4tunnels. For plain ipv4 and ipv6 interfaces it works correct, other methods not tried. The patch below change the behaviour back for v4tunnels only. Without the patch the following errors are shown: RTNETLINK answers: Network is down RTNETLINK answers: No route to host and the tunnel is not fully brought up With this patch all works as expected.
2003-07-30Christian Meyer provided this patch to fix more bugs with the tftp clientEric Andersen
2003-07-29Match up interfacesEric Andersen
2003-07-29Bruno Randolf writes:Eric Andersen
this patch fixes run_parts when it's called by ifupdown. 1) argv has to be a NULL terminated char* array, not just a string. 2) run_parts now explicitly sets the environment. this environment is populated from the /etc/network/interfaces config file and is needed by the scripts in /etc/network/if-pre-up.d/. when run-parts is called from the command line the environment is taken from the current process. Vladimir Oleynik then wrote: You can simplify this if use: + bb_xasprintf(&buf[0], "/etc/network/if-%s.d", opt); + buf[1] = NULL; + + run_parts(&buf, 2, environ); + free(buf[0]); --w vodz
2003-07-28Fixup bugs in last patchEric Andersen
2003-07-28Update docs a bitEric Andersen
2003-07-28last_patch95 from vodz:Eric Andersen
Hi. Last patch have new libbb function vfork_rexec() for can use daemon() to uClinux system. This patched daemons: syslog, klogd, inetd, crond. This not tested! I havn`t this systems. Also. Previous patch for feature request MD5 crypt password for httpd don`t sended to this mailist on 07/15/03 (mailist have Pytom module problem?). The previous patch included, and have testing. --w vodz
2003-07-26Allow people to use the full blown iproute2 programs with busybox ifupdown.Eric Andersen
2003-07-26Patch from Christian Meyer:Eric Andersen
The client gives up way too soon because timeout is set to 0 ... There's a solution for that problem.
2003-07-22There is no need to expose CONFIG_FEATURE_TRACEROUTE_SO_DEBUGEric Andersen
2003-07-22Patch from Terje Kvernes adding quite a lot of missing documentationEric Andersen
2003-07-22Remove remaining libc5 support codeEric Andersen
2003-07-14Update a bunch of docs. Run a script to update my email addr.Eric Andersen
2003-07-14Patch from Thomas Cameron:Eric Andersen
Hello all, This patch adds more "Help" text to the config system. Almost all applets now have a help entry. Also, I cleaned up the spacing of the existing text so that things are consistent. This patch is against this morning's CVS. Thomas Cameron CEI Systems, Inc.
2003-07-14On second thought, this is a better way to fix thingsEric Andersen