aboutsummaryrefslogtreecommitdiff
path: root/networking (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 1) bb_opt_complementaly -> bb_opt_complementallyvodz2005-09-051-1/+1
| | | | | | | 2) better support long options 3) new flag '!' for bb_opt_complementally: produce bb_show_usage() if BB_GETOPT_ERROR internally git-svn-id: svn://busybox.net/trunk/busybox@11332 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Tracking system but #4: php needs the environment variable SCRIPT_FILENAME.landley2005-09-011-1/+6
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11309 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Off by one error in max_leases sanity check. Bug 349, apparently.landley2005-09-011-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11305 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Two FEATURE_CLEAN_UP patches from Shaun Jackman, closing filehandles.landley2005-08-221-4/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11224 69ca8d6d-28ef-0310-b511-8ec308f3f277
* commiting:pgf2005-08-011-5/+2
| | | | | | | | | 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. git-svn-id: svn://busybox.net/trunk/busybox@11010 69ca8d6d-28ef-0310-b511-8ec308f3f277
* allow suppression of default client-id. fixes bug 000037. allowspgf2005-08-012-4/+14
| | | | | | | busybox to match kernel and u-boot behavior with respect to client-id. git-svn-id: svn://busybox.net/trunk/busybox@11005 69ca8d6d-28ef-0310-b511-8ec308f3f277
* patch by apgo in Bug 345 to not use ether_hostton() with uClibcvapier2005-07-311-0/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11002 69ca8d6d-28ef-0310-b511-8ec308f3f277
* typecast to intvapier2005-07-311-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11000 69ca8d6d-28ef-0310-b511-8ec308f3f277
* use socklen_t instead of size_t with socket related functionsvapier2005-07-311-5/+6
| | | | git-svn-id: svn://busybox.net/trunk/busybox@10999 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Erik pointed out that in the last try at the #ifdef cleanup landley2005-07-281-1/+1
| | | | | | | | | | | | | | 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. git-svn-id: svn://busybox.net/trunk/busybox@10944 69ca8d6d-28ef-0310-b511-8ec308f3f277
* #ifdef reduction infrastructure, based on an argument between Shaun Jackman,landley2005-07-271-0/+2
| | | | | | | | | | | | | | | | | | | | | | 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.) git-svn-id: svn://busybox.net/trunk/busybox@10929 69ca8d6d-28ef-0310-b511-8ec308f3f277
* use toplevel ARFLAGS and update default ARFLAGS to be quietvapier2005-07-273-3/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@10923 69ca8d6d-28ef-0310-b511-8ec308f3f277
* 2005-03-19 Shaun Jackman <sjackman@gmail.com>vapier2005-07-261-1/+1
| | | | | | | * networking/ping.c (ping): Change the type of fromlen to socklen_t. git-svn-id: svn://busybox.net/trunk/busybox@10921 69ca8d6d-28ef-0310-b511-8ec308f3f277
* remove duplicate check against chaddr.pgf2005-07-211-3/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@10889 69ca8d6d-28ef-0310-b511-8ec308f3f277
* applying fix for:pgf2005-07-201-6/+8
| | | | | | | | 0000026: poor man's "scriptable" telnet git-svn-id: svn://busybox.net/trunk/busybox@10886 69ca8d6d-28ef-0310-b511-8ec308f3f277
* applying fix for:pgf2005-07-201-1/+6
| | | | | | | | 0000271: [PATCH] tftp -g fails if a TFTP_ACK is lost git-svn-id: svn://busybox.net/trunk/busybox@10885 69ca8d6d-28ef-0310-b511-8ec308f3f277
* applying fix for: pgf2005-07-201-7/+0
| | | | | | | | | 0000263: nc cannot use -e when initiating a tcp connection to something else git-svn-id: svn://busybox.net/trunk/busybox@10883 69ca8d6d-28ef-0310-b511-8ec308f3f277
* applying fix for:pgf2005-07-201-0/+5
| | | | | | | | 0000260: udhcpc doesn't validate client hardware address git-svn-id: svn://busybox.net/trunk/busybox@10880 69ca8d6d-28ef-0310-b511-8ec308f3f277
* applying fix for:pgf2005-07-201-0/+9
| | | | | | | | 0000203: 'ip route flush cache' not implemented git-svn-id: svn://busybox.net/trunk/busybox@10878 69ca8d6d-28ef-0310-b511-8ec308f3f277
* applying fix for:pgf2005-07-201-1/+3
| | | | | | | | 0000185: httpd infinite loop when piping to CGI script git-svn-id: svn://busybox.net/trunk/busybox@10877 69ca8d6d-28ef-0310-b511-8ec308f3f277
* much more concise fix for bug #45. just align the packet...pgf2005-07-201-6/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@10870 69ca8d6d-28ef-0310-b511-8ec308f3f277
* applying fix from:pgf2005-07-191-2/+2
| | | | | | | | | 0000108: busyboxy/networking/ftpgetput.c not conforming to RFC 959. ftpget and ftpput send <LF> as EOL. git-svn-id: svn://busybox.net/trunk/busybox@10866 69ca8d6d-28ef-0310-b511-8ec308f3f277
* applying fix from:pgf2005-07-191-6/+6
| | | | | | | | | | 0000088: inetd chargen stream does not generate the characters as recommended in RFC 864 Chragen service is generating garbage characters. git-svn-id: svn://busybox.net/trunk/busybox@10864 69ca8d6d-28ef-0310-b511-8ec308f3f277
* applying fix for:pgf2005-07-191-4/+6
| | | | | | | | 0000045: traceroute causes an alignment trap due to unaligned buffer on arm git-svn-id: svn://busybox.net/trunk/busybox@10860 69ca8d6d-28ef-0310-b511-8ec308f3f277
* fix for "0000027: patch: nc will spin if stdin closed"pgf2005-07-181-2/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@10853 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - remove extra/unneeded function call. testing svnsolar2005-06-241-10/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@10575 69ca8d6d-28ef-0310-b511-8ec308f3f277
* characters encoded as html should have a trailing semicolonandersen2005-06-231-1/+1
| | | | | | | to be interpreted properly git-svn-id: svn://busybox.net/trunk/busybox@10564 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Thus spake Brenda J. Butler:landley2005-06-071-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 git-svn-id: svn://busybox.net/trunk/busybox@10477 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Tobias Krawutschke found a bug where the DHCP client would accept packetslandley2005-05-261-0/+3
| | | | | | | | 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. git-svn-id: svn://busybox.net/trunk/busybox@10407 69ca8d6d-28ef-0310-b511-8ec308f3f277
* import ether-wake applet by haveaniceday Bug 252vapier2005-05-113-31/+337
| | | | git-svn-id: svn://busybox.net/trunk/busybox@10294 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Jason Schoon to add IPV6 support to telnetd. Reworked by Roblandley2005-05-101-2/+16
| | | | | | | | Landley to remove an #ifdef and move another one out of the flow of code. git-svn-id: svn://busybox.net/trunk/busybox@10286 69ca8d6d-28ef-0310-b511-8ec308f3f277
* use shared busybox error messages to save a few bytesvapier2005-05-071-5/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@10258 69ca8d6d-28ef-0310-b511-8ec308f3f277
* make the exec (-e) an optional feature of netcatvapier2005-05-062-16/+19
| | | | git-svn-id: svn://busybox.net/trunk/busybox@10254 69ca8d6d-28ef-0310-b511-8ec308f3f277
* In bug 247, haveaniceday writes:vapier2005-05-061-2/+21
| | | | | | | | The option "-w secs" adds a timeout for writing. git-svn-id: svn://busybox.net/trunk/busybox@10253 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Revert the uptime() removal. Let the list sort it out...landley2005-05-044-5/+14
| | | | git-svn-id: svn://busybox.net/trunk/busybox@10247 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Shaun Jackman:landley2005-05-044-14/+5
| | | | | | | | | Replace uptime with time(NULL). time is more portable than uptime and eliminates the need to define uptime, reducing code size slightly. git-svn-id: svn://busybox.net/trunk/busybox@10245 69ca8d6d-28ef-0310-b511-8ec308f3f277
* From: Shaun Jackman <sjackman@gmail.com>landley2005-05-031-3/+3
| | | | | | | | | | | | | 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. git-svn-id: svn://busybox.net/trunk/busybox@10242 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Revert Tito's patch to zcip. My bad, David Brownell had objected and I missedlandley2005-05-031-109/+186
| | | | | | | | it... git-svn-id: svn://busybox.net/trunk/busybox@10233 69ca8d6d-28ef-0310-b511-8ec308f3f277
* On Tuesday 19 April 2005 21:10, Tito wrote and today added:landley2005-05-011-186/+109
| | | | | | | | | | | | | | | | > 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.... git-svn-id: svn://busybox.net/trunk/busybox@10215 69ca8d6d-28ef-0310-b511-8ec308f3f277
* David Brownell submitted a new applet, zcip, based on RFC 3927. This islandley2005-04-303-0/+562
| | | | | | | | | version 0418b. It compiled. git-svn-id: svn://busybox.net/trunk/busybox@10206 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Do not attempt to free() the application's environment, which is wasandersen2005-04-271-10/+8
| | | | | | | | not dynamically allocated. Instead, use a private variable to store the environment array, which is used when we exec applications. git-svn-id: svn://busybox.net/trunk/busybox@10188 69ca8d6d-28ef-0310-b511-8ec308f3f277
* remove unused variable and declare writepid inlinevapier2005-04-231-3/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@10154 69ca8d6d-28ef-0310-b511-8ec308f3f277
* touchups as suggested by Vladimir N. Oleynikvapier2005-04-181-11/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@10133 69ca8d6d-28ef-0310-b511-8ec308f3f277
* import fakeidentd module started by Thomas Lundquistvapier2005-04-173-0/+449
| | | | git-svn-id: svn://busybox.net/trunk/busybox@10123 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Bernhard Fischer to make a bunch of symbols staticandersen2005-04-1613-22/+26
| | | | | | | which were otherwise cluttering the global namespace. git-svn-id: svn://busybox.net/trunk/busybox@10121 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix broken macroandersen2005-04-161-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@10119 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Only define a local environ when not using the prototype from unistd.handersen2005-04-161-0/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@10118 69ca8d6d-28ef-0310-b511-8ec308f3f277
* In Bug 208, bernhardf writes:vapier2005-04-161-1/+1
| | | | | | | | | On machines with only ANSI compliant compilers, not explitily delcaring an empty parameter list 'void' causes failure. git-svn-id: svn://busybox.net/trunk/busybox@10113 69ca8d6d-28ef-0310-b511-8ec308f3f277
* In Bug 209, bernhardf writes:vapier2005-04-161-12/+12
| | | | | | | | | | | | | struct named { named_field: init, }; appear to be depraced by now; rather use C{99} format as in struct named { .named_field = init, }; git-svn-id: svn://busybox.net/trunk/busybox@10111 69ca8d6d-28ef-0310-b511-8ec308f3f277
* merge from udhcp modulevapier2004-12-066-4/+30
| | | | git-svn-id: svn://busybox.net/trunk/busybox@9539 69ca8d6d-28ef-0310-b511-8ec308f3f277