The original post is here
viewtopic.php?t=2392&sid=9308edc55a1898 ... 7b04c518c2
Instead of using the .conf to set this.. i did it direct via the /spamfilter add command
I did
and made sure i included the space between the Z and the ] as per Syzop's post/spamfilter add -regex c soft-block - caps_or_netspammer (?-i)[A-Z ]{30}
tested it on regex101.com to make sure it worked with no false hits first and all was good. Ran a test on the server with both a regged and an unregged nick and it worked as required with the unregged nick getting the block and the spamfilter reporting correctly.Spamfilter added: '(?-i)[A-Z ]{30}' [type: regex] [target: c] [action: soft-block] [reason: caps or netspammer]
Now here's the weird thing.. we had a false hit on the filter about 8 hours after it was set
This is the direct snotice from the server
she then retyped hello afterwards again in the channel and that time it showed! I have tried multiple times to reproduce this hit which i have been unable to replicate on the server. I double checked the filter snotice and that is all she actually said.. no message was cut off that i can see![Spamfilter] aisha-banner15!~[email protected] matches filter '(?-i)[A-Z ]{30}': [PRIVMSG #randomchat: ' hello '] [caps or netspammer] at 06:40:58 on 31/05/2021 on
Any thoughts ? We're running Unrealircd 5.0.9.1 with PCRE2 10.36 not the Unrealircd3.2 this filter was originally recommended on
Since this single hit.. there has not been another false hit.. Just more curious than anything as to if there was a logical answer as to why it occurred