summaryrefslogtreecommitdiff
path: root/src/usr.bin/nc (follow)
Commit message (Collapse)AuthorAgeFilesLines
* add keeps to SYNOPSIS and sync usage();jmc2004-03-122-5/+7
|
* Print error when connect() fails. ok markus@ deraadt@mcbride2004-03-071-1/+4
|
* spaces, was reading code..deraadt2004-03-031-4/+4
|
* add -d to usage too, from carson hardingtedu2004-03-032-4/+5
|
* resolve pr3694. add -d [etached] to ignore stdin. ok henning@ mcbride@tedu2004-03-012-5/+11
|
* - sort options and SYNOPSISjmc2004-02-202-94/+226
| | | | | | | | | | - better document which options do/don't work together - add sections showing some possible uses of nc - code (comment) typos - sync usage() and help suggestions/improvements from otto@ ok deraadt@
* rename tcp sockopt TCP_SIGNATURE_ENABLE to TCP_MD5SIGhenning2004-01-311-3/+3
| | | | | requested by theo ok markus@ hshoexer@
* -S enables tcp md5 signature option; ok deraadt@, mcbride@markus2004-01-222-6/+25
|
* check alloca; pointed out by nimadeus@pandora.bederaadt2003-10-191-2/+3
|
* Off-by-ones, from aaron@miod2003-09-221-2/+2
|
* document -w timeout; from cedric@jmc2003-09-051-1/+15
| | | | ok deraadt@
* refer to RFCs consistently (RFC XXXX);jmc2003-08-081-2/+2
|
* Kill dead code after errx(). From Andrey Matveev; ericj@ OKmillert2003-07-251-5/+2
|
* protosderaadt2003-07-073-6/+10
|
* in the unix domain socket case, give an ENAMETOOLONG error instead ofavsm2003-07-071-3/+17
| | | | | silently truncating the socket file millert@ ok
* more proto fixesderaadt2003-06-262-6/+12
|
* mostly ansi cleanup; pval okderaadt2003-06-101-2/+2
|
* fix various 3/4 licenses according to "terms" filederaadt2003-06-031-6/+1
|
* Grammar fix - remove bogus comma; jmc@prioris.mini.pw.edu.plpvalchev2003-01-051-2/+2
|
* use err vs. errx and display function; from Owl. ok fgsch@stevesk2002-12-301-4/+4
|
* include function in error; from Owl. ok fgsch@stevesk2002-12-301-4/+4
|
* correct return code check; from Owl. ok fgsch@stevesk2002-12-301-2/+2
|
* fix calloc's. also check for errors; fixes PR/3043.fgsch2002-12-281-5/+10
|
* Recent modifications to netcat changed the behaviour to only exit when bothaaron2002-12-131-2/+2
| | | | | | the read (network) and write (stdin) ends of the socket were both closed. This is not how nc traditionally works. Instead, revert back to finishing up when read() on the socket returns 0; deraadt@, vincent@ ok.
* $ in front of commandsderaadt2002-11-141-13/+13
|
* update usage; ok ericj@markus2002-11-131-3/+4
|
* correct handling of EOF on both tty input and network. for example,vincent2002-07-041-11/+15
| | | | | | | this allows stuff like nc -l 10101 < /dev/null to have nc exit automatically when it gets EOF from the network. ok ericj@
* define SUN_LEN if it is not already for portability.vincent2002-07-011-1/+6
| | | | millert made the same suggestion, so i guess it's ok ;)
* use SUN_LEN to calculate AF_UNIX sockaddr's length. + some stylevincent2002-07-011-22/+18
| | | | ok ericj@
* Avoid spinning poll, and while we're at it more closely reproduce thehugh2002-05-301-3/+9
| | | | original netcat's timeout behaviour. Theo says go.
* more snprintfderaadt2002-05-291-2/+2
|
* check that we got the port before trying to listenericj2002-03-101-2/+2
| | | | pr 2436; Alexander Yurchenko <grange@rt.mipt.ru>
* add support for SOCKS4 with option -X socks_version, default is 5; ok ericj@markus2002-02-283-47/+86
|
* remove more old cruftericj2002-02-1912-729/+0
|
* man page fixesericj2002-02-191-8/+5
| | | | from Kevin Steves <stevesk@pobox.com>
* -Wall cleanup.ericj2002-02-192-4/+8
| | | | from Kevin Steves <stevesk@pobox.com>
* remove old cruftericj2002-02-1912-831/+0
|
* Manual cleanup of remaining userland __P use (excluding packages maintained ↵millert2002-02-171-2/+2
| | | | outside the tree)
* oops, add -U to usageericj2002-02-171-2/+2
|
* add support for connecting too and listening on AF_UNIX sockets.ericj2002-02-172-13/+111
| | | | connect support from dave@arbor.net.. rest by me
* fix pr#2091. patch applied.ericj2002-02-171-2/+2
| | | | | patch from Brian J. Kifiak <bk@rt.fm> should be looked at closer..
* Part one of userland __P removal. Done with a simple regexp with some minor ↵millert2002-02-161-9/+9
| | | | hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
* kill more registersmpech2001-11-193-17/+17
| | | | millert@ ok
* remove bogus error-check, resolve pr#2147jakob2001-10-281-4/+1
|
* fix getaddrinfo error handlingjakob2001-10-281-2/+2
|
* fix stupid typojakob2001-10-281-1/+1
|
* remove unused variablejakob2001-10-281-2/+1
|
* KNF + ansijakob2001-09-021-34/+20
|
* update command summaryjakob2001-09-021-3/+4
|
* remove unused variablejakob2001-09-021-3/+1
|