| View previous topic :: View next topic |
| Author |
Message |
gamble27 Halfop
Joined: 05 Aug 2008 Posts: 71
|
Posted: Tue Dec 27, 2016 2:40 am Post subject: On join message/notice/action flood |
|
|
I request a code to auto ban and set modes if a user joins a channel and within the 1st second of joining the channel sends a msg/notice/action. usually these are flooders who does that.
regards |
|
| Back to top |
|
 |
simo Owner
Joined: 22 Mar 2015 Posts: 941
|
Posted: Tue Dec 27, 2016 12:20 pm Post subject: |
|
|
| depending on IRCD version your using but there are some channel modes to prevent that |
|
| Back to top |
|
 |
gamble27 Halfop
Joined: 05 Aug 2008 Posts: 71
|
Posted: Tue Dec 27, 2016 12:26 pm Post subject: thanks for your interest |
|
|
i am on Dalnet, and they dont have any modes to prevent such floods.
Thanks |
|
| Back to top |
|
 |
simo Owner
Joined: 22 Mar 2015 Posts: 941
|
Posted: Tue Dec 27, 2016 5:17 pm Post subject: |
|
|
what you could do is set channel to +m and autovoice them with a set delay that way you have more time to deal with the abuse while they wont be able to speak for like 10 sec or something
or you could voice registered users instant as they join and have a delay for everyone else
( in both cases make sure to mute channel with +m for this to work ) |
|
| Back to top |
|
 |
Get_A_Fix Master

Joined: 07 May 2005 Posts: 206 Location: New Zealand
|
Posted: Tue Dec 27, 2016 9:05 pm Post subject: |
|
|
| simo wrote: |
or you could voice registered users instant as they join and have a delay for everyone else
( in both cases make sure to mute channel with +m for this to work ) |
I find this method to be one of the more effective antispam initiatives. Most flooders use unregistered nicknames, I have only ever witnessed one instance in 15 years on DALnet where the drone bots were registering in order to spam large channel's. _________________ We explore.. and you call us criminals. We seek after knowledge.. and you call us criminals. We exist without skin color, without nationality, without religious bias.. and you call us criminals. |
|
| Back to top |
|
 |
gamble27 Halfop
Joined: 05 Aug 2008 Posts: 71
|
Posted: Wed Dec 28, 2016 12:17 am Post subject: |
|
|
Hello, that can be done but we dont usually +v everyone thus this method is not really something we keen to use.
Regards |
|
| Back to top |
|
 |
Get_A_Fix Master

Joined: 07 May 2005 Posts: 206 Location: New Zealand
|
Posted: Wed Dec 28, 2016 2:49 am Post subject: |
|
|
| gamble27 wrote: | Hello, that can be done but we dont usually +v everyone thus this method is not really something we keen to use.
Regards |
I understand it's not 'usually' done, but whatever stops the flooding
Maybe you can +m the channel and +v everyone who is registered (a DALnet specific autovoice script for registered nicknames can be found here) for a short time until the flooder stops targeting your channel. It can be a short-term fix for a long-term problem. Otherwise, apart from Allprotection.tcl, a more permanent solution could be a great script that is already shipped with eggdrop; ~/eggdrop/scripts/sentinel.tcl
sentinel.tcl is a bit tricky to configure but once it is, it works quickly and effectively. _________________ We explore.. and you call us criminals. We seek after knowledge.. and you call us criminals. We exist without skin color, without nationality, without religious bias.. and you call us criminals. |
|
| Back to top |
|
 |
gamble27 Halfop
Joined: 05 Aug 2008 Posts: 71
|
Posted: Wed Dec 28, 2016 4:05 am Post subject: |
|
|
i am afraid the proposed solution will not work as well, if the tcl can be implemented then it will help many people.
Thanks |
|
| Back to top |
|
 |
simo Owner
Joined: 22 Mar 2015 Posts: 941
|
Posted: Wed Dec 28, 2016 1:40 pm Post subject: |
|
|
oh i forgot to mention dalnet has chan mode +M wich allows only registered users to speak that way you only have to voice non registered with delay
this is about the only solution on dalnet else you might be banning possible regular users for joining and saying hello the first second they enter wich would make no sense |
|
| Back to top |
|
 |
gamble27 Halfop
Joined: 05 Aug 2008 Posts: 71
|
Posted: Thu Dec 29, 2016 2:46 am Post subject: |
|
|
yes +M is there but that is something we dont wish to use as well, rarely user will be able to join and greet within the first second (though i believe it may happen once in a blue moon). We are currently facing such flood in huge numbers and consistently, thus is tcl has become necessity.
Regards |
|
| Back to top |
|
 |
caesar Mint Rubber

Joined: 14 Oct 2001 Posts: 3741 Location: Mint Factory
|
Posted: Thu Dec 29, 2016 2:52 am Post subject: |
|
|
The only way right now I could see this being implemented would be by monitoring msg/notice/action and see if current time - the time user joined (thanks to getchanjoin) is within the time frame you wanted then do whatever punishment.
To remove some of the stress this would put on the bot I would also maintain an array with users that have been checked in the past and the time since they joined is way higher than the time frame you wanted.
The +M channel mode seems like a good option. Want to speak? Register! No? Tough luck then. _________________ Once the game is over, the king and the pawn go back in the same box. |
|
| Back to top |
|
 |
simo Owner
Joined: 22 Mar 2015 Posts: 941
|
Posted: Sun Jan 01, 2017 8:43 pm Post subject: |
|
|
| Quote: | | yes +M is there but that is something we dont wish to use as well, rarely user will be able to join and greet within the first second (though i believe it may happen once in a blue moon). We are currently facing such flood in huge numbers and consistently, thus is tcl has become necessity. |
its not like u set these modes for eternity you set them whenever flood accures and have them on timer for like 30 sec or whatever to be lifted after duration that way flood is halted and you could get rid of remaining uninvited guests
in channel and if you dont wish to use any chan mode at all then i suggest to learn to live with floodings and abuse cause its daily routine on dalnet and they dont offer anything what so ever to deal with it its fire at will any 5 year old can disrupt their channels |
|
| Back to top |
|
 |
|