[Snort-devel] Variables don't need dollar sign in sig?

Mike Cox mike.cox52 at ...2499...
Thu Nov 13 11:21:56 EST 2014


I recently realized that I had some rules that used an ipvar but without
the dollar sign.  For example:

alert HOME_NET any -> ...

instead of:

alert $HOME_NET any -> ...

The strange thing is, this seems to work fine and the rule alerts as
expected.  However, I couldn't find anything in the manual about this
behavior.  Is this normal?

In my case I do have this in my conf:

ipvar HOME_NET any

Thanks!

-Mike Cox
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.snort.org/pipermail/snort-devel/attachments/20141113/9fa63d24/attachment.html>


More information about the Snort-devel mailing list