Subject: | Invalid tcp line (#3) with Debian Linux |
Date: | Wed, 25 Oct 2017 07:58:28 +0200 |
To: | bug-Parse-Netstat [...] rt.cpan.org |
From: | Holger Schramm <info [...] schramm.by> |
Subject: | Invalid tcp line (#3) with Debian Linux |
To: | bug-Parse-Netstat [...] rt.cpan.org |
From: | Holger Schramm <info [...] schramm.by> |
Hi,
perl -v:
This is perl 5, version 20, subversion 2 (v5.20.2) built for
x86_64-linux-gnu-thread-multi
libparse-netstat-perl:
ii libparse-netstat-perl 0.4-1
Error Message:
$VAR1 = [
400,
'Invalid tcp line (#3): tcp6 0 0 :::8880
:::* LISTEN
'
];
If I use "netstat -an4" it works without a problem. But if I use netstat
-an6 it doesn't.
Example Output of netstat -an6:
Proto Recv-Q Send-Q Local Address Foreign Address
State
tcp6 0 0 :::8880 :::*
LISTEN
tcp6 0 0 :::465 :::*
LISTEN
tcp6 0 0 :::21 :::*
LISTEN
tcp6 0 0 :::25 :::* LISTEN
Cheers,
Holger
Message body not shown because it is not plain text.