egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

On join message/notice/action flood

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests
View previous topic :: View next topic  
Author Message
gamble27
Halfop


Joined: 05 Aug 2008
Posts: 71

PostPosted: Tue Dec 27, 2016 2:40 am    Post subject: On join message/notice/action flood Reply with quote

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
View user's profile Send private message
simo
Owner


Joined: 22 Mar 2015
Posts: 941

PostPosted: Tue Dec 27, 2016 12:20 pm    Post subject: Reply with quote

depending on IRCD version your using but there are some channel modes to prevent that
Back to top
View user's profile Send private message
gamble27
Halfop


Joined: 05 Aug 2008
Posts: 71

PostPosted: Tue Dec 27, 2016 12:26 pm    Post subject: thanks for your interest Reply with quote

i am on Dalnet, and they dont have any modes to prevent such floods.



Thanks
Back to top
View user's profile Send private message
simo
Owner


Joined: 22 Mar 2015
Posts: 941

PostPosted: Tue Dec 27, 2016 5:17 pm    Post subject: Reply with quote

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
View user's profile Send private message
Get_A_Fix
Master


Joined: 07 May 2005
Posts: 206
Location: New Zealand

PostPosted: Tue Dec 27, 2016 9:05 pm    Post subject: Reply with quote

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
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
gamble27
Halfop


Joined: 05 Aug 2008
Posts: 71

PostPosted: Wed Dec 28, 2016 12:17 am    Post subject: Reply with quote

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
View user's profile Send private message
Get_A_Fix
Master


Joined: 07 May 2005
Posts: 206
Location: New Zealand

PostPosted: Wed Dec 28, 2016 2:49 am    Post subject: Reply with quote

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 Smile

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
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
gamble27
Halfop


Joined: 05 Aug 2008
Posts: 71

PostPosted: Wed Dec 28, 2016 4:05 am    Post subject: Reply with quote

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
View user's profile Send private message
simo
Owner


Joined: 22 Mar 2015
Posts: 941

PostPosted: Wed Dec 28, 2016 1:40 pm    Post subject: Reply with quote

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
View user's profile Send private message
gamble27
Halfop


Joined: 05 Aug 2008
Posts: 71

PostPosted: Thu Dec 29, 2016 2:46 am    Post subject: Reply with 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.

Regards
Back to top
View user's profile Send private message
caesar
Mint Rubber


Joined: 14 Oct 2001
Posts: 3741
Location: Mint Factory

PostPosted: Thu Dec 29, 2016 2:52 am    Post subject: Reply with quote

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
View user's profile Send private message
simo
Owner


Joined: 22 Mar 2015
Posts: 941

PostPosted: Sun Jan 01, 2017 8:43 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber