summaryrefslogtreecommitdiff
path: root/networking (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* dhcpc: cope with buggy DHCP servers which send oversized packetsDenis Vlasenko2007-11-253-3/+27
| | | | | (Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn@axis.com>)
* Add an RFC for future ipv6 ftp workDenis Vlasenko2007-11-231-0/+451
|
* arping: fix a bug where there is implicit count of 4G;Denis Vlasenko2007-11-231-32/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | eliminate data/bss usage; code shrink function old new delta timeout_us 4 - -4 static.start 4 - -4 src 4 - -4 sock 4 - -4 sent 4 - -4 req_recv 4 - -4 received 4 - -4 last 4 - -4 dst 4 - -4 count 4 - -4 brd_sent 4 - -4 brd_recv 4 - -4 catcher 375 365 -10 me 20 - -20 he 20 - -20 arping_main 1941 1874 -67 ------------------------------------------------------------------------------ (add/remove: 0/14 grow/shrink: 0/2 up/down: 0/-165) Total: -165 bytes text data bss dec hex filename 783035 941 9244 793220 c1a84 busybox_old 782907 937 9156 793000 c19a8 busybox_unstripped
* logread: eliminate usage of data/bssDenis Vlasenko2007-11-231-7/+9
| | | | | | | | | | | | | | | | | ifup: don't remove virtual iface prefixes (eth0:0) function old new delta shbuf 4 - -4 SMrup 6 - -6 SMrdn 12 - -12 static.label_buf 20 4 -16 get_var 158 140 -18 ------------------------------------------------------------------------------ (add/remove: 0/3 grow/shrink: 0/2 up/down: 0/-56) Total: -56 bytes text data bss dec hex filename 783501 962 9260 793723 c1c7b busybox_old 783483 942 9244 793669 c1c45 busybox_unstripped
* dhcp: stop using magic constants; use (htonl(CONST) != a) - it's smallerDenis Vlasenko2007-11-235-19/+23
| | | | | | | function old new delta udhcp_get_packet 146 134 -12 get_raw_packet 368 353 -15
* udhcpc: remove -W option, -A can be reused for thatDenis Vlasenko2007-11-221-15/+6
| | | | | | | | | | | help texts: trimmed a bit static.udhcpc_longopts 227 209 -18 udhcpc_main 2633 2590 -43 packed_usage 22927 22871 -56 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/3 up/down: 0/-117) Total: -117 bytes
* fix a thinko in build systemDenis Vlasenko2007-11-221-1/+1
|
* dhcpc: cleanup and comments; fix buggy timeout handling in corner cases.Denis Vlasenko2007-11-221-107/+125
| | | | | -25 bytes.
* udhcpc: an option to perform ARP check (Jonas Danielsson ↵Denis Vlasenko2007-11-228-26/+111
| | | | | | | <jonas.danielsson@axis.com>) configurable, ~+300 bytes when on.
* ip: stop propagating argc; optimize ip_parse_common_argsDenis Vlasenko2007-11-1810-212/+186
| | | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta find_pair 167 187 +20 static.families - 17 +17 die_must_be_on_off - 11 +11 ... on_off 33 22 -11 do_ipaddr 103 90 -13 do_iptunnel 1001 986 -15 iproute_list_or_flush 1237 1217 -20 static.ip_common_commands 43 22 -21 do_iproute 2217 2193 -24 parse_args 1444 1414 -30 ip_do 47 16 -31 do_iprule 994 963 -31 ip_main 153 113 -40 ipaddr_modify 1357 1305 -52 ipaddr_list_or_flush 2543 2490 -53 ip_parse_common_args 294 159 -135 ------------------------------------------------------------------------------ (add/remove: 4/1 grow/shrink: 4/24 up/down: 85/-563) Total: -478 bytes text data bss dec hex filename 775561 966 9236 785763 bfd63 busybox_old 775073 962 9236 785271 bfb77 busybox_unstripped
* Introduce FEATURE_PREFER_IPV4_ADDRESS. If selected, we have:Denis Vlasenko2007-11-141-0/+15
| | | | | | function old new delta str2sockaddr 328 344 +16
* inetd: revert bogus fix for bug 1562; shrink inetd a bitDenis Vlasenko2007-11-121-35/+15
| | | | | | | function old new delta dupconfig 159 146 -13 getconfigent 1123 1073 -50
* xreadlink: code shrinkDenis Vlasenko2007-11-081-0/+1
| | | | | | | | | | udhcp: add missing tryagain member to client_config function old new delta xmalloc_readlink_follow 169 154 -15 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/1 up/down: 0/-15) Total: -15 bytes
* add "-A N" / "--tryagain=N" option to client, to allow altering thePaul Fox2007-11-071-4/+9
| | | | default 60 second wait after failure to get a lease.
* telnet: use poll, it's shorterDenis Vlasenko2007-11-064-80/+78
| | | | | *: style fixes
* telnetd: fix problem with zombies (by Paul Fox <pgf@brightstareng.com>)Denis Vlasenko2007-11-061-11/+23
| | | | | syslogd: strip trailing NULs
* Announce 1.8.01_8_0Denis Vlasenko2007-11-041-7/+7
|
* ifconfig: code shrinkDenis Vlasenko2007-11-041-44/+44
| | | | | | | | | | | adjtimex: code shrink libbb: move nth_string function into libbb hdparm: nth_string was here text data bss dec hex filename 730013 10334 12032 752379 b7afb busybox_old 730093 10134 12032 752259 b7a83 busybox_unstripped
* inetd: fix bug 1562 "inetd does not set argv[0] properly" (fix by IlyaPanfilov)Denis Vlasenko2007-10-301-16/+14
| | | | | | | | | | | | | | inetd: code shrink while at it function old new delta static.SOCK_xxx - 6 +6 getconfigent 1222 1123 -99 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 0/1 up/down: 6/-99) Total: -93 bytes text data bss dec hex filename 776099 974 9420 786493 c003d busybox_old 776020 974 9420 786414 bffee busybox_unstripped
* - fix typo in helptextBernhard Reutner-Fischer2007-10-291-1/+1
|
* ll_types.c: optimize link type table, make it conditionalDenis Vlasenko2007-10-296-78/+179
| | | | | | | | | | | | | | | | on FEATURE_IP_RARE_PROTOCOLS function old new delta static.arphrd_name - 373 +373 static.arphrd_type - 124 +124 ll_type_n2a 58 78 +20 static.arphrd_names 496 - -496 ------------------------------------------------------------------------------ (add/remove: 2/1 grow/shrink: 1/0 up/down: 517/-496) Total: 21 bytes text data bss dec hex filename 776880 974 9420 787274 c034a busybox_old 776594 974 9420 786988 c022c busybox_unstripped
* httpd: fix trivial bug (spotted by Alex Landau)Denis Vlasenko2007-10-211-1/+1
|
* ping: fix breakage from -I fixDenis Vlasenko2007-10-201-2/+2
| | | | | passwd: SELinux support by KaiGai Kohei <kaigai@ak.jp.nec.com>
* paing: make -I ethN work too (-I addr already worked)Denis Vlasenko2007-10-191-6/+15
|
* httpd: free big buffer after use; improve grep-ability of 'headers' variableDenis Vlasenko2007-10-181-16/+17
|
* xatonum.h: add commentDenis Vlasenko2007-10-182-64/+212
| | | | | | | lineedit: fix typo in comment httpd: support for proxying connection to other http server (by Alex Landau <landau_alex@yahoo.com>)
* telnetd: make sure telnetd -K exits if child diesDenis Vlasenko2007-10-171-20/+15
|
* telnetd: trivial optimizationDenis Vlasenko2007-10-171-3/+4
|
* ash: use fdprintf, not dprintf.Denis Vlasenko2007-10-171-1/+1
| | | | | *: trailing whitespace removed
* fixes revealed by randomconfig runDenis Vlasenko2007-10-161-8/+10
|
* telnetd: fix commentDenis Vlasenko2007-10-161-1/+1
|
* telnetd: code shrink suggested by Ralf Friedl <Ralf.Friedl@online.de>Denis Vlasenko2007-10-161-31/+36
|
* bzip2: make -s equivalent to -2 (compatible with standard bzip2)Denis Vlasenko2007-10-161-1/+1
| | | | | telnetd: typo fix in comment
* telnetd: at Alexander Kriegisch <Alexander@kriegisch.name> insistenceDenis Vlasenko2007-10-151-35/+64
| | | | | | | | | | | | | | | | | | | add an option to close sessions as soon as child exits. Maybe it should be a CONFIG option. OTOH, maybe it should be always on, as it mimics, say, getty's behaviour. function old new delta handle_sigchld - 49 +49 telnetd_main 1312 1355 +43 .rodata 123429 123466 +37 packed_usage 22770 22806 +36 make_new_session 525 532 +7 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 4/0 up/down: 172/0) Total: 172 bytes text data bss dec hex filename 676285 2538 12104 690927 a8aef busybox_old 676421 2538 12104 691063 a8b77 busybox_unstripped
* telnetd: document bug in remove_iacs. reinstate band-aidDenis Vlasenko2007-10-151-48/+55
| | | | | | | which was making it near-impossible to trigger. remove memmove call which was happening at each network read, and in 99%+ cases was not needed. Unfortunately, +50 bytes.
* 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
|