aboutsummaryrefslogtreecommitdiff
path: root/networking
AgeCommit message (Collapse)Author
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...
2007-01-10Improve generic ipv4+ipv6 support in libbb.Denis Vlasenko
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).
2007-01-09vda, we once had a get_chomped_line_from_file or the like. Where is that ↵Bernhard Reutner-Fischer
nowadays? FIXME: use it here instead of the fgets() - shrink by ~9%: use common_buf, reuse are_you_root, adopt to global option_mask32
2007-01-08ping6: fix sequence numbers (missed ntoh) and ttl display.Denis Vlasenko
(apparently some, eh, clever libc guy decided that *CHANGING* IPV6_HOPLIMIT value in libc header is a nifty idea...)
2007-01-07Previous "fix" wasn't good enough.Denis Vlasenko
Now *this* is the correct fix (I think).
2007-01-07arp: small fixes for user-supplied device name caseDenis Vlasenko
2007-01-07- style fixes and shrink by another 4 bytes while at it.Bernhard Reutner-Fischer
2007-01-07httpd: stop adding our own "Content-type:" to CGI outputDenis Vlasenko
2007-01-07I *always* forgotting svn addDenis Vlasenko
2007-01-07add arp applet - thanks toDenis Vlasenko
"Eric Spakman" <E.Spakman@inter.nl.net>
2007-01-03httpd: read cgi output with full_read, not safe_readDenis Vlasenko
(avoids mangling of HTTP headers)
2007-01-03wget: always print port# in 'Host' header (smaller code)Denis Vlasenko
2007-01-03ping[6]: don't do htons(a++), it can be a macroDenis Vlasenko
2007-01-03wget: print port# in 'Host' header, if different from 80Denis Vlasenko
2007-01-03ftpgetput: fix PASV mode, fix xatou0induced breakage,Denis Vlasenko
improve error message, guard against garbage from remote server being printed. ~20 bytes code growth
2007-01-03convert calloc to xzallocDenis Vlasenko
fix sleep-on-die option
2007-01-02Remove networking/libiproute/linux/pkt_sched.hDenis Vlasenko
(and networking/libiproute/linux/ since it become empty). Style fixes.
2007-01-01msh: double "static char line[LINELIM]" etc deleted.Denis Vlasenko
massive amounts of assignments-in-ifs deleted (some of which were VERY nasty)
2006-12-31rt_names: stop allocating 5k in rwdataDenis Vlasenko
objsizes: don't show build machinery's object modules
2006-12-31iproute: remove double get_hz optimizationDenis Vlasenko
2006-12-31remove commented out #includes etcDenis Vlasenko
move get_hz to the only caller
2006-12-31stop using __u32 etc. uint32_t is there for a reasonDenis Vlasenko
2006-12-31fixes from Yann E. MORIN <yann.morin.1998@anciens.enib.fr>Denis Vlasenko
2006-12-30done a dozen of randconfig test. guess what? ALL failed...Denis Vlasenko
these are resulting fixes
2006-12-26merge post-1.3.0 fixesDenis Vlasenko
2006-12-26properly export externs thru *.h filesDenis Vlasenko
2006-12-26style fixesDenis Vlasenko
last xcalloc replaced by xzalloc
2006-12-23use xbind, xconnect where appropriate.Denis Vlasenko
small edits to arping
2006-12-22remove useless casts (type*) xzalloc(...)Denis Vlasenko
2006-12-22Always use /usr/share/udhcpc/default.script ([/usr] was depending on CONFIG_xx)Denis Vlasenko
2006-12-22tar et al: die if bb_copyfd_size copies less than asked for.Denis Vlasenko
(we have bb_copyfd_exact_size now for that kind of usage)
2006-12-21introduce LONE_CHAR (optimized strcmp with one-char string)Denis Vlasenko
2006-12-19remove casts from xmalloc()Denis Vlasenko
2006-12-19ifupdown: do not print and/or execute empty commands ("").Denis Vlasenko
2006-12-19ifupdown: parse() returning NULL and returning "" is not the same,Denis Vlasenko
it turned out! wow... okay, fixing my buglet...
2006-12-19u_short, ulong exterminatedDenis Vlasenko
fdiskXXX: add a bit of sanity (not enough by far)
2006-12-19- use xlisten/xsocket some more. Saves .25 kBBernhard Reutner-Fischer
2006-12-18nc: add missing castDenis Vlasenko
xfuncs: add dprintf for dietlibc
2006-12-18A bunch of defined(__GLIBC__) added. static-linking warning expandedDenis Vlasenko