Age | Commit message (Collapse) | Author | |
---|---|---|---|
2005-10-25 | Make set_common_sockopts() a void since it doesn't return anything anyway. | Darren Tucker | |
Makes netcat -Wall clean. ok djm@ | |||
2005-10-25 | Add a -T option to nc to allow setting of IP type-of-service bits on | Darren Tucker | |
connections. Man page corrections jmc@, code corrections and ok djm@ | |||
2005-07-24 | correct rval check for socket(). from alf schlichting. ok markus@ | marius eriksen | |
2005-07-17 | oops... .Dl does not like to be inundated with args, and my last commit just | Jason McIntyre | |
exceeded the happy number - use a display instead. | |||
2005-07-17 | some improvements from alf schlichting: | Jason McIntyre | |
- correct syntax for retrieving an http page. this example further corrected by ian darwin (thanks!) - the -v flag is relatively useless when port scanning, so remove it from the example, and reword the description appropriately - udp port scans always report ports as open (i.e. are useless) so remove example claiming it works, and add CAVEATS to note that -uz is relatively useless | |||
2005-05-28 | set jumbo flag on the listener, too. consolidate some common code. | marius eriksen | |
ok mcbride@ | |||
2005-05-27 | Experimental support for opportunitic use of jumbograms where only some hosts | Ryan Thomas McBride | |
on the local network support them. This adds a new socket option, SO_JUMBO, and a new route flag, RTF_JUMBO. If _both_ the socket option is set and the route for the host has RTF_JUMBO set, ip_output will fragment the packet to the largest possible size for the link, ignoring the card's MTU. The semantics of this feature will be evolving rapidly; talk to us if you intend to use it. ok deraadt@ marius@ | |||
2005-05-26 | style nit from hshoexer@ | Anil Madhavapeddy | |
2005-05-24 | Switch atomicio to a simpler interface which returns size_t and uses | Anil Madhavapeddy | |
0 to signal errors. should be no functional change in nc apart from different error messages. "groovy", said deraadt@ | |||
2005-05-20 | Teach the SOCKS5 code more of the protocol, so it can send domain names | Damien Miller | |
to the proxy instead of resolving them locally and sending IPv4 addresses. This improves privacy, e.g. when using nc with OpenSSH DynamicForward tunnels, and gives us better IPv6 support; ok beck@ | |||
2005-05-20 | HTTP proxy doesn't need an address lookup - saves some time and avoids a | Damien Miller | |
spurious error if the lookup fails. from Ray; ok markus@ | |||
2005-05-20 | cross reference proxy example to relevant ssh option; | Jason McIntyre | |
originally from ray; help/ok djm@ | |||
2005-05-19 | fix SOCKS5 code for case where data comes in the same packet as the response; | Damien Miller | |
ok dtucker@ markus@ | |||
2005-05-19 | KNF, no binary change; ok jaredy@ | Damien Miller | |
2005-04-10 | Initialize len before calling accept(2). from mpech@, ok millert@ | Otto Moerbeek | |
2005-02-21 | use a standard hostname in EXAMPLES (host.example.com), which also | Jason McIntyre | |
fixes an error; from ray; | |||
2005-02-08 | Some extra strict warning cleanup. From Xin Li <delphij at FreeBSD | Otto Moerbeek | |
dot ORG> with a twist from myself. No binary change. ok djm@ | |||
2005-01-07 | better wording for -l; | Jason McIntyre | |
2005-01-07 | - better documenting of `host' and `port[s]' | Jason McIntyre | |
- note that -l ignores timeouts | |||
2004-12-31 | explicitly mention port in an example; | Jason McIntyre | |
from fgsch@ | |||
2004-12-10 | provide a valid sockaddr_storage structure to be used as second argument for | Hans-Joerg Hoexer | |
accept(2) ok djm markus | |||
2004-10-17 | http proxy CONNECT support; ok beck@ | Damien Miller | |
2004-09-15 | remove return error variables.. set but never used | Theo de Raadt | |
2004-07-20 | ansi; khalek@linuxgamers.net | Theo de Raadt | |
2004-07-15 | add -D for sodebug; ok deraadt, jmc | Markus Friedl | |
2004-03-12 | add keeps to SYNOPSIS and sync usage(); | Jason McIntyre | |
2004-03-07 | Print error when connect() fails. ok markus@ deraadt@ | Ryan Thomas McBride | |
2004-03-03 | spaces, was reading code.. | Theo de Raadt | |
2004-03-03 | add -d to usage too, from carson harding | Ted Unangst | |
2004-03-01 | resolve pr3694. add -d [etached] to ignore stdin. ok henning@ mcbride@ | Ted Unangst | |
2004-02-20 | - sort options and SYNOPSIS | Jason 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-31 | rename tcp sockopt TCP_SIGNATURE_ENABLE to TCP_MD5SIG | Henning Brauer | |
requested by theo ok markus@ hshoexer@ | |||
2004-01-22 | -S enables tcp md5 signature option; ok deraadt@, mcbride@ | Markus Friedl | |
2003-10-19 | check alloca; pointed out by nimadeus@pandora.be | Theo de Raadt | |
2003-09-22 | Off-by-ones, from aaron@ | Miod Vallat | |
2003-09-05 | document -w timeout; from cedric@ | Jason McIntyre | |
ok deraadt@ | |||
2003-08-08 | refer to RFCs consistently (RFC XXXX); | Jason McIntyre | |
2003-07-25 | Kill dead code after errx(). From Andrey Matveev; ericj@ OK | Todd C. Miller | |
2003-07-07 | protos | Theo de Raadt | |
2003-07-07 | in the unix domain socket case, give an ENAMETOOLONG error instead of | Anil Madhavapeddy | |
silently truncating the socket file millert@ ok | |||
2003-06-26 | more proto fixes | Theo de Raadt | |
2003-06-10 | mostly ansi cleanup; pval ok | Theo de Raadt | |
2003-06-03 | fix various 3/4 licenses according to "terms" file | Theo de Raadt | |
2003-01-05 | Grammar fix - remove bogus comma; jmc@prioris.mini.pw.edu.pl | Peter Valchev | |
2002-12-30 | use err vs. errx and display function; from Owl. ok fgsch@ | Kevin Steves | |
2002-12-30 | include function in error; from Owl. ok fgsch@ | Kevin Steves | |
2002-12-30 | correct return code check; from Owl. ok fgsch@ | Kevin Steves | |
2002-12-28 | fix calloc's. also check for errors; fixes PR/3043. | Federico G. Schwindt | |
2002-12-13 | Recent modifications to netcat changed the behaviour to only exit when both | Aaron 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 commands | Theo de Raadt | |