summaryrefslogtreecommitdiff
path: root/networking (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* 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).
* vda, we once had a get_chomped_line_from_file or the like. Where is that ↵Bernhard Reutner-Fischer2007-01-091-17/+15
| | | | | | nowadays? FIXME: use it here instead of the fgets() - shrink by ~9%: use common_buf, reuse are_you_root, adopt to global option_mask32
* ping6: fix sequence numbers (missed ntoh) and ttl display.Denis Vlasenko2007-01-082-75/+58
| | | | | (apparently some, eh, clever libc guy decided that *CHANGING* IPV6_HOPLIMIT value in libc header is a nifty idea...)
* Previous "fix" wasn't good enough.Denis Vlasenko2007-01-071-1/+1
| | | | Now *this* is the correct fix (I think).
* arp: small fixes for user-supplied device name caseDenis Vlasenko2007-01-071-2/+2
|
* - style fixes and shrink by another 4 bytes while at it.Bernhard Reutner-Fischer2007-01-071-25/+22
|
* httpd: stop adding our own "Content-type:" to CGI outputDenis Vlasenko2007-01-071-61/+76
|
* I *always* forgotting svn addDenis Vlasenko2007-01-071-0/+500
|
* add arp applet - thanks toDenis Vlasenko2007-01-073-35/+172
| | | | "Eric Spakman" <E.Spakman@inter.nl.net>
* httpd: read cgi output with full_read, not safe_readDenis Vlasenko2007-01-031-11/+10
| | | | (avoids mangling of HTTP headers)
* wget: always print port# in 'Host' header (smaller code)Denis Vlasenko2007-01-031-9/+2
|
* ping[6]: don't do htons(a++), it can be a macroDenis Vlasenko2007-01-032-2/+4
|
* wget: print port# in 'Host' header, if different from 80Denis Vlasenko2007-01-031-2/+9
|
* ftpgetput: fix PASV mode, fix xatou0induced breakage,Denis Vlasenko2007-01-031-35/+59
| | | | | improve error message, guard against garbage from remote server being printed. ~20 bytes code growth
* convert calloc to xzallocDenis Vlasenko2007-01-031-2/+2
| | | | fix sleep-on-die option
* Remove networking/libiproute/linux/pkt_sched.hDenis Vlasenko2007-01-023-433/+27
| | | | | (and networking/libiproute/linux/ since it become empty). Style fixes.
* msh: double "static char line[LINELIM]" etc deleted.Denis Vlasenko2007-01-011-2/+2
| | | | | massive amounts of assignments-in-ifs deleted (some of which were VERY nasty)
* rt_names: stop allocating 5k in rwdataDenis Vlasenko2006-12-311-105/+85
| | | | objsizes: don't show build machinery's object modules
* iproute: remove double get_hz optimizationDenis Vlasenko2006-12-311-7/+3
|
* remove commented out #includes etcDenis Vlasenko2006-12-315-35/+22
| | | | move get_hz to the only caller
* stop using __u32 etc. uint32_t is there for a reasonDenis Vlasenko2006-12-3113-162/+148
|
* fixes from Yann E. MORIN <yann.morin.1998@anciens.enib.fr>Denis Vlasenko2006-12-312-5/+7
|
* done a dozen of randconfig test. guess what? ALL failed...Denis Vlasenko2006-12-301-21/+23
| | | | these are resulting fixes
* merge post-1.3.0 fixesDenis Vlasenko2006-12-261-1/+2
|
* properly export externs thru *.h filesDenis Vlasenko2006-12-262-6/+0
|
* style fixesDenis Vlasenko2006-12-267-10/+10
| | | | last xcalloc replaced by xzalloc
* use xbind, xconnect where appropriate.Denis Vlasenko2006-12-233-83/+51
| | | | small edits to arping
* remove useless casts (type*) xzalloc(...)Denis Vlasenko2006-12-221-3/+1
|
* Always use /usr/share/udhcpc/default.script ([/usr] was depending on CONFIG_xx)Denis Vlasenko2006-12-221-5/+1
|
* tar et al: die if bb_copyfd_size copies less than asked for.Denis Vlasenko2006-12-221-15/+14
| | | | (we have bb_copyfd_exact_size now for that kind of usage)
* introduce LONE_CHAR (optimized strcmp with one-char string)Denis Vlasenko2006-12-212-2/+2
|
* remove casts from xmalloc()Denis Vlasenko2006-12-191-4/+2
|
* ifupdown: do not print and/or execute empty commands ("").Denis Vlasenko2006-12-191-9/+7
|
* ifupdown: parse() returning NULL and returning "" is not the same,Denis Vlasenko2006-12-191-11/+14
| | | | it turned out! wow... okay, fixing my buglet...
* u_short, ulong exterminatedDenis Vlasenko2006-12-194-24/+22
| | | | fdiskXXX: add a bit of sanity (not enough by far)
* - use xlisten/xsocket some more. Saves .25 kBBernhard Reutner-Fischer2006-12-196-35/+9
|