suricata -VDisplays the currently installed Suricata version
A high-performance, multi-threaded IDS/IPS and network security monitoring engine with EVE JSON logging.
sudo apt install suricatasuricata -VDisplays the currently installed Suricata version
suricata --build-infoPrints detailed build information including enabled features and libraries
suricata --list-app-layer-protosLists all supported application layer protocols available for detection
suricata --list-keywordsLists all supported rule keywords that can be used in signatures
suricata -TTests the configuration file for errors without starting the engine
Example
suricata -T -c /etc/suricata/suricata.yamlsuricata -T -vTests the configuration file and provides verbose output regarding parsing
Example
suricata -T -c /etc/suricata/suricata.yaml -vsuricata --dump-configDumps the effective configuration to the console for verification
suricata -i <interface>Starts Suricata in IDS mode monitoring live traffic on a specific interface
Example
suricata -i eth0suricata --af-packetUses AF_PACKET mode for high-performance packet capture on Linux
Example
suricata --af-packet=eth0suricata --pcapUses standard libpcap mode for packet capture which is more portable but slower
Example
suricata --pcap=eth0suricata -r <file>Processes a single offline PCAP file for intrusion detection analysis
Example
suricata -r capture.pcapsuricata -r <directory>Processes all PCAP files found within a specific directory sequentially
Example
suricata -r /home/analyst/pcaps/suricata -r <file> -k noneReplays a PCAP while disabling checksum validation to force processing of offloaded packets
Example
suricata -r malicious.pcap -k nonesuricata -c <config>Specifies a custom configuration file path instead of the default location
Example
suricata -c /etc/suricata/suricata.yaml -i eth0suricata -l <directory>Directs all log output including EVE JSON to a custom directory
Example
suricata -l /var/log/suricata/case_101/ -r trace.pcapsuricata -s <file>Loads an additional rule file on top of those defined in the configuration
Example
suricata -c suricata.yaml -s /tmp/test_rules.rules -i eth0suricata -S <file>Loads ONLY the specified rule file ignoring rules in the configuration
Example
suricata -c suricata.yaml -S /tmp/exclusive.rules -i eth0suricata <filter>Applies a BPF filter to limit the traffic Suricata inspects
Example
suricata -i eth0 'tcp port 80 or tcp port 443'suricata -u <user>Drops privileges to run as a specific user after initialization
Example
suricata -u suricata -g suricata -i eth0suricata --engine-analysisPrints a report on rule grouping and engine configuration for tuning
Example
suricata --engine-analysis -c suricata.yamlsuricata --unix-socketEnables the Unix control socket for runtime interaction
Example
suricata --unix-socket=/var/run/suricata/suricata-command.socket -D -i eth0suricatascConnects to the default Suricata control socket for interactive commands
suricatasc -c versionQueries the running Suricata instance for its version via socket
suricatasc -c uptimeQueries the running instance for its current uptime
suricatasc -c reload-rulesTriggers a live reload of the ruleset without restarting the daemon
suricatasc -c shutdownSends a command to gracefully shut down the Suricata instance
suricatasc -c capture-modeDisplays the current capture mode such as AF_PACKET or PCAP
suricatasc -c iface-statRetrieves statistics for a specific interface via the control socket
Example
suricatasc -c iface-stat eth0suricatasc -c dump-countersDumps all internal performance counters for monitoring health
suricata -r <pcap> -l <dir>Standard SOC workflow to analyze a suspicious PCAP and isolate logs
Example
suricata -r attack_simulation.pcap -l logs/analysis_01/grepFilters the EVE JSON output to show only alert events
Example
grep '"event_type":"alert"' logs/eve.jsonjqUses jq to parse EVE JSON and extract specific signature names from alerts
Example
cat eve.json | jq 'select(.event_type=="alert") | .alert.signature'suricata --set <key>=<value>Overrides a configuration value from the command line for ad-hoc testing
Example
suricata --set outputs.1.fast.enabled=yes -i eth0suricata -S <rule> -r <pcap>Validates a specific new signature against known exploit traffic
Example
suricata -S specific_cve.rules -r exploit_traffic.pcap -l ./test_outsuricata --simulate-ipsSimulates IPS blocking behavior on a PCAP file to see what would drop
Example
suricata -r traffic.pcap --simulate-ipssuricatasc -c reopen-log-filesInstructs Suricata to close and reopen log files for log rotation
suricata -r <pcap> --set outputs.1.eve-log.types.0=flowRapidly generates only flow records from a PCAP to trace connections
Example
suricata -r unknown.pcap --set outputs.1.eve-log.types.0=flowsuricata -r <pcap> --set outputs.1.eve-log.types.0=fileinfoAnalyzes a PCAP specifically to extract file metadata and hashes
Example
suricata -r download.pcap --set outputs.1.eve-log.types.0=fileinfosuricata --conf-testStrictly validates the configuration and rules ensuring no warnings exist
Example
suricata -c suricata.yaml --conf-testrmManually cleans up socket directories if a clean shutdown fails
Example
rm -rf /var/run/suricata/suricata --dpdkEnables DPDK support for ultra high-speed packet processing
suricata -T -S <file>Tests a specific rule file for syntax errors without loading the main config
Example
suricata -T -S experimental.rulessuricata -r <pcap> --set app-layer.protocols.tls.enabled=yesForces TLS metadata extraction even if disabled in default config
Example
suricata -r encrypted.pcap --set app-layer.protocols.tls.enabled=yessuricatasc -c version-jsonReturns the version and build info in JSON format for automation
kill -USR2Sends a USR2 signal to the process to trigger a rule reload manually
Example
kill -USR2 $(pidof suricata)A network intrusion detection and prevention system that inspects traffic in real time against a rule language.
A network security monitor that turns traffic into rich, structured logs of connections, DNS, HTTP, TLS and files.
The classic packet capture tool: capture and filter traffic with BPF expressions and write it to pcap files for later analysis.
Replays captured pcap traffic onto a network at chosen speeds — useful for testing IDS rules and network devices.