Project

General

Profile

Actions

Support #1306

closed

Suricatasc: Python Unix Socket

Added by versnel diemen over 9 years ago. Updated almost 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Affected Versions:
Label:

Description

Hallo there,

I'm currently writing a Python program which will send cmd to Suricatasc via the Unix Socket but i cannot get it connect.
Plz Help me.

This is the code that i have at the moment:
def RunPcap():
soc = "/var/run/suricata/suricata-command.socket"
sc = suricatasc.SuricataSC(soc)
sc.connect()
sc.send_command("pcap-file /2014-09-24-Fiesta-EK-traffic.pcap test/")
s.close()
RunPcap()

Actions #1

Updated by Victor Julien over 9 years ago

  • Target version deleted (2.0.4)
Actions #2

Updated by Andreas Herz about 8 years ago

Do you still need help with that?

Actions #3

Updated by Victor Julien almost 8 years ago

  • Status changed from New to Closed
  • Priority changed from High to Normal
Actions

Also available in: Atom PDF