aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-13small fixes to ipv6 infrastructureDenis Vlasenko
2007-01-12random small size optimizationsDenis Vlasenko
2007-01-12stty: fix bug reported by Paul Albrecht <albrecht@rdi1.com> -Denis Vlasenko
stty -echo didn't work. Introduced by me :(
2007-01-12stty: rearrange functions, avoiding the need in forward declarations.Denis Vlasenko
No other code chages.
2007-01-12undo RESERVE_CONFIG_BUFFER change. aldot, small on-stack char[N] objectsDenis Vlasenko
are perfectly okay, don't convert them to RESERVE_CONFIG_BUFFERs.
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-10code shrinkage by Bernhard Fischer <rep.nop@aon.at>Denis Vlasenko
2007-01-10missed a few #undefs (no real impact I think)Denis Vlasenko
2007-01-10fix bug 1146 (gunzip breakage introduced by me --vda)Denis Vlasenko
2007-01-10a bit more IPv6-ization workDenis Vlasenko
syslogd: converted to use it (in -R host:port)
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-10execute "safe applets" exev if not standalone shellDenis Vlasenko
(patch by "Eric Spakman" <E.Spakman@inter.nl.net>)
2007-01-09Fix typo in usage text by shortening itDenis Vlasenko
2007-01-09Yet another small size reduction by Bernhard Fischer <rep.nop@aon.at>Denis Vlasenko
2007-01-09small size reduction by Bernhard Fischer <rep.nop@aon.at>Denis Vlasenko
2007-01-09small size reduction by Bernhard Fischer <rep.nop@aon.at>Denis Vlasenko
2007-01-09compilation fix by Bernhard Fischer <rep.nop@aon.at>Denis Vlasenko
2007-01-09- missing hunk to go with r17206Bernhard Reutner-Fischer
2007-01-09- shrink by 26 bytes or soBernhard Reutner-Fischer
2007-01-09- vapier wants LD to point to CC, revert my previous changeBernhard Reutner-Fischer
2007-01-09- shrink klogd a tiny bit.Bernhard Reutner-Fischer
Compile tested only, would have sent it to the list for review but they don't show up in the ML archives :-/ text data bss dec hex filename 533 0 0 533 215 sysklogd/klogd.o.orig 530 0 0 530 212 sysklogd/klogd.o
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-08- guess we need dl tooBernhard Reutner-Fischer
2007-01-08- set LD to ldBernhard Reutner-Fischer
- simplify the cmd_busybox__ a bit and pass the LDFLAGS via -Wl down to CC
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-07gzip cleanup part #13 - the last for today I thinkDenis Vlasenko
2007-01-07gzip cleanup part #12Denis Vlasenko
2007-01-07gzip cleanup part #11Denis Vlasenko
2007-01-07gzip cleanup part #10Denis Vlasenko
2007-01-07gzip cleanup part #9Denis Vlasenko