[SOLVED] /proc/net/packet says my server is acting as network sniffer, according to NSA doc
Linux - SecurityThis forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
/proc/net/packet says my server is acting as network sniffer, according to NSA doc
So, the NSA puts out some handy documentation on locking down a RHEL server (running centos 5.6 x64 myself) here, http://www.nsa.gov/ia/_files/os/redh...guide-i731.pdf. Under "Ensure System is Not Acting as a Network Sniffer" on page 63, it says that if any numbers below the first line in /proc/net/packet, that it is acting as a network sniffer. I get the following output:
Code:
sk RefCnt Type Proto Iface R Rmem User Inode
ffff8100b3757400 3 3 0003 3 1 0 0 8402
Edit: The NSA doc does not really go into detail about what /proc/net/packet is for, so if anyone wants to go into detail about that, I'd be a very happy panda
Unless I've been pwned, I don't know exactly what could be causing this. Besides samba, nmap (compiled from source, not from yum), screen, and rtorrent, there's nothing I've installed beyond the fresh install I did a few days ago. I was not running nmap when looking at /proc/net/packet.
Last edited by el_tedward; 04-25-2011 at 10:47 PM.
So, based on that post, what I'm thinking is that nmap could have put my interface into promiscuous mode, and that would be why I'm getting the stuff in /proc/net/packet that I'm getting.
Thanks! I don't have much programming experience, beyond some scripting. Interested in picking up more lower level programming skills at some point, just not what I'm doing right now.
And dun worry, your comment doesn't come across as negative
I must have missed something, where is it saying nmap puts your nic into promiscuous mode?
The only other reference I see to an app, other then the obvious tcpdump, is to a dhcp client?
I must have missed something, where is it saying nmap puts your nic into promiscuous mode?
The only other reference I see to an app, other then the obvious tcpdump, is to a dhcp client?
I didn't read anything but I'm pretty sure it will put it in prom mode. Anything that sniffs will activate prom mode, in my experience. You can test by running nmap and checking the interface while it is running.
If your using dhcp it will show up in /proc/net/packet
I was following the same rhel guide and was wondering how i could have a packet sniffer or tcpdump running on a fresh install. I'm fairly certain it's just DHCP causing that line to show up.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.