History log of /freebsd-10.1-release/contrib/netcat/netcat.c
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 272461 02-Oct-2014 gjb

Copy stable/10@r272459 to releng/10.1 as part of
the 10.1-RELEASE process.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 264911 25-Apr-2014 delphij

MFC r258195+r264361:

nc from OpenBSD 5.5.


# 256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


# 249499 15-Apr-2013 delphij

MFV r249496,249498. The most visible change is that we no longer shuts
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


# 241906 22-Oct-2012 delphij

MFV: netcat from OpenBSD 5.2.

MFC after: 1 month


# 235037 04-May-2012 delphij

Merge from OpenBSD 5.1.

MFC after: 3 weeks


# 231852 17-Feb-2012 bz

Merge multi-FIB IPv6 support from projects/multi-fibv6/head/:

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


# 228896 26-Dec-2011 delphij

Merge from OpenBSD 5.0 (this is a dummy change, the vendor change does not
apply to us).


# 221793 11-May-2011 delphij

MFV: nc(1) from OpenBSD 4.9.

MFC after: 1 month
Obtained from: OpenBSD


# 214047 18-Oct-2010 delphij

MFV: nc(1) from OpenBSD 4.8.

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


# 206689 15-Apr-2010 delphij

Utilize IP_BINDANY which provided the same semantics of OpenBSD's
SO_BINDANY.


# 206675 15-Apr-2010 delphij

Diff reduction with OpenBSD:

- Remove unused locally added variable;
- Deprecate -o: it's the default behavior on OpenBSD.

X-MFC: along with nc 4.7.


# 205561 23-Mar-2010 delphij

MFV: Update nc to the version from OpenBSD 4.7.

MFC after: 1 month


# 202640 19-Jan-2010 delphij

Update to 4.6.

Note: the -V option from OpenBSD is implemented using setfib(2) on FreeBSD.

MFC after: 2 weeks


# 193008 28-May-2009 delphij

Update netcat to the version carried with OpenBSD 4.5.


# 186343 19-Dec-2008 delphij

Merge nc(1) from OpenBSD 4.4. While there, rename our '-O' (no
tcp options) to '--no-tcpopt' in order to resolve a comflicit
with OpenBSD's -O semantics.


# 178927 10-May-2008 antoine

Document freebsd extensions to netcat a bit better:
- sort the options
- document -o and -O everywhere

Reviewed by: delphij
Approved by: rwatson (mentor)


# 177837 01-Apr-2008 bms

Add an -O option to disable TCP options, for protocol testing purposes.
Do this for active and passive (-l switch) TCP sessions.

MFC after: 1 week


# 171135 01-Jul-2007 gnn

Commit IPv6 support for FAST_IPSEC to the tree.
This commit includes all remaining changes for the time being including
user space updates.

Submitted by: bz
Approved by: re


# 167964 27-Mar-2007 delphij

Resolve conflicts.


# 158798 21-May-2006 delphij

Resolve conflicts.


# 141431 07-Feb-2005 delphij

Undo the VCS tag move to reduce diff hunks.

Pointed out by: ru


# 141394 06-Feb-2005 delphij

Finish the import of nc(1) from OpenBSD. This includes:
- 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.


# 141262 04-Feb-2005 delphij

This commit was generated by cvs2svn to compensate for changes in r141261,
which included commits to RCS files with non-trunk default branches.


# 141261 04-Feb-2005 delphij

Import a (stripped) snapshot of OpenBSD's nc(1) an excellent
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@