aboutsummaryrefslogtreecommitdiff
path: root/networking (follow)
Commit message (Collapse)AuthorAgeFilesLines
* general warning cleanupoldNguyễn Thái Ngọc Duy2009-05-101-0/+1
|
* Config.in: comment out programs/features that will not get supported anytime ↵Nguyễn Thái Ngọc Duy2009-04-281-0/+14
| | | | soon
* networking/wget: unmask, with very basic functionalityNguyễn Thái Ngọc Duy2009-04-282-1/+40
|
* Config.in: remove menus that apparently will not work on Windows (except ↵Nguyễn Thái Ngọc Duy2009-04-231-0/+1
| | | | maybe misc utils)
* fixes up to 1.6.1Nguyễn Thái Ngọc Duy2009-04-231-2/+2
|
* delete tons of extra #includesvda2007-05-3114-51/+24
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18717 69ca8d6d-28ef-0310-b511-8ec308f3f277
* use "glibc errno" trick not only for ash, but for entire busyboxvda2007-05-311-7/+1
| | | | | | | | (add/remove: 1/1 grow/shrink: 37/37 up/down: 139/-228) Total: -89 bytes git-svn-id: svn://busybox.net/trunk/busybox@18716 69ca8d6d-28ef-0310-b511-8ec308f3f277
* whitespace fixesvda2007-05-305-10/+10
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18703 69ca8d6d-28ef-0310-b511-8ec308f3f277
* ping: fix wrong sign extension of packet id (bug 1373)vda2007-05-271-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18697 69ca8d6d-28ef-0310-b511-8ec308f3f277
* usage.c: remove reference to busybox.hvda2007-05-2631-33/+35
| | | | | | | | *: s/include "busybox.h"/include "libbb.h" git-svn-id: svn://busybox.net/trunk/busybox@18696 69ca8d6d-28ef-0310-b511-8ec308f3f277
* xpipe: introduce (saves ~170 bytes)vda2007-05-261-6/+7
| | | | | | | | udhcp/signalpipe.c: use pipe instead of socketpair. git-svn-id: svn://busybox.net/trunk/busybox@18695 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - fix typo in help text and fix punctuationaldot2007-05-261-4/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18694 69ca8d6d-28ef-0310-b511-8ec308f3f277
* udhcp: socketpair can fail if AF_UNIX is not available (e.g. if module is ↵vda2007-05-241-1/+3
| | | | | | | | | not loaded). Error out on that. git-svn-id: svn://busybox.net/trunk/busybox@18681 69ca8d6d-28ef-0310-b511-8ec308f3f277
* several *.c files:vda2007-05-171-2/+3
| | | | | | | move 'extern environ' up to the location of #includes git-svn-id: svn://busybox.net/trunk/busybox@18644 69ca8d6d-28ef-0310-b511-8ec308f3f277
* fix trivial compile errors found by randomconfig runvda2007-05-171-0/+8
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18639 69ca8d6d-28ef-0310-b511-8ec308f3f277
* netstat: fix error in new -W option handlingvda2007-05-161-2/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18638 69ca8d6d-28ef-0310-b511-8ec308f3f277
* netstat: introduce -W: wide, ipv6-friendly outputvda2007-05-152-166/+161
| | | | | | | | | | netstat: shrink by ~500 bytes (patch by Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn@axis.com>) netstat: fix for bogus state value for raw sockets git-svn-id: svn://busybox.net/trunk/busybox@18631 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - apply hunk that fixes an issue with (wrong?) dependencies. Initial notes were:aldot2007-05-151-10/+5
| | | | | | | | | | There is something wrong in the new buildsys: If one selects ip and has e.g. rule or route unset, ip still wants to build those. This fails (correctly) since rtnl_rttable_n2a and rtnl_rtrealm_n2a aren't available if they were turned off. TODO: Talk to vda about this git-svn-id: svn://busybox.net/trunk/busybox@18618 69ca8d6d-28ef-0310-b511-8ec308f3f277
* tftp: explain "block# 0" codepath; report our decision to bail out to servervda2007-05-091-73/+70
| | | | | | | | if blocksize option doesn't look good (it was a FIXME. +33 bytes code); make code more readable. git-svn-id: svn://busybox.net/trunk/busybox@18590 69ca8d6d-28ef-0310-b511-8ec308f3f277
* tftp: code diet, and I think retransmits were broken.vda2007-05-081-209/+159
| | | | | | | | | | | | | | | function old new delta static.errcode_str - 32 +32 tftp_main 359 345 -14 tftp_bb_error_msg 32 - -32 .rodata 130931 130899 -32 tftp 1720 1558 -162 ------------------------------------------------------------------------------ (add/remove: 1/1 grow/shrink: 0/3 up/down: 32/-240) Total: -208 bytes git-svn-id: svn://busybox.net/trunk/busybox@18587 69ca8d6d-28ef-0310-b511-8ec308f3f277
* udhcpc: stop deleting our own pidfile if we daemonize.vda2007-05-033-34/+35
| | | | | | | | udhcp[cd]: stop using atexit magic fir pidfile removal. git-svn-id: svn://busybox.net/trunk/busybox@18554 69ca8d6d-28ef-0310-b511-8ec308f3f277
* ifupdown: small optimization (avoid doing useless work if we arevda2007-05-021-10/+10
| | | | | | | not going to update state file) git-svn-id: svn://busybox.net/trunk/busybox@18546 69ca8d6d-28ef-0310-b511-8ec308f3f277
* ifupdown: mke it possible to use DHCP clients different from udhcp.vda2007-05-022-33/+48
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18544 69ca8d6d-28ef-0310-b511-8ec308f3f277
* ifupdown: reread state file before rewriting it.vda2007-05-021-36/+37
| | | | | | | | | Fixes "ifup started another ifup" state corruption bug. Patch by Natanael Copa <natanael.copa@gmail.com>. git-svn-id: svn://busybox.net/trunk/busybox@18541 69ca8d6d-28ef-0310-b511-8ec308f3f277
* "Unify base64 handling" is done, remove TODOvda2007-04-181-3/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18492 69ca8d6d-28ef-0310-b511-8ec308f3f277
* ether-wake: save a few more bytes of codevda2007-04-161-8/+7
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18464 69ca8d6d-28ef-0310-b511-8ec308f3f277
* ether-wake: close bug 1317. Reorder fuctions to avoidvda2007-04-161-87/+86
| | | | | | | forward refs while at it git-svn-id: svn://busybox.net/trunk/busybox@18463 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - fix compilation when ENABLE_FEATURE_IP_RULE was offaldot2007-04-161-3/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18455 69ca8d6d-28ef-0310-b511-8ec308f3f277
* teach find_root_device to deal with /dev/ subdirsvda2007-04-131-5/+5
| | | | | | | (by "Kirill K. Smirnov" <lich@math.spbu.ru>) git-svn-id: svn://busybox.net/trunk/busybox@18435 69ca8d6d-28ef-0310-b511-8ec308f3f277
* style fixesvda2007-04-131-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18433 69ca8d6d-28ef-0310-b511-8ec308f3f277
* sourse_route_list -> source_route_listvda2007-04-131-6/+6
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18432 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - shrink iproute a bit (-200 bytes). Untestedaldot2007-04-123-63/+84
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18414 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - add xsendto and use where appropriate; shrink iplink; sanitize libiproute ↵aldot2007-04-1214-239/+141
| | | | | | | | | a bit. -916 byte git-svn-id: svn://busybox.net/trunk/busybox@18413 69ca8d6d-28ef-0310-b511-8ec308f3f277
* style fixes. No code changesvda2007-04-123-7/+7
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18409 69ca8d6d-28ef-0310-b511-8ec308f3f277
* bb_full_fd_action: remove potential xmalloc from NOFORK pathvda2007-04-113-10/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cat: stop using stdio.h opens libbb: introduce & use open[3]_or_warn function old new delta open3_or_warn - 54 +54 bb_cat 115 144 +29 open_or_warn - 25 +25 unlzma 2404 2412 +8 chattr_main 334 339 +5 xstrtoul_range_sfx 251 255 +4 telnet_main 1514 1510 -4 static.opt 4 - -4 qgravechar 122 118 -4 fuser_add_pid 61 54 -7 fuser_add_inode 154 147 -7 writeFileToTarball 1542 1534 -8 refresh 1156 1148 -8 do_show 856 846 -10 read_leases 212 200 -12 setup_redirects 236 222 -14 iproute_list_or_flush 1582 1568 -14 read_config 427 411 -16 write_leases 284 264 -20 hash_file 338 318 -20 copy_file 1760 1740 -20 do_iproute 2610 2588 -22 bb_full_fd_action 320 269 -51 open_to_or_warn 103 49 -54 fuser_main 1660 1596 -64 .rodata 131160 131096 -64 ------------------------------------------------------------------------------ (add/remove: 2/1 grow/shrink: 4/19 up/down: 125/-423) Total: -298 bytes git-svn-id: svn://busybox.net/trunk/busybox@18408 69ca8d6d-28ef-0310-b511-8ec308f3f277
* style fixes, no code changes.vda2007-04-111-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18403 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - set the scope properly. Thanks to Jean Wolter, who wrote:aldot2007-04-111-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | busybox ip and the original ip utility behave differently when setting the following route (verified with ip route show using the original ip utility): ip route add 10.0.0.138 dev eth0 Result for busybox ip: # ip route add 10.0.0.138 dev eth0 # /usr/local/bin/ip route show 10.0.0.138 dev eth0 Result for ip: # /usr/local/bin/ip route add 10.0.0.138 dev eth0 # /usr/local/bin/ip route show 10.0.0.138 dev eth0 scope link A following "ip route add default via 10.0.0.138" fails for busybox ip, since the kernel can not find a route to 10.0.0.138 (it replies with Network is unreachable). The reasons seems to be that the original ip utility explicitly sets the scope after parsing all parameters. This is missing in busybox, the attached patch fixes this. I took this from the original iproute sources and removed some variables, which are not needed for busybox. git-svn-id: svn://busybox.net/trunk/busybox@18401 69ca8d6d-28ef-0310-b511-8ec308f3f277
* add more convenient defines for [NO]MMU:vda2007-04-112-3/+3
| | | | | | | "#ifndef BB_NOMMU" is a double negative git-svn-id: svn://busybox.net/trunk/busybox@18396 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - mv ip*_main into ip.c; use a dispatcher to save on needless duplication.aldot2007-04-107-136/+51
| | | | | | | Saves a minor 12b. git-svn-id: svn://busybox.net/trunk/busybox@18390 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - rewrite the ip applet to be less bloatyaldot2007-04-102-23/+49
| | | | | | | | | | | - mark libiproute's matches() as deprecated. Convert to index_in_(sub)str_array()! text data bss dec hex filename 314 0 0 314 13a ip.o.orig 200 0 0 200 c8 ip.o Using a smallint for the key would save another byte. git-svn-id: svn://busybox.net/trunk/busybox@18387 69ca8d6d-28ef-0310-b511-8ec308f3f277
* style fixes. No code changes.vda2007-04-102-3/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18381 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - add libbb function str_tolower to convert a string to lowercase.aldot2007-04-101-56/+49
| | | | | | | - shrink wget a bit git-svn-id: svn://busybox.net/trunk/busybox@18377 69ca8d6d-28ef-0310-b511-8ec308f3f277
* getopt32: fix llist_t options ordering. llist_rev is not unused.vda2007-04-081-1/+1
| | | | | | | | | | | | | | | | | | | function old new delta tar_main 705 695 -10 sort_main 928 918 -10 decode_format_string 886 876 -10 run_parts_main 197 185 -12 ps_main 513 500 -13 wget_main 2764 2750 -14 awk_main 1014 1000 -14 od_main 2886 2866 -20 llist_rev 25 - -25 ------------------------------------------------------------------------------ (add/remove: 0/1 grow/shrink: 0/8 up/down: 0/-128) Total: -128 bytes git-svn-id: svn://busybox.net/trunk/busybox@18364 69ca8d6d-28ef-0310-b511-8ec308f3f277
* libiproute: audit callgraph, shortcut error paths into die() functions.vda2007-04-0711-319/+247
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Kill a few statics, made other globals smaller: oneline is smallint, _SL_ is char function old new delta print_tunnel 693 731 +38 print_route 1775 1777 +2 print_addrinfo 1495 1497 +2 ipaddr_list_or_flush 2826 2828 +2 oneline 4 1 -3 _SL_ 4 1 -3 ipaddr_modify 1476 1472 -4 parse_address 124 119 -5 ip_parse_common_args 429 423 -6 on_off 53 46 -7 do_del_ioctl 113 106 -7 do_add_ioctl 120 113 -7 do_show 864 856 -8 iprule_list 157 148 -9 do_iptunnel 310 299 -11 do_add 143 126 -17 get_ctl_fd 95 76 -19 set_address 108 84 -24 ip_main 351 323 -28 static.ifr 32 - -32 parse_args 1992 1949 -43 iproute_list_or_flush 1673 1582 -91 do_iplink 1583 1485 -98 filter 280 - -280 ------------------------------------------------------------------------------ (add/remove: 0/2 grow/shrink: 4/18 up/down: 44/-702) Total: -658 bytes git-svn-id: svn://busybox.net/trunk/busybox@18357 69ca8d6d-28ef-0310-b511-8ec308f3f277
* udhcp: MAC_BCAST_ADDR and blank_chaddr are in fact constant, move to rodata.vda2007-04-079-156/+169
| | | | | | | | | | | | | | | | | | | | | | | | | a few global variables reduced to smallints function old new delta add_lease 75 227 +152 static.blank_chaddr - 16 +16 MAC_BCAST_ADDR - 6 +6 sockfd 4 8 +4 udhcp_run_script 1153 1155 +2 state 8 5 -3 listen_mode 4 1 -3 perform_release 152 148 -4 fd 8 4 -4 blank_chaddr 16 - -16 udhcpc_main 2518 2497 -21 .rodata 131864 131832 -32 oldest_expired_lease 61 - -61 clear_lease 127 - -127 ------------------------------------------------------------------------------ (add/remove: 2/3 grow/shrink: 3/6 up/down: 180/-271) Total: -91 bytes git-svn-id: svn://busybox.net/trunk/busybox@18356 69ca8d6d-28ef-0310-b511-8ec308f3f277
* random small shrinkage and elimination of staticsvda2007-04-071-3/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18354 69ca8d6d-28ef-0310-b511-8ec308f3f277
* nc: code shrinkage, bugfixes. -50 bytes code sizevda2007-04-061-106/+142
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18346 69ca8d6d-28ef-0310-b511-8ec308f3f277
* nc: missed exit() in signal handlervda2007-04-051-0/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18337 69ca8d6d-28ef-0310-b511-8ec308f3f277
* nc: port nc 1.10 to busyboxvda2007-04-053-1/+805
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18336 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - add -s|--spider which only checks if the file exists but does not download ↵aldot2007-04-051-9/+16
| | | | | | | | | it's content. Closes #1291 git-svn-id: svn://busybox.net/trunk/busybox@18333 69ca8d6d-28ef-0310-b511-8ec308f3f277