summaryrefslogtreecommitdiff
path: root/networking (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* - use uint32_t as suggested by vda.Bernhard Reutner-Fischer2007-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
* ether-wake: remove #warningDenis Vlasenko2007-01-271-2/+0
|
* use bb_sanitize_stdio() where appropriateDenis Vlasenko2007-01-272-19/+3
|
* fix numbering in switch(): we don't have "del" anymore,Denis Vlasenko2007-01-272-14/+16
| | | | | substring match on "delete" handles it ok. But we (I?) forgot to renumber case labels...
* fix option -F mishandlingDenis Vlasenko2007-01-261-1/+1
|
* arping: stop using last gethostbyname2 in the treeDenis Vlasenko2007-01-252-10/+9
| | | | hostname: small optimization
* accidentally applied wrong (old) patch, fixing up...Denis Vlasenko2007-01-251-8/+7
|
* opt_complementary doesn't like numeric opts :(Denis Vlasenko2007-01-241-1/+1
|
* Unify ping and ping6. ping has -4 and -6 which forceDenis Vlasenko2007-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".
* hostname declaration was misplacedDenis Vlasenko2007-01-241-2/+2
|
* accumulated post-1.4.0 fixesDenis Vlasenko2007-01-242-4/+9
|
* combine depends linesMike Frysinger2007-01-241-2/+1
|
* - rtnl_rttable_a2n wants an unsigned int32Bernhard Reutner-Fischer2007-01-231-1/+1
|
* remove empty source filesDenis Vlasenko2007-01-221-1/+0
|
* clean up commented out old codeDenis Vlasenko2007-01-225-448/+13
|
* ping6: stop using xgethostbyname2, remove it from libbb.Denis Vlasenko2007-01-222-21/+28
|
* nslookup: full circle. Here we started IPv6 work. Use "new API"Denis Vlasenko2007-01-221-29/+88
| | | | and thus save a few bytes.
* - forgot to include ip_common.hBernhard Reutner-Fischer2007-01-221-2/+3
|
* - sed -i -e "/\$Id:/d;"Bernhard Reutner-Fischer2007-01-225-5/+0
|
* cleanups: unnecessary casts, unified const_1, eliminate cross-.c fileDenis Vlasenko2007-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.
* dnsd: getfileentry was leaking memoryDenis Vlasenko2007-01-221-11/+15
| | | | mount: improve readability
* exterminate u_intXXX.Denis Vlasenko2007-01-225-65/+71
| | | | fix ping6 buglet (memset is too short), minor sync between ping and ping6
* comment out unused old networking API partsDenis Vlasenko2007-01-222-3/+3
| | | | sockaddr2dotted: return IPV6 addrs in [addr]:port form (was addr:port)
* remove obsolete FEATURE_WGET_IP6_LITERALDenis Vlasenko2007-01-222-37/+0
|
* fixing bugs revealed by randomconfig runsDenis Vlasenko2007-01-202-3/+7
|
* fixes for amd64 compilationDenis Vlasenko2007-01-202-7/+10
|
* strdup -> xstrdupDenis Vlasenko2007-01-191-1/+1
| | | | sed: de-obfuscate piece of code
* openvt,getty,vfork_daemon_rexec,mount: tighten up fd cleanup codeDenis Vlasenko2007-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();
* fix potentially misaligned 32-bit accessesDenis Vlasenko2007-01-181-3/+6
|
* httpd: use fd#1 in inetd modeDenis Vlasenko2007-01-142-5/+11
| | | | inetd: micro style fix
* inetd: preparatory patch, no code changesDenis Vlasenko2007-01-141-63/+64
|
* Rename bb_sanitize_stdio -> bb_sanitize_server_stdioDenis Vlasenko2007-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.
* small size optimizationDenis Vlasenko2007-01-141-2/+3
|
* isrv.h: add copyright infoDenis Vlasenko2007-01-141-0/+10
|
* I forgot "svn add" AGAIN! :(Denis Vlasenko2007-01-141-0/+23
|
* fakeidentd: avoid extra fcntl callsDenis Vlasenko2007-01-141-11/+13
|
* fakeidentd: fix daemon mode (was thinking that it is inDenis Vlasenko2007-01-142-23/+27
| | | | | inetd-wait mode and dying after timeout). Minor fixes, comments are improved in places.
* inetd: open log after daemonizationDenis Vlasenko2007-01-141-2/+1
|
* By popular request reinstate fakeidentd's standalone mode.Denis Vlasenko2007-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).
* whitespace fixes (leading spaces to tab)Denis Vlasenko2007-01-131-1/+1
|
* random small size optimizationsDenis Vlasenko2007-01-121-1/+1
|
* next part of ipv6-ization. mostly netcat.Denis Vlasenko2007-01-123-56/+51
|
* next part of ipv6-ization. dnsd code is "interesting"...Denis Vlasenko2007-01-123-108/+53
|
* next part of ipv6-ization is here: wget & httpdDenis Vlasenko2007-01-125-116/+139
|
* fakeinetd: attempted ipv6-ization (and it's done)Denis Vlasenko2007-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
* fix my own breakageDenis Vlasenko2007-01-111-1/+1
|
* Trailing whitespace removal over entire treeDenis Vlasenko2007-01-119-61/+61
|
* fix verbose output; remove commented-out includes.Denis Vlasenko2007-01-113-13/+4
|
* ipv6-ization efforts continue. Few bugs are found,Denis Vlasenko2007-01-112-159/+111
| | | | unknown number likely introduced...
* Improve generic ipv4+ipv6 support in libbb.Denis Vlasenko2007-01-102-22/+11
| | | | | | | | | Convert telnet to it. Now this works: telnetd -b [::1]:1234 - bind to IPv6 non-standard port telnet [::1]:1234 - connect to IPv6 non-standard port telnet ::1 1234 - same This does not require ANY ipv6-specific code in applets (no struct sockaddr_in6. In fact, no sockaddr_in, too).