aboutsummaryrefslogtreecommitdiff
path: root/networking (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* udhcpc: fix format of one log messageDenys Vlasenko2009-06-171-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* udhcp: shorten mac len from 16 to 6 in lease fileDenys Vlasenko2009-06-1715-103/+126
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* udhcp: change UDHCP_DEBUG into int, make verbosity selectable with -vDenys Vlasenko2009-06-1716-122/+197
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* udhcp: add a few TODOsDenys Vlasenko2009-06-164-2/+11
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* udhcp: rename server/client_config.arp to server_mac and client_macDenys Vlasenko2009-06-169-28/+44
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* udhcp: cleanup of static lease handlingDenys Vlasenko2009-06-166-48/+45
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* udhcp: rename sprintip to sprint_nip, siaddr to siaddr_nipDenys Vlasenko2009-06-165-33/+26
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* udhcp: rename giaddr to gateway_nip and server to server_nipDenys Vlasenko2009-06-167-20/+20
| | | | | | "nip" stands for "IP in network order" Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* udhcp: rename fields in struct dhcpOfferedAddrDenys Vlasenko2009-06-166-31/+32
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* udhcpd: don't fail ARP check if returned MAC matches client's oneDenys Vlasenko2009-06-166-33/+66
| | | | | | Also, do not unicast replies to yiaddr. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* test, tcpsvd, tcpsvd: shrinkDenys Vlasenko2009-06-131-6/+4
| | | | | | | | | | | | function old new delta nexpr 825 826 +1 tcpudpsvd_main 1830 1822 -8 test_main 257 247 -10 binop 584 525 -59 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/3 up/down: 1/-77) Total: -76 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* telnetd: more compact version of the fix for stray open fdsDenys Vlasenko2009-06-101-51/+39
| | | | | | | | | | function old new delta telnetd_main 1520 1527 +7 make_new_session 510 416 -94 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/1 up/down: 7/-94) Total: -87 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* telnetd: properly close fds in childDenys Vlasenko2009-06-092-64/+95
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ifupdown: if $PATH is not set, do not set it to "" in childrenDenys Vlasenko2009-06-051-59/+65
| | | | | | | | | | | | | | | | | Also random code shrink: function old new delta set_environ 328 330 +2 static.label_buf 4 - -4 startup_PATH 4 - -4 my_environ 4 - -4 ifupdown_main 2148 2134 -14 setlocalenv 117 90 -27 get_var 139 112 -27 ------------------------------------------------------------------------------ (add/remove: 0/3 grow/shrink: 1/3 up/down: 2/-80) Total: -78 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ftpd: allow multiple -S options to increase verbosity too, like -vDenys Vlasenko2009-06-051-3/+7
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* inetd: comment why we redirect stderr to networkDenys Vlasenko2009-06-051-3/+6
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: add FAST_FUNC to function ptrs where it makes senseDenys Vlasenko2009-06-0510-85/+83
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta evalcommand 1195 1209 +14 testcmd - 10 +10 printfcmd - 10 +10 echocmd - 10 +10 func_exec 270 276 +6 echo_dg 104 109 +5 store_nlmsg 85 89 +4 pseudo_exec_argv 195 198 +3 dotcmd 287 290 +3 machtime_stream 29 31 +2 discard_stream 24 26 +2 argstr 1299 1301 +2 killcmd 108 109 +1 evalfor 226 227 +1 daytime_stream 43 44 +1 run_list 2544 2543 -1 lookupvar 62 61 -1 ipaddr_modify 1310 1309 -1 ... parse_stream 2254 2245 -9 evalpipe 356 347 -9 collect_if 210 197 -13 read_opt 869 851 -18 handle_dollar 681 658 -23 print_addrinfo 1342 1303 -39 iterate_on_dir 156 59 -97 print_route 1709 1609 -100 ------------------------------------------------------------------------------ (add/remove: 3/0 grow/shrink: 12/130 up/down: 74/-767) Total: -693 bytes text data bss dec hex filename 841748 467 7872 850087 cf8a7 busybox_old 841061 467 7872 849400 cf5f8 busybox_unstripped Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ftpd: fix a case when with -w unknown commands are ignored with no error codeDenys Vlasenko2009-06-041-0/+5
| | | | | Signed-off-by: Stefan Seyfried <seife@suse.de> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* nc, hush: cosmetic cleanups, no code changesDenys Vlasenko2009-06-011-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* flash_lock, flash_unlock: new appletsDenys Vlasenko2009-05-251-2/+2
| | | | | | | By Thierry Reding (thierry.reding AT avionic-design.de) Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* tftp: do not risk invoking Sorcerer's Apprentice syndromeDenys Vlasenko2009-05-101-0/+3
| | | | | | examples/udhcp/simple.script: fix incorrect test for $1 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fix debug messageBernhard Reutner-Fischer2009-05-041-7/+8
| | | | | Print the mime-type only after it has been set. Add possible TODOs: use TCP_CORK, parse_config()
* httpd: speed up httpd.conf at the cost of 49 bytes of codeDenys Vlasenko2009-05-021-8/+20
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ifplugd: fix warningsDenys Vlasenko2009-05-011-6/+9
|
* Make it clearer that usually people should _NOT_Denys Vlasenko2009-05-011-1/+1
| | | | select FEATURE_UNIX_LOCAL.
* *: bb_error_msg's messages should not be capitalizedDenis Vlasenko2009-04-292-6/+6
|
* ifplugd: tiny shrinkDenis Vlasenko2009-04-261-2/+2
|
* ifplugd: add copyrightDenis Vlasenko2009-04-261-1/+16
|
* ifplugd: new applet by Maksym Kryzhanovskyy (xmaks AT email.cz)Denis Vlasenko2009-04-263-0/+817
| | | | | +3k code and 0.5k in messages. Most of the bloat due to compat :(
* add FEATURE_UNIX_LOCAL. By Ingo van Lil (inguin AT gmx.de)Denis Vlasenko2009-04-253-25/+36
|
* inetd: constify dataDenis Vlasenko2009-04-221-1/+1
|
* httpd: fix small bug in parser. it crept in during cleanupDenis Vlasenko2009-04-221-4/+3
|
* httpd: allow empty lines in conf fileDenis Vlasenko2009-04-221-1/+3
|
* httpd: simplify insane conf file parserDenis Vlasenko2009-04-221-175/+173
| | | | | | | | | | | | | | function old new delta bb_simplify_abs_path_inplace - 98 +98 parse_expr 824 832 +8 passwd_main 1025 1027 +2 evalvar 1374 1376 +2 parse_command 1463 1460 -3 bb_simplify_path 137 55 -82 parse_conf 1572 1422 -150 ------------------------------------------------------------------------------ (add/remove: 3/2 grow/shrink: 3/3 up/down: 126/-251) Total: -125 bytes
* nc: free lsa in server mode, we might be up for a long timeDenis Vlasenko2009-04-211-2/+2
|
* *: remove check for errors on getsockaddr in cases we know they can't happenDenis Vlasenko2009-04-215-23/+24
| | | | | | | | | | | | libbb: make get_sock_lsa use only one getsockaddr syscall, not two function old new delta get_sock_lsa 72 101 +29 do_iplink 1151 1137 -14 arping_main 1585 1569 -16 dolisten 789 755 -34 xrtnl_open 161 94 -67
* *: mass renaming of USE_XXXX to IF_XXXXDenis Vlasenko2009-04-2121-139/+139
| | | | | | and SKIP_XXXX to IF_NOT_XXXX - the second one was especially badly named. It was not skipping anything!
* udhcpc: fix truncation of last char in client hostnamesDenis Vlasenko2009-04-211-1/+2
|
* mdev: Rob's #if forest removalDenis Vlasenko2009-04-192-2/+2
| | | | | *: remove superfluous conts in "f(type *const param)"
* move llist_find_str from modutils to libbbDenis Vlasenko2009-04-131-15/+1
|
* dhcprelay: fix usage text. Simplify and make code more readable.Denis Vlasenko2009-04-131-62/+73
| | | | | Add TODOs.
* dnsd: stop using oversized buffer. trim comment.Denis Vlasenko2009-04-121-17/+10
|
* mount: users report that CIFS support is breaking things,Denis Vlasenko2009-04-121-95/+93
| | | | | mostly remove it.
* dnsd: removed highly questionable setting of signals to SIG_IGNDenis Vlasenko2009-04-121-11/+0
|
* dnsd: fix a number of bugs. Ideas by Ming-Ching Tiew (mctiew AT yahoo.com)Denis Vlasenko2009-04-121-163/+325
| | | | | | | | | function old new delta undot - 42 +42 dnsd_main 1394 1213 -181 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 0/1 up/down: 42/-181) Total: -139 bytes
* *: make "pragma GCC visibility push(hidden)" less uglyDenis Vlasenko2009-04-0912-103/+49
|
* ftpd: s/CONFIG_BUSYBOX_EXEC_PATH/bb_busybox_exec_path/Denis Vlasenko2009-04-041-1/+1
|
* more of pointless whitespace fixesDenis Vlasenko2009-04-011-1/+1
|
* dhcpd: remember and record hostnames; optimize get_optionDenis Vlasenko2009-04-018-124/+149
| | | | | | | | | | | | | | | | | dumpleases: show hostnames function old new delta add_lease 230 292 +62 send_offer 403 421 +18 send_ACK 232 249 +17 read_leases 249 258 +9 dumpleases_main 604 609 +5 nobody_responds_to_arp 84 86 +2 udhcp_end_option 32 30 -2 udhcp_get_option 222 171 -51 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 6/2 up/down: 113/-53) Total: 60 bytes
* tftp: when we infer local name from remote (-r [/]path/path/file),Denis Vlasenko2009-03-251-3/+8
| | | | | strip path. This mimics wget and is generally more intuitive.