Page 1 of 1

help with regex

Posted: Thu Oct 22, 2009 1:02 am
by Toni
hi all

ok thats my question

i have this regex

^(.+)!.+@.+:\1$
witch stops clones with same name and realname

but the problem is

now is new script around wich has been used like this

example nickname toni and realname >> Toni (T) with big leter

i was thinkin can be done somthing like [a-zA-Z] on this code to catch big leters to

regard

Re: help with regex

Posted: Sun Nov 22, 2009 1:04 pm
by SLipKnOt
Try this one.. it might work ^(.+)!.+@.+:(?i)\1$

Re: help with regex

Posted: Sun Nov 22, 2009 5:15 pm
by Stealth
Unreal's regex matching is already case-insensitive by default.

You simply just need to add onto the end of the regex what your flooder is using: ^(.+)!.+@.+:\1 \([a-z]\)$

Also, if you are having such a problem with flooding that you need a new regex every time they change scripts, you should run a BOPM using DroneBL (http://dronebl.org) and ProxyBL (http://proxybl.org). Using those 2 databases combined will stop 99% of malicious connections to your server before they can even do anything to flood. The connections that get through you can report to DroneBL to help other IRC admins stop floods on their networks as well. You can get BOPM here http://wiki.blitzed.org/BOPM, and my example configuration for using BOPM with Unreal here http://tinyurl.com/ycuedg6

Re: help with regex

Posted: Thu Mar 18, 2010 9:00 am
by Izv143
Stealth wrote:Unreal's regex matching is already case-insensitive by default.

You simply just need to add onto the end of the regex what your flooder is using: ^(.+)!.+@.+:\1 \([a-z]\)$

Also, if you are having such a problem with flooding that you need a new regex every time they change scripts, you should run a BOPM using DroneBL (http://dronebl.org) and ProxyBL (http://proxybl.org). Using those 2 databases combined will stop 99% of malicious connections to your server before they can even do anything to flood. The connections that get through you can report to DroneBL to help other IRC admins stop floods on their networks as well. You can get BOPM here http://wiki.blitzed.org/BOPM, and my example configuration for using BOPM with Unreal here http://tinyurl.com/ycuedg6
Can u give few tips for them, i do have BOPM and both of those databases but still lot of proxies pass it. And problem is it is hard to find any help for BOPM .

Re: help with regex

Posted: Thu Mar 18, 2010 2:17 pm
by Stealth
Knowing the source of the proxies is a good portion of the battle. If you know the source you can report them to blacklists, or load different blacklists based on the kinds of proxies they are.

Are you sure these are proxies and not Tor exit servers? Get the IP of one and Google it, which will usually tell you what it is.

If it is a Tor exit server, load a Tor blacklist in your bopm.conf. If you find a website that lists it with a bunch of other proxies you can give the site to ProxyBL for scanning and checking, and/or get a RPC key for DroneBL and submit the IPs there.

Re: help with regex

Posted: Fri Mar 19, 2010 7:57 am
by Izv143
Stealth when I go on google and type those IPs it says they are Proxy, but those scanners don't pick them for some reason :|

Re: help with regex

Posted: Thu Apr 28, 2011 2:50 pm
by Toni
this is how is goin to be right ? ^(.+)!.+@.+:\1\([a-z]\)$ or ^(.+)!.+@.+:\([a-z]\)$

which one of this ?

regard