BSD Ports

net/sock 0.4.2 FreeBSD

W. Richard Stevens' sock program plus IPv6 and SCTP

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
WRSTEVENS
Categories
net
Package size
16.9 KiB, 41.0 KiB installed

Description

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

Install

Binary package:

pkg install sock

From the ports tree:

cd /usr/ports/net/sock/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	sock>0:net/sock

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.4.20.4.20.4.20.4.20.4.2
FreeBSD:14:quarterly0.4.20.4.2n/a0.4.20.4.2
FreeBSD:15:latest0.4.20.4.2n/a0.4.20.4.2
FreeBSD:15:quarterly0.4.20.4.2n/an/an/a
FreeBSD:16:latest0.4.20.4.2n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

No port depends on this one.

Configuration

No options to configure.

USES
tar:tgz
Service scripts
none

Files

distinfo 1
FileSizeSHA256
sock-0.4.2.tgz11988242974b5f8f81c534d1e5236628658f6567ac0539c577cbc46d54b5b11d3b582c
Master sites 1
  • http://www-cs-students.stanford.edu/~sjac/sock/

Commit history 0

No commits in the history this site was built from.