I installed lastest SO. Suricata engine gives ERROR about HOME_NET variable
Suricata run as the following code
>>>> suricata --user sguil --group sguil -c /etc/nsm/sensor-eth1/suricata.yaml --pfring=eth1 -F /etc/nsm/sensor-eth1/bpf-ids.conf -l /nsm/sensor_data/sensor-eth1
Error is:
----------------------------
6/10/2016 -- 09:57:48 - <Error> - [ERRCODE: SC_ERR_UNDEFINED_VAR(101)] - Variable "HOME_NET " is not defined in configuration file
6/10/2016 -- 09:57:48 - <Error> - [ERRCODE: SC_ERR_INVALID_IP_NETBLOCK(16)] - failed to parse $HOME_NET
6/10/2016 -- 09:57:48 - <Error> - [ERRCODE: SC_ERR_UNDEFINED_VAR(101)] - Variable "HOME_NET " is not defined in configuration file
6/10/2016 -- 09:57:48 - <Error> - [ERRCODE: SC_ERR_INVALID_IP_NETBLOCK(16)] - failed to parse $HOME_NET
6/10/2016 -- 09:57:48 - <Error> - [ERRCODE: SC_ERR_UNDEFINED_VAR(101)] - Variable "HOME_NET " is not defined in configuration file
6/10/2016 -- 09:57:48 - <Error> - [ERRCODE: SC_ERR_INVALID_IP_NETBLOCK(16)] - failed to parse $HOME_NET
-----------------------------
Whereas, suricata.yaml has HOME_NET variable
---------------------------------------------------------------------
##
vars:
# more specifc is better for alert accuracy and performance
address-groups:
HOME_NET: "[10.0.0.0/8]"
#HOME_NET: "[192.168.0.0/16]"
#HOME_NET: "[10.0.0.0/8]"
#HOME_NET: "[172.16.0.0/12]"
#HOME_NET: "any"
#EXTERNAL_NET: "!$HOME_NET"
EXTERNAL_NET: "any"
HTTP_SERVERS: "$HOME_NET"
SMTP_SERVERS: "$HOME_NET"
SQL_SERVERS: "$HOME_NET"
DNS_SERVERS: "$HOME_NET"
TELNET_SERVERS: "$HOME_NET"
AIM_SERVERS: "$EXTERNAL_NET"
DNP3_SERVER: "$HOME_NET"
DNP3_CLIENT: "$HOME_NET"
MODBUS_CLIENT: "$HOME_NET"
MODBUS_SERVER: "$HOME_NET"
ENIP_CLIENT: "$HOME_NET"
ENIP_SERVER: "$HOME_NET"
--------------
Where is problem? Any help will be great.
Thx.
when i comment rules no error is appeared.
But
suppress gen_id 1, sig_id 2009702, track by_dst, ip $HOME_NET
generates error
i changed to
suppress gen_id 1, sig_id 2009702, track by_dst, ip 192.168.0.0/16
also generates error.
Any idea?
--
Follow Security Onion on Twitter!
https://twitter.com/securityonion
---
You received this message because you are subscribed to the Google Groups "security-onion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to security-onion+unsubscribe@googlegroups.com.
To post to this group, send email to security-onion@googlegroups.com.
Visit this group at https://groups.google.com/group/security-onion.
For more options, visit https://groups.google.com/d/optout.