Skip to main content

kisstun

This package is an installation convenience alias for pytap3. It does not replace or modify the upstream pytap3 project. Installing kisstun just installs pytap3 as a dependency.

kisstun command

Installing pytap3 provides the kisstun command. It creates and configures a TUN interface from an IPv4 address and prefix, then bridges IP packets between that interface and a TCP-connected KISS TNC. For example:

$ sudo kisstun 10.73.0.1/16

The default TCP KISS endpoint is 127.0.0.1:8001; the default KISS hardware port is 0 and MTU is 256. Use --host, --port, --kiss-port, and --mtu to change these settings. Run kisstun --help for the full option list. Creating the interface and routing its subnet may require root or administrator privileges.

To limit packet-radio traffic, kisstun filters outgoing packets by default, forwarding IPv4 unicast and broadcast only. It drops IPv6, IPv4 multicast, and UDP discovery traffic on ports 67, 68, 137, 138, 1900, 3702, 5353, and 5355 (DHCP, NetBIOS, SSDP, WS-Discovery, mDNS, and LLMNR), including broadcasts using those ports. Incoming KISS packets are passed to the TUN interface without this filter. Use --no-filter to disable filtering of outgoing packets.

Please note that TCP is a very chatty protocol and is not ideal for packet radio. Applications using UDP or ICMP are more suitable for this type of networking. If you are using TCP, consider tweaking the stack parameters to be more bandwidth-efficient, such as disabling Nagle's algorithm and reducing the TCP window size.

The command can also be run as a Python module:

$ sudo python3 -m pytap3.kisstun 10.73.0.1/16

Pass --direwolf to launch direwolf from PATH and wait for its TCP KISS listener before connecting. Dire Wolf must be configured to listen at the selected endpoint (by default 127.0.0.1:8001). The child process is terminated when kisstun exits.

Specify a different TCP TNC endpoint, KISS port, or MTU with options:

$ sudo kisstun 10.73.0.1/16 --host 192.168.1.10 --port 8001 --kiss-port 2 --mtu 256
$ sudo kisstun 10.73.0.1/16 --direwolf

Metadata

Release files for kisstun 3.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for kisstun 3.1.2
File Size Uploaded Provenance Actions
kisstun-3.1.2.tar.gz 1.8 kB Without provenance Details for kisstun-3.1.2.tar.gz

Release files / kisstun-3.1.2.tar.gz

Download URL kisstun-3.1.2.tar.gz
Size 1.8 kB
Tags Source
SHA-256 checksum
How to use checksums
9f21a31c65293e81988089f599981fb881a65bff9c3c5a09ae30347e84424bcd
BLAKE2b-256 checksum
How to use checksums
f73ac50bd3ad5a3e40c50eb2572f916b34d3bfddb9d451d8c588fa8b588a4cf9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.10

Security for kisstun 3.1.2

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page