Ethical Hacking Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package. | Computer Forensics Training at InfoSec Institute Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors. |

| Subject: | Re: Snort & iptables on the same box |
|---|---|
| Date: | Mon, 13 Jun 2005 11:06:42 -0500 |
snort rely's on the QUEUE target in iptables to receive its data. So lets say that you have a webserver that you wanted to protect with snort. Let's also assume that you wanted to permit ssh access and not inspect that traffic with snort. Your rules would look something like this. iptables -A FORWARD -p tcp --dport 80 -j QUEUE iptables -A FORWARD -p tcp --dport 22 -j ACCEPT iptables -A FORWARD -j DROP The traffic bound for port 80 would be analyzed by snort and then a verdict is sent back from snort to tell iptables to either drop or accept the packet. The drop or accept verdict depends on whether or not a rule is matched and the rule action associated with that rule. clear as mud????? Regards, Will On 6/10/05, Jean-Pierre Denis <jp@webglobe.ca> wrote:
Hi, When running snort and iptables on the same box, which of the 2 act first ? Those it go thru snort and then the iptable rule allow or deny the connection or it's the other way around Merci, JP ----------------------------------------- WebMail Powered by WebGlobe. http://www.webglobe.ca -------------------------------------------------------------------------- Test Your IDS Is your IDS deployed correctly? Find out quickly and easily by testing it with real-world attacks from CORE IMPACT. Go to http://www.securityfocus.com/sponsor/CoreSecurity_focus-ids_040708 to learn more. --------------------------------------------------------------------------
-------------------------------------------------------------------------- Test Your IDS Is your IDS deployed correctly? Find out quickly and easily by testing it with real-world attacks from CORE IMPACT. Go to http://www.securityfocus.com/sponsor/CoreSecurity_focus-ids_040708 to learn more. --------------------------------------------------------------------------
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | RE: on NIDS/NIPS tuning, Kohlenberg, Toby |
|---|---|
| Next by Date: | Re: Snort & iptables on the same box, Joachim Schipper |
| Previous by Thread: | Snort & iptables on the same box, Jean-Pierre Denis |
| Next by Thread: | Re: Snort & iptables on the same box, Michael Boman |
| Indexes: | [Date] [Thread] [Top] [All Lists] |