aboutsummaryrefslogtreecommitdiff
path: root/networking (follow)
Commit message (Collapse)AuthorAgeFilesLines
* work around gcc bugvda2007-01-281-1/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17601 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - reinstate static for the command string arrray to be gentle to gcc-3.xaldot2007-01-281-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17591 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - use uint32_t as suggested by vda.aldot2007-01-281-7/+9
| | | | | | | | | | - minor size- and readability tweaks while at it: text data bss dec hex filename 2631 0 0 2631 a47 networking/libiproute/iprule.o.orig 2596 0 0 2596 a24 networking/libiproute/iprule.o git-svn-id: svn://busybox.net/trunk/busybox@17566 69ca8d6d-28ef-0310-b511-8ec308f3f277
* ether-wake: remove #warningvda2007-01-271-2/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17565 69ca8d6d-28ef-0310-b511-8ec308f3f277
* use bb_sanitize_stdio() where appropriatevda2007-01-272-19/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17557 69ca8d6d-28ef-0310-b511-8ec308f3f277
* fix numbering in switch(): we don't have "del" anymore,vda2007-01-272-14/+16
| | | | | | | | substring match on "delete" handles it ok. But we (I?) forgot to renumber case labels... git-svn-id: svn://busybox.net/trunk/busybox@17550 69ca8d6d-28ef-0310-b511-8ec308f3f277
* fix option -F mishandlingvda2007-01-261-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17536 69ca8d6d-28ef-0310-b511-8ec308f3f277
* arping: stop using last gethostbyname2 in the treevda2007-01-252-10/+9
| | | | | | | hostname: small optimization git-svn-id: svn://busybox.net/trunk/busybox@17517 69ca8d6d-28ef-0310-b511-8ec308f3f277
* accidentally applied wrong (old) patch, fixing up...vda2007-01-251-8/+7
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17515 69ca8d6d-28ef-0310-b511-8ec308f3f277
* opt_complementary doesn't like numeric opts :(vda2007-01-241-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17514 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Unify ping and ping6. ping has -4 and -6 which forcevda2007-01-244-554/+458
| | | | | | | | | | | name resolution into IP or IPv6 only, otherwise we take address family returned by host2sockaddr() in lsa->sa.sa_family. IOW: "ping ::1" with do IPv6 ping, "ping 127.0.0.1" will do IPv4 ping. ping6 is aliased to "ping -6". git-svn-id: svn://busybox.net/trunk/busybox@17513 69ca8d6d-28ef-0310-b511-8ec308f3f277
* hostname declaration was misplacedvda2007-01-241-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17510 69ca8d6d-28ef-0310-b511-8ec308f3f277
* accumulated post-1.4.0 fixesvda2007-01-242-4/+9
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17508 69ca8d6d-28ef-0310-b511-8ec308f3f277
* combine depends linesvapier2007-01-241-2/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17499 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - rtnl_rttable_a2n wants an unsigned int32aldot2007-01-231-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17484 69ca8d6d-28ef-0310-b511-8ec308f3f277
* remove empty source filesvda2007-01-221-1/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17480 69ca8d6d-28ef-0310-b511-8ec308f3f277
* clean up commented out old codevda2007-01-225-448/+13
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17479 69ca8d6d-28ef-0310-b511-8ec308f3f277
* ping6: stop using xgethostbyname2, remove it from libbb.vda2007-01-222-21/+28
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17478 69ca8d6d-28ef-0310-b511-8ec308f3f277
* nslookup: full circle. Here we started IPv6 work. Use "new API"vda2007-01-221-29/+88
| | | | | | | and thus save a few bytes. git-svn-id: svn://busybox.net/trunk/busybox@17477 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - forgot to include ip_common.haldot2007-01-221-2/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17466 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - sed -i -e "/\$Id:/d;"aldot2007-01-225-5/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17464 69ca8d6d-28ef-0310-b511-8ec308f3f277
* cleanups: unnecessary casts, unified const_1, eliminate cross-.c filevda2007-01-2210-226/+192
| | | | | | | | prototypes (heresy!), add spaces in places like "flags&NETSTAT_CONNECTED", removed unused #defines, #ifdef -> #if, use uint32_t for ipv4 addrs. git-svn-id: svn://busybox.net/trunk/busybox@17461 69ca8d6d-28ef-0310-b511-8ec308f3f277
* dnsd: getfileentry was leaking memoryvda2007-01-221-11/+15
| | | | | | | mount: improve readability git-svn-id: svn://busybox.net/trunk/busybox@17460 69ca8d6d-28ef-0310-b511-8ec308f3f277
* exterminate u_intXXX.vda2007-01-225-65/+71
| | | | | | | fix ping6 buglet (memset is too short), minor sync between ping and ping6 git-svn-id: svn://busybox.net/trunk/busybox@17459 69ca8d6d-28ef-0310-b511-8ec308f3f277
* comment out unused old networking API partsvda2007-01-222-3/+3
| | | | | | | sockaddr2dotted: return IPV6 addrs in [addr]:port form (was addr:port) git-svn-id: svn://busybox.net/trunk/busybox@17456 69ca8d6d-28ef-0310-b511-8ec308f3f277
* remove obsolete FEATURE_WGET_IP6_LITERALvda2007-01-222-37/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17454 69ca8d6d-28ef-0310-b511-8ec308f3f277
* fixing bugs revealed by randomconfig runsvda2007-01-202-3/+7
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17397 69ca8d6d-28ef-0310-b511-8ec308f3f277
* fixes for amd64 compilationvda2007-01-202-7/+10
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17394 69ca8d6d-28ef-0310-b511-8ec308f3f277
* strdup -> xstrdupvda2007-01-191-1/+1
| | | | | | | sed: de-obfuscate piece of code git-svn-id: svn://busybox.net/trunk/busybox@17392 69ca8d6d-28ef-0310-b511-8ec308f3f277
* openvt,getty,vfork_daemon_rexec,mount: tighten up fd cleanup codevda2007-01-195-9/+16
| | | | | | | | | | | | (will close all fd's > 2 on daemonization now) getty: fix "getty -" support, and also do not try to chown/chmod "-" telnetd: fix "lost ctty" bug Yet another attempt on saner function names: bb_sanitize_server_stdio(0/1) -> bb_sanitize_stdio() + bb_daemonize(); git-svn-id: svn://busybox.net/trunk/busybox@17390 69ca8d6d-28ef-0310-b511-8ec308f3f277
* fix potentially misaligned 32-bit accessesvda2007-01-181-3/+6
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17365 69ca8d6d-28ef-0310-b511-8ec308f3f277
* httpd: use fd#1 in inetd modevda2007-01-142-5/+11
| | | | | | | inetd: micro style fix git-svn-id: svn://busybox.net/trunk/busybox@17304 69ca8d6d-28ef-0310-b511-8ec308f3f277
* inetd: preparatory patch, no code changesvda2007-01-141-63/+64
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17303 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Rename bb_sanitize_stdio -> bb_sanitize_server_stdiovda2007-01-142-9/+14
| | | | | | | | | (name is still bad - it doesn't hint that function may do daemonization trick for you if asked to). Small fixes to fakeidentd. git-svn-id: svn://busybox.net/trunk/busybox@17302 69ca8d6d-28ef-0310-b511-8ec308f3f277
* small size optimizationvda2007-01-141-2/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17301 69ca8d6d-28ef-0310-b511-8ec308f3f277
* isrv.h: add copyright infovda2007-01-141-0/+10
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17300 69ca8d6d-28ef-0310-b511-8ec308f3f277
* I forgot "svn add" AGAIN! :(vda2007-01-141-0/+23
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17299 69ca8d6d-28ef-0310-b511-8ec308f3f277
* fakeidentd: avoid extra fcntl callsvda2007-01-141-11/+13
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17298 69ca8d6d-28ef-0310-b511-8ec308f3f277
* fakeidentd: fix daemon mode (was thinking that it is invda2007-01-142-23/+27
| | | | | | | | inetd-wait mode and dying after timeout). Minor fixes, comments are improved in places. git-svn-id: svn://busybox.net/trunk/busybox@17297 69ca8d6d-28ef-0310-b511-8ec308f3f277
* inetd: open log after daemonizationvda2007-01-141-2/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17278 69ca8d6d-28ef-0310-b511-8ec308f3f277
* By popular request reinstate fakeidentd's standalone mode.vda2007-01-144-10/+489
| | | | | | | | | | | | | | Since this is also needed for other applets like telnetd, introduce generic driver for such things. It even supports inetd-wait ('linger') mode, when inetd hands out listen socket to child and waits to it to die, instead of handing out accepted socket and continuing listening itself (nowait mode). Code growth ~200 bytes. NB: our inetd doesn't support wait mode yet (or mabe it is buggy). git-svn-id: svn://busybox.net/trunk/busybox@17275 69ca8d6d-28ef-0310-b511-8ec308f3f277
* whitespace fixes (leading spaces to tab)vda2007-01-131-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17265 69ca8d6d-28ef-0310-b511-8ec308f3f277
* random small size optimizationsvda2007-01-121-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17263 69ca8d6d-28ef-0310-b511-8ec308f3f277
* next part of ipv6-ization. mostly netcat.vda2007-01-123-56/+51
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17259 69ca8d6d-28ef-0310-b511-8ec308f3f277
* next part of ipv6-ization. dnsd code is "interesting"...vda2007-01-123-108/+53
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17258 69ca8d6d-28ef-0310-b511-8ec308f3f277
* next part of ipv6-ization is here: wget & httpdvda2007-01-125-116/+139
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17257 69ca8d6d-28ef-0310-b511-8ec308f3f277
* fakeinetd: attempted ipv6-ization (and it's done)vda2007-01-112-190/+205
| | | | | | | | | | | | | | | | | | | | | | | | | | | but entire applet can be orders of magnitude smaller if written as an inetd service. So did that (#ifdef'ed out entire old version). inetd version is less than 10% of old one! function old new delta packed_usage 22083 22105 +22 nobodystr 4 - -4 bind_ip_address 4 - -4 ident_substr 20 - -20 chmatch 22 - -22 movefd 25 - -25 skipchars 49 - -49 handlexitsigs 51 - -51 replyError 70 - -70 .rodata 158120 158024 -96 deleteConn 102 - -102 G 524 388 -136 conns 560 - -560 fakeidentd_main 1457 143 -1314 ------------------------------------------------------------------------------ (add/remove: 0/10 grow/shrink: 1/3 up/down: 22/-2453) Total: -2431 bytes git-svn-id: svn://busybox.net/trunk/busybox@17256 69ca8d6d-28ef-0310-b511-8ec308f3f277
* fix my own breakagevda2007-01-111-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17254 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Trailing whitespace removal over entire treevda2007-01-119-61/+61
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17252 69ca8d6d-28ef-0310-b511-8ec308f3f277
* fix verbose output; remove commented-out includes.vda2007-01-113-13/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17251 69ca8d6d-28ef-0310-b511-8ec308f3f277