Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Bump the default buffer sizes to be larger than default MTUs, from Jan | nicm | 2010-04-20 | 1 | -5/+5 | |
| | | | | | | Zeleny. ok djm | |||||
* | Allocate the port number properly (don't allocate space then ignore it), | nicm | 2010-04-20 | 2 | -12/+11 | |
| | | | | | | and use %zu for size_t. ok djm | |||||
* | Fix the atelnet() function, which was wrong in several ways. | nicm | 2010-02-27 | 1 | -13/+13 | |
| | | | | | | Pointed out by obsd at happyjack.org, fix based on a diff from kili@. ok deraadt | |||||
* | Fix the worst among the fatal block-nesting issues we have in our tree, | schwarze | 2010-02-23 | 1 | -4/+4 | |
| | | | | | | | | | | | | in the end simply changing Oo Xo Oo Oc Oc Xc to Oo Xo Oo Oc Xc Oc. I tried five different variants without the Xo/Xc, because there is no real reason why Xo/Xc should be needed here, and two additional variants with Xo/Xc that look more pretty than what i'm now committing. All seven alternatives work both with mandoc and groff 1.20.1, but all seven trigger various different bugs in our old groff, and we still need to remain compatible with our old groff right now. ok jmc@ sobrado@ | |||||
* | write UNIX-domain in a more consistent way; while here, replace a | sobrado | 2009-10-22 | 1 | -5/+5 | |
| | | | | | | | | few remaining ".Tn UNIX" macros with ".Ux" ones. pointed out by ratchov@, thanks! ok jmc@ | |||||
* | use the UNIX-related macros (.At and .Ux) where appropriate. | sobrado | 2009-10-22 | 1 | -4/+8 | |
| | | | | ok jmc@ | |||||
* | Do not write "Connection to ... succeeded" messages to stdout. | mpf | 2009-10-08 | 1 | -3/+5 | |
| | | | | OK gilles, rainer, millert, deraadt. | |||||
* | tweak -V; | jmc | 2009-06-05 | 1 | -2/+3 | |
| | ||||||
* | The networking swissarmy knife needs to work on alternate domains as well. | claudio | 2009-06-05 | 2 | -6/+29 | |
| | | | | Again -V can be used to specify the domain. | |||||
* | documentation tweaks; synchronize synopsis and usage. | sobrado | 2008-09-19 | 2 | -10/+11 | |
| | | | | | | written with help by jmc@ ok jmc@ | |||||
* | try SO_BINDANY for -s, but do not insist; ok bob, reyk | markus | 2008-05-09 | 1 | -2/+4 | |
| | ||||||
* | - put the description of -O in the right place | jmc | 2008-05-06 | 1 | -6/+6 | |
| | | | | - shorten the argument names to -IO | |||||
* | allow setting of TCP send/receive buffer sizes; ok markus@ | djm | 2008-05-06 | 2 | -5/+38 | |
| | ||||||
* | Synced atomicio implementation in nc and sendbug with ssh. | tobias | 2007-09-07 | 2 | -13/+24 | |
| | | | | OK djm@, joris@, ray@ | |||||
* | convert to new .Dd format; | jmc | 2007-05-31 | 1 | -2/+2 | |
| | ||||||
* | usage(): add -P and tweak -X; from Igor Sobrado | jmc | 2007-02-20 | 1 | -3/+3 | |
| | ||||||
* | tweaks; from claus assmann (pr #5317); | jmc | 2006-12-02 | 1 | -3/+3 | |
| | ||||||
* | Also accept "HTTP/1.1 200" as a success response. | ray | 2006-09-25 | 1 | -2/+3 | |
| | | | | OK djm@. | |||||
* | strtoul() -> strtonum(). Also change iflag to unsigned int, since | ray | 2006-06-02 | 1 | -23/+21 | |
| | | | | | | sleep takes an unsigned integer. OK moritz@, jaredy@, and dhill@ | |||||
* | type correctness; from Ray Lai in PR 5011; ok millert@ | otto | 2006-02-11 | 1 | -2/+2 | |
| | ||||||
* | remove obsolete code; from Ray Lai in PR 4998; ok tedu@ beck@ | otto | 2006-02-01 | 1 | -8/+1 | |
| | ||||||
* | use "proxy_protocol" as the arg to -X, not "proxy_version"; | jmc | 2006-01-31 | 1 | -2/+2 | |
| | | | | from ray lai; | |||||
* | implement HTTP proxy authentication support, very useful in a ssh_config | djm | 2006-01-25 | 3 | -23/+95 | |
| | | | | ProxyCommand; ok beck@ | |||||
* | Explicitly include limits.h if we are going to use its contents. | millert | 2006-01-20 | 1 | -1/+2 | |
| | ||||||
* | Make set_common_sockopts() a void since it doesn't return anything anyway. | dtucker | 2005-10-25 | 1 | -3/+3 | |
| | | | | Makes netcat -Wall clean. ok djm@ | |||||
* | Add a -T option to nc to allow setting of IP type-of-service bits on | dtucker | 2005-10-25 | 2 | -4/+43 | |
| | | | | connections. Man page corrections jmc@, code corrections and ok djm@ | |||||
* | correct rval check for socket(). from alf schlichting. ok markus@ | marius | 2005-07-24 | 1 | -2/+2 | |
| | ||||||
* | oops... .Dl does not like to be inundated with args, and my last commit just | jmc | 2005-07-17 | 1 | -3/+4 | |
| | | | | exceeded the happy number - use a display instead. | |||||
* | some improvements from alf schlichting: | jmc | 2005-07-17 | 1 | -14/+11 | |
| | | | | | | | | | | - 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 | |||||
* | set jumbo flag on the listener, too. consolidate some common code. | marius | 2005-05-28 | 1 | -28/+29 | |
| | | | | ok mcbride@ | |||||
* | Experimental support for opportunitic use of jumbograms where only some hosts | mcbride | 2005-05-27 | 1 | -8/+22 | |
| | | | | | | | | | | | | | | 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@ | |||||
* | style nit from hshoexer@ | avsm | 2005-05-26 | 1 | -1/+2 | |
| | ||||||
* | Switch atomicio to a simpler interface which returns size_t and uses | avsm | 2005-05-24 | 4 | -55/+78 | |
| | | | | | | | 0 to signal errors. should be no functional change in nc apart from different error messages. "groovy", said deraadt@ | |||||
* | Teach the SOCKS5 code more of the protocol, so it can send domain names | djm | 2005-05-20 | 1 | -56/+102 | |
| | | | | | | 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@ | |||||
* | HTTP proxy doesn't need an address lookup - saves some time and avoids a | djm | 2005-05-20 | 1 | -2/+4 | |
| | | | | spurious error if the lookup fails. from Ray; ok markus@ | |||||
* | cross reference proxy example to relevant ssh option; | jmc | 2005-05-20 | 1 | -3/+11 | |
| | | | | originally from ray; help/ok djm@ | |||||
* | fix SOCKS5 code for case where data comes in the same packet as the response; | djm | 2005-05-19 | 1 | -2/+2 | |
| | | | | ok dtucker@ markus@ | |||||
* | KNF, no binary change; ok jaredy@ | djm | 2005-05-19 | 1 | -44/+44 | |
| | ||||||
* | Initialize len before calling accept(2). from mpech@, ok millert@ | otto | 2005-04-10 | 1 | -1/+2 | |
| | ||||||
* | use a standard hostname in EXAMPLES (host.example.com), which also | jmc | 2005-02-21 | 1 | -11/+12 | |
| | | | | | | fixes an error; from ray; | |||||
* | Some extra strict warning cleanup. From Xin Li <delphij at FreeBSD | otto | 2005-02-08 | 3 | -13/+14 | |
| | | | | dot ORG> with a twist from myself. No binary change. ok djm@ | |||||
* | better wording for -l; | jmc | 2005-01-07 | 1 | -3/+3 | |
| | ||||||
* | - better documenting of `host' and `port[s]' | jmc | 2005-01-07 | 1 | -4/+25 | |
| | | | | - note that -l ignores timeouts | |||||
* | explicitly mention port in an example; | jmc | 2004-12-31 | 1 | -2/+2 | |
| | | | | from fgsch@ | |||||
* | provide a valid sockaddr_storage structure to be used as second argument for | hshoexer | 2004-12-10 | 1 | -2/+2 | |
| | | | | | | accept(2) ok djm markus | |||||
* | http proxy CONNECT support; ok beck@ | djm | 2004-10-17 | 3 | -26/+111 | |
| | ||||||
* | remove return error variables.. set but never used | deraadt | 2004-09-15 | 1 | -15/+11 | |
| | ||||||
* | ansi; khalek@linuxgamers.net | deraadt | 2004-07-20 | 1 | -5/+1 | |
| | ||||||
* | add -D for sodebug; ok deraadt, jmc | markus | 2004-07-15 | 2 | -5/+22 | |
| | ||||||
* | add keeps to SYNOPSIS and sync usage(); | jmc | 2004-03-12 | 2 | -5/+7 | |
| |