summaryrefslogtreecommitdiff
path: root/networking (follow)
Commit message (Collapse)AuthorAgeFilesLines
* apply post 1.7.0 patches, set version to 1.7.11_7_1Denis Vlasenko2007-09-161-16/+2
|
* *: 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
|
* libbb,crond,lash: fix getopt32 (don't know how it managed to slip through)Denis Vlasenko2007-08-192-2/+2
| | | | | *: fcntl(fd, F_GETFL) doesn't require third parameter at all.
* don't pass argc in getopt32, it's superfluousDenis Vlasenko2007-08-1827-27/+27
| | | | | | | | (add/remove: 0/0 grow/shrink: 12/131 up/down: 91/-727) Total: -636 bytes text data bss dec hex filename 773469 1058 11092 785619 bfcd3 busybox_old 772644 1058 11092 784794 bf99a busybox_unstripped
* httpd: stop reading headers using 1-byte read()Denis Vlasenko2007-08-181-39/+56
| | | | | | | | | | | get_line 73 105 +32 httpd_main 769 766 -3 send_cgi_and_exit 1583 1577 -6 send_headers 449 432 -17 handle_incoming_and_exit 2217 2172 -45 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/4 up/down: 32/-71) Total: -39 bytes
* make standalone httpd work on NOMMU machinesDenis Vlasenko2007-08-181-49/+91
|
* get rid of server_ and accepted_socket globals.Denis Vlasenko2007-08-181-57/+38
| | | | | | | | | | get_line 74 73 -1 log_and_exit 33 32 -1 send_headers 457 449 -8 httpd_main 906 892 -14 handle_incoming_and_exit 2136 2113 -23 send_cgi_and_exit 1743 1583 -160
* introduce and use xdup2(int, int)Denis Vlasenko2007-08-1816-61/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | stop checking whether setsockopt_reuseaddr(int fd) was successful (it always is) remove second parameter (sockllen) from xmalloc_sockaddr2xxxxx functions sockaddr2str 142 156 +14 collect_blk 467 474 +7 xdup2 28 33 +5 singlemount 4456 4454 -2 print_host 214 212 -2 nslookup_main 139 137 -2 ftpgetput_main 414 412 -2 udhcpd_main 1258 1255 -3 udhcpc_main 2405 2402 -3 traceroute_main 4125 4122 -3 nc_main 1072 1069 -3 buffer_fill_and_print 76 73 -3 xmalloc_sockaddr2hostonly_noport 18 14 -4 xmalloc_sockaddr2host_noport 18 14 -4 xmalloc_sockaddr2host 15 11 -4 xmalloc_sockaddr2dotted_noport 18 14 -4 xmalloc_sockaddr2dotted 18 14 -4 wget_main 2618 2614 -4 ping_main 393 389 -4 ip_port_str 120 115 -5 dhcprelay_main 1146 1141 -5 dnsd_main 1531 1525 -6 passwd_main 1110 1102 -8 udhcp_kernel_packet 206 197 -9 udhcp_listen_socket 154 144 -10 getty_main 2576 2566 -10 setup 655 640 -15 xmove_fd 51 34 -17 dolisten 759 742 -17 tcpudpsvd_main 1866 1836 -30 startservice 339 299 -40
* httpd shrink and logging update, part 7 of 7Denis Vlasenko2007-08-171-107/+104
| | | | | | | | | | | | | text data bss dec hex filename 9836 0 0 9836 266c busybox.t1/networking/httpd.o.orig 9724 0 0 9724 25fc busybox.t2/networking/httpd.o 9657 0 0 9657 25b9 busybox.t3/networking/httpd.o 9342 0 0 9342 247e busybox.t4/networking/httpd.o 9342 0 0 9342 247e busybox.t5/networking/httpd.o 9262 0 0 9262 242e busybox.t6/networking/httpd.o 9283 0 0 9283 2443 busybox.t7/networking/httpd.o 9334 0 0 9334 2476 busybox.t8/networking/httpd.o
* httpd shrink and logging update, part 6 of 7Denis Vlasenko2007-08-171-29/+46
| | | | | | | | | | | | | text data bss dec hex filename 9836 0 0 9836 266c busybox.t1/networking/httpd.o.orig 9724 0 0 9724 25fc busybox.t2/networking/httpd.o 9657 0 0 9657 25b9 busybox.t3/networking/httpd.o 9342 0 0 9342 247e busybox.t4/networking/httpd.o 9342 0 0 9342 247e busybox.t5/networking/httpd.o 9262 0 0 9262 242e busybox.t6/networking/httpd.o 9283 0 0 9283 2443 busybox.t7/networking/httpd.o 9334 0 0 9334 2476 busybox.t8/networking/httpd.o
* httpd shrink and logging update, part 5 of 7Denis Vlasenko2007-08-171-214/+198
| | | | | | | | | | | | | text data bss dec hex filename 9836 0 0 9836 266c busybox.t1/networking/httpd.o.orig 9724 0 0 9724 25fc busybox.t2/networking/httpd.o 9657 0 0 9657 25b9 busybox.t3/networking/httpd.o 9342 0 0 9342 247e busybox.t4/networking/httpd.o 9342 0 0 9342 247e busybox.t5/networking/httpd.o 9262 0 0 9262 242e busybox.t6/networking/httpd.o 9283 0 0 9283 2443 busybox.t7/networking/httpd.o 9334 0 0 9334 2476 busybox.t8/networking/httpd.o
* httpd shrink and logging update, part 4 of 7Denis Vlasenko2007-08-171-186/+181
| | | | | | | | | | | | | text data bss dec hex filename 9836 0 0 9836 266c busybox.t1/networking/httpd.o.orig 9724 0 0 9724 25fc busybox.t2/networking/httpd.o 9657 0 0 9657 25b9 busybox.t3/networking/httpd.o 9342 0 0 9342 247e busybox.t4/networking/httpd.o 9342 0 0 9342 247e busybox.t5/networking/httpd.o 9262 0 0 9262 242e busybox.t6/networking/httpd.o 9283 0 0 9283 2443 busybox.t7/networking/httpd.o 9334 0 0 9334 2476 busybox.t8/networking/httpd.o
* httpd shrink and logging update, part 3 of 7Denis Vlasenko2007-08-171-148/+107
| | | | | | | | | | | | | text data bss dec hex filename 9836 0 0 9836 266c busybox.t1/networking/httpd.o.orig 9724 0 0 9724 25fc busybox.t2/networking/httpd.o 9657 0 0 9657 25b9 busybox.t3/networking/httpd.o 9342 0 0 9342 247e busybox.t4/networking/httpd.o 9342 0 0 9342 247e busybox.t5/networking/httpd.o 9262 0 0 9262 242e busybox.t6/networking/httpd.o 9283 0 0 9283 2443 busybox.t7/networking/httpd.o 9334 0 0 9334 2476 busybox.t8/networking/httpd.o
* httpd shrink and logging update, part 2 of 7Denis Vlasenko2007-08-171-92/+82
| | | | | | | | | | | | | text data bss dec hex filename 9836 0 0 9836 266c busybox.t1/networking/httpd.o.orig 9724 0 0 9724 25fc busybox.t2/networking/httpd.o 9657 0 0 9657 25b9 busybox.t3/networking/httpd.o 9342 0 0 9342 247e busybox.t4/networking/httpd.o 9342 0 0 9342 247e busybox.t5/networking/httpd.o 9262 0 0 9262 242e busybox.t6/networking/httpd.o 9283 0 0 9283 2443 busybox.t7/networking/httpd.o 9334 0 0 9334 2476 busybox.t8/networking/httpd.o
* assorted fixes for breakage found by randomconfigDenis Vlasenko2007-08-172-1/+5
|
* whitespace fixes, no code changesDenis Vlasenko2007-08-161-1/+1
|
* if pidfile turned out to be !regular file, do not unlink it.Denis Vlasenko2007-08-151-1/+1
| | | | | It's most probably the /dev/null.
* dhcpd: make -S and -f actually workDenis Vlasenko2007-08-151-1/+2
|
* httpd: add -v[v]: prints client addresses, HTTP codes returned [and URLs]Denis Vlasenko2007-08-141-126/+116
| | | | | | | | | | | | | | | get_line - 70 +70 packed_usage 22811 22863 +52 handle_incoming_and_exit 2246 2277 +31 httpd_main 1141 1155 +14 sendHeaders 489 482 -7 getLine 77 - -77 ------------------------------------------------------------------------------ (add/remove: 1/1 grow/shrink: 3/1 up/down: 167/-84) Total: 83 bytes text data bss dec hex filename 774335 1058 11092 786485 c0035 busybox_old 774447 1058 11092 786597 c00a5 busybox_unstripped
* httpd: extend -p PORT to -p [IP[v6]:]PORTDenis Vlasenko2007-08-141-123/+96
| | | | | | | | | | | | | | | | | | | httpd: comment out strange code which "closes connection properly" (isnt exit(0) good enough?) handle_incoming_and_exit - 2246 +2246 httpd_main 1116 1141 +25 getLine 75 77 +2 packed_usage 22827 22811 -16 parse_conf 1303 1284 -19 shutdown 32 - -32 handleIncoming 2578 - -2578 ------------------------------------------------------------------------------ (add/remove: 1/2 grow/shrink: 2/2 up/down: 2273/-2645) Total: -372 bytes text data bss dec hex filename 774704 1058 11092 786854 c01a6 busybox_old 774335 1058 11092 786485 c0035 busybox_unstripped
* udhcpd: add -f "foreground" and -S "syslog" optionsDenis Vlasenko2007-08-143-16/+8
| | | | | | | | | | | | | | | udhcpc: add -S "syslog" options remove CONFIG_FEATURE_UDHCP_SYSLOG function old new delta udhcpd_main 1168 1201 +33 udhcpc_main 2414 2425 +11 static.udhcpc_longopts 191 200 +9 qgravechar 112 108 -4 packed_usage 22843 22827 -16 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 3/2 up/down: 53/-20) Total: 33 bytes
* httpd: round down sendfile byte count to 64kDenis Vlasenko2007-08-131-1/+2
| | | | | *: style fixes
* s/#ifdef CONFIG_/#if ENABLE_/gDenis Vlasenko2007-08-131-1/+1
|
* httpd: sendfile supportDenis Vlasenko2007-08-122-21/+47
|
* trylink: produce even more info about final link stageDenis Vlasenko2007-08-1227-59/+62
| | | | | | | | | trylink: explain how to modify link and drastically decrease amount of padding (unfortunately, needs hand editing ATM). *: add ALIGN1 / ALIGN2 to global strings and arrays of bytes and shorts size saving: 0.5k
* httpd: CGI Status: header fixDenis Vlasenko2007-08-111-9/+7
|
* httpd: add support for Status: CGI headerDenis Vlasenko2007-08-111-13/+24
|
* httpd: fix CGI handling bug (we were closing wrong fd).Denis Vlasenko2007-08-111-13/+20
|
* udhcpd: fix bug: s/memcmp() != 0/memcmp() == 0/Denis Vlasenko2007-08-091-11/+10
| | | | | (by David Updegraff <dave@cray.com>)
* bb_uuencode: fix obscure case where we were using data past last byte of sourceDenis Vlasenko2007-08-061-2/+2
| | | | | | | | | | | | (fixes testsuite failure) bb_uuencode 154 160 +6 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/0 up/down: 6/0) Total: 6 bytes text data bss dec hex filename 770284 1096 11228 782608 bf110 busybox_old 770288 1096 11228 782612 bf114 busybox_unstripped
* udhcp: slight shrinkDenis Vlasenko2007-08-026-69/+64
| | | | | | | | | | | | | | | | | udhcpd_main 1171 1208 +37 udhcpc_main 2363 2387 +24 dhcprelay_main 1145 1146 +1 dhcprelay_stopflag 4 1 -3 dhcprelay_signal_handler 11 8 -3 client_background 46 42 -4 udhcp_read_interface 230 211 -19 udhcp_make_pidfile 76 - -76 ------------------------------------------------------------------------------ (add/remove: 0/1 grow/shrink: 3/4 up/down: 62/-105) Total: -43 bytes text data bss dec hex filename 770052 1096 11228 782376 bf028 busybox_old 769980 1096 11228 782304 befe0 busybox_unstripped
* start_stop_daemon: NOMMU fixes, round 2 by Alex Landau <landau_alex@yahoo.com>Denis Vlasenko2007-08-022-2/+4
| | | | | dhcpc: fixed "ifupdown + udhcpc_without_pidpile_creation" bug
* interface.c: code shrink (IIRC ~30 bytes)Denis Vlasenko2007-07-291-43/+43
|
* Replace index_in_[sub]str_array with index_in_[sub]strings,Denis Vlasenko2007-07-2415-162/+153
| | | | | | | | | which scans thru "abc\0def\0123\0\0" type strings. Saves 250 bytes. text data bss dec hex filename 781266 1328 11844 794438 c1f46 busybox_old 781010 1328 11844 794182 c1e46 busybox_unstripped
* zcip: remove stray seed48. It's the only thing which was pulling inDenis Vlasenko2007-07-231-4/+1
| | | | | | | | | | | | | rand48 machinery: zcip_main 1552 1537 -15 seed48 22 - -22 __libc_drand48_data 24 - -24 seed48_r 78 - -78 __GI_seed48_r 78 - -78 ------------------------------------------------------------------------------ (add/remove: 0/4 grow/shrink: 0/1 up/down: 0/-217) Total: -217 bytes
* rework long option handling. saves ~1.2kDenis Vlasenko2007-07-235-62/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta tar_longopts - 222 +222 static.udhcpc_longopts - 192 +192 start_stop_daemon_longopts - 150 +150 getopt32 1045 1185 +140 static.wget_longopts - 111 +111 static.od_longopts - 105 +105 getopt_longopts - 96 +96 install_longopts - 67 +67 ipcalc_longopts - 63 +63 static.hwclock_longopts - 54 +54 ftpgetput_longopts - 52 +52 static.dumpleases_longopts - 32 +32 env_longopts - 31 +31 runparts_longopts - 30 +30 mv_longopts - 24 +24 mkdir_longopts - 19 +19 find_pair 164 180 +16 bb_null_long_options - 16 +16 setconsole_longopts - 10 +10 display_speed 91 98 +7 collect_blk 467 474 +7 show_color 4 1 -3 ls_main 913 904 -9 bb_default_long_options 16 - -16 ls_color_opt 32 10 -22 setconsole_long_options 32 - -32 arith 2077 2030 -47 mv_long_options 48 - -48 mkdir_long_options 48 - -48 env_long_options 48 - -48 static.options 248 184 -64 runparts_long_options 80 - -80 ftpgetput_long_options 96 - -96 static.hwclock_long_options 112 - -112 install_long_options 112 - -112 static.long_options 144 - -144 static.wget_long_options 160 - -160 longopts 160 - -160 static.arg_options 304 - -304 tar_long_options 320 - -320 long_options 384 - -384 ------------------------------------------------------------------------------ (add/remove: 17/15 grow/shrink: 4/5 up/down: 1444/-2209) Total: -765 bytes text data bss dec hex filename 782618 1328 11900 795846 c24c6 busybox_old 781354 1328 11900 794582 c1fd6 busybox_unstripped
* style fix (stray space before ';')Denis Vlasenko2007-07-213-3/+3
|
* fix typo in last commitDenis Vlasenko2007-07-211-1/+1
|
* Three patches from FreeWRT peopleDenis Vlasenko2007-07-212-5/+20
|