aboutsummaryrefslogtreecommitdiff
path: root/networking
AgeCommit message (Collapse)Author
2007-01-28- reinstate static for the command string arrray to be gentle to gcc-3.xBernhard Reutner-Fischer
2007-01-28- use uint32_t as suggested by vda.Bernhard Reutner-Fischer
- 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
2007-01-27ether-wake: remove #warningDenis Vlasenko
2007-01-27use bb_sanitize_stdio() where appropriateDenis Vlasenko
2007-01-27fix numbering in switch(): we don't have "del" anymore,Denis Vlasenko
substring match on "delete" handles it ok. But we (I?) forgot to renumber case labels...
2007-01-26fix option -F mishandlingDenis Vlasenko
2007-01-25arping: stop using last gethostbyname2 in the treeDenis Vlasenko
hostname: small optimization
2007-01-25accidentally applied wrong (old) patch, fixing up...Denis Vlasenko
2007-01-24opt_complementary doesn't like numeric opts :(Denis Vlasenko
2007-01-24Unify ping and ping6. ping has -4 and -6 which forceDenis Vlasenko
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".
2007-01-24hostname declaration was misplacedDenis Vlasenko
2007-01-24accumulated post-1.4.0 fixesDenis Vlasenko
2007-01-24combine depends linesMike Frysinger
2007-01-23- rtnl_rttable_a2n wants an unsigned int32Bernhard Reutner-Fischer
2007-01-22remove empty source filesDenis Vlasenko
2007-01-22clean up commented out old codeDenis Vlasenko
2007-01-22ping6: stop using xgethostbyname2, remove it from libbb.Denis Vlasenko
2007-01-22nslookup: full circle. Here we started IPv6 work. Use "new API"Denis Vlasenko
and thus save a few bytes.
2007-01-22- forgot to include ip_common.hBernhard Reutner-Fischer
2007-01-22- sed -i -e "/\$Id:/d;"Bernhard Reutner-Fischer
2007-01-22cleanups: unnecessary casts, unified const_1, eliminate cross-.c fileDenis Vlasenko
prototypes (heresy!), add spaces in places like "flags&NETSTAT_CONNECTED", removed unused #defines, #ifdef -> #if, use uint32_t for ipv4 addrs.
2007-01-22dnsd: getfileentry was leaking memoryDenis Vlasenko
mount: improve readability
2007-01-22exterminate u_intXXX.Denis Vlasenko
fix ping6 buglet (memset is too short), minor sync between ping and ping6
2007-01-22comment out unused old networking API partsDenis Vlasenko
sockaddr2dotted: return IPV6 addrs in [addr]:port form (was addr:port)
2007-01-22remove obsolete FEATURE_WGET_IP6_LITERALDenis Vlasenko
2007-01-20fixing bugs revealed by randomconfig runsDenis Vlasenko
2007-01-20fixes for amd64 compilationDenis Vlasenko
2007-01-19strdup -> xstrdupDenis Vlasenko
sed: de-obfuscate piece of code
2007-01-19openvt,getty,vfork_daemon_rexec,mount: tighten up fd cleanup codeDenis Vlasenko
(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();
2007-01-18fix potentially misaligned 32-bit accessesDenis Vlasenko
2007-01-14httpd: use fd#1 in inetd modeDenis Vlasenko
inetd: micro style fix
2007-01-14inetd: preparatory patch, no code changesDenis Vlasenko
2007-01-14Rename bb_sanitize_stdio -> bb_sanitize_server_stdioDenis Vlasenko
(name is still bad - it doesn't hint that function may do daemonization trick for you if asked to). Small fixes to fakeidentd.
2007-01-14small size optimizationDenis Vlasenko
2007-01-14isrv.h: add copyright infoDenis Vlasenko
2007-01-14I forgot "svn add" AGAIN! :(Denis Vlasenko
2007-01-14fakeidentd: avoid extra fcntl callsDenis Vlasenko
2007-01-14fakeidentd: fix daemon mode (was thinking that it is inDenis Vlasenko
inetd-wait mode and dying after timeout). Minor fixes, comments are improved in places.
2007-01-14inetd: open log after daemonizationDenis Vlasenko
2007-01-14By popular request reinstate fakeidentd's standalone mode.Denis Vlasenko
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).
2007-01-13whitespace fixes (leading spaces to tab)Denis Vlasenko
2007-01-12random small size optimizationsDenis Vlasenko
2007-01-12next part of ipv6-ization. mostly netcat.Denis Vlasenko
2007-01-12next part of ipv6-ization. dnsd code is "interesting"...Denis Vlasenko
2007-01-12next part of ipv6-ization is here: wget & httpdDenis Vlasenko
2007-01-11fakeinetd: attempted ipv6-ization (and it's done)Denis Vlasenko
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
2007-01-11fix my own breakageDenis Vlasenko
2007-01-11Trailing whitespace removal over entire treeDenis Vlasenko
2007-01-11fix verbose output; remove commented-out includes.Denis Vlasenko
2007-01-11ipv6-ization efforts continue. Few bugs are found,Denis Vlasenko
unknown number likely introduced...