aboutsummaryrefslogtreecommitdiff
path: root/networking (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* udhcpd: disable opton to have absolute lease times in lease fileDenis Vlasenko2009-01-017-186/+194
| | | | | | | | | | | | | | | | | | | | | | | | | | | (that does not work with dumpleases) dumpleases: fix -a option. networking/udhcp/*: code shrink, more compact static leases struture, better comments, etc function old new delta find_free_or_expired_address - 147 +147 nobody_responds_to_arp - 84 +84 read_opt 781 830 +49 dumpleases_main 435 447 +12 send_ACK 229 232 +3 read_staticlease 90 93 +3 addStaticLease 60 61 +1 getIpByMac 46 43 -3 reservedIp 31 20 -11 keywords 304 288 -16 send_offer 428 403 -25 write_leases 225 193 -32 read_leases 184 143 -41 read_yn 64 - -64 find_address 191 - -191 ------------------------------------------------------------------------------ (add/remove: 2/2 grow/shrink: 5/6 up/down: 299/-383) Total: -84 bytes
* libbb: add bb_unsetenv (taken from hush).Denis Vlasenko2008-12-302-37/+32
| | | | | | | | | | | | | | | | | | | udhcpc: stop filtering environment passed to the script. crond: fix uncovered potential bug (failing unsetenv) mdev: fix uncovered potential bug (failing unsetenv) tcp, udpsvd: fix uncovered potential bug (failing unsetenv) function old new delta safe_setenv - 58 +58 bb_unsetenv - 55 +55 builtin_unset 139 138 -1 tcpudpsvd_main 1843 1830 -13 free_strings_and_unsetenv 87 53 -34 udhcp_run_script 1186 1133 -53 safe_setenv4 62 - -62 ------------------------------------------------------------------------------ (add/remove: 2/1 grow/shrink: 0/4 up/down: 113/-163) Total: -50 bytes
* libiproute: fix buggy open check: s/if (fd)/if (fd >= 0)/Denis Vlasenko2008-12-101-1/+1
| | | | | less: small optimization -15 bytes
* bb_info_msg: make it do atomic, unbuffered writesDenis Vlasenko2008-12-101-7/+16
| | | | | | | | | | | udhcpc: fix a problem where we don't open listening socket fast enough function old new delta bb_info_msg 70 126 +56 change_listen_mode 37 78 +41 udhcp_listen_socket 151 124 -27 udhcpc_main 2344 2285 -59
* *: fix SO_BINDTODEVICE. Kernel wants at least IFNAMSIZ bytes there.Denis Vlasenko2008-12-103-6/+5
|
* optimize 16- and 32-bit movesDenis Vlasenko2008-12-0810-68/+83
| | | | | | | | | | | | | | | | function old new delta udhcpd_main 1239 1257 +18 udhcp_add_simple_option 93 92 -1 buffer_read_le_u32 19 18 -1 unpack_gz_stream_with_info 526 520 -6 dnsd_main 1470 1463 -7 udhcp_run_script 1208 1186 -22 send_ACK 255 229 -26 arping_main 1661 1623 -38 send_offer 470 428 -42 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/8 up/down: 18/-143) Total: -125 bytes
* Fix forgotten license commentsDenis Vlasenko2008-12-077-0/+16
|
* iproute: fix ipXXX utilities trying to parse their applet nameDenis Vlasenko2008-12-041-1/+1
| | | | | as their 1st parameter.
* iptunnel: fix problems with including linux/ip_tunnel.hDenis Vlasenko2008-12-031-2/+43
| | | | | on some systems
* libbb: introduce and use xgetpwnam. ~ -150 bytes.Denis Vlasenko2008-12-031-3/+1
|
* vconfig: style fix, no code changesDenis Vlasenko2008-12-021-5/+6
|
* libbb: add strncpy_IFNAMSIZDenis Vlasenko2008-12-0216-48/+42
| | | | | | | | | | | | | | | | | | | | function old new delta ... udhcp_read_interface 225 220 -5 brctl_main 1151 1146 -5 add_interface 109 104 -5 ipaddr_list_or_flush 2174 2167 -7 do_add_ioctl 88 80 -8 vconfig_main 249 240 -9 do_del_ioctl 78 68 -10 do_iplink 1186 1173 -13 do_if_fetch 766 753 -13 buffer_fill_and_print 196 179 -17 parse_args 1709 1684 -25 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 2/20 up/down: 11/-140) Total: -129 bytes
* ash,hush: add TODO for rare build failureDenis Vlasenko2008-11-251-1/+0
| | | | | *: remove some redundant includes
* vi: speedup and code shrink (Walter Harms)Denis Vlasenko2008-11-242-13/+15
| | | | | | networking/interface.c: silence warning (Vladimir) wget: more robust EINTR detection
* httpd: set $HOST to Host: header value. +83 bytes.Denis Vlasenko2008-11-221-0/+5
| | | | | by Tobias Poschwatta (tp AT fonz.de)
* networking/interface.c: better readability (by Walter Harms)Denis Vlasenko2008-11-221-75/+85
| | | | | mkfs_minix: whitespace fix
* tftpd: can also have TFTP_DEBUGDenis Vlasenko2008-11-221-1/+1
|
* nslookup: glibc + IPv6 address of DNS server don't mix (yet)Denis Vlasenko2008-11-171-4/+9
|
* nslookup: allow usage of IPv6 addresses or hostnamesDenis Vlasenko2008-11-161-11/+26
| | | | | | for DNS server name; allow for port specification. Tested to work: "nslookup google.com [::1]:5353"
* ifupdown.c: allow options to udhcpc to be configurable from .configWade Berrier2008-11-142-2/+13
| | | | | | | | | | This allows more control over options that are passed to udhcpc that are not configurable via /etc/network/interfaces. Example: rather than quit when an initial lease isn't found, you could use "--background" so that udhcpc keeps running and continually attempts to get an ip. That way, when you plug in the ethernet after powering on the device, you'll still get an ip.
* arp: stop using globalsDenis Vlasenko2008-11-131-27/+45
| | | | | | | | | | | | | | function old new delta hw_set 1 - -1 arp_main 1559 1558 -1 sockfd 8 4 -4 hw 4 - -4 device 4 - -4 ap 4 - -4 packed_usage 25402 25393 -9 ------------------------------------------------------------------------------ (add/remove: 0/4 grow/shrink: 0/3 up/down: 0/-27) Total: -27 bytes
* telnetd: fix compile problem for non-standalone telnetdDenis Vlasenko2008-11-121-10/+15
|
* telnetd: correctly output 0xff char. ~100 bytes.Denis Vlasenko2008-11-112-122/+168
| | | | | telnet: fix some atrocious names and style. no code changes
* telnetd: set SO_KEEPALIVE, users report it's useful. +20 bytes.Denis Vlasenko2008-11-091-0/+4
|
* *: a bit of code shrinkDenis Vlasenko2008-11-092-4/+5
| | | | | | | | | | | | | | function old new delta stop_handler 41 38 -3 sulogin_main 508 504 -4 got_cont 4 - -4 cont_handler 11 - -11 startservice 309 297 -12 processorstart 423 409 -14 tcpudpsvd_main 1861 1843 -18 ------------------------------------------------------------------------------ (add/remove: 0/2 grow/shrink: 0/5 up/down: 0/-66) Total: -66 bytes
* telnetd: handle emacs M-DEL and IAC-NOP (putty keepalive)Denis Vlasenko2008-11-071-30/+41
| | | | | | | | by Jim Cathey (jcathey AT ciena.com) function old new delta telnetd_main 1314 1364 +50
* total overhaul of mail applets. again. Vladimir as usual.Denis Vlasenko2008-11-063-606/+0
|
* runsvdir: alternative methon of supporting runsvdir-as-init. +66 bytes.Denis Vlasenko2008-11-061-1/+1
| | | | | *: s/int/pid_t where appropriate
* build system: tidying up CONFIG_xxx names (suggested by Rob)Denis Vlasenko2008-11-0611-27/+27
|
* *: code shrink by adding a wrapper around very common tcsetattr(0, TCSANOW, ↵Denis Vlasenko2008-11-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | xx) op function old new delta tcsetattr_stdin_TCSANOW - 14 +14 set_sane_term 116 113 -3 top_main 1277 1273 -4 make_new_session 421 415 -6 rawmode 133 126 -7 reset_term 18 10 -8 die 43 35 -8 cookmode 62 54 -8 vlock_main 425 415 -10 read_line_input 3165 3155 -10 bb_askpass 357 347 -10 fsck_minix_main 3079 3065 -14 getty_main 2375 2332 -43 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 0/12 up/down: 14/-131) Total: -117 bytes
* inetd: fix a case when we have zero servicesDenis Vlasenko2008-11-051-6/+13
|
* nslookup: tiny shrink (-5 bytes); add comment about res_initDenis Vlasenko2008-11-041-8/+9
| | | | | inet_common: cosmetics, no code changes
* tftpd: show help if stdin is not a socketDenis Vlasenko2008-11-011-2/+9
|
* iplink: accept shorthands for "address" keyword here:Denis Vlasenko2008-11-012-8/+11
| | | | | | "ip link set address 00:11:22:33:44:55" ifupdown: use "addr" instead of "address"
* - minor shrinkage (~-60)Bernhard Reutner-Fischer2008-10-301-8/+8
|
* - support ip link set eth1 address 00:11:22:33:44:55Bernhard Reutner-Fischer2008-10-301-1/+1
| | | | and not only the shorthand "addr". Thanks to ncopa for noticing
* randomconfig fixesDenis Vlasenko2008-10-291-3/+11
|
* udhcp: simplify SO_BINDTODEVICE callDenis Vlasenko2008-10-272-4/+3
|
* ping: trivial code shrinkDenis Vlasenko2008-10-271-27/+30
| | | | | | | function old new delta ping6_main 31 30 -1 ping_main 405 370 -35
* - fix ip route rejecting dotted quads as prefixBernhard Reutner-Fischer2008-10-212-31/+35
| | | | | | | | | | | | | | | | | | - adjust error message for wrong prefix not to mention address Previously e.g. ip route add 127.0.0.0/255.0.0.0 dev dummy0 was rejected, saying ip: an inet address is expected rather than "127.0.0.0/255.0.0.0" function old new delta get_prefix_1 201 309 +108 get_prefix 55 73 +18 get_addr 55 73 +18 get_addr32 48 58 +10 get_addr_1 249 204 -45 .rodata 114569 114524 -45 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 4/2 up/down: 154/-90) Total: 64 bytes
* zcip: code size optimizations, improved help text and commentsDenis Vlasenko2008-10-101-62/+79
| | | | | | | | | | | | function old new delta packed_usage 24750 24787 +37 run 658 655 -3 pick 40 34 -6 arp 186 177 -9 zcip_main 1402 1356 -46 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/4 up/down: 37/-64) Total: -27 bytes
* - route metric support (Natanael Copa)Bernhard Reutner-Fischer2008-10-071-2/+9
| | | | Adds about 75b
* - wrap overlong lineBernhard Reutner-Fischer2008-10-021-1/+2
|
* inetd: use config parser. by VladimirDenis Vlasenko2008-09-301-87/+36
| | | | | | | | | | | | function old new delta reread_config_file 1092 2154 +1062 next_line 98 33 -65 next_word 197 57 -140 parse_one_line 1202 - -1202 ------------------------------------------------------------------------------ (add/remove: 0/1 grow/shrink: 1/2 up/down: 1062/-1407) Total: -345 bytes
* route: fix for 64-bit BE machines by Seonghun Lim (wariua AT gmail.com)Denis Vlasenko2008-09-281-2/+2
|
* sendmail: update by VladimirDenis Vlasenko2008-09-282-403/+243
|
* sendmail: compat update by VladimirDenis Vlasenko2008-09-272-134/+202
| | | | | | | | | | | | | function old new delta sendgetmail_main 1889 2091 +202 putchar_unlocked - 43 +43 putchar - 43 +43 packed_usage 24868 24910 +42 smtp_checkp 102 111 +9 uuencode 235 227 -8 ------------------------------------------------------------------------------ (add/remove: 2/0 grow/shrink: 3/1 up/down: 339/-8) Total: 331 bytes
* udhcp: add inline docs; small code shrinkDenis Vlasenko2008-09-266-41/+64
| | | | | | | function old new delta send_packet 103 87 -16 udhcpc_main 2359 2323 -36
* udhcpc: fixlet for previous commitDenis Vlasenko2008-09-261-3/+5
|
* udhcp: added some FIXMEs; code shrink. -49 bytesDenis Vlasenko2008-09-266-19/+36
|