Different ipv6 addresses in /proc/net/if_inet6 and /proc/net/tcp6

0

I want to ask You, why I have strange ipv6 addresses in /proc/net/tcp6.

Example: bash cat /proc/net/if_net6 Gives me:

2a02a313024174809849a58c3f611035 02 40 00 01     ens5
00000000000000000000000000000001 01 80 10 80       lo
2a02a313024174802137a33bb8b9b3d2 02 40 00 00     ens5
fe800000000000008837b93d23d7452d 02 40 20 80     ens5

But, when I type: bash cat /proc/net/tcp6 which is quite important for me to get connections I receive, strange Ipv6 addresses which don't exist in my system:

00000000000000000000000000000000:92A5
13A3022A807441028CA549983510613F:A17C
8028032A0B0016F00CB0CEFA02000000:01BB (this one is remote)

Can anyone explain it to me? I've searched on kernel.org and google, but without luck. I can't ping them, connect on specified port (01bb = 443). I can easily convert hex ipv4 from /proc/net/tcp, but I can't find out how to deal with /proc/net/tcp6.

wejdross

Posted 2019-10-03T17:15:56.457

Reputation: 1

No answers