<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/contrib/netcat, branch main</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=main</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2025-05-31T18:08:12Z</updated>
<entry>
<title>netcat: Allow service names to be used.</title>
<updated>2025-05-31T18:08:12Z</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2025-05-31T18:07:46Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=6d3d1fc3a30453be19831f79399bcba0ae822ad1'/>
<id>urn:sha1:6d3d1fc3a30453be19831f79399bcba0ae822ad1</id>
<content type='text'>
Someone should really do a vendor import, but it's non-trivial, as we
have local modifications.  In the meantime, here's a nine-year-old
upstream patch which allows service names to be used instead of port
numbers.

MFC after:	1 week
Obtained from:	OpenBSD
Reviewed by:	allanjude
Differential Revision:	https://reviews.freebsd.org/D50348
</content>
</entry>
<entry>
<title>netcat: Add a flag to enable the use of SO_REUSEPORT_LB</title>
<updated>2025-01-24T16:37:43Z</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2025-01-24T16:37:43Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=04a3ca71ead61b4ced23a791d3a5e2633ca1ef72'/>
<id>urn:sha1:04a3ca71ead61b4ced23a791d3a5e2633ca1ef72</id>
<content type='text'>
This is handy for testing purposes.  Hide it behind a long option so
that it doesn't conflict with upstream, like we do with several other
flags.

Reviewed by:	imp, glebius, delphij
MFC after:	2 weeks
Sponsored by:	Klara, Inc.
Sponsored by:	Stormshield
Differential Revision:	https://reviews.freebsd.org/D48543
</content>
</entry>
<entry>
<title>contrib: Remove various $FreeBSD$ tags not upstream</title>
<updated>2024-05-31T19:49:17Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2024-05-31T19:49:17Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=d37eb51047221dc3322b34db1038ff3aa533883f'/>
<id>urn:sha1:d37eb51047221dc3322b34db1038ff3aa533883f</id>
<content type='text'>
Sponsored by:		Netflix
</content>
</entry>
<entry>
<title>netcat: add --crlf to convert LF into CRLF</title>
<updated>2023-08-28T10:58:17Z</updated>
<author>
<name>Pietro Cerutti</name>
<email>gahr@FreeBSD.org</email>
</author>
<published>2023-08-17T11:42:23Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=d4b3aefdf94fe401f6bfc93a33b69e21dd7a634a'/>
<id>urn:sha1:d4b3aefdf94fe401f6bfc93a33b69e21dd7a634a</id>
<content type='text'>
This adds the --crlf option to netcat, which triggers translation of \n
characters into \r\n sequences in the input -&gt; network direction.
The Linux version of nc also supports this functionality with --crlf and
-C. The OpenBSD version uses -C to specify client certificates. Our
version is too old and doesn't have it, but I avoided adding -C anyway
to ease future syncs with upstream.

Attempts to upstream the feature were unsuccessful:
https://marc.info/?t=169282068500001

Differential Revision: https://reviews.freebsd.org/D41489
</content>
</entry>
<entry>
<title>netcat: Allow nc to be an if_tun tunnel broker</title>
<updated>2023-01-17T10:05:49Z</updated>
<author>
<name>Tom Jones</name>
<email>thj@FreeBSD.org</email>
</author>
<published>2023-01-17T10:02:06Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=cef7ab70ff44955b97e543fd03e664c89ce05bc3'/>
<id>urn:sha1:cef7ab70ff44955b97e543fd03e664c89ce05bc3</id>
<content type='text'>
Reviewed by:	kevans
Relnotes:	yes
Sponsored by:   Zenarmor
Sponsored by:   OPNsense
Sponsored by:   Klara, Inc.
Differential Revision:	https://reviews.freebsd.org/D37435
</content>
</entry>
<entry>
<title>Remove FREEBSD-vendor files</title>
<updated>2021-12-06T21:36:44Z</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2021-12-06T21:27:48Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=bdcfd222ce6369e7aeaceb9a92ffdde84bdbf6cd'/>
<id>urn:sha1:bdcfd222ce6369e7aeaceb9a92ffdde84bdbf6cd</id>
<content type='text'>
These files were intended to track version and perhaps maintainership
information for contrib software.  However, they were never used beyond
bzip2, netcat, and OpenSSH, and generally haven't been kept up to date
recently (my OpenSSH 8.7p1 update notwithstanding).  Just remove them to
avoid having confusing or outdated information.

Suggested by:	des
MFC after:	1 week
Sponsored by:	The FreeBSD Foundation
</content>
</entry>
<entry>
<title>Adjust .Dd, missed in r363084.</title>
<updated>2020-07-10T19:58:07Z</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2020-07-10T19:58:07Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=5c346ead1870d662f4ea1c7acb27f4b7eea43de9'/>
<id>urn:sha1:5c346ead1870d662f4ea1c7acb27f4b7eea43de9</id>
<content type='text'>
MFC with:	r363084
</content>
</entry>
<entry>
<title>Add a --sctp flag to nc.</title>
<updated>2020-07-10T19:54:04Z</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2020-07-10T19:54:04Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=d041589227a418e7c063bc06d8f73fe7b294379e'/>
<id>urn:sha1:d041589227a418e7c063bc06d8f73fe7b294379e</id>
<content type='text'>
The change adds an SCTP mode akin to UDP mode.  This is handy for doing
smoke testing of SCTP.

Use a long option to minimize the risk of option conflicts with OpenBSD.
For bonus points, this change unbreaks --no-tcpopt by adding a missing
case required by getopt_long().

Reviewed by:	delphij, tuexen
MFC after:	2 weeks
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D25610
</content>
</entry>
<entry>
<title>Add -M option to nc(1), which makes it print the TCP connection</title>
<updated>2019-12-14T10:53:52Z</updated>
<author>
<name>Edward Tomasz Napierala</name>
<email>trasz@FreeBSD.org</email>
</author>
<published>2019-12-14T10:53:52Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=1e62ecedf2c8ee7449442807647f69d2d0c62acd'/>
<id>urn:sha1:1e62ecedf2c8ee7449442807647f69d2d0c62acd</id>
<content type='text'>
statistics obtained with stats(3) in JSON format to standard error.

Reviewed by:	allanjude, thj, cem (earlier version)
Tested by:	thj
MFC after:	2 weeks
Relnotes:	yes
Sponsored by:	Klara Inc.
Differential Revision:	https://reviews.freebsd.org/D21324
</content>
</entry>
<entry>
<title>Merge projects/ipsec into head/.</title>
<updated>2017-02-06T08:49:57Z</updated>
<author>
<name>Andrey V. Elsukov</name>
<email>ae@FreeBSD.org</email>
</author>
<published>2017-02-06T08:49:57Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=fcf596178b5f2be36424ecbc1b6a3224b29c91d2'/>
<id>urn:sha1:fcf596178b5f2be36424ecbc1b6a3224b29c91d2</id>
<content type='text'>
 Small summary
 -------------

o Almost all IPsec releated code was moved into sys/netipsec.
o New kernel modules added: ipsec.ko and tcpmd5.ko. New kernel
  option IPSEC_SUPPORT added. It enables support for loading
  and unloading of ipsec.ko and tcpmd5.ko kernel modules.
o IPSEC_NAT_T option was removed. Now NAT-T support is enabled by
  default. The UDP_ENCAP_ESPINUDP_NON_IKE encapsulation type
  support was removed. Added TCP/UDP checksum handling for
  inbound packets that were decapsulated by transport mode SAs.
  setkey(8) modified to show run-time NAT-T configuration of SA.
o New network pseudo interface if_ipsec(4) added. For now it is
  build as part of ipsec.ko module (or with IPSEC kernel).
  It implements IPsec virtual tunnels to create route-based VPNs.
o The network stack now invokes IPsec functions using special
  methods. The only one header file &lt;netipsec/ipsec_support.h&gt;
  should be included to declare all the needed things to work
  with IPsec.
o All IPsec protocols handlers (ESP/AH/IPCOMP protosw) were removed.
  Now these protocols are handled directly via IPsec methods.
o TCP_SIGNATURE support was reworked to be more close to RFC.
o PF_KEY SADB was reworked:
  - now all security associations stored in the single SPI namespace,
    and all SAs MUST have unique SPI.
  - several hash tables added to speed up lookups in SADB.
  - SADB now uses rmlock to protect access, and concurrent threads
    can do SA lookups in the same time.
  - many PF_KEY message handlers were reworked to reflect changes
    in SADB.
  - SADB_UPDATE message was extended to support new PF_KEY headers:
    SADB_X_EXT_NEW_ADDRESS_SRC and SADB_X_EXT_NEW_ADDRESS_DST. They
    can be used by IKE daemon to change SA addresses.
o ipsecrequest and secpolicy structures were cardinally changed to
  avoid locking protection for ipsecrequest. Now we support
  only limited number (4) of bundled SAs, but they are supported
  for both INET and INET6.
o INPCB security policy cache was introduced. Each PCB now caches
  used security policies to avoid SP lookup for each packet.
o For inbound security policies added the mode, when the kernel does
  check for full history of applied IPsec transforms.
o References counting rules for security policies and security
  associations were changed. The proper SA locking added into xform
  code.
o xform code was also changed. Now it is possible to unregister xforms.
  tdb_xxx structures were changed and renamed to reflect changes in
  SADB/SPDB, and changed rules for locking and refcounting.

Reviewed by:	gnn, wblock
Obtained from:	Yandex LLC
Relnotes:	yes
Sponsored by:	Yandex LLC
Differential Revision:	https://reviews.freebsd.org/D9352
</content>
</entry>
</feed>
