Snort mailing list archives

RE: reading a new rule.


From: "samwun" <samwun () hgcbroadband com>
Date: Mon, 11 Aug 2003 12:57:45 +0800

I still have a problem here. I want snort detect the following
signature:

POST /index.html?crap=10601855

It is in the tcp data section. How can I write a rule for it and how to
set it up and run by snort?

Thanks very much
Sam

-----Original Message-----
From: snort-users-admin () lists sourceforge net
[mailto:snort-users-admin () lists sourceforge net] On Behalf Of Erek Adams
Sent: Monday, August 11, 2003 2:14 AM
To: samwun
Cc: snort-users () lists sourceforge net
Subject: Re: [Snort-users] reading a new rule.

On Sun, 10 Aug 2003, samwun wrote:

I've just created a new rule for snort 2.0, but I don't how to run
snort
commandline to execute this rule.
Here is the step I did:

1.    added the name of the rule in the
/usr/local/snort.2.0.0/etc/snort.conf.
2.    execute snort command: snort -c
/usr/local/snort.2.0.o/etc/snort.conf

That's it.  I'm assuming the o (letter) is just a typo in the email.  :)

By the way, is there any way to test the current snort rule? Eg.
Simulate attacks.

You could build the packet with a number of different packet generators.
Be warned, that if you use 'flow:' in there, a single packet won't set
it
off.

Cheers!

-----
Erek Adams

   "When things get weird, the weird turn pro."   H.S. Thompson


-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01
/01
_______________________________________________
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://www.geocrawler.com/redir-sf.php3?list=snort-users



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
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://www.geocrawler.com/redir-sf.php3?list=snort-users


Current thread: