Monitoring

TCP Live Traffic

tcptrack

Documentation

Installation

  1. apt install tcptrack

Usage

tcptrack -i {adapter} port {port_number}

Netstat

Documentation

Installation

Installation

The net-tools collection, which includes the netstat utility, was deprecated and replaced with iproute2. The current network utility collection iproute2 replaces netstat with the ss command. Some net-tools replacements can be found in the table below.

net-tools
iproute2

netstat

ss

ip

iwconfig

iw

route

ip r

iptunnel

ip tunnel

arp

ip n

  1. apt install net-tools

Usage

netstat -ano|grep {port}|grep ESTABLISHED

This will grab ESTABLISHED connection over selected TCP port

Last updated