[Oisf-users] HOME_NET is not defined?

Victor Julien victor at inliniac.net
Mon Jan 2 12:15:58 UTC 2012


On 12/24/2011 05:40 PM, Dewhirst, Rob wrote:
> [469] 24/12/2011 -- 09:58:58 - (util-rule-vars.c:96) <Error>
> (SCRuleVarsGetConfVar) -- [ERRCODE: SC_ERR_UNDEFINED_VAR(99)] -
> Variable "HOME_NET" is not defined in configuration file
> 
> /etc/suricata/suricata.yaml:
> 
> vars:
> 
>   # Holds the address group vars that would be passed in a Signature.
>   # These would be retrieved during the Signature address parsing stage.
>   address-groups:
> 
>     HOME_NET: "[122.137.0.0/16,10.0.0.0/8]"
> 
> No sure what is going on here.  My HOME_NET definition looks fine.

The yaml file format is sensitive to indentation errors. Make sure only
4 spaces are on the HOME_NET line before it.

-- 
---------------------------------------------
Victor Julien
http://www.inliniac.net/
PGP: http://www.inliniac.net/victorjulien.asc
---------------------------------------------




More information about the Oisf-users mailing list