summaryrefslogtreecommitdiff
path: root/networking (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* telnetd: some simplifications and better error hadling.Denis Vlasenko2007-10-151-120/+150
| | | | | | | | | | | | | | | | | | telnetd: don't SIGKILL child when closing the session. kernel will seng SIGHUP for us. static.iacs_to_send - 15 +15 .rodata 123418 123429 +11 make_new_session 549 525 -24 send_iac 26 - -26 free_session 144 118 -26 telnetd_main 1303 1261 -42 ------------------------------------------------------------------------------ (add/remove: 1/1 grow/shrink: 1/3 up/down: 26/-118) Total: -92 bytes text data bss dec hex filename 676341 2538 12104 690983 a8b27 busybox_old 676234 2538 12104 690876 a8abc busybox_unstripped
* remove trailing whitespaceDenis Vlasenko2007-10-142-5/+5
|
* httpd: fix bug where we were trying to read more POSTDATA than content-lengthDenis Vlasenko2007-10-141-0/+11
|
* whitespace/style fixDenis Vlasenko2007-10-111-11/+12
|
* vi: don't wait 50 ms before reading ESC sequencesDenis Vlasenko2007-10-111-2/+1
| | | | | | | | inetd,syslogd: use safe_read instead of open-coded EINTR handling syslogd: bail out if you see null read from Unix socket (should never happen, but if it does, spinning forever and eating 100% CPU is not a good idea)
* add -fvisibility=hidden to CC flags, mark XXX_main functionsDenis Vlasenko2007-10-1133-41/+41
| | | | | EXTERNALLY_VISIBLE. 5% size reduction of libbusybox.so
* ip tunnel parameter parsing fix by Jean Wolter <jw5@os.inf.tu-dresden.de>Denis Vlasenko2007-10-101-2/+2
|
* reviving libbusybox, adding CONFIG_INDIVIDUAL part 3Denis Vlasenko2007-10-072-3/+3
|
* - mark TODO: use index_in_str_array()Bernhard Reutner-Fischer2007-10-061-1/+1
|
* printf("%s\n") -> puts()Denis Vlasenko2007-10-011-1/+1
|
* 'simple' error message functions by Loic Grenie <loic.grenie@gmail.com>.Denis Vlasenko2007-10-013-3/+3
| | | | | 263 bytes saved.
* introduce and use close_on_exec_on(fd). -50 bytes.Denis Vlasenko2007-09-302-5/+5
|
* move udhcp_{client/server}_config to common_bufsiz1Denis Vlasenko2007-09-305-8/+5
| | | | | | | | | | | | | | | udhcp_run_script 1108 1151 +43 init_packet 209 210 +1 udhcpc_main 2395 2393 -2 udhcp_client_config 56 - -56 udhcp_server_config 88 - -88 ------------------------------------------------------------------------------ (add/remove: 0/2 grow/shrink: 2/1 up/down: 44/-146) Total: -102 bytes text data bss dec hex filename 771326 1029 9696 782051 beee3 busybox_old 771383 1029 9552 781964 bee8c busybox_unstripped
* dhcpreplay: code shrink, -40 bytesDenis Vlasenko2007-09-301-31/+29
|
* replace printf with fputs where appropriateDenis Vlasenko2007-09-302-11/+10
|
* libiproute: add missing break'sDenis Vlasenko2007-09-301-0/+3
|
* httpd: trivial simplificationDenis Vlasenko2007-09-281-4/+6
|
* assorted static vars removalDenis Vlasenko2007-09-281-43/+20
| | | | | | | | | | | | | | | | | | | | | function old new delta tcpudpsvd_main 1829 1839 +10 update_status 567 569 +2 sigterm 1 - -1 ......... dhcprelay_signal_handler 8 - -8 nfs_strerror 60 49 -11 singlemount 4579 4564 -15 static.p 16 - -16 svstatus 20 - -20 dhcprelay_xid_list 32 - -32 runsv_main 1785 1746 -39 static.buf 74 28 -46 svd 56 - -56 dhcprelay_main 1141 1080 -61 ------------------------------------------------------------------------------ (add/remove: 0/20 grow/shrink: 2/10 up/down: 12/-386) Total: -374 bytes
* wget: -O FILE is allowed to overwrite existing file (compat)Denis Vlasenko2007-09-271-10/+16
|
* zcip: fix unaligned trap on ARMDenis Vlasenko2007-09-271-2/+3
|
* introduce bb_putchar(). saves ~1800 on uclibc (less on glibc).Denis Vlasenko2007-09-278-12/+12
|
* introduce safe_poll (fixes a problem in top)Denis Vlasenko2007-09-275-19/+14
| | | | | | | | | | | | | | | | | | | | function old new delta safe_poll - 77 +77 svlogd_main 1470 1466 -4 zcip_main 1530 1524 -6 forkexec 1345 1338 -7 decode_format_string 795 788 -7 collect_blk 474 467 -7 buffer_pread 540 532 -8 tftp 1182 1172 -10 microcom_main 763 749 -14 arpping 441 424 -17 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 0/9 up/down: 77/-80) Total: -3 bytes text data bss dec hex filename 770162 1034 10404 781600 bed20 busybox_old 770158 1034 10404 781596 bed1c busybox_unstripped
* inetd: move struct fields around -> save .25 k of codeDenis Vlasenko2007-09-261-6/+8
| | | | | | | | | | | | | | | | | | | | function old new delta freeconfig 75 76 +1 register_rpc 200 196 -4 dupconfig 165 159 -6 reapchild 173 166 -7 retry 93 82 -11 goaway 112 101 -11 getconfigent 1241 1222 -19 setup 645 592 -53 inetd_main 2160 2107 -53 config 1602 1518 -84 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/9 up/down: 1/-248) Total: -247 bytes text data bss dec hex filename 773951 1038 10332 785321 bfba9 busybox_old 773703 1038 10332 785073 bfab1 busybox_unstripped
* httpd: small auth and IPv6 fixes (Kim B. Heino <Kim.Heino@bluegiga.com>)Denis Vlasenko2007-09-251-1/+8
|
* *: kill bb_get_last_path_component, replace with two functionsDenis Vlasenko2007-09-241-29/+16
| | | | | | | | | (one which strips trailing slash and one which does not) wget: straighten out as a result of above change text data bss dec hex filename 5056 1 0 5057 13c1 busybox.t4/networking/wget.o 5022 0 0 5022 139e busybox.t5/networking/wget.o
* wget: get rid of setitimerDenis Vlasenko2007-09-241-36/+26
| | | | | | | text data bss dec hex filename 5110 1 0 5111 13f7 busybox.t3/networking/wget.o 5056 1 0 5057 13c1 busybox.t4/networking/wget.o
* wget: reorder functions, no code changesDenis Vlasenko2007-09-241-316/+305
|
* wget: code shrink, move data out of bssDenis Vlasenko2007-09-241-28/+48
|
* wget: allow dots in header field names.Denis Vlasenko2007-09-241-36/+36
| | | | | | | | | | | wget: code shrink function old new delta gethdr 211 190 -21 wget_main 2609 2557 -52 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/2 up/down: 0/-73) Total: -73 bytes
* inetd: make some fields smaller, move data out of data/bss sectionsDenis Vlasenko2007-09-241-77/+130
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta inetd_main 2125 2160 +35 setup 640 645 +5 initring 48 53 +5 reapchild 169 173 +4 retry 92 93 +1 goaway 113 112 -1 inetd_setproctitle 175 173 -2 chargen_dg 229 227 -2 uid 4 - -4 ....................... Argv 4 - -4 rlim_ofile_cur 8 - -8 config 1610 1602 -8 rlim_ofile 16 - -16 getconfigent 1271 1241 -30 builtins 176 132 -44 ring 128 - -128 allsock 128 - -128 ------------------------------------------------------------------------------ (add/remove: 0/18 grow/shrink: 5/6 up/down: 50/-423) Total: -373 bytes text data bss dec hex filename 774144 1051 10708 785903 bfdef busybox_old 774108 1039 10380 785527 bfc77 busybox_unstripped $ size inetd.o inetd_orig.o text data bss dec hex filename 9027 0 0 9027 2343 inetd.o 9064 12 324 9400 24b8 inetd_orig.o
* httpd: simplify CGI i/o loop. -200 bytes.Denis Vlasenko2007-09-231-168/+183
|
* httpd: optional support for partial downloadsDenis Vlasenko2007-09-212-16/+112
|
* update Glenn McGrath's email addressDenis Vlasenko2007-09-213-3/+3
|
* httpd: do not clear environmentDenis Vlasenko2007-09-151-1/+7
| | | | | mount: mount helpers support (by Vladimir Dronnikov <dronnikov@gmail.ru>)
* *: replace select-for-one descriptor with poll, it's smaller.Denis Vlasenko2007-09-073-49/+37
| | | | | | | | | | | | | | | | | $ ./.cmk bloatcheck function old new delta readit 406 364 -42 syslogd_main 1249 1206 -43 traceroute_main 4115 4060 -55 mysleep 112 45 -67 arpping 579 441 -138 tftp 1575 1182 -393 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/6 up/down: 0/-738) Total: -738 bytes text data bss dec hex filename 770580 1051 10764 782395 bf03b busybox_old 769820 1051 10764 781635 bed43 busybox_unstripped
* fix infinite retry bug. also, reduce per-packet receive timeoutPaul Fox2007-09-061-11/+20
| | | | | | to something more reasonable than 5 seconds, and add simple exponential backoff to compensate. improves performance on marginal networks.
* - IFUPDOWN_IFSTATE_PATH depends on IFUPDOWNBernhard Reutner-Fischer2007-09-021-0/+1
|
* isrv: use monotonic_secDenis Vlasenko2007-08-311-16/+2
| | | | | runsv: do not use clock_gettime if !MONOTONIC_CLOCK
* *: compile fixes for 64-bit buildDenis Vlasenko2007-08-231-1/+1
|
* httpd: code shrink of dir indexer exampleDenis Vlasenko2007-08-231-185/+196
|
* httpd: style fix in indexer exampleDenis Vlasenko2007-08-221-4/+4
|
* httpd: replace shell-based dir indexer cgi example with C-based one.Denis Vlasenko2007-08-222-50/+331
|
* httpd: fix buglet in hex conversion. Remove alloca NULL checksDenis Vlasenko2007-08-211-20/+16
| | | | | | (never happens, app just crashes if stack overflows) svlogd: cosmetic messages and style fixes
* httpd: add optional support for error pages Denis Vlasenko2007-08-212-85/+166
| | | | | (by Pierre Metras <genepi@sympatico.ca>)
* removed stray debugging commentsDenis Vlasenko2007-08-191-4/+0
|
* max_option_length[] holds small ints, uint8_t is enoughDenis Vlasenko2007-08-191-1/+1
| | | | | | function old new delta max_option_length 44 11 -33
* httpd: explain IP/mask parsing, and simplify it a bit.Denis Vlasenko2007-08-191-33/+48
| | | | | | | | | | parse_conf 1258 1247 -11 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/1 up/down: 0/-11) Total: -11 bytes text data bss dec hex filename 772602 1058 11092 784752 bf970 busybox_old 772594 1058 11092 784744 bf968 busybox_unstripped
* httpd: reinstate (much lighter) paranoid connection close codeDenis Vlasenko2007-08-191-54/+25
| | | | | allegedly needed for some versions of IE. +45 bytes.
* httpd: get rid of rmt_port and setenv_logDenis Vlasenko2007-08-191-21/+12
|
* httpd: get rid of sscanf usage. Rename some variables.Denis Vlasenko2007-08-191-94/+110
|