summaryrefslogtreecommitdiffstats
path: root/contrib/netcat/netcat.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge from OpenBSD 5.1.delphij2012-05-041-24/+100
| | | | MFC after: 3 weeks
* Merge multi-FIB IPv6 support from projects/multi-fibv6/head/:bz2012-02-171-4/+9
| | | | | | | | | | | | Extend the so far IPv4-only support for multiple routing tables (FIBs) introduced in r178888 to IPv6 providing feature parity. This includes an extended rtalloc(9) KPI for IPv6, the necessary adjustments to the network stack, and user land support as in netstat. Sponsored by: Cisco Systems, Inc. Reviewed by: melifaro (basically) MFC after: 10 days
* Merge from OpenBSD 5.0 (this is a dummy change, the vendor change does notdelphij2011-12-261-1/+1
| | | | apply to us).
* MFV: nc(1) from OpenBSD 4.9.delphij2011-05-111-25/+69
| | | | | MFC after: 1 month Obtained from: OpenBSD
* MFV: nc(1) from OpenBSD 4.8.delphij2010-10-191-17/+15
| | | | | | | | 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
* Utilize IP_BINDANY which provided the same semantics of OpenBSD'sdelphij2010-04-151-4/+2
| | | | SO_BINDANY.
* Diff reduction with OpenBSD:delphij2010-04-151-12/+6
| | | | | | | - 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-15/+17
| | | | MFC after: 1 month
* Update to 4.6.delphij2010-01-191-4/+28
| | | | | | Note: the -V option from OpenBSD is implemented using setfib(2) on FreeBSD. MFC after: 2 weeks
* Update netcat to the version carried with OpenBSD 4.5.delphij2009-05-281-6/+7
|
* Merge nc(1) from OpenBSD 4.4. While there, rename our '-O' (nodelphij2008-12-191-14/+52
| | | | | 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-7/+8
| | | | | | | | - sort the options - document -o and -O everywhere Reviewed by: delphij Approved by: rwatson (mentor)
* Add an -O option to disable TCP options, for protocol testing purposes.bms2008-04-011-3/+18
| | | | | | Do this for active and passive (-l switch) TCP sessions. MFC after: 1 week
* Commit IPv6 support for FAST_IPSEC to the tree.gnn2007-07-011-1/+1
| | | | | | | | This commit includes all remaining changes for the time being including user space updates. Submitted by: bz Approved by: re
* Resolve conflicts.delphij2007-03-281-27/+24
|
* Resolve conflicts.delphij2006-05-211-54/+99
|
* Undo the VCS tag move to reduce diff hunks.delphij2005-02-071-1/+1
| | | | Pointed out by: ru
* Finish the import of nc(1) from OpenBSD. This includes:delphij2005-02-061-6/+88
| | | | | | | | | | | | | | | | | | - 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/+802
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