[Oisf-users] Suricata Unix Socket

Versnel Diemen versneldiemen at gmail.com
Mon Oct 27 17:51:22 UTC 2014

Hallo there,

I'm currently writing a Python program which will send cmd to Suricatasc
via the Unix Socket but i cannot get it working and also cannot find any
good resource that can explain it to me.
Plz Help me.

This is the code that i have at the moment:

def RunPcap():
>         soc = "/var/run/suricata/suricata-command.socket"
>         s = socket.socket(socket.AF_UNIX)
>         s.connect(soc)
>         s.send("pcap-file file_name.pcap test/")
>         s.close
> RunPcap()
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openinfosecfoundation.org/pipermail/oisf-users/attachments/20141027/83f2bc5d/attachment.html>

More information about the Oisf-users mailing list