TCP Connection Event Logger (tcp-connection-logger) Package name

Install latest/stable of TCP Connection Event Logger

Ubuntu 16.04 or later?

Make sure snap support is enabled in your Desktop store.


Install using the command line

sudo snap install tcp-connection-logger

Don't have snapd? Get set up for snaps.

Channel Version Published

Details for TCP Connection Event Logger

Package name

  • tcp-connection-logger

License

  • MIT

Last updated

  • Today - latest/stable

Report a Snap Store violation

Share this snap

Generate an embeddable card to be shared on external websites.

Real-time /proc/net TCP and UDP socket connection event logger for Linux

TCP Connection Event Logger monitors live Linux kernel socket tables (/proc/net/tcp, /proc/net/tcp6, /proc/net/udp, and /proc/net/udp6) and records a timestamped history of opened, state-changed, and closed network connections. A lightweight Linux alternative to TcpLogView for network troubleshooting, service auditing, and socket lifecycle analysis.

Key features:

  • Configurable Polling Engine: Polls /proc/net TCP/UDP IPv4 and IPv6 kernel tables at configurable intervals from 250 ms to 5 seconds and diffs active socket endpoints across ticks.
  • Connection Lifecycle Tracking: Logs timestamped OPENED, STATE_CHANGE (such as SYN_SENT to ESTABLISHED to TIME_WAIT), and CLOSED socket events with measured connection duration.
  • UID, Inode & Process Cross-Reference: Resolves socket UIDs to local usernames, records kernel socket inodes and Tx/Rx queue depths, and maps accessible /proc/<pid>/fd descriptors.
  • State Distribution & Structured Export: Renders live TCP/UDP state distribution charts and exports filtered or complete connection event logs to CSV and JSON files.

Disclaimer: This project is an independent open-source tool and is not affiliated with, sponsored by, or endorsed by NirSoft.

Revision Channel Version Published Build Commit Download SBOM

The build and commit information is derived from build infrastructure records.


Install TCP Connection Event Logger on your Linux distribution

Choose your Linux distribution to get detailed installation instructions. If yours is not shown, get more details on the installing snapd documentation.