From aa43db2bf5fadd095f723eb51c2247448c64faf5 Mon Sep 17 00:00:00 2001 From: zezinho42 Date: Sun, 24 May 2020 08:46:07 +0200 Subject: show IPv6 connections --- src/monitor.py | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/src/monitor.py b/src/monitor.py index ed51223..ef8146d 100644 --- a/src/monitor.py +++ b/src/monitor.py @@ -50,6 +50,20 @@ class Monitor: _("LISTEN"), _("CLOSING") ], + "tcp6": [ + "", + _("ESTABLISHED"), + _("SYN_SENT"), + _("SYN_RECV"), + _("FIN_WAIT1"), + _("FIN_WAIT2"), + _("TIME_WAIT"), + _("CLOSE"), + _("CLOSE_WAIT"), + _("LAST_ACK"), + _("LISTEN"), + _("CLOSING") + ], "udp": [ "", _("ESTABLISHED"), @@ -64,6 +78,20 @@ class Monitor: _("LISTEN"), _("CLOSING") ], + "udp6": [ + "", + _("ESTABLISHED"), + _("SYN_SENT"), + _("SYN_RECV"), + _("FIN_WAIT1"), + _("FIN_WAIT2"), + _("TIME_WAIT"), + "", + _("CLOSE_WAIT"), + _("LAST_ACK"), + _("LISTEN"), + _("CLOSING") + ], } # constants -- cgit v1.2.1