[Oisf-users] Segmentation fault (core dumped) when setting configuration value with commandline arguments

Victor Julien lists at inliniac.net
Tue Jan 5 14:15:30 UTC 2016


On 05-01-16 14:52, Andreas Moe wrote:
> suricata -c /etc/suricata/suricata.yaml -i eth0 --set
> logging.outputs.file.enabled=yes --set
> logging.outputs.filename=/tmp/suricata.log --set logging.outputs.format=json

This is enough to reproduce it here.

The problem is that lists are a bit tricky when using --set. This should
work:

suricata -c /etc/suricata/suricata.yaml -i eth0 --set
logging.outputs.1.file.enabled=yes --set
logging.outputs.1.file.filename=/tmp/suricata.log --set
logging.outputs.1.file.type=json

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




More information about the Oisf-users mailing list