summaryrefslogtreecommitdiff
path: root/networking (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Use busybox's show_usage function for helpGlenn L McGrath2002-09-151-16/+3
|
* Fix for handling of "tftp -l -" from Jean Wolter <jw5@os.inf.tu-dresden.de>Eric Andersen2002-09-101-1/+1
|
* Eliminate use of obsolete sys_errlist[]Eric Andersen2002-08-261-13/+13
| | | | -Erik
* Remove empty loopsGlenn L McGrath2002-08-231-4/+4
|
* Use static instead of extern, braces around if's, run through indentGlenn L McGrath2002-08-231-330/+372
|
* ansifyAaron Lehmann2002-08-231-4/+2
|
* remove duplicate definition of GAaron Lehmann2002-08-231-2/+0
| | | | caught by tinycc
* Run through indent, fix commentGlenn L McGrath2002-08-221-163/+174
|
* Run through indent, fix commentsGlenn L McGrath2002-08-221-86/+91
|
* Cleanups. These SHOULD make the binary a lot smaller. But they don't.Aaron Lehmann2002-08-211-19/+18
| | | | CURSE GCC
* Disable debuggingGlenn L McGrath2002-08-211-1/+1
|
* Clean up udhcpd a bit. Constify. Staticize. Remove these functions andAaron Lehmann2002-08-211-66/+54
| | | | inline their contents: print_usage, pidfile_delete, and background.
* New applet, udhcp clientGlenn L McGrath2002-08-213-0/+1573
|
* Commited patch from bug #1182Robert Griebl2002-07-241-7/+35
| | | | | Although ssrat@mailbag.com says this is not GNU behaviour, it really *is* (man nslookup)
* Accept the --passive-ftp cmd.line option. We always use passive ftp mode,Robert Griebl2002-07-121-8/+14
| | | | so it doesn't hurt (adds compatibility though)
* Fixup warnings and undefined operations that show up in gcc-3.1Eric Andersen2002-07-112-1/+3
| | | | -Erik
* Scrub pwd.h and grp.h handling so we don't have to play anyEric Andersen2002-07-031-1/+1
| | | | | silly games. -Erik
* A patch from Bart Visscher <magick@linux-fan.com> to add anEric Andersen2002-07-032-101/+11
| | | | | | | | | xconnect helper routine which does: -address and port resolving -tries to connect to all resolved addresses until connected -uses getaddrinfo, so works for IPv6 too This patch also ports rdate, telnet, and wget to use the new xconnect function. Thanks Bart!
* This patch from Bart Visscher <magick@linux-fan.com> addsEric Andersen2002-07-036-8/+947
| | | | | | | | | | | | | | | IPV6 support to busybox. This patch does the following: * Add IPv6 support to libbb * Enable IPv6 interface address display * Add IPv6 config option * Adds ping6, an adaptation of the ping applet for IPv6 * Adds support routines for ping6: - xgethostbyname2 - create_icmp6_socket * Adds ifconfig support for IPv6 * Add support IPv6 to netstat * Add IPv6 support to route Thanks Bart!
* Remove advertising clauses in accordance withAaron Lehmann2002-06-231-5/+1
| | | | ftp://ftp.cs.berkeley.edu/ucb/4bsd/README.Impt.License.Change
* Apply vodz' last_patch44 -- cleanup several chars to be const, fixEric Andersen2002-06-221-19/+15
| | | | rotten error handling, kill spare \n's, etc
* Email addr fixEric Andersen2002-06-061-2/+1
|
* Patch from Gyepi SAM <gyepi@praxis-sw.com>:Eric 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
* Per discussion with vodz, Tim's changes do not seem to make sense.Eric Andersen2002-06-061-5/+5
| | | | | Revert them. -Erik
* Fix for broken handling off BusyBox's own pwd/grp implementationsRobert Griebl2002-06-041-1/+1
| | | | [Parts of this patch may overlap with my other two patches]
* ping return 1 if can't pingTim Riker2002-05-181-5/+5
|
* Reduced code size for new -e flag (suggested by vodz)Robert Griebl2002-05-161-17/+9
|
* Added support for -Y|--proxy=on/off to wgetRobert Griebl2002-05-141-6/+14
|
* This patch adds -e (extended information) to route and -r/-e (show routingRobert Griebl2002-05-142-23/+70
| | | | | tables/extended information) to netstat. This makes them behave (more) like their GNU counterparts.
* Tom Oehser noticed that we were lacking the SO_REUSEADDR flag.Eric Andersen2002-05-051-2/+4
|
* uClibc supports struct _res these days...Eric Andersen2002-04-271-10/+1
|
* Add netcat -i option, per patch from Cristian Ionescu-IdbohrnEric Andersen2002-04-261-2/+40
| | | | <cristian.ionescu-idbohrn@axis.com>
* Fix bugsEric Andersen2002-04-261-4/+4
|
* Minor formattingEric Andersen2002-04-261-1/+2
|
* add missing void, still has issues thoughTim Riker2002-04-261-1/+1
|
* Forward port patch from Przemyslaw Czerpak <druzus@polbox.com>:Eric 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.
* * networking/wget.c (wget_main): Check return value of safe_fwrite.Matt Kraai2002-04-171-2/+3
|
* Patch from Ben Low <ben@titr.uow.edu.au> to allow tftp to workEric Andersen2002-04-151-11/+7
| | | | with stdin as well as stdout.
* Teach tftp to direct the fetched file to stdout when theEric Andersen2002-04-131-4/+11
| | | | | user specifies "-l -" -Erik
* Completely rework the config system so that it no longer annoys me to work onEric Andersen2002-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
* Doh! I broke ping when removing the nested function.Eric Andersen2002-03-211-4/+4
| | | | This patch from vodz fixes it again.
* Patch from Jeff Studer <jstuder@aquilagroup.com> to supply a defaults forEric Andersen2002-03-201-0/+7
| | | | | localfilename from remotefilename, and for remotefilename from localfilename when the other one is not supplied.
* Cave to pressure (2 months later). Eliminate using aEric Andersen2002-03-201-7/+8
| | | | | nested function, which is a purely unremovable gcc-ism... -Erik
* * networking/wget.c (parse_url): Allocate a string for the empty path.Matt Kraai2002-03-191-2/+2
| | | | * testsuite/wget/wget-handles-empty-path: New.
* 2002-01-30 Neal H Walfield <neal@cs.uml.edu>Matt 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.
* Remove `== TRUE' tests and convert `!= TRUE' and `== FALSE' tests to use !.Matt Kraai2001-12-201-1/+1
|
* Latest patch from vodz:Eric 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
* Can't use RESERVE_CONFIG_BUFFER here since the allocationEric Andersen2001-11-101-1/+3
| | | | size varies meaning BUFFERS_GO_ON_STACK will fail
* Add netstat applet, submitted by Bart Visscher <magick@linux-fan.com>Eric Andersen2001-10-313-0/+549
|
* Major cleanup from Charles Steinkuehler <charles@steinkuehler.net>:Eric 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.