summaryrefslogtreecommitdiff
path: root/networking (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
| * add forgotten #includeDenys Vlasenko2011-04-111-0/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * tftpd: add -l "log to syslog" option. Needed for inetd modeDenys Vlasenko2011-04-111-2/+8
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * tftp: fix progress bar for large (>32M) files. Closes 3499Denys Vlasenko2011-04-111-2/+2
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * move remaining help text from include/usage.src.hPere Orga2011-04-1133-0/+711
| | | | | | | | | | Signed-off-by: Pere Orga <gotrunks@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * http: document index.cgi usage. no code changesDenys Vlasenko2011-04-101-1/+5
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * libbb: make set_nport accept pointer to sockaddr, not to len_and_sockaddr.Denys Vlasenko2011-04-078-16/+16
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * ntpd: decrease ntpd -q "no response" timeout to 10 secDenys Vlasenko2011-04-071-3/+17
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * httpd: don't send error messages with gzip encodingPeter Korsgaard2011-03-271-0/+1
| | | | | | | | | | | | | | | | | | | | | | If CONFIG_FEATURE_HTTPD_GZIP is enabled and request contained 'Accept-Encoding: gzip', then errors were sent with 'Content-Encoding: gzip' even though they aren't. Fix it by clearing content_gzip before sending the headers. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * wget: --post-data=STR should not encode STR, should send it verbatimVitaly Magerya2011-03-271-41/+1
| | | | | | | | | | | | | | This matches GNU Wget 1.12 behavior. Signed-off-by: Vitaly Magerya <vmagerya@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Merge commit '19311bfa7b8e8c6effa9c375de9b0eb4338bee12' into mergeRon Yorston2012-03-2212-133/+344
|\| | | | | | | | | | | Conflicts: coreutils/ls.c shell/ash.c
| * don't call freeaddinfo(NULL)Vitaly Magerya2011-03-221-2/+2
| | | | | | | | | | Signed-off-by: Vitaly Magerya <vmagerya@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * wget: move help text to .c fileDenys Vlasenko2011-03-211-0/+26
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * wget: fix fname_out usage wrt redirectsDenys Vlasenko2011-03-211-2/+8
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * udhcpc: emit "correct" secs fieldDenys Vlasenko2011-03-122-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | In theory, sending secs set to constant zero should be ok too. But some bleeping servers can actually be configured to answer ONLY if secs is bigger than a preset value (!!) http://developer.apple.com/library/mac/#documentation/Darwin/Reference/ManPages/man8/bootpd.8.html grep for "reply_threshold_seconds" function old new delta udhcpc_main 2573 2623 +50 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * use user's shell instead of hardwired "/bin/sh" (android needs this)Denys Vlasenko2011-03-081-4/+5
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * ftpd: better usage textDenys Vlasenko2011-03-081-1/+18
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * udhcpc: add -B optionKeith Young2011-03-071-59/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta udhcpc_longopts - 262 +262 add_client_options 218 239 +21 packed_usage 28149 28163 +14 static.udhcpc_longopts 250 - -250 ------------------------------------------------------------------------------ (add/remove: 1/1 grow/shrink: 2/0 up/down: 297/-250) Total: 47 bytes Signed-off-by: Keith Young <stripydog7@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * nameif: add matching by phy_address=NUM; extend help textPhil Sutter2011-03-062-30/+94
| | | | | | | | | | | | | | | | | | | | | | | | function old new delta nameif_main 618 686 +68 packed_usage 28095 28149 +54 prepend_new_eth_table 295 338 +43 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 3/0 up/down: 165/0) Total: 165 bytes Signed-off-by: Phil Sutter <phil.sutter@viprinet.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * nameif: fix parsing of /proc/net/dev; small code shrinkPhil Sutter2011-03-061-11/+9
| | | | | | | | | | | | | | | | function old new delta nameif_main 628 618 -10 Signed-off-by: Phil Sutter <phil.sutter@viprinet.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * don't leak malloced variables in the loop; remove double allocAlexey Fomenko2011-03-022-3/+6
| | | | | | | | | | Signed-off-by: Alexey Fomenko <ext-alexey.fomenko@nokia.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * convert "do {...} while (1);" -> "while (1) {...}"Denys Vlasenko2011-03-021-2/+2
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * add missing fclose'sAlexey Fomenko2011-03-021-0/+2
| | | | | | | | | | Signed-off-by: Alexey Fomenko <ext-alexey.fomenko@nokia.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * whois: new appletPere Orga2011-02-271-0/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta whois_main - 118 +118 pipe_out - 80 +80 packed_usage 28084 28095 +11 applet_names 2385 2391 +6 applet_main 1388 1392 +4 applet_nameofs 694 696 +2 ------------------------------------------------------------------------------ (add/remove: 3/0 grow/shrink: 4/0 up/down: 221/0) Total: 221 bytes Signed-off-by: Pere Orga <gotrunks@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * Replace "depends on PLATFORM_LINUX" with "select PLATFORM_LINUX"Denys Vlasenko2011-02-263-21/+22
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Merge commit 'da4441c44f6efccb6f7b7588404d9c6bfb7b6af8' into mergeRon Yorston2012-03-2215-389/+540
|\| | | | | | | | | | | | | Conflicts: libbb/vfork_daemon_rexec.c networking/wget.c procps/ps.c
| * fix libiproute compile with kernel headers < 2.6.17Stefan Seyfried2011-02-261-0/+3
| | | | | | | | | | Signed-off-by: Stefan Seyfried <seife+dev@b1-systems.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * iproute: fix parsing and matching of of "short" IP addrs like 10/8Denys Vlasenko2011-02-234-38/+74
| | | | | | | | | | | | | | | | | | | | | | function old new delta print_route 1613 1813 +200 get_addr_1 209 258 +49 get_prefix 393 356 -37 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 2/1 up/down: 249/-37) Total: 212 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * wget: reduce bloatPere Orga2011-02-191-7/+3
| | | | | | | | | | Signed-off-by: Pere Orga <gotrunks@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * udhcpd: optional IP selection based on MAC hashVladislav Grishenko2011-02-162-8/+50
| | | | | | | | | | | | | | | | function old new delta find_free_or_expired_nip 153 225 +72 Signed-off-by: Vladislav Grishenko <themiron@mail.ru> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * wget: check for final write errors for -O FILE tooDenys Vlasenko2011-02-151-0/+3
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * wget: make "wget -O FILE URL1 URL2" concatenate outputDenys Vlasenko2011-02-151-29/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Also fixes a few cases where URL1's data (like start pos) was leaking into URL2 function old new delta wget_main 2303 2321 +18 progress_meter 140 152 +12 retrieve_file_data 397 396 -1 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 2/1 up/down: 30/-1) Total: 29 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * wget: fix SEGV with multiple urls and redirectionPere Orga2011-02-141-0/+1
| | | | | | | | | | Signed-off-by: Pere Orga <gotrunks@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * udhcpc: use more correct, and more importantly, more understandable BPF codeVladislav Grishenko2011-02-141-20/+24
| | | | | | | | | | Signed-off-by: Vladislav Grishenko <themiron@mail.ru> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * wget: support multiple URLs on command line even without -O :)Denys Vlasenko2011-02-131-55/+15
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * wget: support multiple URLs on command lineDenys Vlasenko2011-02-131-129/+160
| | | | | | | | | | | | | | | | | | | | | | function old new delta wget_main 2190 2310 +120 progress_meter 124 140 +16 parse_url 288 304 +16 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 3/0 up/down: 152/0) Total: 152 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * typo fix in commentDenys Vlasenko2011-02-121-1/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * wget: display 100% at the _end_ of chunked downloadDenys Vlasenko2011-02-111-2/+2
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * wget: chunked mode fix. Closes bug 3229Denys Vlasenko2011-02-111-10/+16
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * wget: explain clearerr more clearlyDenys Vlasenko2011-02-111-1/+10
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * wget: correctly handle rare case when we get EAGAIN _on first_ readDenys Vlasenko2011-02-111-6/+26
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * progress meter: fix bugs found in stall detection and unknown size logicDenys Vlasenko2011-02-111-1/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * progress meter: move file name to bb_progress_t. +20 bytesDenys Vlasenko2011-02-112-7/+7
| | | | | | | | | | | | We were doing expensive unicode conversion on every update Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * wget: shrink progress meter code; strink wget and add debug loggingDenys Vlasenko2011-02-101-34/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta fgets_and_trim - 73 +73 retrieve_file_data 367 349 -18 bb_progress_update 723 699 -24 wget_main 2220 2190 -30 ftpcmd 133 87 -46 gethdr 200 153 -47 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 0/5 up/down: 73/-165) Total: -92 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * wget: use closed HTTP/1.1 connection, stop when we dl'ed $content_len bytesDenys Vlasenko2011-02-101-8/+19
| | | | | | | | | | | | | | function old new delta retrieve_file_data 353 367 +14 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * save 10 bytes on stringsDenys Vlasenko2011-02-101-1/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * wget: remove functions which retry on EINTRDenys Vlasenko2011-02-101-3/+5
| | | | | | | | | | | | | | | | | | | | function old new delta retrieve_file_data 392 353 -39 safe_fgets 58 - -58 ------------------------------------------------------------------------------ (add/remove: 0/1 grow/shrink: 0/1 up/down: 0/-97) Total: -97 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * fix trivial build failureDenys Vlasenko2011-02-101-2/+3
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * wget: use FEATURE_COPYBUF_KB-sized buffer. Much faster for local transfersDenys Vlasenko2011-02-101-60/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta base64enc - 53 +53 gethdr 190 200 +10 ftpcmd 129 133 +4 progress_meter 160 122 -38 retrieve_file_data 431 392 -39 base64enc_512 46 - -46 wget_main 2456 2220 -236 ------------------------------------------------------------------------------ (add/remove: 1/1 grow/shrink: 2/3 up/down: 67/-359) Total: -292 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * tc: less ugly check for bad sizeof(G)Denys Vlasenko2011-02-101-6/+4
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * iproute: fix handling of "dev IFACE" selectorDenys Vlasenko2011-02-092-14/+25
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>