Skip to content

Instantly share code, notes, and snippets.

View SheddL's full-sized avatar

VADIM CHICHERIN SheddL

View GitHub Profile
@SheddL
SheddL / proc_net_tcp_decode
Created March 21, 2019 06:48 — forked from jkstill/proc_net_tcp_decode
decode entries in /proc/net/tcp
Decoding the data in /proc/net/tcp:
Linux 5.x /proc/net/tcp
Linux 6.x /proc/PID/net/tcp
Given a socket:
$ ls -l /proc/24784/fd/11
lrwx------ 1 jkstill dba 64 Dec 4 16:22 /proc/24784/fd/11 -> socket:[15907701]