Snort mailing list archives

Re: IP REP / Pulled Pork / Snort Difficulties


From: "Turnbough, Bradley E." <bturnbough () belcan com>
Date: Mon, 10 Mar 2014 13:41:04 +0000

In my case, I download the signatures and ip rep list to a central location within my company.  From there, my sensors 
grab a copy and process the rule sets.

FYI -- Responding with "inline" only adds to our frustrations.  If you have something to contribute, please do so, but 
do it in a meaningful manner.  "inline." does not bring anything to the table.
________________________________
From: Y M [snort () outlook com]
Sent: Friday, March 07, 2014 1:32 PM
To: Anshuman Anil Deshmukh; snort-users
Subject: Re: [Snort-users] IP REP / Pulled Pork / Snort Difficulties

inline.

________________________________
From: anshuman () cybage com
To: snort-users () lists sourceforge net
Date: Fri, 7 Mar 2014 13:59:34 +0000
Subject: Re: [Snort-users] IP REP / Pulled Pork / Snort Difficulties


Hi YM,



So to have two configurations, we should have 2 pulledpork config files, right?



Not necessarily, but yes. You have one configuration file and modify it based on what you are trying to accomplish.



Also if you could elaborate what goes wrong by not having 2 configs would help.



There shouldn't be anything wrong in not having two different configuration files. If you use PulledPork to download 
the ruleset (and IP list) and then process them together, then you should stick with one configuration file. In our 
setup this is not doable due to how/where our sensors are located. We download the rules to a "staging" sensor for 
testing/researching before applying to production sensors. In other words, the ruleset is processed locally (not 
downloaded) by PulledPork. In this case, the local IP list does not get process, so we PulledPork again with only the 
IP list url enabled to only download and process the IP list



Thanks.



Regards,

Anshuman



From: Y M [mailto:snort () outlook com]
Sent: Thursday, March 6, 2014 10:31 PM
To: Turnbough, Bradley E.; snort-users
Subject: Re: [Snort-users] IP REP / Pulled Pork / Snort Difficulties



Hi Bradley;

What I have noticed is that the ability to process IP lists "offline"/locally as PulledPork would with rulesets  dose 
not seem to be implemented. If it is, then both of us are making the same mistake :).  What I do is that I run 
PulledPork twice, once against the configs to process rulesets locally,  and the second time against configs to only 
fetch the IP list and process it.

YM


From: bturnbough () belcan com<mailto:bturnbough () belcan com>
To: snort-users () lists sourceforge net<mailto:snort-users () lists sourceforge net>
Date: Thu, 6 Mar 2014 16:44:39 +0000
Subject: [Snort-users] IP REP / Pulled Pork / Snort Difficulties

Good Morning,

I'm having some difficulties getting the ip reputation piece up and working the way that I want it. Can someone 
please correct me where I am wrong?

PulledPork 0.7.0
Snort 2.9.5.5

PulledPork configuration:
rule_url=http://labs.snort.org/feeds/ip-filter.blf|IPBLACKLIST|open<http://labs.snort.org/feeds/ip-filter.blf%7CIPBLACKLIST%7Copen<http://labs.snort.org/feeds/ip-filter.blf%7cIPBLACKLIST%7copen>>
black_list=/etc/snort/rules/black_list-p2p1.rules
IPRVersion=/etc/snort/rules/

Snort configuration:

var WHITE_LIST_PATH rules
var BLACK_LIST_PATH rules

preprocessor reputation: \
memcap 500, \
priority whitelist, \
nested_ip inner, \
# whitelist $WHITE_LIST_PATH/white_list-p2p1.rules, \
blacklist $BLACK_LIST_PATH/black_list-p2p1.rules


I have a cron script that downloads the ip list every night at a predetermined time:

wget -v http://labs.snort.org/feeds/ip-filter.blf -O /opt/pulledpork/tmp/sigs/IPBLACKLIST

The machine has multiple interfaces, so I only want to download the file once and then process from that downloaded 
copy for all interfaces. Pulled pork is run with the '-P' so that rules are processed even though they weren't 
downloaded and '-n' "do everything other than download of new files (disablesid, etc).

So, the steps would be:

1) download file and place it in /opt/pulledpork/tmp/sigs/IPBLACKLIST
2) run pulledpork and process the rules / ip lists.
3) PP then generates a ipblacklist file called 'black_list-p2p1.rules' and places it in 
/etc/snort/rules/black_list-p2p1.rules

Everything except for this ip reputation is working properly, and has been working properly for some time.

Does anyone have a clue why this isn't working?

Thanks,

Brad
_____________________________________________________________ This e-mail transmission contains information that is 
confidential and may be privileged. It is intended only for the addressee(s) named above. If you receive this e-mail 
in error, please do not read, copy or disseminate it in any manner. If you are not the intended recipient, any 
disclosure, copying, distribution or use of the contents of this information is prohibited. Please reply to the 
message immediately by informing the sender that the message was misdirected. After replying, please erase it from 
your computer system. Your assistance in correcting this error is appreciated.

------------------------------------------------------------------------------
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works.
Faster operations. Version large binaries. Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
_______________________________________________
Snort-users mailing list
Snort-users () lists sourceforge net<mailto:Snort-users () lists sourceforge net>
Go to this URL to change user options or unsubscribe:
https://lists.sourceforge.net/lists/listinfo/snort-users
Snort-users list archive:
http://sourceforge.net/mailarchive/forum.php?forum_name=snort-users

Please visit http://blog.snort.org to stay current on all the latest Snort news!


"Legal Disclaimer: This electronic message and all contents contain information from Cybage Software Private Limited 
which may be privileged, confidential, or otherwise protected from disclosure. The information is intended to be for 
the addressee(s) only. If you are not an addressee, any disclosure, copy, distribution, or use of the contents of this 
message is strictly prohibited. If you have received this electronic message in error please notify the sender by reply 
e-mail to and destroy the original message and all copies. Cybage has taken every reasonable precaution to minimize the 
risk of malicious content in the mail, but is not liable for any damage you may sustain as a result of any malicious 
content in this e-mail. You should carry out your own malicious content checks before opening the e-mail or 
attachment." www.cybage.com

------------------------------------------------------------------------------ Subversion Kills Productivity. Get off 
Subversion & Make the Move to Perforce. With Perforce, you get hassle-free workflows. Merge that actually works. Faster 
operations. Version large binaries. Built-in WAN optimization and the freedom to use Git, Perforce or both. Make the 
move to Perforce. http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
_______________________________________________ Snort-users mailing list Snort-users () lists sourceforge net Go to 
this URL to change user options or unsubscribe: https://lists.sourceforge.net/lists/listinfo/snort-users Snort-users 
list archive: http://sourceforge.net/mailarchive/forum.php?forum_name=snort-users Please visit http://blog.snort.org to 
stay current on all the latest Snort news!
_____________________________________________________________ This e-mail transmission contains information that is 
confidential and may be privileged. It is intended only for the addressee(s) named above. If you receive this e-mail in 
error, please do not read, copy or disseminate it in any manner. If you are not the intended recipient, any disclosure, 
copying, distribution or use of the contents of this information is prohibited. Please reply to the message immediately 
by informing the sender that the message was misdirected. After replying, please erase it from your computer system. 
Your assistance in correcting this error is appreciated.

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Snort-users mailing list
Snort-users () lists sourceforge net
Go to this URL to change user options or unsubscribe:
https://lists.sourceforge.net/lists/listinfo/snort-users
Snort-users list archive:
http://sourceforge.net/mailarchive/forum.php?forum_name=snort-users

Please visit http://blog.snort.org to stay current on all the latest Snort news!


Current thread: