LOGBOOK

HELP

Quiz Entry - updated: 2026.12.01

What does the rule option iprep:dst,hslu,>,20; mean?

Match if the packet's destination IP is in the reputation category hslu with a score greater than 20.

The iprep keyword has four parts: iprep:<side>,<category>,<operator>,<score>.

Part Here Options
side dst src, dst, both (both must match), any (either)
category hslu a short name from the categories file
operator > <, <=, >, >=, =
score 20 compared with the IP's score in that category

The full lab rule is:

alert ip any any -> any any (msg:"IP-Reputation Rule"; iprep:dst,hslu,>,20; sid:1; classtype:hslu-network; rev:1;)

The header is wide open (ip any any -> any any), so iprep alone decides. With the web server listed as hslu with score 30, any IP traffic to it raises the alert, and browsing to the server triggers it. Because the threshold is a parameter, the same list can drive several rules: alert at > 20, and treat > 80 as critical.

Go deeper:

From Quiz: ISLAB / Network Security Monitoring | Updated: Dec 01, 2026