summaryrefslogtreecommitdiff
path: root/src/usr.bin/nc/nc.1 (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Once more, the default routing table id is inherited from the processclaudio2014-02-261-3/+2
| | | | like for any other process as well. OK by many
* one of the examples needs -N to work again;jmc2014-02-101-3/+3
| | | | | | | the paper trail appears to be: reported in feebsd pr docs/185353 by rol robert-eckardt de fix suggested by peter wemm diff submitted to tech by allan jude
* escape not-full-stop-dot at eol;jmc2013-08-201-2/+2
|
* add -F flag to enabled fd-pass mode: establish connection and passdjm2013-08-201-3/+18
| | | | | | connected socket to stdout. This is useful in proxy mode to establish a connection for use by ssh in conjunction with its new ProxyUseFDPass option; ok markus@
* use .Mt for email addresses; from Jan Stary <hans at stare dot cz>; ok jmc@schwarze2013-07-161-4/+4
|
* Don't shutdown nc(1)'s network socket when stdin closes. Matches *Hobbit*'ssthen2013-03-201-3/+7
| | | | | | original netcat and GNU netcat; revert to old behaviour with the new -N flag if needed. After much discussion with otto deraadt tedu and Martin Pelikan. ok deraadt@
* Allow UDP server to receive datagrams from multiple socket pairs with -khaesbaert2012-07-071-2/+6
| | | | | | | flag. Prompted by a question from dsp at 2f30 dot org, diff from Lazarom Koromil with a few tweaks by me, many thanks. ok mikeb@ nicm@ haesbaert@
* Expand the CAVEAT section to more fully describe the behaviour oflum2012-02-071-6/+13
| | | | | | | | the -uz combination. This diff stems from a diff by brynet@ sent to tech@ help from jmc@ regarding wording.
* change -w to apply to the connection as well. manpage bit from jmc@fgsch2011-10-041-4/+4
| | | | nicm@ ok.
* Standarize the ToS option across nc/ping/traceroute so that they'llhaesbaert2011-09-171-11/+18
| | | | | | | accept the same values as pf.conf. It accepts decimal, hexadecimal and the dscp/tos keywords. The ping option was ripped of in SMALL. ok mcbride@ sthen@
* Minor tweaks to nc(1) man page and usage.jeremy2011-01-091-13/+20
| | | | OK jmc@, nicm@, tedu@
* Support unix domain sockets in nc(1) with -Uu.jeremy2011-01-081-2/+16
| | | | | | | | | | | | | | | | | | | | | 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@
* echo behaves differently in sh and csh, only handling C-style escapesguenther2010-07-251-3/+3
| | | | | | in the former, so switch an example that needs them to use printf instead. From bcr at freebsd.org. ok halex@
* Fix the naming of interfaces and variables for rdomains and rtablesguenther2010-07-031-5/+5
| | | | | | | | | | | | 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
* Fix the worst among the fatal block-nesting issues we have in our tree,schwarze2010-02-231-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 asobrado2009-10-221-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.sobrado2009-10-221-4/+8
| | | | ok jmc@
* tweak -V;jmc2009-06-051-2/+3
|
* The networking swissarmy knife needs to work on alternate domains as well.claudio2009-06-051-2/+5
| | | | Again -V can be used to specify the domain.
* documentation tweaks; synchronize synopsis and usage.sobrado2008-09-191-5/+5
| | | | | | written with help by jmc@ ok jmc@
* - put the description of -O in the right placejmc2008-05-061-6/+6
| | | | - shorten the argument names to -IO
* allow setting of TCP send/receive buffer sizes; ok markus@djm2008-05-061-2/+8
|
* convert to new .Dd format;jmc2007-05-311-2/+2
|
* tweaks; from claus assmann (pr #5317);jmc2006-12-021-3/+3
|
* use "proxy_protocol" as the arg to -X, not "proxy_version";jmc2006-01-311-2/+2
| | | | from ray lai;
* implement HTTP proxy authentication support, very useful in a ssh_configdjm2006-01-251-1/+12
| | | | ProxyCommand; ok beck@
* Add a -T option to nc to allow setting of IP type-of-service bits ondtucker2005-10-251-1/+10
| | | | connections. Man page corrections jmc@, code corrections and ok djm@
* oops... .Dl does not like to be inundated with args, and my last commit justjmc2005-07-171-3/+4
| | | | exceeded the happy number - use a display instead.
* some improvements from alf schlichting:jmc2005-07-171-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
* cross reference proxy example to relevant ssh option;jmc2005-05-201-3/+11
| | | | originally from ray; help/ok djm@
* use a standard hostname in EXAMPLES (host.example.com), which alsojmc2005-02-211-11/+12
| | | | | | fixes an error; from ray;
* better wording for -l;jmc2005-01-071-3/+3
|
* - better documenting of `host' and `port[s]'jmc2005-01-071-4/+25
| | | | - note that -l ignores timeouts
* explicitly mention port in an example;jmc2004-12-311-2/+2
| | | | from fgsch@
* http proxy CONNECT support; ok beck@djm2004-10-171-9/+23
|
* add -D for sodebug; ok deraadt, jmcmarkus2004-07-151-2/+4
|
* add keeps to SYNOPSIS and sync usage();jmc2004-03-121-1/+3
|
* add -d to usage too, from carson hardingtedu2004-03-031-2/+2
|
* resolve pr3694. add -d [etached] to ignore stdin. ok henning@ mcbride@tedu2004-03-011-1/+3
|
* - sort options and SYNOPSISjmc2004-02-201-64/+196
| | | | | | | | | | - 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@
* -S enables tcp md5 signature option; ok deraadt@, mcbride@markus2004-01-221-2/+4
|
* document -w timeout; from cedric@jmc2003-09-051-1/+15
| | | | ok deraadt@
* refer to RFCs consistently (RFC XXXX);jmc2003-08-081-2/+2
|
* Grammar fix - remove bogus comma; jmc@prioris.mini.pw.edu.plpvalchev2003-01-051-2/+2
|
* $ in front of commandsderaadt2002-11-141-13/+13
|
* add support for SOCKS4 with option -X socks_version, default is 5; ok ericj@markus2002-02-281-2/+9
|
* man page fixesericj2002-02-191-8/+5
| | | | from Kevin Steves <stevesk@pobox.com>
* add support for connecting too and listening on AF_UNIX sockets.ericj2002-02-171-2/+8
| | | | connect support from dave@arbor.net.. rest by me
* add very basic proxy support using socks5 client code from niklas@.jakob2001-09-021-1/+9
| | | | ok ericj@.
* Delete duplicate 'network daemon testing' item.krw2001-08-301-3/+1
| | | | Spotted by Nick Nauwelaerts.