So I am developing a Linux Kernel Module, and want to hide an open socket on a specific port number from the output of sudo netstat -nap
What is the approach that I should take?
So I am developing a Linux Kernel Module, and want to hide an open socket on a specific port number from the output of What is the approach that I should take? |
|||||||||||||||||||||
|
First, you have to find out how "netstat" acquire socket state from system. It is said that it read from /proc/net/tcp. Then, find out the kernel module which write socket state into "/proc/net/tcp" and modify that. |
|||
|