In TCP/IP Illustrated Vol. 1, Richard Stevens used a program called
"sock" to demonstrate the many properties of TCP/IP. This is a
standalone version, adapted and reworked by Christian Kreibich.
The program can be used to generate TCP or UDP packets for testing
various network features. It runs as either client or server.
This FreeBSD port is built on top of the original 0.3.2 tarball from
2010, above, downloaded from the icir.org webpage.
Version 0.4.2 of sock supports IPv6, SCTP and those socket options:
- IPv6:
o hop limit
o multicast hop limit
o disable/enable header flow label
o header traffic class
o don't fragment
- IPv4:
o don't fragment
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
net/sock: create port
This is a standalone version of W. Richard Stevens' "sock" program,
based on the code available for the UNIX Network Programming book.
Adapted and reworked code for W. Richard Stevens' "sock" utility
by Christian Kreibich.
From the author: In TCP/IP Illustrated Vol. 1, Richard Stevens used
a program called "sock" to demonstrate the many properties of TCP/IP.
Unfortunately, the book only speaks about how to use the program but
does not point to a site for downloading its sources. While sock is
contained in the code package accompanying UNIX Network Programming,
this code is also getting dated.
The program can be used to generate TCP or UDP packets for testing
various network features. It runs as either client or server.
WWW: http://www.icir.org/christian/sock.html
PR: 206345
Submitted by: Steve Jacobson <sjac998@yahoo.com> (with slight modification)