aboutsummaryrefslogtreecommitdiff
path: root/networking (follow)
Commit message (Collapse)AuthorAgeFilesLines
* tcpudp: simplify help textDenys Vlasenko2011-07-251-3/+3
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* more tweak for bionicDenys Vlasenko2011-07-082-2/+33
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* typo fixesDan Fandrich2011-07-081-1/+1
| | | | | Signed-off-by: Dan Fandrich <dan@coneharvesters.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* inetd: check if RPC is availableBernhard Reutner-Fischer2011-06-151-2/+5
| | | | | | | | It would be better to have FEATURE_HAVE_RPC be user-selectable and depend mount.nfs and inetd-rpc on it instead of the current, backward, way. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* iplink: tweak includes to work on androidDenys Vlasenko2011-06-121-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Replaced __u32 etc. with standard uint32_t style typesDaniel Fandrich2011-06-102-24/+24
| | | | | Signed-off-by: Daniel Fandrich <dfandrich@intrinsyc.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: simplify Ethernet header includesDan Fandrich2011-06-109-53/+20
| | | | | Signed-off-by: Dan Fandrich <dan@coneharvesters.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: remove "Options:" string from help textsDenys Vlasenko2011-06-0535-44/+6
| | | | | | | function old new delta packed_usage 28706 28623 -83 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* udhcpc: allow -O OPT take numeric paramsDenys Vlasenko2011-06-041-2/+5
| | | | | | | function old new delta udhcpc_main 2623 2654 +31 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* The [-Wunused-but-set-variable] warningsCristian Ionescu-Idbohrn2011-05-161-2/+2
| | | | | | | networking/ntpd.c:1748:19: warning: variable 'version' set but not used Signed-off-by: Cristian Ionescu-Idbohrn <cii@axis.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fix "variable 'foo' set but not used" warningsDenys Vlasenko2011-05-131-4/+3
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* adduser: safe username passing to passwd/addgroupDenys Vlasenko2011-05-131-1/+1
| | | | | | | | | | | | | | | | | | | passwd: support creating SHA passwords random code shrink function old new delta crypt_make_pw_salt - 87 +87 adduser_main 883 904 +21 ... crypt_make_salt 99 89 -10 chpasswd_main 329 312 -17 packed_usage 28731 28691 -40 passwd_main 1070 1000 -70 cryptpw_main 310 224 -86 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 4/12 up/down: 154/-288) Total: -134 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* inetd: add FIXMEsDenys Vlasenko2011-05-121-0/+5
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* traceroute: properly reduce poll timeoutDenys Vlasenko2011-05-051-24/+37
| | | | | | | | | | | | This removes the problem where during the time we wait to declare a target as unresponsive we receive an unrelated ICMP packet. If there is enough traffic, this can make traceroute hang as it never declares the target as unresponsive. function old new delta common_traceroute_main 4196 4261 +65 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* udhcp: fix some default values from "" to NULLDenys Vlasenko2011-05-031-3/+3
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* udhcp: add FEATURE_UDHCP_8021Q optionNigel Hathaway2011-04-263-0/+18
| | | | | | | | | function old new delta dhcp_option_strings 217 237 +20 dhcp_optflags 64 68 +4 Signed-off-by: Nigel Hathaway <Nigel.Hathaway@ubiquisys.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* dhcpc: export unrecognized options in "optNN=XXXXXXXXX" formNigel Hathaway2011-04-261-10/+47
| | | | | | | | function old new delta udhcp_run_script 609 818 +209 Signed-off-by: Nigel Hathaway <Nigel.Hathaway@ubiquisys.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* add include <sys/socket.h>Denys Vlasenko2011-04-171-0/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* wget: add a note about bug 3625Denys Vlasenko2011-04-161-0/+6
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Use net/ethernet.h instead of linux/if_ether.h in more cases. Closes 3619Denys Vlasenko2011-04-161-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* 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>
* 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>
* 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>