aboutsummaryrefslogtreecommitdiff
path: root/networking/nc.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* nc, hush: cosmetic cleanups, no code changesDenys Vlasenko2009-06-011-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* add FEATURE_UNIX_LOCAL. By Ingo van Lil (inguin AT gmx.de)Denis Vlasenko2009-04-251-20/+18
|
* nc: free lsa in server mode, we might be up for a long timeDenis Vlasenko2009-04-211-2/+2
|
* *: mass renaming of USE_XXXX to IF_XXXXDenis Vlasenko2009-04-211-13/+13
| | | | | | and SKIP_XXXX to IF_NOT_XXXX - the second one was especially badly named. It was not skipping anything!
* *: a bit of code shrinkDenis Vlasenko2008-11-091-1/+2
| | | | | | | | | | | | | | function old new delta stop_handler 41 38 -3 sulogin_main 508 504 -4 got_cont 4 - -4 cont_handler 11 - -11 startservice 309 297 -12 processorstart 423 409 -14 tcpudpsvd_main 1861 1843 -18 ------------------------------------------------------------------------------ (add/remove: 0/2 grow/shrink: 0/5 up/down: 0/-66) Total: -66 bytes
* *: rename ATTRIBUTE_XXX to just XXX.Denis Vlasenko2008-07-051-1/+1
|
* sendmail: fix wrong vfork usage here tooDenis Vlasenko2008-07-011-6/+3
| | | | | | | | | | | | *: shorten error texts function old new delta launch_helper - 151 +151 vfork_or_die 20 - -20 sendgetmail_main 1946 1848 -98 ------------------------------------------------------------------------------ (add/remove: 1/1 grow/shrink: 0/1 up/down: 151/-118) Total: 33 bytes
* - use EXIT_{SUCCESS,FAILURE}. No object-code changesBernhard Reutner-Fischer2008-05-191-1/+1
|
* *: fix fallout from -Wunused-parameterDenis Vlasenko2008-03-171-1/+1
| | | | | | | | | | | | | | | | | | function old new delta bbunpack 358 366 +8 passwd_main 1070 1072 +2 handle_incoming_and_exit 2651 2653 +2 getpty 88 86 -2 script_main 975 972 -3 inetd_main 2036 2033 -3 dname_enc 377 373 -4 make_new_session 474 462 -12 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 3/5 up/down: 12/-24) Total: -12 bytes text data bss dec hex filename 797429 658 7428 805515 c4a8b busybox_old 797417 658 7428 805503 c4a7f busybox_unstripped
* mount: recognize "dirsync" (closes bug 835)Denis Vlasenko2008-02-181-7/+10
| | | | | | mount: sanitize environ if called by non-root *: adjust for slightly different sanitize routine
* - be C99 friendly. Anonymous unions are a GNU extension. This change isBernhard Reutner-Fischer2008-01-291-3/+3
| | | | | size-neutral WRT -std=gnu99 and fixes several compilation errors for strict C99 mode.
* add -fvisibility=hidden to CC flags, mark XXX_main functionsDenis Vlasenko2007-10-111-1/+1
| | | | | EXTERNALLY_VISIBLE. 5% size reduction of libbusybox.so
* introduce and use close_on_exec_on(fd). -50 bytes.Denis Vlasenko2007-09-301-1/+1
|
* Audit bb_common_bufsiz usage, add script which looks for misuse.Denis Vlasenko2007-06-041-5/+3
| | | | | | tr: stop using globals needlessly. code: -103 bytes
* usage.c: remove reference to busybox.hDenis Vlasenko2007-05-261-1/+1
| | | | | *: s/include "busybox.h"/include "libbb.h"
* nc: port nc 1.10 to busyboxDenis Vlasenko2007-04-051-0/+5
|
* tcpsvd: new appletDenis Vlasenko2007-04-011-1/+1
| | | | | | | | | | It's a GPL-ed 'clone' of Dan Bernstein's tcpserver. Author: Gerrit Pape <pape@smarden.org> http://smarden.sunsite.dk/ipsvd/ size tcpsvd.o text data bss dec hex filename 2571 4 16 2591 a1f tcpsvd.o
* EXEC_PREFER_APPLETS support by Gabriel L. Somlo <somlo@cmu.edu>Denis Vlasenko2007-02-061-1/+1
|
* suppress warnings about easch <applet>_main() havingDenis Vlasenko2007-02-031-0/+1
| | | | no preceding prototype
* cleanups: unnecessary casts, unified const_1, eliminate cross-.c fileDenis Vlasenko2007-01-221-9/+6
| | | | | prototypes (heresy!), add spaces in places like "flags&NETSTAT_CONNECTED", removed unused #defines, #ifdef -> #if, use uint32_t for ipv4 addrs.
* fixing bugs revealed by randomconfig runsDenis Vlasenko2007-01-201-1/+1
|
* next part of ipv6-ization. mostly netcat.Denis Vlasenko2007-01-121-54/+49
|
* next part of ipv6-ization is here: wget & httpdDenis Vlasenko2007-01-121-1/+5
|
* use xbind, xconnect where appropriate.Denis Vlasenko2006-12-231-2/+1
| | | | small edits to arping
* nc: add missing castDenis Vlasenko2006-12-181-1/+1
| | | | xfuncs: add dprintf for dietlibc
* introduce setsockopt_reuseaddr(int fd), setsockopt_broadcast(int fd),Denis Vlasenko2006-11-221-2/+1
| | | | | use them where appropriate. 200 bytes saved
* small ipv6 doc changes; nslookup a tiny bit smallerDenis Vlasenko2006-11-071-1/+1
|
* nc: fix 2 my own buglets, and few someone else's too.Denis Vlasenko2006-10-161-34/+61
|
* attempt to regularize atoi mess.Denis Vlasenko2006-10-081-10/+12
|
* whitespace cleanupDenis Vlasenko2006-09-171-6/+6
|
* Remove bb_ prefixes from xfuncs.c (and a few other places), consolidateRob Landley2006-08-031-4/+4
| | | | | | | | | | things like xasprintf() into xfuncs.c, remove xprint_file_by_name() (it only had one user), clean up lots of #includes... General cleanup pass. What I've been doing for the last couple days. And it conflicts! I've removed httpd.c from this checkin due to somebody else touching that file. It builds for me. I have to catch a bus. (Now you know why I'm looking forward to Mercurial.)
* Cleaup read() and write() variants, plus a couple of new functions likeRob Landley2006-07-161-7/+5
| | | | xlseek and fdlength() for the new mkswap.
* Upgrade netcat a lot. Make -e able to take the rest of the command line asRob Landley2006-07-101-100/+102
| | | | | | | what to exec. Add -f mode and a brief explanation of how to use it to replace minicom. Add -l -l mode so you can turn any command into a server. And group all of netcat's command line options under two CONFIG entries, so if you disable both it doesn't use getopt at all.
* Consolidate #include <sys/time.h> so libbb.h does it.Rob Landley2006-05-271-1/+0
|
* Remove a pointless #define.Rob Landley2006-05-251-4/+5
|
* - patch from Denis Vlasenko to add bb_xbind() and bb_xlisten()Bernhard Reutner-Fischer2006-04-121-5/+2
|
* - patch from Denis Vlasenko to add and use bb_xsocket() and to useBernhard Reutner-Fischer2006-04-121-15/+2
| | | | | bb_xopen some more while at it. Also use shorter boilerplate while at it.
* just whitespaceTim Riker2006-01-251-2/+2
|
* common BUFSIZ BSS buffer, small reduce code, data and bss"Vladimir N. Oleynik"2005-10-151-1/+3
|
* applying fix for: Paul Fox2005-07-201-7/+0
| | | | | | 0000263: nc cannot use -e when initiating a tcp connection to something else
* fix for "0000027: patch: nc will spin if stdin closed"Paul Fox2005-07-181-2/+5
|
* use shared busybox error messages to save a few bytesMike Frysinger2005-05-071-5/+5
|
* make the exec (-e) an optional feature of netcatMike Frysinger2005-05-061-16/+11
|
* In bug 247, haveaniceday writes:Mike Frysinger2005-05-061-2/+21
| | | | | The option "-w secs" adds a timeout for writing.
* s/fileno\(stdin\)/STDIN_FILENO/gEric Andersen2004-03-271-1/+1
| | | | s/fileno\(stdout\)/STDOUT_FILENO/g
* Remove trailing whitespace. Update copyright to include 2004.Eric Andersen2004-03-151-3/+3
|
* Modify bb_lookup_port to allow the protocol to be specified, allowingGlenn L McGrath2004-01-171-3/+3
| | | | /etc/services support for inetd, netcat and tftp.
* Major coreutils update.Manuel Novoa III2003-03-191-12/+12
|
* Tom Oehser noticed that we were lacking the SO_REUSEADDR flag.Eric Andersen2002-05-051-2/+4
|