summaryrefslogtreecommitdiff
path: root/networking (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
| * udhcpc: fix a problem with binary-encoded optionsDenys Vlasenko2011-02-061-1/+1
| | | | | | | | | | | | | | function old new delta attach_option 395 413 +18 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * ping: trivial simplification. -2 bytesDenys Vlasenko2011-02-061-4/+6
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * ping: fix IPv6 pinging. Closes bug 3187Denys Vlasenko2011-02-051-1/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * whitespace fixesDenys Vlasenko2011-02-032-3/+3
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Merge commit '8d0e0cdadf726beab28ccdc7d69738c1534e1f74' into mergeRon Yorston2012-03-2111-93/+88
|\| | | | | | | | | | | | | Conflicts: include/platform.h libbb/Kbuild.src libbb/messages.c
| * move utmp.h include to libbb.hDenys Vlasenko2011-01-251-4/+0
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * eliminate aliasing warnings in traceroute.c and udhcp/socket.cDenys Vlasenko2011-01-202-12/+16
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * eliminate aliasing warning in networking/route.cDenys Vlasenko2011-01-202-36/+41
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * ifplugd: eliminate aliasing warningsDenys Vlasenko2011-01-201-10/+14
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * mass removal of underscores from _BB_DIR_foo and _BB_SUID_fooDenys Vlasenko2011-01-182-4/+4
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * remove a few aliasing warningsDenys Vlasenko2011-01-161-1/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * httpd: send correct mtime for .gz filesDenys Vlasenko2011-01-111-0/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * libbb unicode: comment out usused function and unused parameterDenys Vlasenko2011-01-111-1/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * tftp: fix bad interaction betweel poll() and alarm(). Closes bug 3061Denys Vlasenko2011-01-101-27/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was breaking timeout handling. function old new delta tftp_progress_update - 45 +45 tftp_progress_done - 32 +32 tftp_protocol 1839 1858 +19 tftp_progress_init 9 15 +6 tftp_main 298 286 -12 ------------------------------------------------------------------------------ (add/remove: 2/0 grow/shrink: 2/1 up/down: 102/-12) Total: 90 bytes Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* | Merge remote-tracking branch 'upstream/master'Nguyễn Thái Ngọc Duy2011-01-0439-357/+414
|\|
| * explain every non-SUID_DROP applet. No code changesDenys Vlasenko2011-01-031-0/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * udhcpc: document SIGUSRn effect in help textDenys Vlasenko2010-12-251-0/+4
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * telnetd: write utmp record with correct pidDenys Vlasenko2010-11-301-1/+2
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * ping: set not only IP_TTL, but also IP_MULTICAST_TTLDenys Vlasenko2010-11-291-2/+4
| | | | | | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * ping: add -t TTL optionJoachim Nilsson2010-11-283-34/+102
| | | | | | | | | | | | | | | | | | | | | | | | function old new delta common_ping_main 1755 1796 +41 packed_usage 27954 27971 +17 bbconfig_config_bz2 4965 4966 +1 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 3/0 up/down: 59/0) Total: 59 bytes Signed-off-by: Joachim Nilsson <joachim.nilsson@vmlinux.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * dhcpd: reply with NAK to clients in INIT-REBOOT state w/o existing leaseDenys Vlasenko2010-11-281-7/+11
| | | | | | | | | | | | We were not responding to them at all. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * use BB_EXECVP_or_die where appropriateDenys Vlasenko2010-11-281-2/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * dhcpd: smaller code: do not look for REQUESTED_IP twiceDenys Vlasenko2010-11-281-26/+30
| | | | | | | | | | | | | | | | text data bss dec hex filename 883235 936 17192 901363 dc0f3 busybox_old 883219 936 17192 901347 dc0e3 busybox_unstripped Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * nc: fix SEGV on -v when NC_EXTRA is offDenys Vlasenko2010-11-221-1/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * inetd: if argv[0] is not specified, set it to program nameMike Frysinger2010-11-221-0/+6
| | | | | | | | | | | | | | With inetd.conf files that skip argv[], inetd execs programs with argc==0. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * ip: Fix command line option parsing of "ip route get ..."Christian Hornung2010-11-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | I found and fixed a bug in the command line options parsing of "ip route get": It was impossible to get any option other than the IP address recognized correctly, and e.g. the command "ip route get connected" just hung up infinitely in the options parsing loop instead of printing an error message. Signed-off-by: Christian Hornung <chhornung@googlemail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * networking/*: remove superfluous commentsDenys Vlasenko2010-10-305-11/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * whitespace cleanupDenys Vlasenko2010-10-2928-132/+103
| | | | | | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * ifupdown: add manual method for IPv6. Closes bug 2497.Denys Vlasenko2010-10-291-55/+68
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * telnet: do not check for 0 return from poll (it's impossible)Denys Vlasenko2010-10-291-24/+24
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * telnet: convert CR NUL -> CR on input. Closes bug 2569Denys Vlasenko2010-10-291-69/+63
| | | | | | | | | | | | | | function old new delta telnet_main 1558 1594 +36 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * dnsd: fix 64-bit bug 2539.Denys Vlasenko2010-10-291-1/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Merge commit 'e4dcba1c103dc28e927e004791e331aaf604383d'Nguyễn Thái Ngọc Duy2011-01-049-17/+17
|\| | | | | | | | | Conflicts: libbb/make_directory.c
| * *: whitespace fixesDenys Vlasenko2010-10-289-17/+17
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Merge commit 'e4dcba1c103dc28e927e004791e331aaf604383d^'Nguyễn Thái Ngọc Duy2011-01-041-79/+119
|\|
| * netstat: was using buffers one byte short for scanf (no place for NUL). fixingDenys Vlasenko2010-10-281-3/+6
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * netstat: fix IPv6 problem (garbage in scope_id); code shrinkDenys Vlasenko2010-10-271-47/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta add_to_prg_cache_if_socket - 253 +253 print_inet_line 226 241 +15 udp_do_one 119 131 +12 tcp_do_one 65 77 +12 unix_do_one 530 529 -1 dir_act 215 207 -8 netstat_main 585 553 -32 .rodata 145592 145525 -67 file_act 255 - -255 ------------------------------------------------------------------------------ (add/remove: 1/1 grow/shrink: 3/4 up/down: 292/-363) Total: -71 bytes Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * netstat: fix -r display in usage textBob Dunlop2010-10-271-28/+50
| | | | | | | | | | Signed-off-by: Bob Dunlop <bob.dunlop@xyzzy.org.uk> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Merge commit '6722737ece4b8db3e30b53aef8f981f53db1621e^'Nguyễn Thái Ngọc Duy2011-01-047-78/+261
|\|
| * nbd-client: kill unused variable (total 0 bytes)Alexander Shishkin2010-10-221-0/+2
| | | | | | | | | | Signed-off-by: Alexander Shishkin <virtuoso@slind.org> Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * udhcpd: reduce stack usage by ~700 bytes. +28 bytes code sizeDenys Vlasenko2010-10-212-5/+14
| | | | | | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * ntpd: fix usage text and a typo in constant nameLeonid Lisovskiy2010-10-201-5/+5
| | | | | | | | | | Signed-off-by: Leonid Lisovskiy <lly.dev@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * udhcpc: exit if iface disappeared; use correct MAC if it changesDenys Vlasenko2010-10-201-6/+14
| | | | | | | | | | | | | | function old new delta udhcpc_main 2560 2618 +58 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * udhcpc: reduce stack usage by de-inlining routines with on-stack pkt bufDenys Vlasenko2010-10-201-10/+11
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * udhcpc: periodically reread our ifindex and macDenys Vlasenko2010-10-201-0/+10
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * udhcpc: emit maxsize option in all non-NAK type packetsDenys Vlasenko2010-10-201-18/+90
| | | | | | | | | | | | Before, we were sending them only in DISCOVER packets. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * dhcp: typo fix: UPD_DHCP_SIZE -> UDP_DHCP_SIZEDenys Vlasenko2010-10-202-7/+7
| | | | | | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * udhcpc: better help textDenys Vlasenko2010-10-201-9/+15
| | | | | | | | | | | | | | function old new delta packed_usage 27452 27486 +34 Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * udhcpc: remove now-unneeded definitions of vendor and client-id optsDenys Vlasenko2010-10-201-3/+4
| | | | | | | | | | | | | | function old new delta dhcp_optflags 68 64 -4 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * udhcpc: remove -c CLIENTID, it is hard to use, -x 61:hexstring does the same ↵Denys Vlasenko2010-10-202-41/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | better function old new delta packed_usage 27802 27808 +6 static.udhcpc_longopts 261 250 -11 udhcpc_main 2799 2780 -19 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/2 up/down: 6/-30) Total: -24 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>