Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Making suricata run in socket mode for pcap processing improvement #617

Open
wants to merge 3 commits into
base: staging
Choose a base branch
from

Conversation

jjrush
Copy link
Collaborator

@jjrush jjrush commented Jan 16, 2025

Addressing cisagov#457

We can address whether we need 33-suricata-socket.yml. We can just merge that into 11-suricata.yml if we never intend to use the other way moving forward. Otherwise I implemented the socket logic in a new class and included that in pcap_processor.py.

I then tested by spinning up a docker image with the pcap_watcher and moving PCAPs into the correct directory. For each PCAP placed in the input folder I was able to see a directory be made with an eve.json within filled with suricata data. See attached screenshot.

image

@jjrush jjrush self-assigned this Jan 16, 2025
@mmguero mmguero changed the base branch from main to staging January 16, 2025 22:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant