LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 10-29-2010, 03:52 AM   #1
dave247
Member
 
Registered: May 2004
Posts: 206

Rep: Reputation: 30
Question 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?
 
Old 10-29-2010, 04:24 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
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.
 
Old 10-29-2010, 09:59 AM   #3
OlRoy
Member
 
Registered: Dec 2002
Posts: 306

Rep: Reputation: 86
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).
 
Old 10-30-2010, 06:49 AM   #4
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,070

Rep: Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897
...and you can probably ignore ipchains, as that was an older utility that has been superseded by iptables...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Which version of patch-o-matic+kernel+iptables fits together? Lokiji Linux - Software 0 02-05-2008 09:59 AM
IPCHAINS to IPTABLES slinkyredfoot Linux - Networking 2 05-24-2004 04:33 AM
ipchains vs iptables bulliver Linux - Security 4 12-10-2002 03:43 PM
ipchains ---> iptables jetfreggel Linux - Networking 2 11-10-2002 02:05 PM
Need help on ipchains->iptables stalin Linux - Networking 0 07-19-2001 04:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 12:36 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration