aboutsummaryrefslogtreecommitdiff
path: root/networking/nc.c
AgeCommit message (Collapse)Author
2007-01-12next part of ipv6-ization. mostly netcat.Denis Vlasenko
2007-01-12next part of ipv6-ization is here: wget & httpdDenis Vlasenko
2006-12-23use xbind, xconnect where appropriate.Denis Vlasenko
small edits to arping
2006-12-18nc: add missing castDenis Vlasenko
xfuncs: add dprintf for dietlibc
2006-11-22introduce setsockopt_reuseaddr(int fd), setsockopt_broadcast(int fd),Denis Vlasenko
use them where appropriate. 200 bytes saved
2006-11-07small ipv6 doc changes; nslookup a tiny bit smallerDenis Vlasenko
2006-10-16nc: fix 2 my own buglets, and few someone else's too.Denis Vlasenko
2006-10-08attempt to regularize atoi mess.Denis Vlasenko
2006-09-17whitespace cleanupDenis Vlasenko
2006-08-03Remove bb_ prefixes from xfuncs.c (and a few other places), consolidateRob Landley
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.)
2006-07-16Cleaup read() and write() variants, plus a couple of new functions likeRob Landley
xlseek and fdlength() for the new mkswap.
2006-07-10Upgrade netcat a lot. Make -e able to take the rest of the command line asRob Landley
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.
2006-05-27Consolidate #include <sys/time.h> so libbb.h does it.Rob Landley
2006-05-25Remove a pointless #define.Rob Landley
2006-04-12- patch from Denis Vlasenko to add bb_xbind() and bb_xlisten()Bernhard Reutner-Fischer
2006-04-12- patch from Denis Vlasenko to add and use bb_xsocket() and to useBernhard Reutner-Fischer
bb_xopen some more while at it. Also use shorter boilerplate while at it.
2006-01-25just whitespaceTim Riker
2005-10-15common BUFSIZ BSS buffer, small reduce code, data and bss"Vladimir N. Oleynik"
2005-07-20applying fix for: Paul Fox
0000263: nc cannot use -e when initiating a tcp connection to something else
2005-07-18fix for "0000027: patch: nc will spin if stdin closed"Paul Fox
2005-05-07use shared busybox error messages to save a few bytesMike Frysinger
2005-05-06make the exec (-e) an optional feature of netcatMike Frysinger
2005-05-06In bug 247, haveaniceday writes:Mike Frysinger
The option "-w secs" adds a timeout for writing.
2004-03-27s/fileno\(stdin\)/STDIN_FILENO/gEric Andersen
s/fileno\(stdout\)/STDOUT_FILENO/g
2004-03-15Remove trailing whitespace. Update copyright to include 2004.Eric Andersen
2004-01-17Modify bb_lookup_port to allow the protocol to be specified, allowingGlenn L McGrath
/etc/services support for inetd, netcat and tftp.
2003-03-19Major coreutils update.Manuel Novoa III
2002-05-05Tom Oehser noticed that we were lacking the SO_REUSEADDR flag.Eric Andersen
2002-04-26Add netcat -i option, per patch from Cristian Ionescu-IdbohrnEric Andersen
<cristian.ionescu-idbohrn@axis.com>
2001-05-16Add xgethostbyname and herror_msg* functions.Matt Kraai
2001-05-15Fix incorrect length passed to accept noted by Larry Doolittle.Matt Kraai
2001-03-09Patchs from Jeff Garzik <jgarzik@mandrakesoft.com> to cleanupEric Andersen
warnings with glibc 2.2 and use always use xfopen -Erik
2001-02-20It turns out that DODMALLOC was broken when I reorganized busybox.hEric Andersen
header file usage before the 0.49 release. To fix it, I had to move the '#include "busybox.h"' to the end of the list of #include files. -Erik
2001-02-14This patch, put together by Manuel Novoa III, is a merge of workEric Andersen
done by Evin Robertson (bug#1105) and work from Manuel to make usage messages occupy less space and simplify how usage messages are displayed.
2001-02-07Add listening support.Matt Kraai
2001-01-31Removed trailing \n from error_msg{,_and_die} messages.Matt Kraai
2001-01-24Remove the warning messages. By consensus, netkit-tiny doesn'tEric Andersen
need to happen.
2001-01-24Fix spelling. s/maintainence/maintenance/Eric Andersen
2001-01-22Warn about apps that will be going away in release 0.50Eric Andersen
-Erik
2000-12-15Rewrite nc to be simpler, smaller, and to check syscalls for errors.Matt Kraai
2000-12-14Shutdown sending on the socket when stdin closes.Matt Kraai
2000-12-07Changed names of functions in utility.c and all affected files, to makeMark Whitley
compliant with the style guide. Everybody rebuild your tags file!
2000-09-25Renamed "internal.h" to the more sensible "busybox.h".Eric Andersen
-Erik
2000-07-16Extract usage information into a separate file.Matt Kraai
2000-07-12Always report the applet name when doing error reporting.Matt Kraai
2000-06-04"nc" exits silently on errors. This patch makes it print something beforeEric Andersen
exit(). Note that calling perror() after gethostbyname() will most likely return "No such file or directory" which is quite confusing, so I decided to use fatalError instead. Regards, Pavel Roskin
2000-05-12Lots of updates. Finished implementing BB_FEATURE_TRIVIAL_HELPErik Andersen
which lets you compile out most of the "--help" output, saving up to 17k. Renamed mnc to nc. -Erik