summaryrefslogtreecommitdiffstats
path: root/contrib/netcat/nc.1
Commit message (Collapse)AuthorAgeFilesLines
* MFC r258195+r264361:delphij2014-04-251-7/+21
| | | | nc from OpenBSD 5.5.
* MFV r249496,249498. The most visible change is that we no longer shutsdelphij2013-04-151-3/+7
| | | | | | | | | down the connection when stdin closes, by default. This matches Hobbit's original netcat and GNU netcat. Old behavior can be restored with the new -N flag. MFC after: 2 weeks
* MFV: netcat from OpenBSD 5.2.delphij2012-10-221-2/+6
| | | | MFC after: 1 month
* Merge from OpenBSD 5.1.delphij2012-05-041-17/+31
| | | | MFC after: 3 weeks
* MFV: nc(1) from OpenBSD 4.9.delphij2011-05-111-13/+34
| | | | | MFC after: 1 month Obtained from: OpenBSD
* MFV: nc(1) from OpenBSD 4.8.delphij2010-10-191-5/+7
| | | | | | | | While I'm there, bump WARNS level to 2 as the vendor have the right printf format string now. MFC after: 1 month Obtained from: OpenBSD
* Remove extra word, which looks like a left-over from a deleted sentence.brucec2010-10-181-1/+0
|
* Use "printf" instead of "echo -n" in an example because itbcr2010-07-261-2/+2
| | | | | | | | | | | | | should be more compatible for most shells that are out there. I contacted Philip Guenther at OpenBSD about this PR and he corrected the issue in their tree pretty fast. PR: docs/142243 Submitted by: Yasir (yasir27 at mail dot ru) Obtained from: OpenBSD Discussed with: delphij MFC after: 7 days
* Diff reduction with OpenBSD:delphij2010-04-151-11/+2
| | | | | | | - Remove unused locally added variable; - Deprecate -o: it's the default behavior on OpenBSD. X-MFC: along with nc 4.7.
* MFV: Update nc to the version from OpenBSD 4.7.delphij2010-03-231-6/+10
| | | | MFC after: 1 month
* Update to 4.6.delphij2010-01-191-2/+7
| | | | | | Note: the -V option from OpenBSD is implemented using setfib(2) on FreeBSD. MFC after: 2 weeks
* Fix .Dd value -- our mdoc macros don't know how to parse the $Mdocdate$cperciva2009-07-111-1/+1
| | | | | | | tag, so the file was being treated as having no date (i.e., the current date was being inserted). Approved by: re (kib)
* Add an EXIT STATUS section to the manual page. Currently, nc(1)delphij2009-05-291-0/+2
| | | | | | does not follow sysexits(3), and returns 1 for all error cases. PR: docs/126451
* Update netcat to the version carried with OpenBSD 4.5.delphij2009-05-281-4/+4
|
* Merge nc(1) from OpenBSD 4.4. While there, rename our '-O' (nodelphij2008-12-191-4/+12
| | | | | tcp options) to '--no-tcpopt' in order to resolve a comflicit with OpenBSD's -O semantics.
* Document freebsd extensions to netcat a bit better:antoine2008-05-101-10/+9
| | | | | | | | - sort the options - document -o and -O everywhere Reviewed by: delphij Approved by: rwatson (mentor)
* Resolve conflicts.delphij2008-04-211-2/+2
|
* Add an -O option to disable TCP options, for protocol testing purposes.bms2008-04-011-3/+9
| | | | | | Do this for active and passive (-l switch) TCP sessions. MFC after: 1 week
* Resolve conflicts.delphij2007-03-281-3/+3
|
* Resolve conflicts.delphij2006-05-211-30/+57
|
* Fix incorrect command line examples.hrs2006-03-071-3/+3
| | | | | | Submitted by: Yoshihiko Sarumaru (mistral at imasy dot or dot jp) PR: docs/94158 MFC after: 2 days
* Fix markup in local FreeBSD additions.ru2005-06-271-5/+13
| | | | Approved by: re (blanket manpages)
* Undo the VCS tag move to reduce diff hunks.delphij2005-02-071-1/+2
| | | | Pointed out by: ru
* Finish the import of nc(1) from OpenBSD. This includes:delphij2005-02-061-4/+31
| | | | | | | | | | | | | | | | | | - Bring IPsec support from the ports collection [1]. - Bring -o ("once only") option from the ports collection [2]. - Adopt the Makefile framework into usr.bin/nc/Makefile. - Add a knob to control whether to build nc(1), NO_NETCAT. - Bump __FreeBSD_version so ports collection can detect this change. Original patchset are contributed to the ports collection by: [1] nectar, [2] joerg. Note: WARNS?=6 patchset spined off in this commit, in order not to take too many files off the vendor branch.
* Import a (stripped) snapshot of OpenBSD's nc(1) an excellentdelphij2005-02-041-0/+387
reimplementation of the famous tool that can do arbitrary TCP and UDP connections and listens. This gaves sysadm the same tool the crackers have, so that they may learn what the network is about and protect it better. For developers, this is an invaluable debugging tool, and a good build block of scripts. Discussed on: freebsd-hackers@
OpenPOWER on IntegriCloud