Suricata:User defined Rule (GeopIP Blocking) not working

Started by tcmax, April 29, 2017, 10:51:38 AM

Previous topic - Next topic
Hello,


OPNSense 17.1.5 up went through without problems, but now in the the logs i find mit (previous working)
rule GeoIP blocking being allowed instead of dropped.
I checked the settings, but verything seems to be ok.
IPS disabled, user defindes rule with a bunch of countries and default action "dropped".
I restartet the servie serveral times, reboot the whole machine, disabled / enabled the rule - no effect.
In the logs i read e.g. Rule Geoip blocking Dest: 123.207.241.38 (china, of course) an action: allowed
Why?
Any idea?

P.S: When IPS enabled, it changes to "blocked" - so far so good, but in the previous opnsense version IPS disabled still
uses my user defined rule, without using e.g. ET rules. Now opnsense seems to use my rule only, when ips enabled.
Disadvantage: IPS enabled hits my performance - throughput drops from 11,5 mb/sec to max 7.6 ...

Two thoughts... Are you shure you've changed the IPS rule from Allow to Block? Sorry if this is a basic question for you.

And, you could set up a China GEOIP blocking rule with a FW Alias and block there without neeting IPS.
overkill: Dell SFF i5, 16gb, 120gb SSD, 4x gb NICs
OPNsense 21.1.x

Yes, it´s set to drop.
The same rule worked the last months without any change and the log files said correctly: dropped.

It´s not  just china, a dozend or more... and very comfortable to edit...