[Definition] failregex = .*\[UFW BLOCK\] IN=.* SRC= DST=\S+ .*DPT=(?P\d+) .*fatal: .*for # Private/link-local ranges + this host's own public IP + multicast, so # internal traffic and normal multicast/mDNS noise don't get banned. ignoreregex = SRC=(10\.|172\.1[6-9]\.|172\.2[0-9]\.|172\.3[0-1]\.|192\.168\.|fe80:).* DST=(178\.62\.105\.126|224\.0\.0\.).* PROTO=(2|UDP)(\s+|.* DPT=(1900|3702|5353|5355) LEN=\d*\s+)$ SRC=(10\.|172\.(1[6-9]|2[0-9]|3[0-1])\.|192\.168\.) [Init] # Scope journal scanning to kernel-sourced (netfilter/UFW) log lines for # performance. If your "fatal: ... for " line comes from a different # journal unit, split this into two jails/filters instead of one. journalmatch = _TRANSPORT=kernel