Sock

Jul 20, 2023

W. Richard Stevens’ sock program plus IPv6 and SCTP

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


Checkout these related ports:
  • Zyre - Framework for proximity-based peer-to-peer applications
  • Zsync - File transfer program
  • Zmap - Internet scanner
  • Zillion - Distributed computing project
  • Zerotier - Network virtualization everywhere
  • Zebra-server - Z39.50/SR server software
  • Yptransitd - Replacement for nss_ldap
  • Yggdrasil - Experimental end-to-end encrypted self-arranging IPv6 network
  • Yconalyzer - TCP Traffic Analyzer
  • Yazproxy - Powerful general purpose Z39.50/SRW/SRU proxy
  • Yaz - Z39.50/SR client and API library
  • Yaz++ - C++ toolkit for development of Z39.50v3 clients and servers
  • Yate - Yet Another Telephony Engine
  • Yaph - Yet Another Proxy Hunter (proxy scanner)
  • Yami4 - Messaging library for distributed systems