Snort mailing list archives

Re: Variables


From: Joel Esler <jesler () sourcefire com>
Date: Fri, 31 Aug 2012 09:13:00 -0400

On Aug 31, 2012, at 9:07 AM, Michael Brown <mike.a.brown09 () gmail com> wrote:

I have a variable called custom_ports. The values of that for this test is 81, 80, 8080, 10000 how am I correctly 
supposed to define this variable? Like the following? 

portvar cusotm_ports [81,80,8080,10000]

or 

portvar custom_ports 81,80,8080,10000

Yes, you should be using brackets.

--
Joel Esler
Senior Research Engineer, VRT
OpenSource Community Manager
Sourcefire
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
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

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


Current thread: