trying to understand the place of iptables, ipchains, Wireshark and how it all fits
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.
trying to understand the place of iptables, ipchains, Wireshark and how it all fits
ok so I am doing security stuff under linux... I've heard of Wireshark and Snort and dsniff and have been reading up on them on wikipedia pages but the big picture is not clear to me yet. Are things like Wireshard and Snort BASED on the functionality of iptables in Linux? I read that you have to be root to run iptables, but not to run Wireshark right? Yet Wireshark is dependent on iptables.
can someone help me understand how these things work together?
these tools are nothing at all to do with iptables. iptables / netfilter is the Linux network security stack, but wireshark is just a tool for Linux, Windows, BSD, OSX to analyse network traffic. iptables is used to modify the system settings for network control within netfilter, so naturally needs root access to change stuff like that. Wireshark needs root access to be able to read from all network adapters and such, but you're mistaken to think they really have anything at all in common, they do not work together.
Last edited by acid_kewpie; 10-29-2010 at 04:25 AM.
What acid_kewpie said... To put it another way... Wireshark is used to look at and analyze packets (network traffic) and iptables / netfilter is a firewall which is used to filter packets (network traffic).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.