---
title: Install TCP Connection Event Logger on Linux | Snap Store
description: Get the latest version of TCP Connection Event Logger for Linux - Real-time
  /proc/net TCP and UDP socket connection event logger for Linux
url: https://snapcraft.io/tcp-connection-logger
---

# TCP Connection Event Logger (tcp-connection-logger)

[TC Studio (thanhcong1902)](https://snapcraft.io/publisher/thanhcong1902 "View all snaps from TC Studio (thanhcong1902)")

* [TC Studio (thanhcong1902)](https://snapcraft.io/publisher/thanhcong1902 "View all snaps from TC Studio (thanhcong1902)")

latest/stable 1.0.0

Install latest/stable of TCP Connection Event Logger

---

**Install using the command line**

```
sudo snap install tcp-connection-logger
```

Don't have snapd? [Get set up for snaps](https://snapcraft.io/docs/installing-snapd).

---

### Package name

* tcp-connection-logger

---

### License

* MIT

---

### Last updated

* Today - latest/stable

---

##### Report a Snap Store violation

* [Report this Snap](https://snapcraft.io/tcp-connection-logger#report-snap-modal)

---

* [Description](https://snapcraft.io/tcp-connection-logger#tab-description)
* [Security](https://snapcraft.io/tcp-connection-logger#tab-security)

#### 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.

---

## 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](https://snapcraft.io/docs/installing-snapd).

[### Arch Linux](https://snapcraft.io/install/tcp-connection-logger/arch)

[### CentOS](https://snapcraft.io/install/tcp-connection-logger/centos)

[### Debian](https://snapcraft.io/install/tcp-connection-logger/debian)

[### elementary OS](https://snapcraft.io/install/tcp-connection-logger/elementary)

[### Fedora](https://snapcraft.io/install/tcp-connection-logger/fedora)

[### KDE Neon](https://snapcraft.io/install/tcp-connection-logger/kde-neon)

[### Kubuntu](https://snapcraft.io/install/tcp-connection-logger/kubuntu)

[### Manjaro](https://snapcraft.io/install/tcp-connection-logger/manjaro)

[### Pop!\_OS](https://snapcraft.io/install/tcp-connection-logger/pop)

[### openSUSE](https://snapcraft.io/install/tcp-connection-logger/opensuse)

[### Red Hat Enterprise Linux](https://snapcraft.io/install/tcp-connection-logger/rhel)

[### Ubuntu](https://snapcraft.io/install/tcp-connection-logger/ubuntu)
