View previous topic :: View next topic |
Author |
Message |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Wed Mar 29, 2017 3:21 pm Post subject: Re: rehash |
|
|
gembels wrote: | Hi Sir_Fz,
I am one of your fans... I just wondering.. I did some modification in your code just to make the antispam can change their ip, ident and nick every time they cycles. But to do that, so far I am using rehash command, i know its not right or so blatantly. is there anyway to kill the antispam bot with proc and reconnect again ?
Thanks in advance |
If you look at the antispamcore procedure, you'll find this code snippet for disconnecting the antispam bot:
Code: |
putdcc $antispam(idx) quit
|
Basically, you can just disconnect the bot and make it reconnect with a new host. _________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
Back to top |
|
 |
Fahad Op

Joined: 29 Aug 2016 Posts: 127
|
Posted: Thu Mar 30, 2017 4:57 am Post subject: |
|
|
When the FINAL VERSION is coming this is still BETA Rite ?
ALL PROTECTION 4.9b4 |
|
Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Fri Mar 31, 2017 12:21 pm Post subject: |
|
|
Do you have any problems with it or is there any feature you'd like to add? Otherwise it's pretty final for me. In other words, I'm not working on it at all and not planning to as long as there's no feedback or user interest. _________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
Back to top |
|
 |
Fahad Op

Joined: 29 Aug 2016 Posts: 127
|
Posted: Fri Mar 31, 2017 1:26 pm Post subject: |
|
|
Sir_Fz wrote: | Do you have any problems with it or is there any feature you'd like to add? Otherwise it's pretty final for me. In other words, I'm not working on it at all and not planning to as long as there's no feedback or user interest. |
I have 100% Interest in this TCL and rite now there is nothing to add if there is anything to add i will tell you and one thing MASS/JOIN flood it doesn't control well. So for that I put another TCL from SPIKE^^^ otherwise it's fine |
|
Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Wed Apr 05, 2017 12:58 pm Post subject: |
|
|
Fahad wrote: | I have 100% Interest in this TCL and rite now there is nothing to add if there is anything to add i will tell you and one thing MASS/JOIN flood it doesn't control well. So for that I put another TCL from SPIKE^^^ otherwise it's fine |
What's missing in mass join? We can enhance it if necessary to cover any missing features. _________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
Back to top |
|
 |
Fahad Op

Joined: 29 Aug 2016 Posts: 127
|
Posted: Wed Apr 05, 2017 3:09 pm Post subject: |
|
|
It does not stop the flood. In AP but in Spike tcl its keep on setting -Rm |
|
Back to top |
|
 |
caesar Mint Rubber

Joined: 14 Oct 2001 Posts: 3767 Location: Mint Factory
|
Posted: Thu Apr 06, 2017 12:54 am Post subject: |
|
|
Really? All you had to do was to copy/paste at the end of Spike's code the one I said and replace one line with another and the issue would have been fixed. But nooo.. you are too lazy.  _________________ Once the game is over, the king and the pawn go back in the same box. |
|
Back to top |
|
 |
Fahad Op

Joined: 29 Aug 2016 Posts: 127
|
Posted: Thu Apr 06, 2017 4:53 am Post subject: |
|
|
OK i'll do that, and will let you know if something happens. |
|
Back to top |
|
 |
m4s Halfop

Joined: 30 Jan 2017 Posts: 97
|
Posted: Thu Apr 06, 2017 12:18 pm Post subject: Nickban - *nick*!*@* |
|
|
Hello,
First of all thank you for this script, it is really good and works fine for me.
I have a request and a question regarding to nickbans.
Is it possible to add a new ban mask? *nick*!*@*. I think it would be useful.
The question is: I want the nickbans to be permanent. How can I enable/set it?
I never want to remove nickbans.
Thanks for the replies!  |
|
Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Thu Apr 06, 2017 3:17 pm Post subject: Re: Nickban - *nick*!*@* |
|
|
The closest ban mask to what you're requesting is banmask 11 (nick!*@*) which makes more sense than what you're requesting IMHO. If you ban *Orange*!*@* then it'll match Orange and MrOrange for example, which is a bit extreme if you ask me. However, if this is really a feature that you need I don't mind adding it.
As for placing permanent bans, just set the ban time to 0 in the punishment setting of any flood type. _________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Thu Apr 06, 2017 3:19 pm Post subject: |
|
|
Fahad wrote: | caesar wrote: | Really? All you had to do was to copy/paste at the end of Spike's code the one I said and replace one line with another and the issue would have been fixed. But nooo.. you are too lazy.  |
OK i'll do that, and will let you know if something happens. |
lol, I still have no idea what the problem with mass join protection is. "Doesn't work" isn't much helpful.
@caesar I'd appreciate your help on this one since you seem to know what he's talking about? _________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
Back to top |
|
 |
caesar Mint Rubber

Joined: 14 Oct 2001 Posts: 3767 Location: Mint Factory
|
Posted: Fri Apr 07, 2017 12:51 am Post subject: |
|
|
@Sir_Fz Sorry for hijacking your topic, he was talking about this topic and he's too lazy to add a small piece of code at the end of the existing one he has and swap a single line with a new one to use the newly added code in order to fix the bug he mentioned above.
That code is tailored for a specific specific pattern to deal with mass joins, worth a read imho. _________________ Once the game is over, the king and the pawn go back in the same box. |
|
Back to top |
|
 |
Fahad Op

Joined: 29 Aug 2016 Posts: 127
|
Posted: Fri Apr 07, 2017 2:33 am Post subject: |
|
|
I was not lazy to add code. I was just afraid if i make some mistake and here i was talking about his sir_fz tcl not the other one. Which you gave me code. |
|
Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Fri Apr 07, 2017 12:25 pm Post subject: |
|
|
caesar wrote: | @Sir_Fz Sorry for hijacking your topic, he was talking about this topic and he's too lazy to add a small piece of code at the end of the existing one he has and swap a single line with a new one to use the newly added code in order to fix the bug he mentioned above.
That code is tailored for a specific specific pattern to deal with mass joins, worth a read imho. |
Thanks for clearing it out. So, join flood protection is working but missing the following features:
1. Detect join flood from users with same nick!nick*@*
2. Detect join flood from users with same nick*!*@*
This should be fairly simple to integrate since the join flood feature already supports join flood from same *!ident@* (by enabling the joinflood(checkident) setting). I guess the above should be merged with this setting or have their own separate settings. Feedback/code contributions are appreciated. _________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
Back to top |
|
 |
gembels Voice
Joined: 07 Jul 2012 Posts: 26
|
Posted: Fri Apr 14, 2017 7:03 am Post subject: Re: rehash |
|
|
Sir_Fz wrote: | gembels wrote: | Hi Sir_Fz,
I am one of your fans... I just wondering.. I did some modification in your code just to make the antispam can change their ip, ident and nick every time they cycles. But to do that, so far I am using rehash command, i know its not right or so blatantly. is there anyway to kill the antispam bot with proc and reconnect again ?
Thanks in advance |
If you look at the antispamcore procedure, you'll find this code snippet for disconnecting the antispam bot:
Code: |
putdcc $antispam(idx) quit
|
Basically, you can just disconnect the bot and make it reconnect with a new host. |
Tested with putdcc $antispam(idx) quit
It didnt change ident, realname and IP, it just change the nickname only. |
|
Back to top |
|
 |
|