snort

Flexible Network Intrusion Detection System for monitoring network traffic

brewmacoslinux
Try with needOr install directly
Source

About

Flexible Network Intrusion Detection System

Commands

snort

Examples

Run Snort in packet sniffer mode to display packets on network interface$ snort -i en0 -v
Monitor network traffic using default rules configuration$ snort -c /usr/local/etc/snort/snort.conf -i en0 -A console
Read and analyze packets from a pcap file$ snort -r capture.pcap -c /usr/local/etc/snort/snort.conf -A console