c10net
Python utility to make Chapter 10/11 file packets available to network tools or replay as UDP packets.
Features
- Convert Chapter 10 data into a PCAP file containing UDP packets for analysis.
- Replay Chapter 10 data over the network, preserving original timing.
- Filter by channel ID and channel type during conversion or replay.
- Specify destination port and IP.
Installation
Install utility from PyPI:
pip install c10net
Note: c10net uses libpcap for pcap packet generation.
On Windows, install Npcap and ensure it is available to your system.
Install for developers (Windows):
git clone https://github.com/atac/c10net
py -m venv .venv
.\.venv\Scripts\activate
pip install -e .[all]
The [all] group installs the [test] and [dev] dependency groups.
Usage
The package installs a console script c10net. Run c10net -h for top-level help.
convert_pcap
Convert Chapter 10 file to a PCAP file comprised of UDP packets.
c10net convert_pcap "C:\path\to\myfile.ch10"
With default options, a PCAP file is generated at "C:\path\to\myfile.pcap"
Use ch10net convert_pcap -h for more options.
replay
Generate UDP packets from Chapter 10 file and send over a network interface.
c10net replay "C:\path\to\myfile.ch10"
With default options, UDP packets are replayed over available network interface with destination IP 127.0.0.1 and port 5006.
Use ch10net replay -h for more options.
Network Options
- Use
--portto set the destination port number of generated UDP packets. - Use
--ipto set the destination IP address of generated UDP packets.
Examples
Convert a Chapter 10 file to PCAP:
c10net convert_pcap input.ch10 --out output.pcap
Replay over the network (pulse setup packet every second):
c10net replay input.ch10 --pulse --ip 192.168.1.10 --port 49152
Testing
Run the test suite with pytest (after installing the optional [test] dependency group):
pytest -q
License
BSD-3-Clause
Metadata
Release files for c10net 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| c10net-0.0.4.tar.gz | 20.1 kB | Without provenance | Details for c10net-0.0.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| c10net-0.0.4-py3-none-any.whl | Python 3 | none | any | Details for c10net-0.0.4-py3-none-any.whl |
Total release size: 40.7 kB
Release files / c10net-0.0.4.tar.gz
| Download URL | c10net-0.0.4.tar.gz |
|---|---|
| Size | 20.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2bd006e724396f5c7588dd906aadad54eb22784e70a117fbc77d2f6a76e4d227
|
|
BLAKE2b-256 checksum How to use checksums |
054111835220ad6274f73b2143c207447ec96bc90eaaaf699be12c2fc36af654
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.2
|
Release files / c10net-0.0.4-py3-none-any.whl
| Download URL | c10net-0.0.4-py3-none-any.whl |
|---|---|
| Size | 20.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a441cdb1ccda00f01172c9bef282fe57ab70e5a2e23905ff4a5ce9ea40c65561
|
|
BLAKE2b-256 checksum How to use checksums |
ce95f71720113429cc3d3358bc038fe3cafba379c882224c732dfad3b446077d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.2
|
Security for c10net 0.0.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.