Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: Only kick instead of Ban for joining a protected channel  (Read 3221 times)

0 Members and 1 Guest are viewing this topic.

Manuel Laug

  • Anope User
  • Offline Offline
  • Posts: 1
Only kick instead of Ban for joining a protected channel
« on: September 13, 2012, 11:48:22 AM »

Hello,

we've got some protected channels, where only some users have access.

Is it possible to change the behavior from ban to kick only, when a unauthorized person joins this channel?

Sometimes it happens, that my client tries to join this channel first and identify itself then against the nickserv. Then I always have to unban myself to rejoin this channel.

Greetz
Logged

Jan Milants

  • Team
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 1372
Re: Only kick instead of Ban for joining a protected channel
« Reply #1 on: September 13, 2012, 12:21:48 PM »

i don't think this should be considered because it would open the channel up to flood attacks... botserv could end up continuously kicking a constantly rejoining user, or multiple users if someone is intend on flooding your channel, they could do so easily.

It can even happen by accident easily.. many clients auto rejoin after a kick.. if someone accidentally joins the channel, they d be in a kick/rejoin loop until someone acts.
Logged
If you like me donate coins to 1FBmZVT4J8WAUMHKqpWhgNVj3XXnRN1cCk :)

Charles Kingsley

  • Contributor
  • *
  • Offline Offline
  • Posts: 1405
Re: Only kick instead of Ban for joining a protected channel
« Reply #2 on: September 15, 2012, 04:03:30 PM »

Your client should be able to request an unban from chanserv and then rejoin.

Makes more sense this way that you don't cause the looping situation Jan pointed out above.
Logged

katsklaw

  • Supporter
  • Anope User
  • Offline Offline
  • Posts: 537
Re: Only kick instead of Ban for joining a protected channel
« Reply #3 on: September 15, 2012, 09:42:25 PM »

Also clients that offer the ability to automate joins and id such as mirc script should be configured to id first then autojoin where possible. That way you are id'ed before joining thus preventing this scenario.
Logged
Pages: [1]   Go Up