summaryrefslogtreecommitdiff
path: root/usr.bin/nc
AgeCommit message (Collapse)Author
2004-03-12add keeps to SYNOPSIS and sync usage();Jason McIntyre
2004-03-07Print error when connect() fails. ok markus@ deraadt@Ryan Thomas McBride
2004-03-03spaces, was reading code..Theo de Raadt
2004-03-03add -d to usage too, from carson hardingTed Unangst
2004-03-01resolve pr3694. add -d [etached] to ignore stdin. ok henning@ mcbride@Ted Unangst
2004-02-20- sort options and SYNOPSISJason McIntyre
- 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@
2004-01-31rename tcp sockopt TCP_SIGNATURE_ENABLE to TCP_MD5SIGHenning Brauer
requested by theo ok markus@ hshoexer@
2004-01-22-S enables tcp md5 signature option; ok deraadt@, mcbride@Markus Friedl
2003-10-19check alloca; pointed out by nimadeus@pandora.beTheo de Raadt
2003-09-22Off-by-ones, from aaron@Miod Vallat
2003-09-05document -w timeout; from cedric@Jason McIntyre
ok deraadt@
2003-08-08refer to RFCs consistently (RFC XXXX);Jason McIntyre
2003-07-25Kill dead code after errx(). From Andrey Matveev; ericj@ OKTodd C. Miller
2003-07-07protosTheo de Raadt
2003-07-07in the unix domain socket case, give an ENAMETOOLONG error instead ofAnil Madhavapeddy
silently truncating the socket file millert@ ok
2003-06-26more proto fixesTheo de Raadt
2003-06-10mostly ansi cleanup; pval okTheo de Raadt
2003-06-03fix various 3/4 licenses according to "terms" fileTheo de Raadt
2003-01-05Grammar fix - remove bogus comma; jmc@prioris.mini.pw.edu.plPeter Valchev
2002-12-30use err vs. errx and display function; from Owl. ok fgsch@Kevin Steves
2002-12-30include function in error; from Owl. ok fgsch@Kevin Steves
2002-12-30correct return code check; from Owl. ok fgsch@Kevin Steves
2002-12-28fix calloc's. also check for errors; fixes PR/3043.Federico G. Schwindt
2002-12-13Recent modifications to netcat changed the behaviour to only exit when bothAaron Campbell
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.
2002-11-14$ in front of commandsTheo de Raadt
2002-11-13update usage; ok ericj@Markus Friedl
2002-07-04 correct handling of EOF on both tty input and network. for example,Vincent Labrecque
this allows stuff like nc -l 10101 < /dev/null to have nc exit automatically when it gets EOF from the network. ok ericj@
2002-07-01define SUN_LEN if it is not already for portability.Vincent Labrecque
millert made the same suggestion, so i guess it's ok ;)
2002-07-01use SUN_LEN to calculate AF_UNIX sockaddr's length. + some styleVincent Labrecque
ok ericj@
2002-05-30Avoid spinning poll, and while we're at it more closely reproduce theHugh Graham
original netcat's timeout behaviour. Theo says go.
2002-05-29more snprintfTheo de Raadt
2002-03-10check that we got the port before trying to listenEric Jackson
pr 2436; Alexander Yurchenko <grange@rt.mipt.ru>
2002-02-28add support for SOCKS4 with option -X socks_version, default is 5; ok ericj@Markus Friedl
2002-02-19remove more old cruftEric Jackson
2002-02-19man page fixesEric Jackson
from Kevin Steves <stevesk@pobox.com>
2002-02-19-Wall cleanup.Eric Jackson
from Kevin Steves <stevesk@pobox.com>
2002-02-19remove old cruftEric Jackson
2002-02-17Manual cleanup of remaining userland __P use (excluding packages maintained ↵Todd C. Miller
outside the tree)
2002-02-17oops, add -U to usageEric Jackson
2002-02-17add support for connecting too and listening on AF_UNIX sockets.Eric Jackson
connect support from dave@arbor.net.. rest by me
2002-02-17fix pr#2091. patch applied.Eric Jackson
patch from Brian J. Kifiak <bk@rt.fm> should be looked at closer..
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ↵Todd C. Miller
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
2001-11-19kill more registersMike Pechkin
millert@ ok
2001-10-28remove bogus error-check, resolve pr#2147Jakob Schlyter
2001-10-28fix getaddrinfo error handlingJakob Schlyter
2001-10-28fix stupid typoJakob Schlyter
2001-10-28remove unused variableJakob Schlyter
2001-09-02KNF + ansiJakob Schlyter
2001-09-02update command summaryJakob Schlyter
2001-09-02remove unused variableJakob Schlyter