Snort mailing list archives
Re: Define var that references other vars
From: Russ Combs <rcombs () sourcefire com>
Date: Fri, 21 Dec 2012 17:37:56 -0500
You want portvar and ipvar instead of var. On Tue, Dec 18, 2012 at 6:05 PM, Jon Larson <jon () catbird com> wrote:
I'd like to define a variable that references other variables like this: var var1 [192.168.2.2,192.168.2.3] var var2 [192.168.3.2,192.168.3.3] var var3 [192.168.4.2,192.168.4.3] var var_all [$var1,$var2,$var3] The above doesn't work because when I look at the name field of the ipVarTable for this entry I see "[,,]" So, is this supported and if so what's the syntax? ------------------------------------------------------------------------------ LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d _______________________________________________ Snort-devel mailing list Snort-devel () lists sourceforge net https://lists.sourceforge.net/lists/listinfo/snort-devel Archive: http://sourceforge.net/mailarchive/forum.php?forum_name=snort-devel Please visit http://blog.snort.org for the latest news about Snort!
------------------------------------------------------------------------------ LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________ Snort-devel mailing list Snort-devel () lists sourceforge net https://lists.sourceforge.net/lists/listinfo/snort-devel Archive: http://sourceforge.net/mailarchive/forum.php?forum_name=snort-devel Please visit http://blog.snort.org for the latest news about Snort!
Current thread:
- Define var that references other vars Jon Larson (Dec 21)
- Re: Define var that references other vars Russ Combs (Dec 21)