For debugging purposes one often times needs to know the communication partner on a socket or pipe a program has open. This information is not readily available: <br/><br/> <q>ls -l /proc/<pid>/fd</q> provides output like:<br/> <blockquote> lr-x------ 1 root root 64 Oct 15 08:26 27 -> pipe:<br/> lrwx------ 1 root root 64 Oct 15 08:26 28 -> socket:<br/> lrwx------ 1 root root 64 Oct 15 08:26 29 -> socket: </blockquote> <q>lsof</q> shows:<br/> <blockquote> systemd 1 root 42u unix 0xffff88023f1367c0 0t0 5148 socket </blockquote> <q>netstat</q> shows:<br/> <blockquote> unix 3 [ ] STREAM CONNECTED 5148 </blockquote> <q>socklist</q> only covers network sockets. <br/><br/> A tool is missing that allows one to find the communication partner of an (unnamed) socket or (unnamed) pipe. <br/> Goal of this project is to research where this information can be found, make it available and create a demo tool collecting this information. This demo tool should serve as a sample implementation which can be used to integrate the functionality into other tools.
Looking for hackers with the skills:
Nothing? Add some keywords!
This project is part of:
Hack Week 11
This project is one of its kind!