aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzezinho42 <lists.jjorge@free.fr>2020-05-24 08:46:07 +0200
committerzezinho42 <lists.jjorge@free.fr>2020-05-24 14:09:50 +0200
commitaa43db2bf5fadd095f723eb51c2247448c64faf5 (patch)
tree8b77e79f3de15f1966d7271ec52db2f6a3a7028b
parent06c6162ac3e762ed7ada1f27c5bd1d3d53813e85 (diff)
downloadnet_monitor-aa43db2bf5fadd095f723eb51c2247448c64faf5.tar
net_monitor-aa43db2bf5fadd095f723eb51c2247448c64faf5.tar.gz
net_monitor-aa43db2bf5fadd095f723eb51c2247448c64faf5.tar.bz2
net_monitor-aa43db2bf5fadd095f723eb51c2247448c64faf5.tar.xz
net_monitor-aa43db2bf5fadd095f723eb51c2247448c64faf5.zip
show IPv6 connections
-rw-r--r--src/monitor.py28
1 files changed, 28 insertions, 0 deletions
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