Snort mailing list archives

Re: Error with snort rule files


From: "Joel Esler \(jesler\) via Snort-sigs" <snort-sigs () lists snort org>
Date: Mon, 20 Nov 2017 13:52:19 +0000

Typically, your -c will point to your snort.conf, and your snort.conf should be configured to point to your .rules file.

The error here shows that your .rules do not have EXTERNAL_NET defined.  Which is contained in the snort.conf file.

--
Joel Esler | Talos: Manager | jesler () cisco com<mailto:jesler () cisco com>






On Nov 18, 2017, at 12:14 PM, Kmar via Snort-sigs <snort-sigs () lists snort org<mailto:snort-sigs () lists snort org>> 
wrote:

Hello, I have attempting to use various rule files such as bad-traffic.rules, dos.rules, etc, to analyze a pcap file 
for malicious traffic. Unfortunately,  Ir receive the same error for every rule file I attempt to use.  It works with 
the regular snort.conf file.

I use the following command:

Snort -r pcapfilename.pcap -c rulefilename.rules

I receive the following error:

Undefined variable in the string $EXTERNAL_NET

I have edited the rule files but nothing seems to work properly.


Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10

_______________________________________________
Snort-sigs mailing list
Snort-sigs () lists snort org<mailto:Snort-sigs () lists snort org>
https://lists.snort.org/mailman/listinfo/snort-sigs

Please visit http://blog.snort.org<http://blog.snort.org/> for the latest news about Snort!

Please follow these rules: https://snort.org/faq/what-is-the-mailing-list-etiquette

Visit the Snort.org<http://snort.org/> to subscribe to the official Snort ruleset, make sure to stay up to date to 
catch the most <a href=" https://snort.org/downloads/#rule-downloads";>emerging threats</a>!

_______________________________________________
Snort-sigs mailing list
Snort-sigs () lists snort org
https://lists.snort.org/mailman/listinfo/snort-sigs

Please visit http://blog.snort.org for the latest news about Snort!

Please follow these rules: https://snort.org/faq/what-is-the-mailing-list-etiquette

Visit the Snort.org to subscribe to the official Snort ruleset, make sure to stay up to date to catch the most <a 
href=" https://snort.org/downloads/#rule-downloads";>emerging threats</a>!

Current thread: