2
0
mirror of https://github.com/garabik/grc.git synced 2024-10-28 17:41:01 +01:00
Commit Graph

3 Commits

Author SHA1 Message Date
Tasnad Kernetzky
fc39736c78
Fixed conf.ss: Match all IPv6 addresses not only ::1 2018-06-06 11:24:53 +02:00
Tasnad Kernetzky
66efc0dc3a
Fix: brackets, address scope; match process name
Newer versions of ss have a slightly different output syntax: IPv6 addresses are put in brackets (like in URLs).
tcp   LISTEN  0       32                       [::1]:53              [::]:*   
Also, the addresses' scope may be in the output:
192.168.1.1%eth0:68           0.0.0.0:*   users:(("NetworkManager",pid=82,fd=6)) ino:661155 sk:272 <->

I had to move the "status" regex or it would overwrite IPv6 addresses.
2018-06-05 18:57:20 +02:00
Radovan Garabík
5758a80b5e spelling 2017-04-21 10:29:25 +02:00