aboutsummaryrefslogtreecommitdiff
path: root/networking
AgeCommit message (Collapse)Author
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
2003-07-14Don't use Linux kernel headersEric Andersen
-Erik
2003-07-05Patch from Lars Kellogg-Stedman:Eric Andersen
Glibc 2.1.3 (used by the Hardhat Linux SDK distributed by Cyclades) does not define IF_NAMESIZE in net/if.h.
2003-07-05Patch from Lars Kellogg-Stedman:Eric Andersen
This patch fixes endian problems with get_netmask(). I don't know if this is the cleanest solution, but it makes 'ipcalc -n' work on both an i386 system and a ppc system.
2003-07-03Patch from Vladimir N. Oleynik (vodz):Eric Andersen
Last patch have changed for "ipcalc" applet with usage new get_ulflags() function.
2003-07-03Patch from Lars Kellogg-Stedman:Eric Andersen
Erik, et al. The attached patch makes the following changes to networking/ifupdown.c: (1) It swaps all calls to 'ip link set' and 'ip addr set'. This solves two problems: (a) Calling 'ip link set <dev> up' before assigning an address generates an error message, and (b) Under User Mode Linux, running in with ethernet interfaces in daemon mode, the MAC address for an interface is selected based on the IP address assigned to that interface. If the interface is brought up before being assigned an IP address, it gets a null MAC. (2) It further cleans up run_mapping(). This patch is against ifupdown.c revision 1.25. -- Lars
2003-06-26Geir Thomassen wrote, regarding networking/httpd.c line 1358Eric Andersen
Hello, I think the test for an unconfigured httpd is wrong in the CVS (busybox-unstable-20030620.tar.bz2) flg_deny_all is default 0 vodz then wrote: Oops. You are right. Also, this mistake haved from two place. Last patch rewroted to my new get_ularg() function for overcompensate size from this error found ;-)
2003-06-21Fix a silly bug I introduced yesterdayEric Andersen
2003-06-20Fixup whitespace handing, fixing some annoying behavior andEric Andersen
a couple of segfaults
2003-06-20Fix a couple vars that could be used uninitializedEric Andersen
2003-06-20use an explicit cast on some types that change size whenEric Andersen
large file support is enabled.
2003-06-20Make gcc not whine about "deprecated use of label at end of compound statement"Eric Andersen
2003-06-20Patch from Lars Kellogg-Stedman:Eric Andersen
I'm building BusyBox using a development kit for MontaVista Hardhat Linux (PPC) -- which, at least in this instance, is based around kernel 2.2.14. I've had to massage a few files in networking/libiproute/ to make it compile. Specifically: (1) Added a #include <sys/uio.h> for the iovec structure in libnetlink.c, (2) Put ifdefs in ll_types.c and ll_proto.c around various constants (ETH_P_xxx and ARPHRD_xxx) that weren't defined, (3) Make do_changename() in iplink.c require a kernel >= 2.4.0 -- the ifr structure in my environment doesn't have the ifr_name attribute. I've assumed this is a kernel dependency -- let me know if I ought to be checking something else. In the absence of the correct kernel, do_changename() always returns 0. Attached is a patch against the current CVS that will make these changes. -- Lars
2003-06-14Add missing pieces from vodz' last_patch88Eric Andersen
2003-06-10Vodz, last_patch_88Glenn L McGrath
2003-06-05Patch from Lars Kellogg-Stedman, lars at larsshack.org, toEric Andersen
make ifupdown's mapping function work as documented.
2003-05-26Vodz, last_patch_86Glenn L McGrath
2003-05-22Patch from Russell Coker:Eric Andersen
The attached patch fixes a compilation error. If you compile ping6 without the CONFIG_FEATURE_FANCY_PING6 option then the compile will fail without this patch.
2003-05-19Patch from Glenn EngelGlenn L McGrath
- more comments - larger allowed number of CGI script variables - ifdefs for regression test hooks - default to ./ rather than /www (if unspecified) for compatibility with earlier versions. - Allow ip: as a synomym for A: rules for compatibility with earlier versions. - Setting of CGI_ARGLIST_ when automatic setting of env vars for form scripting is utilized. This helps with minimal systems like openap.
2003-05-14Part of a patch from Glenn Engel, updates httpd helpGlenn L McGrath
2003-05-14vodz, last_patch_85Glenn L McGrath
2003-05-13last_patch84 by Vodz.Glenn L McGrath
2003-04-26iPatch from waldi, fixes usage of ip route flush (from)? (match|exact)Glenn L McGrath
2003-04-25Patch from Steven Scholz to fix telnetd compile problemEric Andersen
2003-04-19Patch from David Updegraff to avoid corrupting memory while parsing theEric Andersen
networks/iterfaces file with next_word routine. Without this, next_word increments one beyond the end of the string.
2003-04-02Yet another rather large face lift. It now works for me as expected.Eric Andersen
-Erik
2003-03-19Major coreutils update.Manuel Novoa III
2003-03-11cope with crappy windoze ftp serversEric Andersen
2003-02-15Patch from Bastian BlankGlenn L McGrath
- ip route flush - different usage for telnetd in inetd mode - changes for the default flags of the ip features - if no /usr requested, udhcpc should use the script also without /usr.
2003-02-12sync with udhcp bug fixesRuss Dill
2003-02-12Don't use HZ -- use sysconf(_SC_CLK_TCK)Eric Andersen
2003-02-11Fix compile error... header problems.Manuel Novoa III