aboutsummaryrefslogtreecommitdiff
path: root/networking (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Email addr fixandersen2002-06-061-2/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@4867 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Gyepi SAM <gyepi@praxis-sw.com>:andersen2002-06-061-10/+6
| | | | | | | | | Fixed up domain removal for local domains. GNU traceroute does not do this. I don't know why we do. Fixed incorrect argument for reverse resolution. Clean up cruft that appears when CONFIG_FEATURE_TRACEROUTE_VERBOSE is defined git-svn-id: svn://busybox.net/trunk/busybox@4866 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Per discussion with vodz, Tim's changes do not seem to make sense.andersen2002-06-061-5/+5
| | | | | | | | Revert them. -Erik git-svn-id: svn://busybox.net/trunk/busybox@4862 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix for broken handling off BusyBox's own pwd/grp implementationssandman2002-06-041-1/+1
| | | | | | | [Parts of this patch may overlap with my other two patches] git-svn-id: svn://busybox.net/trunk/busybox@4856 69ca8d6d-28ef-0310-b511-8ec308f3f277
* ping return 1 if can't pingtimr2002-05-181-5/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@4783 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Reduced code size for new -e flag (suggested by vodz)sandman2002-05-161-17/+9
| | | | git-svn-id: svn://busybox.net/trunk/busybox@4781 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Added support for -Y|--proxy=on/off to wgetsandman2002-05-141-6/+14
| | | | git-svn-id: svn://busybox.net/trunk/busybox@4774 69ca8d6d-28ef-0310-b511-8ec308f3f277
* This patch adds -e (extended information) to route and -r/-e (show routingsandman2002-05-142-23/+70
| | | | | | | | tables/extended information) to netstat. This makes them behave (more) like their GNU counterparts. git-svn-id: svn://busybox.net/trunk/busybox@4771 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Tom Oehser noticed that we were lacking the SO_REUSEADDR flag.andersen2002-05-051-2/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@4732 69ca8d6d-28ef-0310-b511-8ec308f3f277
* uClibc supports struct _res these days...andersen2002-04-271-10/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@4687 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add netcat -i option, per patch from Cristian Ionescu-Idbohrnandersen2002-04-261-2/+40
| | | | | | | <cristian.ionescu-idbohrn@axis.com> git-svn-id: svn://busybox.net/trunk/busybox@4679 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix bugsandersen2002-04-261-4/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@4668 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Minor formattingandersen2002-04-261-1/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@4666 69ca8d6d-28ef-0310-b511-8ec308f3f277
* add missing void, still has issues thoughtimr2002-04-261-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@4665 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Forward port patch from Przemyslaw Czerpak <druzus@polbox.com>:andersen2002-04-261-11/+77
| | | | | | | | | | | | | | | | | | | | | 1. busybox-telnet dosn't inform server about the size of terminal screen. In the world of xterminals and frame buffers it's rather horrible to use fixed 80x24 region in upper-left corner of screen/window. 2. If client sends character 0x0d to the server then sends character 0x0a the server eat the second byte (0x0a) - it's described in telnet RFC. Client should send two bytes ( 0x0d + 0x0a or 0x0d + 0x00 ) insted of one 0x0d byte. 3. busybox telnet implementation wasn't 8bit clean (look at 0xff byte). I need it because I have to use binray transfer like rz/sz. So when I resloved the problem (2) I corrected this one two. This also contains a small cleanup patch from vodz, and some minor editing by me. git-svn-id: svn://busybox.net/trunk/busybox@4663 69ca8d6d-28ef-0310-b511-8ec308f3f277
* * networking/wget.c (wget_main): Check return value of safe_fwrite.kraai2002-04-171-2/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@4639 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Ben Low <ben@titr.uow.edu.au> to allow tftp to workandersen2002-04-151-11/+7
| | | | | | | with stdin as well as stdout. git-svn-id: svn://busybox.net/trunk/busybox@4627 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Teach tftp to direct the fetched file to stdout when theandersen2002-04-131-4/+11
| | | | | | | | user specifies "-l -" -Erik git-svn-id: svn://busybox.net/trunk/busybox@4604 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Completely rework the config system so that it no longer annoys me to work onandersen2002-04-122-25/+51
| | | | | | | | | | the busybox development tree. This eliminates the use of recursive make, and once again allows us to run 'make' in a subdirectory with the expected result. And things are now much faster too. Greatly improved IMHO... -Erik git-svn-id: svn://busybox.net/trunk/busybox@4595 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Doh! I broke ping when removing the nested function.andersen2002-03-211-4/+4
| | | | | | | This patch from vodz fixes it again. git-svn-id: svn://busybox.net/trunk/busybox@4472 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Jeff Studer <jstuder@aquilagroup.com> to supply a defaults forandersen2002-03-201-0/+7
| | | | | | | | localfilename from remotefilename, and for remotefilename from localfilename when the other one is not supplied. git-svn-id: svn://busybox.net/trunk/busybox@4442 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Cave to pressure (2 months later). Eliminate using aandersen2002-03-201-7/+8
| | | | | | | | nested function, which is a purely unremovable gcc-ism... -Erik git-svn-id: svn://busybox.net/trunk/busybox@4435 69ca8d6d-28ef-0310-b511-8ec308f3f277
* * networking/wget.c (parse_url): Allocate a string for the empty path.kraai2002-03-191-2/+2
| | | | | | | * testsuite/wget/wget-handles-empty-path: New. git-svn-id: svn://busybox.net/trunk/busybox@4416 69ca8d6d-28ef-0310-b511-8ec308f3f277
* 2002-01-30 Neal H Walfield <neal@cs.uml.edu>kraai2002-02-011-23/+18
| | | | | | | | | | | | | | | | | | | | | | | | * networking/ping.c (hostname): Removed. [CONFIG_FEATURE_FANCY_PING] (noresp): Moved from here . . . [CONFIG_FEATURE_FANCY_PING] (ping:noresp): . . . to here. Use H->h_name, not hostname. [CONFIG_FEATURE_FANCY_PING] (ping): Do not copy H->h_name into hostname. Use H->h_name directly. [!CONFIG_FEATURE_FANCY_PING] (hostent): New global variable. [!CONFIG_FEATURE_FANCY_PING] (pingstats): Use hostent in favor of the now obsolete hostname global variable. [!CONFIG_FEATURE_FANCY_PING] (ping): Likewise. No need to copy H; use hostent instead. [!CONFIG_FEATURE_FANCY_PING] (ntransmitted, nreceived, nrepeats, pingcount, myid, options, tmax, tsum): Removed superfluous zero initializers. git-svn-id: svn://busybox.net/trunk/busybox@4145 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove `== TRUE' tests and convert `!= TRUE' and `== FALSE' tests to use !.kraai2001-12-201-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3925 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Latest patch from vodz:andersen2001-11-106-106/+71
| | | | | | | | | | -- reverse resolve network name and cache in route and ifconfig applets, fix print nslookup server name if compile without uClibc, fix route crashe 'route add', fix warnings compile networking and pwd_grp applets git-svn-id: svn://busybox.net/trunk/busybox@3645 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Can't use RESERVE_CONFIG_BUFFER here since the allocationandersen2001-11-101-1/+3
| | | | | | | size varies meaning BUFFERS_GO_ON_STACK will fail git-svn-id: svn://busybox.net/trunk/busybox@3643 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add netstat applet, submitted by Bart Visscher <magick@linux-fan.com>andersen2001-10-313-0/+549
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3616 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Major cleanup from Charles Steinkuehler <charles@steinkuehler.net>:andersen2001-10-311-56/+58
| | | | | | | | | | | | | | | | | | | | | - Switched to getopt argument parsing - Added -f option to get fully qualified domain name - Fixed the -s (short) and -d (domain) options, which were not doing a gethostbyname lookup to get the FQDN before trying to separate the local and domain portions of the hostname. - Fixed probem with 'agressive setting' of the hostname...the previous busybox version would try to set the hostname if called with a non-option argument, or the -F option, even if another option (like -i or -s) was given. This behavior does not match the net-tools hostname, which does not attempt to set anything if given a 'display' option, regardless of the presence/absence of the -F option or additional command line arguments. - When using a file to set the hostname, behavior now matches net-tools version...previous busybox version did not handle comments, and simply grabbed the first line from the file. git-svn-id: svn://busybox.net/trunk/busybox@3607 69ca8d6d-28ef-0310-b511-8ec308f3f277
* patch from Giulio Orsero <giulioo@pobox.com>andersen2001-10-311-0/+27
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3605 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Use error_msg() instead of fprintf(stderr, ...)andersen2001-10-281-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3598 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add in some (theoretical) uClinux support. Some init cleanupsandersen2001-10-281-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3596 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Recovery from previous commitbug12001-10-251-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3587 69ca8d6d-28ef-0310-b511-8ec308f3f277
* rEcover from my previous commitbug12001-10-251-1/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3586 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Modify applets to use libunarchivebug12001-10-252-1/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3582 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Major rework of the directory structure and the entire build system.andersen2001-10-2410-74/+140
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@3561 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Apply Magnus Damm's patch, adds tftp blocksize support, and some cleanups.bug12001-10-051-51/+242
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3492 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Use xgethostbyname instead of gethostbyname (found by Erik Andersen).kraai2001-10-011-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3459 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Another fix from vodzandersen2001-09-051-45/+47
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3397 69ca8d6d-28ef-0310-b511-8ec308f3f277
* patch from vodz -- route cleanup to display all route entriesandersen2001-08-271-9/+30
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3361 69ca8d6d-28ef-0310-b511-8ec308f3f277
* A patch from Jaspreet Singh <jsingh@somanetworks.com>andersen2001-08-231-5/+6
| | | | | | | fixing both a segfault and cosmetic bug in route git-svn-id: svn://busybox.net/trunk/busybox@3343 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Apply Glenn's tftp rewriteandersen2001-08-201-137/+106
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3310 69ca8d6d-28ef-0310-b511-8ec308f3f277
* This corrects the _really_poor_ implementation of "broadcast +" handlingmjn32001-08-101-19/+7
| | | | | | | | | | by ifconfig that someone had submitted. It fixes 1 bug, gets rid of the excessive bloating of a structure that is used in a static const array, and removes the implicit struct copys by keeping only the int type needed. It also turns this into a configurable feature (off by default). git-svn-id: svn://busybox.net/trunk/busybox@3236 69ca8d6d-28ef-0310-b511-8ec308f3f277
* More libc5 fixupsandersen2001-08-021-0/+90
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@3195 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Silence some silly warningsandersen2001-07-311-0/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3175 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Some adjustments, mostly from David McCullough <davidm@lineo.com> toandersen2001-07-191-2/+2
| | | | | | | | | | make busybox be more uClinux friendly. I also adjusted Config.h for uClinux so it will automagically disable apps the arn't going to work without fork() and such. -Erik git-svn-id: svn://busybox.net/trunk/busybox@3130 69ca8d6d-28ef-0310-b511-8ec308f3f277
* The -P prefix should only be prepended to filenames which are not explicitlykraai2001-07-191-4/+4
| | | | | | | specified. git-svn-id: svn://busybox.net/trunk/busybox@3129 69ca8d6d-28ef-0310-b511-8ec308f3f277
* The directory name should only be prepended if one was specified.kraai2001-07-191-2/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3127 69ca8d6d-28ef-0310-b511-8ec308f3f277
* This is vodz' latest patch. Sorry it took so long...andersen2001-07-172-22/+14
| | | | | | | | | | | | 1) ping cleanup (compile fix from this patch already applied). 2) traceroute call not spare ntohl() now (and reduce size); 3) Fix for functions not declared static in insmod, ash, vi and mount. 4) a more simple API cmdedit :)) 5) adds "stopped jobs" warning to ash on Ctrl-D and fixes "ignoreeof" option 6) reduce exporting library function index->strchr (traceroute), bzero->memset (syslogd) git-svn-id: svn://busybox.net/trunk/busybox@3103 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Allow featureless ping to compile, and featureful ping to shrinkkraai2001-07-131-16/+3
| | | | | | | (by Adam Slattery). git-svn-id: svn://busybox.net/trunk/busybox@3095 69ca8d6d-28ef-0310-b511-8ec308f3f277