summaryrefslogtreecommitdiff
path: root/usr.bin/nc/nc.1
AgeCommit message (Collapse)Author
2011-01-09Minor tweaks to nc(1) man page and usage.Jeremy Evans
OK jmc@, nicm@, tedu@
2011-01-08Support unix domain sockets in nc(1) with -Uu.Jeremy Evans
Previously, using -U with -u was an error that was not documented in the man page. Now it will use a unix socket in datagram mode. Bidirectional unix datagram communication requires a socket at both ends, so in client mode (without -l), a temporary socket is created so that responses from the server can be received. If -s is specified with -U and -u, it specifies the location of the temporary socket to create. This was mostly written way back in 2007. Since then, various improvements implemented based on suggestions from guenther@, tedu@, and nicm@. Man page help from nicm@ and jmc@. Unix datagram support requires a small change to atomicio.c in order to function correctly, this will be committed separately shortly. OK nicm@
2010-07-25echo behaves differently in sh and csh, only handling C-style escapesPhilip Guenthe
in the former, so switch an example that needs them to use printf instead. From bcr at freebsd.org. ok halex@
2010-07-03Fix the naming of interfaces and variables for rdomains and rtablesPhilip 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-02-23Fix 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-22write UNIX-domain in a more consistent way; while here, replace aIgor Sobrado
few remaining ".Tn UNIX" macros with ".Ux" ones. pointed out by ratchov@, thanks! ok jmc@
2009-10-22use the UNIX-related macros (.At and .Ux) where appropriate.Igor Sobrado
ok jmc@
2009-06-05tweak -V;Jason McIntyre
2009-06-05The networking swissarmy knife needs to work on alternate domains as well.Claudio Jeker
Again -V can be used to specify the domain.
2008-09-19documentation tweaks; synchronize synopsis and usage.Igor Sobrado
written with help by jmc@ ok jmc@
2008-05-06- put the description of -O in the right placeJason McIntyre
- shorten the argument names to -IO
2008-05-06allow setting of TCP send/receive buffer sizes; ok markus@Damien Miller
2007-05-31convert to new .Dd format;Jason McIntyre
2006-12-02tweaks; from claus assmann (pr #5317);Jason McIntyre
2006-01-31use "proxy_protocol" as the arg to -X, not "proxy_version";Jason McIntyre
from ray lai;
2006-01-25implement HTTP proxy authentication support, very useful in a ssh_configDamien Miller
ProxyCommand; ok beck@
2005-10-25Add a -T option to nc to allow setting of IP type-of-service bits onDarren Tucker
connections. Man page corrections jmc@, code corrections and ok djm@
2005-07-17oops... .Dl does not like to be inundated with args, and my last commit justJason McIntyre
exceeded the happy number - use a display instead.
2005-07-17some 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-20cross reference proxy example to relevant ssh option;Jason McIntyre
originally from ray; help/ok djm@
2005-02-21use a standard hostname in EXAMPLES (host.example.com), which alsoJason McIntyre
fixes an error; from ray;
2005-01-07better wording for -l;Jason McIntyre
2005-01-07- better documenting of `host' and `port[s]'Jason McIntyre
- note that -l ignores timeouts
2004-12-31explicitly mention port in an example;Jason McIntyre
from fgsch@
2004-10-17http proxy CONNECT support; ok beck@Damien Miller
2004-07-15add -D for sodebug; ok deraadt, jmcMarkus Friedl
2004-03-12add keeps to SYNOPSIS and sync usage();Jason McIntyre
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-22-S enables tcp md5 signature option; ok deraadt@, mcbride@Markus Friedl
2003-09-05document -w timeout; from cedric@Jason McIntyre
ok deraadt@
2003-08-08refer to RFCs consistently (RFC XXXX);Jason McIntyre
2003-01-05Grammar fix - remove bogus comma; jmc@prioris.mini.pw.edu.plPeter Valchev
2002-11-14$ in front of commandsTheo de Raadt
2002-02-28add support for SOCKS4 with option -X socks_version, default is 5; ok ericj@Markus Friedl
2002-02-19man page fixesEric Jackson
from Kevin Steves <stevesk@pobox.com>
2002-02-17add support for connecting too and listening on AF_UNIX sockets.Eric Jackson
connect support from dave@arbor.net.. rest by me
2001-09-02add very basic proxy support using socks5 client code from niklas@.Jakob Schlyter
ok ericj@.
2001-08-30Delete duplicate 'network daemon testing' item.Kenneth R Westerback
Spotted by Nick Nauwelaerts.
2001-08-30Fix typo - space before a comma.Kenneth R Westerback
Spotted by Nick Nauwelaerts.
2001-08-02fix doc syntaxEric Jackson
from Dima Dorfman <dima@unixfreak.org>
2001-06-27Fix AUTHORS section. aaron@ ok.smart
2001-06-26typojasoni
2001-06-26update this man page for the new netcatEric Jackson
2001-05-04GAPING_SECURITY_HOLE was removed so there is no -e option.Todd C. Miller
Removed from man page and usage; closes PR 1808
2000-09-26remove -e option, which wasnt on anywayEric Jackson
2000-07-10Typo & style fix.Ian Darwin
2000-07-08Move option flags that don't require arguments to the first of the list inAaron Campbell
the SYNOPSIS section to be more consistent with our other man pages.
2000-07-06Insert more missing .El directives. Our troff really should identify these andAaron Campbell
spit out a warning.