LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-19-2012, 11:19 PM   #1
lev.carlson
LQ Newbie
 
Registered: Feb 2012
Posts: 5

Rep: Reputation: Disabled
Snort Inline doesn't drop packets


I just want to drop outbound traffic to port 80. This is my rule:

drop tcp 192.168.0.35 any -> any 80 (msg:"WEB"; sid:121212

This is what I did with iptables:

$ iptables -F
$ modprobe ip_queue
$ lsmod | grep ip_queue
$ iptables -I INPUT -j QUEUE

Then I have commented out all the default rules in snort_inline.conf
and added my one rule at the bottom :

include $RULE_PATH/example.rules

I started snort-inline with this command:

$ snort-inline -i eth1 -c /etc/snort_inline/snort_inline.conf -l /myLogFiles/

It executes without a problem and starts monitoring. However, when it initializes, it says:
0 out of 512 flowbits in use and nothing gets dropped when I browse the web.

Any help will be appreciated.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
snort inline rhlnewbie Linux - Security 3 06-14-2009 05:31 AM
snort inline rhlnewbie Linux - Software 1 06-12-2009 03:57 PM
Snort Inline priyadarshan Linux - Software 3 05-27-2009 05:03 AM
Snort Inline priyadarshan Linux - Software 1 04-08-2009 09:23 AM
Snort inline enyawix Linux - Networking 0 09-24-2004 03:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:24 PM.

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