Skip to content

A tool like ss that allows you to fetch TCP-info directly from the process by invoking sockstat() on its behalf

Notifications You must be signed in to change notification settings

alexander-miroch/tcpstat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tcpstat

A tool like ss that allows you to fetch TCP-info directly from the process by invoking sockstat() on its behalf

The program works only on x86_64 platform If you encounter a error like: 'Warning: getsockopt failed with 23 pid 919643, skipping' you will want to make sure that the stack of the target program is executable

cat /proc//maps cat /proc/285699/maps |grep stack 7ffece0bb000-7ffece0d0000 rwxp 00000000 00:00 0 [stack]

Here, the 'x' character means 'executable' If the stack is not executable you can make it such (e.g. using execstack utility): execstack -s /path/to/binary

About

A tool like ss that allows you to fetch TCP-info directly from the process by invoking sockstat() on its behalf

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published