Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hiding from netstat #5

Open
James2516 opened this issue Apr 21, 2018 · 1 comment
Open

Hiding from netstat #5

James2516 opened this issue Apr 21, 2018 · 1 comment

Comments

@James2516
Copy link

Can someone provide some guidance on what needs to be modified to hide from netstat?
Thank you.

@gianlucaborello
Copy link
Owner

netstat typically reads network information from the /proc file system. For example, TCP network connections for the current network namespace are under /proc/net/tcp. If you intercept the I/O activity towards that file (you can look at the netstat source code for more details) and implement your own filtering, it should be doable. An LD_PRELOAD approach might not be the best way to proceed though, this repo was mostly implemented as a proof of concept.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants