aboutsummaryrefslogtreecommitdiff
path: root/networking
AgeCommit message (Collapse)Author
2007-12-26save a bit of code with *strchrnul = '\0' trickDenis Vlasenko
function old new delta nextline 59 55 -4 include_conf 902 898 -4 read_config 414 406 -8 fsck_main 1880 1869 -11
2007-12-26Fix xmalloc_fgets_str so that it really does NOT strip terminator.Denis Vlasenko
Add xmalloc_fgetline_str which does strip terminator, and use it in dpkg instead of xmalloc_fgets_str. netstat: use xmalloc_fgets_str - allows to eat strings with NULs (this fixes bug with some weird /proc/net/unix input) function old new delta xmalloc_fgets_internal - 191 +191 xmalloc_fgetline_str - 18 +18 do_info 116 120 +4 unix_do_one 451 447 -4 tcp_do_one 423 419 -4 send_tree 369 365 -4 xmalloc_fgets_str 178 15 -163 ------------------------------------------------------------------------------ (add/remove: 2/0 grow/shrink: 1/4 up/down: 213/-175) Total: 38 bytes text data bss dec hex filename 778445 832 7344 786621 c00bd busybox_old 778483 832 7344 786659 c00e3 busybox_unstripped
2007-12-24Makefile: change version to 1.10.0.svnDenis Vlasenko
udhcpc: make UDP packet sending the same as raw sending in regards to error messages. Minor code size shrink. Total size grows due to added messages: text data bss dec hex filename 770312 683 7244 778239 bdfff busybox_old 770327 683 7244 778254 be00e busybox_unstripped
2007-12-24nameif: extended matching (Nico Erfurth <masta@perlgolf.de>)Denis Vlasenko
*: whitespace fixes function old new delta prepend_new_eth_table - 304 +304 nameif_main 620 684 +64 cc_macaddr 51 - -51 ------------------------------------------------------------------------------ (add/remove: 1/1 grow/shrink: 1/0 up/down: 368/-51) Total: 317 bytes
2007-12-22vi: introduce FEATURE_VI_8BIT (as vi currently is not Unicode capable,Denis Vlasenko
people may want to disable display of high-bit chars) ip: build fixlet
2007-12-21udhcp: decided to not send "short" dhcp packets,Denis Vlasenko
but lets add comments how to do it if needed.
2007-12-20udhcp: fix oversized packet sending (introduced by "slack for bad dhcp ↵Denis Vlasenko
servers" options); slight optimizations and function renaming udhcp_send_raw_packet - 391 +391 udhcp_send_kernel_packet - 197 +197 udhcp_recv_packet - 134 +134 get_raw_packet 353 326 -27 udhcp_get_packet 134 - -134 udhcp_kernel_packet 197 - -197 udhcp_raw_packet 391 - -391 ------------------------------------------------------------------------------ (add/remove: 3/3 grow/shrink: 0/1 up/down: 722/-749) Total: -27 bytes
2007-12-16traceroute: stop using global data/bssDenis Vlasenko
(add/remove: 0/15 grow/shrink: 0/1 up/down: 0/-95) Total: -95 bytes text data bss dec hex filename 777245 1094 9008 787347 c0393 busybox_old 777206 1084 8976 787266 c0342 busybox_unstripped
2007-12-10udhcpc: support for -O <option>.Denis Vlasenko
Two important notes: * nissrv and nisdomain are not requested by default anymore! * inconsistency between "XXXsvr" and "XXsrv" in option names resolved, all are "XXXsrv" now. function old new delta udhcpc_main 2494 2600 +106 packed_usage 23023 23067 +44 add_requests 91 119 +28 static.udhcpc_longopts 209 226 +17 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 4/0 up/down: 195/0) Total: 195 bytes
2007-12-03lineedit: reduce stack usageDenis Vlasenko
netstat: reduce stack usage; fix handling of NULs in unix socket filenames static.has_inode 1 - -1 do_info 119 116 -3 deinit_S 60 51 -9 unix_do_one 578 451 -127 parse_and_put_prompt 966 825 -141 ------------------------------------------------------------------------------ (add/remove: 0/1 grow/shrink: 0/4 up/down: 0/-281) Total: -281 bytes
2007-12-02fix whitespace damageDenis Vlasenko
2007-12-02libnetlink: comment out unused code; don't use 8k stack buffersDenis Vlasenko
function old new delta ipaddr_modify 1305 1297 -8 do_iprule 963 955 -8 do_iproute 2193 2169 -24 xrtnl_dump_filter 418 391 -27 rtnl_talk 671 536 -135 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/5 up/down: 0/-202) Total: -202 bytes
2007-11-29dhcp: heed TODO item - divorced options from their string descriptionsDenis Vlasenko
code shrink while at it. function old new delta dhcp_option_strings - 258 +258 udhcp_run_script 1135 1174 +39 dhcp_option_lengths - 11 +11 udhcp_add_simple_option 93 92 -1 packet_num 4 - -4 read_opt 746 739 -7 udhcp_option_lengths 11 - -11 udhcpc_main 2590 2494 -96 dhcp_options 490 70 -420 ------------------------------------------------------------------------------ (add/remove: 2/2 grow/shrink: 1/4 up/down: 308/-539) Total: -231 bytes text data bss dec hex filename 775309 929 9100 785338 bfbba busybox_old 775098 929 9084 785111 bfad7 busybox_unstripped
2007-11-28dhcpc: let server know we don't like oversized packets.Denis Vlasenko
add TODO comment
2007-11-27ip route: add comment, no code changesDenis Vlasenko
2007-11-26iproute: fix a bug where "ip r flush table main" was rejected,Denis Vlasenko
add "ip r flush cache" (however I'm unsure it is really valid syntax) Add a few comments and stop mixing params and params' keywords.
2007-11-25zcip: simplify code a bitDenis Vlasenko
2007-11-25zcip: use low-order 4 bytes of MAC as random seed, not 4 high-orderDenis Vlasenko
arping: fix wrong roundtrip calculation arping,zcip: cleanups and code shrink run 389 402 +13 arp 195 188 -7 zcip_main 1524 1495 -29 arping_main 1874 1823 -51 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/3 up/down: 13/-87) Total: -74 bytes text data bss dec hex filename 776587 929 9100 786616 c00b8 busybox_old 776499 929 9100 786528 c0060 busybox_unstripped
2007-11-25dhcpc: cope with buggy DHCP servers which send oversized packetsDenis Vlasenko
(Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn@axis.com>)
2007-11-23Add an RFC for future ipv6 ftp workDenis Vlasenko
2007-11-23arping: fix a bug where there is implicit count of 4G;Denis Vlasenko
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
2007-11-23logread: eliminate usage of data/bssDenis Vlasenko
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
2007-11-23dhcp: stop using magic constants; use (htonl(CONST) != a) - it's smallerDenis Vlasenko
function old new delta udhcp_get_packet 146 134 -12 get_raw_packet 368 353 -15
2007-11-22udhcpc: remove -W option, -A can be reused for thatDenis Vlasenko
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
2007-11-22fix a thinko in build systemDenis Vlasenko
2007-11-22dhcpc: cleanup and comments; fix buggy timeout handling in corner cases.Denis Vlasenko
-25 bytes.
2007-11-22udhcpc: an option to perform ARP check (Jonas Danielsson ↵Denis Vlasenko
<jonas.danielsson@axis.com>) configurable, ~+300 bytes when on.
2007-11-18ip: stop propagating argc; optimize ip_parse_common_argsDenis Vlasenko
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
2007-11-14Introduce FEATURE_PREFER_IPV4_ADDRESS. If selected, we have:Denis Vlasenko
function old new delta str2sockaddr 328 344 +16
2007-11-12inetd: revert bogus fix for bug 1562; shrink inetd a bitDenis Vlasenko
function old new delta dupconfig 159 146 -13 getconfigent 1123 1073 -50
2007-11-08xreadlink: code shrinkDenis Vlasenko
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
2007-11-07add "-A N" / "--tryagain=N" option to client, to allow altering thePaul Fox
default 60 second wait after failure to get a lease.
2007-11-06telnet: use poll, it's shorterDenis Vlasenko
*: style fixes
2007-11-06telnetd: fix problem with zombies (by Paul Fox <pgf@brightstareng.com>)Denis Vlasenko
syslogd: strip trailing NULs
2007-11-04Announce 1.8.0Denis Vlasenko
2007-11-04ifconfig: code shrinkDenis Vlasenko
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
2007-10-30inetd: fix bug 1562 "inetd does not set argv[0] properly" (fix by IlyaPanfilov)Denis Vlasenko
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
2007-10-29- fix typo in helptextBernhard Reutner-Fischer
2007-10-29ll_types.c: optimize link type table, make it conditionalDenis Vlasenko
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
2007-10-21httpd: fix trivial bug (spotted by Alex Landau)Denis Vlasenko
2007-10-20ping: fix breakage from -I fixDenis Vlasenko
passwd: SELinux support by KaiGai Kohei <kaigai@ak.jp.nec.com>
2007-10-19paing: make -I ethN work too (-I addr already worked)Denis Vlasenko
2007-10-18httpd: free big buffer after use; improve grep-ability of 'headers' variableDenis Vlasenko
2007-10-18xatonum.h: add commentDenis Vlasenko
lineedit: fix typo in comment httpd: support for proxying connection to other http server (by Alex Landau <landau_alex@yahoo.com>)
2007-10-17telnetd: make sure telnetd -K exits if child diesDenis Vlasenko
2007-10-17telnetd: trivial optimizationDenis Vlasenko
2007-10-17ash: use fdprintf, not dprintf.Denis Vlasenko
*: trailing whitespace removed
2007-10-16fixes revealed by randomconfig runDenis Vlasenko
2007-10-16telnetd: fix commentDenis Vlasenko
2007-10-16telnetd: code shrink suggested by Ralf Friedl <Ralf.Friedl@online.de>Denis Vlasenko