Packet Construction Set
IPv4 Packet Format from RFC 791
Overview
PCS is a set of
Python modules and objects that
make building network protocol code easier for the protocol
developer. The core of the system is the pcs module itself which
provides the necessary functionality to create classes that
implement packets.
Download Now!
Example Code
PCS comes complete
with several different example applications including:
- http_get.py is a simple command line
program to grab a web page.
- arpwhohas.py generates ARP queries
given a set of IP and hardware addresses.
- pcap_info.py prints the statistics on
packets contained in a pcap dump file.
- tcpslice.py will carve a set of
packets out of a pcap dump file.
The scripts directory in the release contains the
complete set of example code.
Documentation
Documentation is provided in by the PCS Manual
and, automatically, via Doxygen.