09.11.2015 Views

SURICATA

suricata_mixed_mode_2015

suricata_mixed_mode_2015

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

MIXED MODE : USAGE<br />

1. Add iptables rules with NFQ/NFLOG target :<br />

# we want to be sure not to cut off a webserver,<br />

# but we want to inspect port 80<br />

# Send other than 80 to iPS<br />

–nft add rule filter forward tcp dport not 80 queue num 0<br />

# Port 80 to IDS<br />

–nft add rule filter forward tcp dport 80 log group 2<br />

Iptables way :<br />

–iptables -A FORWARD -p tcp ! --dport 80 -j NFQUEUE<br />

–iptables -A FORWARD -p tcp –dport 80 -j NFLOG --nflog-group 2

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!