fix issue #2: detect remote an dynamic port forwarding
Not just local port forwarding.
This commit is contained in:
parent
5bfa5ea55a
commit
d517abb6e4
1 changed files with 1 additions and 1 deletions
|
|
@ -146,7 +146,7 @@ class TunnelsParser:
|
|||
# only a list of connections OR autossh processes
|
||||
# self.update()
|
||||
|
||||
self.re_forwarding = re.compile(r"-L\s*(\d+):(.*):(\d+)")
|
||||
self.re_forwarding = re.compile(r"-\w*[LRD]\w*\s*(\d+):(.*):(\d+)")
|
||||
|
||||
self.header = 'TYPE\tSSH_PID\tIN_PORT\tVIA_HOST\tTARGET_HOST\tOUT_PORT'
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue