aboutsummaryrefslogtreecommitdiff
path: root/networking
AgeCommit message (Collapse)Author
2005-09-15BsAtHome writes in Bug 433:Mike Frysinger
Ping packets sent by busybox have wrong endian on f.x. mips32 (openwrt). Attatched is a patch that uses htons() and ntohs() to be platform independent.
2005-09-08Fix the warning by rewriting the function to be smaller and simpler.Rob Landley
I'd appreciate somebody on a __BIG_ENDIAN platform testing this out; I haven't got the hardware...
2005-09-06- sync traceroute with Slackware-10.1"Vladimir N. Oleynik"
(support -FIl -g gw -i if -z pt now). - libbb/getopt_ulflags.c support bb_opt_complementally="x-x" as trigger now
2005-09-051) bb_opt_complementaly -> bb_opt_complementally"Vladimir N. Oleynik"
2) better support long options 3) new flag '!' for bb_opt_complementally: produce bb_show_usage() if BB_GETOPT_ERROR internally
2005-09-01Tracking system but #4: php needs the environment variable SCRIPT_FILENAME.Rob Landley
2005-09-01Off by one error in max_leases sanity check. Bug 349, apparently.Rob Landley
2005-08-22Two FEATURE_CLEAN_UP patches from Shaun Jackman, closing filehandles.Rob Landley
2005-08-01commiting:Paul Fox
0000073: Add option to inetd applet to run in foreground this option was already there for uclinux -- this just exposes it in the normal case as well.
2005-08-01allow suppression of default client-id. fixes bug 000037. allowsPaul Fox
busybox to match kernel and u-boot behavior with respect to client-id.
2005-07-31patch by apgo in Bug 345 to not use ether_hostton() with uClibcMike Frysinger
2005-07-31typecast to intMike Frysinger
2005-07-31use socklen_t instead of size_t with socket related functionsMike Frysinger
2005-07-28Erik pointed out that in the last try at the #ifdef cleanup Rob Landley
infrastructure, the compiler isn't smart enough to replace const static int with the constant, and allocates space for each set of them, bloating the executable something fierce. Oops. So now, we #define ENABLE_XXX to 0 or 1 for each CONFIG_XXX (which is still there so the 1000+ #ifdef/#ifndef tests don't have to be replaced wholesale). Changed the test instance in networking/ifconfig.c to use this.
2005-07-27#ifdef reduction infrastructure, based on an argument between Shaun Jackman,Rob Landley
Rob Landley, and others. Currently CONFIG options are defined or undefined, so we chop out code with #ifdefs, ala: #ifdef CONFIG_THING stuff(); #endif This creates a new header file, bb_config.h, which sets the CONFIG entry to 1 or 0, and lets us do: if(CONFIG_THING) stuff(); And let the compiler do dead code elimination to get rid of it. (Note: #ifdef will still work because for the 1 case it's a static const int, not a #define.)
2005-07-27use toplevel ARFLAGS and update default ARFLAGS to be quietMike Frysinger
2005-07-262005-03-19 Shaun Jackman <sjackman@gmail.com>Mike Frysinger
* networking/ping.c (ping): Change the type of fromlen to socklen_t.
2005-07-21remove duplicate check against chaddr.Paul Fox
2005-07-20applying fix for:Paul Fox
0000026: poor man's "scriptable" telnet
2005-07-20applying fix for:Paul Fox
0000271: [PATCH] tftp -g fails if a TFTP_ACK is lost
2005-07-20applying fix for: Paul Fox
0000263: nc cannot use -e when initiating a tcp connection to something else
2005-07-20applying fix for:Paul Fox
0000260: udhcpc doesn't validate client hardware address
2005-07-20applying fix for:Paul Fox
0000203: 'ip route flush cache' not implemented
2005-07-20applying fix for:Paul Fox
0000185: httpd infinite loop when piping to CGI script
2005-07-20much more concise fix for bug #45. just align the packet...Paul Fox
2005-07-19applying fix from:Paul Fox
0000108: busyboxy/networking/ftpgetput.c not conforming to RFC 959. ftpget and ftpput send <LF> as EOL.
2005-07-19applying fix from:Paul Fox
0000088: inetd chargen stream does not generate the characters as recommended in RFC 864 Chragen service is generating garbage characters.
2005-07-19applying fix for:Paul Fox
0000045: traceroute causes an alignment trap due to unaligned buffer on arm
2005-07-18fix for "0000027: patch: nc will spin if stdin closed"Paul Fox
2005-06-24- remove extra/unneeded function call. testing svnNed Ludd
2005-06-23characters encoded as html should have a trailing semicolonEric Andersen
to be interpreted properly
2005-06-07Thus spake Brenda J. Butler:Rob Landley
We were seeing some timeouts when getting files with the busybox tftp client. With tcpdump, we saw that the tftp client was receiving blocks and ack'ing them, but the server was failing to receive the occasional ack. When that happened, the server would send the last block over again, but the tftp client was expecting the next block. This patch allows the client to recover from this situation (it sends an ack for the repeat block but does not write it to the local file). I hope it meets your approval, please don't hesitate to send me comments for improvement. The patch is against "head" in svn, I tested it on an older version of busybox in our environment. It applied cleanly to the older version. Credit for this goes to my co-worker John McCarthy for finding it and me for fixing it (assuming it works for everyone else too). cheerio, bjb
2005-05-26Tobias Krawutschke found a bug where the DHCP client would accept packetsRob Landley
with the wrong ARP address, meaning we could easily get somebody else's IP. That is a bad thing, and this is the minimal two-line fix.
2005-05-11import ether-wake applet by haveaniceday Bug 252Mike Frysinger
2005-05-10Patch from Jason Schoon to add IPV6 support to telnetd. Reworked by RobRob Landley
Landley to remove an #ifdef and move another one out of the flow of code.
2005-05-07use shared busybox error messages to save a few bytesMike Frysinger
2005-05-06make the exec (-e) an optional feature of netcatMike Frysinger
2005-05-06In bug 247, haveaniceday writes:Mike Frysinger
The option "-w secs" adds a timeout for writing.
2005-05-04Revert the uptime() removal. Let the list sort it out...Rob Landley
2005-05-04Patch from Shaun Jackman:Rob Landley
Replace uptime with time(NULL). time is more portable than uptime and eliminates the need to define uptime, reducing code size slightly.
2005-05-03From: Shaun Jackman <sjackman@gmail.com>Rob Landley
To: busybox@mail.codepoet.org Wrap sockaddr_in6 in a ifdef CONFIG_FEATURE_IPV6. Include sys/types.h instead of asm/types.h. Include netinet/if_ether.h instead of linux/if_ether.h The ioctl request argument is an int, not an unsigned short.
2005-05-03Revert Tito's patch to zcip. My bad, David Brownell had objected and I missedRob Landley
it...
2005-05-01On Tuesday 19 April 2005 21:10, Tito wrote and today added:Rob Landley
> Hi, > this is a first attempt of size optimization for zcip taking into account all > the hints given so far on the list. > I've applied just the more obvious busyboxifications so maybe it could be > optimized more. BTW: I've ripped out a lot of debug code and changed c++ // comments to /* */ as both were rather confusing for a newbie like me. ;-) Sorry to the author for that. I know that this makes mantaining the code easier, but I'm simple minded....
2005-04-30David Brownell submitted a new applet, zcip, based on RFC 3927. This isRob Landley
version 0418b. It compiled.
2005-04-27Do not attempt to free() the application's environment, which is wasEric Andersen
not dynamically allocated. Instead, use a private variable to store the environment array, which is used when we exec applications.
2005-04-23remove unused variable and declare writepid inlineMike Frysinger
2005-04-18touchups as suggested by Vladimir N. OleynikMike Frysinger
2005-04-17import fakeidentd module started by Thomas LundquistMike Frysinger
2005-04-16Patch from Bernhard Fischer to make a bunch of symbols staticEric Andersen
which were otherwise cluttering the global namespace.
2005-04-16Fix broken macroEric Andersen
2005-04-16Only define a local environ when not using the prototype from unistd.hEric Andersen