[Snort-devel] Define var that references other vars

Jon Larson jon at ...3287...
Tue Dec 18 18:05:37 EST 2012


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?





More information about the Snort-devel mailing list