stop clones . with spamfilter..

These are old archives. They are kept for historic purposes only.
AdmiraL
Posts: 2
Joined: Tue Jun 17, 2008 11:55 pm

stop clones . with spamfilter..

Post by AdmiraL »

how can i stop clones me spamfilter.. I have allredy 400..500 clones in the server who come in by the same nick/identd/full name te who come in by the same but i cant catch them immediately `couse they are 400...500 how can i somehow block them with..... in order not to enter anymore

Eliza was [email protected] * Eliza
Eliza using irc.Party.Net Wed Jun 18 00:51:31 2008
Eliza was [email protected] * Eliza
Eliza using irc.Party.Net Wed Jun 18 00:50:37 2008
End of WHOWAS
cima was [email protected] * cima
cima using irc.AlbaParty.Net Wed Jun 18 00:50:39 2008
cima was ~[email protected] * .
cima using irc2.Party.Net Tue Jun 17 22:59:23 2008
End of WHOWAS
baba was [email protected] * baba
baba using irc.Party.Net Wed Jun 18 00:50:41 2008
End of WHOWAS
Stealth
Head of Support
Posts: 2086
Joined: Tue Jun 15, 2004 8:50 pm
Location: Chino Hills, CA, US
Contact:

Re: stop clones . with spamfilter..

Post by Stealth »

Code: Select all

/spamfilter add u gline 1d Possible_clone._Please_change_ident_and_realname_to_be_different_from_your_nick. (.+)!~\1![^:]+:\1$
AdmiraL
Posts: 2
Joined: Tue Jun 17, 2008 11:55 pm

Re: stop clones . with spamfilter..

Post by AdmiraL »

[03:44] -irc.Party.Net- *** Spamfilter added: '(.+)!~\1![^:]+:\1$' [target: u] [action: gline] [reason: Possible clone. Please change ident and realname to be different from your nick.] on Wed Jun 18 01:44:25 2008 GMT (from Jonny!~[email protected])

[03:44] -irc.Party.Net- *** Notice -- Client connecting on port 6669: eros (~[email protected]) [clients]
[03:44] -irc.Party.Net- *** Notice -- Client connecting on port 6667: sjon (~[email protected]) [clients]
[03:45] -irc.Party.Net- *** Notice -- Client connecting on port 6667: alen (~[email protected]) [clients]

..

:roll:
SLipKnOt
Posts: 42
Joined: Sat Apr 10, 2004 6:43 pm
Location: Bangladesh , dhaka
Contact:

Re: stop clones . with spamfilter..

Post by SLipKnOt »

Little Mistake i think

Code: Select all

/spamfilter add u gline 1d Possible_clone._Please_change_ident_and_realname_to_be_different_from_your_nick. (.+)!~\1@[^:]+:\1$
./SLipKnOt --help
Jobe
Official supporter
Posts: 1180
Joined: Wed May 03, 2006 7:09 pm
Location: United Kingdom

Re: stop clones . with spamfilter..

Post by Jobe »

Gawd I hate "(.+)!~\1@[^:]+:\1$" :cry:

Jobe is ~Jobe@<host> : Jobe

Lol anyway, seems the best you can do for now :|
Your IP: Image
Your Country: Image
Redwulf
Posts: 1
Joined: Fri Jul 17, 2009 6:04 pm

Re: stop clones . with spamfilter..

Post by Redwulf »

Hey I just used the regex expression above (with the @, and removed the ~) for my network for people who had nickname and nickname@ip. But I'd like to learn a little of how that expression works. Can someone tell me exactly how (.+)!\1@[^:]+:\1$ does what it does? Like a step by step explanation would be nice so I can learn from it.
frozenfire
Posts: 4
Joined: Fri Sep 25, 2009 8:38 pm

Re: stop clones . with spamfilter..

Post by frozenfire »

Okay, here we go, explaining (.+)!\1@[^:]+:\1$!
We'll start with (.+)
We'll ignore the () for now.
The . means any character. The + is the repetion, one or more.
So .+ is simply one or more characters.
Next is the \1. That's simple, it just means "the same as the first one between () got us". So, if the .+ matched "nathan",then this would match nathan!nathan.
[^:] is a character class. It usually specifies ranges (A-Z, a-z, 0-9) and/or seperate characters. The ^ means"anything except", so this matches 1 or more characters that are not :
We already saw the \1 earlier, we won't repeat that.
The $ simply means "the end".

Feel free to ask any questions if you don't understand ;)
DonTCry
Posts: 50
Joined: Mon Feb 06, 2012 6:01 pm
Contact:

Re: stop clones . with spamfilter..

Post by DonTCry »

Will the same spamfilter match

Blend was [email protected] * Blend
Blirim was [email protected] * Blirim
Amat was [email protected] * Amat
DonTCry
Posts: 50
Joined: Mon Feb 06, 2012 6:01 pm
Contact:

Re: stop clones . with spamfilter..

Post by DonTCry »

Anyone can help with with the spamfilter for the bots I mentioned in the previous post please?
DonTCry
Posts: 50
Joined: Mon Feb 06, 2012 6:01 pm
Contact:

Re: stop clones . with spamfilter..

Post by DonTCry »

artaNl was [email protected] * Artr
T3t0var1 was [email protected] * haaha
T3t0var1 was [email protected] * Arta
arditarV was [email protected] * Artr
alkohama was [email protected] * haaha
alkohama was [email protected] * Arta
Crash
Posts: 12
Joined: Wed Feb 25, 2009 11:04 pm
Location: Ceuta, Spain
Contact:

Re: stop clones . with spamfilter..

Post by Crash »

and for use (.+)!\1@[^:]+:\1$ with alternating case ?
DonTCry
Posts: 50
Joined: Mon Feb 06, 2012 6:01 pm
Contact:

Re: stop clones . with spamfilter..

Post by DonTCry »

[22:40] <@ConnectServ> SIGNOFF user: Mjl2n ([email protected] Mjl2n)
[22:40] <@ConnectServ> SIGNOFF user: Meitin ([email protected] Meitin)
[22:40] <@ConnectServ> SIGNOFF user: Miror ([email protected] Miror)
[22:40] <@ConnectServ> SIGNOFF user: Bilid ([email protected] Bilid)
[22:40] <@ConnectServ> SIGNOFF user: B1l2n ([email protected] B1l2n)
[22:40] <@ConnectServ> SIGNOFF user: Emir ([email protected] Emir)
[22:40] <@ConnectServ> SIGNOFF user: Erlul ([email protected] Erlul)
[22:40] <@ConnectServ> SIGNOFF user: Elb1n ([email protected] Elb1n)

Can anyone give me regex for those bots please?
Stealth
Head of Support
Posts: 2086
Joined: Tue Jun 15, 2004 8:50 pm
Location: Chino Hills, CA, US
Contact:

Re: stop clones . with spamfilter..

Post by Stealth »

DonTCry wrote:[22:40] <@ConnectServ> SIGNOFF user: Mjl2n ([email protected] Mjl2n)
[22:40] <@ConnectServ> SIGNOFF user: Meitin ([email protected] Meitin)
[22:40] <@ConnectServ> SIGNOFF user: Miror ([email protected] Miror)
[22:40] <@ConnectServ> SIGNOFF user: Bilid ([email protected] Bilid)
[22:40] <@ConnectServ> SIGNOFF user: B1l2n ([email protected] B1l2n)
[22:40] <@ConnectServ> SIGNOFF user: Emir ([email protected] Emir)
[22:40] <@ConnectServ> SIGNOFF user: Erlul ([email protected] Erlul)
[22:40] <@ConnectServ> SIGNOFF user: Elb1n ([email protected] Elb1n)

Can anyone give me regex for those bots please?
Please read the full thread before making new posts. Your answer was here:
SLipKnOt wrote:Little Mistake i think

Code: Select all

/spamfilter add u gline 1d Possible_clone._Please_change_ident_and_realname_to_be_different_from_your_nick. (.+)!~\1@[^:]+:\1$
and here:
Redwulf wrote:Hey I just used the regex expression above (with the @, and removed the ~) for my network for people who had nickname and nickname@ip. But I'd like to learn a little of how that expression works. Can someone tell me exactly how (.+)!\1@[^:]+:\1$ does what it does? Like a step by step explanation would be nice so I can learn from it.
and here:
frozenfire wrote:Okay, here we go, explaining (.+)!\1@[^:]+:\1$!
We'll start with (.+)
We'll ignore the () for now.
The . means any character. The + is the repetion, one or more.
So .+ is simply one or more characters.
Next is the \1. That's simple, it just means "the same as the first one between () got us". So, if the .+ matched "nathan",then this would match nathan!nathan.
[^:] is a character class. It usually specifies ranges (A-Z, a-z, 0-9) and/or seperate characters. The ^ means"anything except", so this matches 1 or more characters that are not :
We already saw the \1 earlier, we won't repeat that.
The $ simply means "the end".

Feel free to ask any questions if you don't understand ;)
and this one applies too:
Crash wrote:and for use (.+)!\1@[^:]+:\1$ with alternating case ?
DonTCry
Posts: 50
Joined: Mon Feb 06, 2012 6:01 pm
Contact:

Re: stop clones . with spamfilter..

Post by DonTCry »

Okay, here we go, explaining (.+)!\1@[^:]+:\1$!
We'll start with (.+)
We'll ignore the () for now.
The . means any character. The + is the repetion, one or more.
So .+ is simply one or more characters.
Next is the \1. That's simple, it just means "the same as the first one between
In my case the nickname and full name start with capital letter and the ident is all with small letters
that regex works with bots like these: baba was [email protected] * baba
and I have problem with bots like these: Elb1n ([email protected] Elb1n)
Stealth
Head of Support
Posts: 2086
Joined: Tue Jun 15, 2004 8:50 pm
Location: Chino Hills, CA, US
Contact:

Re: stop clones . with spamfilter..

Post by Stealth »

Spamfilters are not case sensitive and ignore colors, bold, and underline.
Post Reply