2
0
Fork 0
mirror of https://github.com/inspec/inspec synced 2024-12-19 09:33:20 +00:00
Commit graph

3 commits

Author SHA1 Message Date
Wei He
f20748c88f fix port resource (parse_ss_line) ()
Signed-off-by: Wing924 <weihe924stephen@gmail.com>
2017-11-13 18:06:01 +01:00
narkaTee
4f005d8510 Fix port ressource ss line parsing ()
Fixes the 'ss -tulpen' command parsing when multiple processes use the
same fd.

Signed-off-by: Jan Ullrich <narkat@gmail.com>
2017-10-17 14:45:37 +02:00
Adam Leff
e2fa0b5e73 port resource: support ss instead of netstat ()
* port resource: support ss instead of netstat

`netstat` is officially deprecated and is replaced with `ss`. This PR
changes the port resource to use `ss` if it's available on the target
system.

Signed-off-by: Adam Leff <adam@leff.co>

* Disable Metrics/ClassLength cop on the LinuxPorts class

Signed-off-by: Adam Leff <adam@leff.co>
2017-08-31 09:53:08 +02:00