diff options
author | zezinho42 <lists.jjorge@free.fr> | 2020-05-24 08:46:07 +0200 |
---|---|---|
committer | zezinho42 <lists.jjorge@free.fr> | 2020-05-24 14:09:50 +0200 |
commit | aa43db2bf5fadd095f723eb51c2247448c64faf5 (patch) | |
tree | 8b77e79f3de15f1966d7271ec52db2f6a3a7028b | |
parent | 06c6162ac3e762ed7ada1f27c5bd1d3d53813e85 (diff) | |
download | net_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.py | 28 |
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 |