[Snort-devel] Define var that references other vars

Russ Combs rcombs at ...402...
Fri Dec 21 17:37:56 EST 2012


You want portvar and ipvar instead of var.

On Tue, Dec 18, 2012 at 6:05 PM, Jon Larson <jon at ...3287...> 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 at 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!
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.snort.org/pipermail/snort-devel/attachments/20121221/31bf1f6b/attachment.html>


More information about the Snort-devel mailing list