Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-07-25 | echo behaves differently in sh and csh, only handling C-style escapes | Philip Guenthe | |
in the former, so switch an example that needs them to use printf instead. From bcr at freebsd.org. ok halex@ | |||
2010-07-03 | Fix the naming of interfaces and variables for rdomains and rtables | Philip Guenthe | |
and make it possible to bind sockets (including listening sockets!) to rtables and not just rdomains. This changes the name of the system calls, socket option, and ioctl. After building with this you should remove the files /usr/share/man/cat2/[gs]etrdomain.0. Since this removes the existing [gs]etrdomain() system calls, the libc major is bumped. Written by claudio@, criticized^Wcritiqued by me | |||
2010-04-20 | Bump the default buffer sizes to be larger than default MTUs, from Jan | Nicholas Marriott | |
Zeleny. ok djm | |||
2010-04-20 | Allocate the port number properly (don't allocate space then ignore it), | Nicholas Marriott | |
and use %zu for size_t. ok djm | |||
2010-02-27 | Fix the atelnet() function, which was wrong in several ways. | Nicholas Marriott | |
Pointed out by obsd at happyjack.org, fix based on a diff from kili@. ok deraadt | |||
2010-02-23 | Fix the worst among the fatal block-nesting issues we have in our tree, | Ingo Schwarze | |
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@ | |||
2009-10-22 | write UNIX-domain in a more consistent way; while here, replace a | Igor Sobrado | |
few remaining ".Tn UNIX" macros with ".Ux" ones. pointed out by ratchov@, thanks! ok jmc@ | |||
2009-10-22 | use the UNIX-related macros (.At and .Ux) where appropriate. | Igor Sobrado | |
ok jmc@ | |||
2009-10-08 | Do not write "Connection to ... succeeded" messages to stdout. | Marco Pfatschbacher | |
OK gilles, rainer, millert, deraadt. | |||
2009-06-05 | tweak -V; | Jason McIntyre | |
2009-06-05 | The networking swissarmy knife needs to work on alternate domains as well. | Claudio Jeker | |
Again -V can be used to specify the domain. | |||
2008-09-19 | documentation tweaks; synchronize synopsis and usage. | Igor Sobrado | |
written with help by jmc@ ok jmc@ | |||
2008-05-09 | try SO_BINDANY for -s, but do not insist; ok bob, reyk | Markus Friedl | |
2008-05-06 | - put the description of -O in the right place | Jason McIntyre | |
- shorten the argument names to -IO | |||
2008-05-06 | allow setting of TCP send/receive buffer sizes; ok markus@ | Damien Miller | |
2007-09-07 | Synced atomicio implementation in nc and sendbug with ssh. | Tobias Stoeckmann | |
OK djm@, joris@, ray@ | |||
2007-05-31 | convert to new .Dd format; | Jason McIntyre | |
2007-02-20 | usage(): add -P and tweak -X; from Igor Sobrado | Jason McIntyre | |
2006-12-02 | tweaks; from claus assmann (pr #5317); | Jason McIntyre | |
2006-09-25 | Also accept "HTTP/1.1 200" as a success response. | Ray Lai | |
OK djm@. | |||
2006-06-02 | strtoul() -> strtonum(). Also change iflag to unsigned int, since | Ray Lai | |
sleep takes an unsigned integer. OK moritz@, jaredy@, and dhill@ | |||
2006-02-11 | type correctness; from Ray Lai in PR 5011; ok millert@ | Otto Moerbeek | |
2006-02-01 | remove obsolete code; from Ray Lai in PR 4998; ok tedu@ beck@ | Otto Moerbeek | |
2006-01-31 | use "proxy_protocol" as the arg to -X, not "proxy_version"; | Jason McIntyre | |
from ray lai; | |||
2006-01-25 | implement HTTP proxy authentication support, very useful in a ssh_config | Damien Miller | |
ProxyCommand; ok beck@ | |||
2006-01-20 | Explicitly include limits.h if we are going to use its contents. | Todd C. Miller | |
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 | |