aboutsummaryrefslogtreecommitdiff
path: root/networking (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Apply post-1.15.0 fixes; bump version to 1.15.11_15_1Denys Vlasenko2009-09-122-25/+30
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* wget: strip trailing whitespace from e.g. "Content-length: 120 "Matthijs van de Water2009-08-221-1/+8
| | | | | | | | function old new delta wget_main 2395 2427 +32 Signed-off-by: Matthijs van de Water <matthijs.van.de.water@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* udhcpc: if got IP successfully, disable -n for future renewalsJustin Maggard2009-08-131-0/+2
| | | | | Signed-off-by: Justin Maggard <jmaggard10@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* randomconfig fixesDenys Vlasenko2009-08-083-8/+6
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* nc: fix nc -ll; report vfork errors; make select loop fasterTomoya Adachi2009-08-031-20/+23
| | | | | | | | function old new delta nc_main 933 946 +13 Signed-off-by: Tomoya Adachi <adachi@il.is.s.u-tokyo.ac.jp> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* tftp: add comment, no code changesDenys Vlasenko2009-07-251-5/+30
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* tftp[d]: fix block# handling on upload with non-default blocksizeAtsushi Nemoto2009-07-241-39/+42
| | | | | | | | function old new delta tftp_protocol 1590 1618 +28 Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* tcpsvd,udpsvd: fix uid/gid printing when run with -uDenys Vlasenko2009-07-191-23/+23
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* udhcpc: small simplificationDenys Vlasenko2009-07-191-4/+1
| | | | | | | function old new delta udhcpc_main 2401 2398 -3 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* typoDenys Vlasenko2009-07-191-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* udhcpc: add/edit comments, no code changesDenys Vlasenko2009-07-191-5/+13
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* udhcpc: simplify manual renew (make it more similar to automatic one)Denys Vlasenko2009-07-191-37/+38
| | | | | | | | | | function old new delta udhcp_run_script 669 673 +4 udhcpc_main 2414 2401 -13 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/1 up/down: 4/-13) Total: -9 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* remove trailing whitespaceDenys Vlasenko2009-07-152-2/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fix fallout from BSD patchesDenys Vlasenko2009-07-102-9/+8
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* udhcpd: fix a bug in add_lease where it was reading at [-1]Denys Vlasenko2009-07-074-21/+35
| | | | | | It is not correct when we read lease file! Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Patches to enable FreeBSD buildDenys Vlasenko2009-07-053-3/+3
| | | | | | | | | platform.h: fix wrong check for endianness, fix lchown aliasing to chown on uclibc. Code seems to not be affected in my testing. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fix dependencies of FEATURE_GETOPT_LONGDenys Vlasenko2009-07-041-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* udhcpc: support option 0x79 (static routes) (part of bug 341)Denys Vlasenko2009-07-033-1/+52
| | | | | | | | | | | | | | function old new delta xmalloc_optname_optval - 583 +583 dhcp_option_strings 258 266 +8 dhcp_options 70 72 +2 len_of_option_as_string 11 12 +1 dhcp_option_lengths 11 12 +1 udhcp_run_script 1187 669 -518 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 4/1 up/down: 595/-518) Total: 77 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* udhcp: dname_dec may return NULL, account for that caseDenys Vlasenko2009-07-035-58/+66
| | | | | | Other random cleanips included... Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* wget: remove IPv6 scope id in Host: field (apache compat)Denys Vlasenko2009-06-301-3/+51
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* wget: fix redirection from HTTP to FTP serverDenys Vlasenko2009-06-281-137/+140
| | | | | | | | | | | | | | | | while at it, sanitize redirection in general; add printout of every redirection hop; make sure we won't print any non-ASCII garbage from remote server in error meesages. function old new delta sanitize_string - 14 +14 parse_url 294 301 +7 gethdr 190 197 +7 wget_main 2326 2331 +5 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 3/0 up/down: 33/0) Total: 33 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* wget: remove strange *&var construct.Denys Vlasenko2009-06-281-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* wget: code shrink by splitting main() into easier-to-optimize functionsDenys Vlasenko2009-06-281-161/+174
| | | | | | | | | | function old new delta retrieve_file_data - 356 +356 wget_main 2793 2326 -467 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 0/1 up/down: 356/-467) Total: -111 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* udhcpc: fix a read error loop (e.g.: device is down) blocking TERMDenys Vlasenko2009-06-261-148/+151
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* updates for supporting Linux kernel build and initrd utilitiesDenys Vlasenko2009-06-261-30/+91
| | | | | | | | | cpio: --verbose, --quiet, --to-stdout test: make 64-bit math enable-able for hush too dnsdomainname: alias to hostname -d hostname: support --fqdn, --domain, --file Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* udhcp: fix trivial compile errorDenys Vlasenko2009-06-192-3/+3
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* getopt: FEATURE_GETOPT_LONG for -l; rename GETOPT_LONG to LONG_OPTSDenys Vlasenko2009-06-194-7/+7
| | | | | Signed-off-by: Colin Watson <cjwatson@ubuntu.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* tweak Config texts and some broken English elsewhereDenys Vlasenko2009-06-181-5/+8
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* udhcp: cosmetics in arpping.c, no code changesDenys Vlasenko2009-06-171-10/+6
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* udhcp: convert old-style logging in print_static_leasesDenys Vlasenko2009-06-173-17/+22
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* udhcp: logging improvements, field and variable renamesDenys Vlasenko2009-06-1711-134/+143
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* 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>