Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: cs unban will only unban vhost if used  (Read 4267 times)

0 Members and 1 Guest are viewing this topic.

Obi Wan

  • Anope User
  • Offline Offline
  • Posts: 6
cs unban will only unban vhost if used
« on: March 27, 2009, 10:57:56 PM »

Hi,

just a small question for the community. When someone identifies with nickserv and changes to its vhost the /cs unban command will only unban his vhost. The problem here is that if you were banned under your real host inspircd 1.2 seems to look for both hosts and if the real host is still banned you still won't be able to join that channel. Is that an expected behaviour or more a bug? Or more to say... is that "problem" already known or is there a simple fix I just haven't seen?

Thanks
Logged

zEkE

  • Anope User
  • Offline Offline
  • Posts: 34
Re: cs unban will only unban vhost if used
« Reply #1 on: March 29, 2009, 04:36:42 AM »

I would think it is expected behavior..

/msg hostserv off
/cs unban
/msg hostserv on, perhaps?
Logged

Josh Johnson

  • Anope User
  • Offline Offline
  • Posts: 7
Re: cs unban will only unban vhost if used
« Reply #2 on: March 29, 2009, 04:48:06 AM »

This would probably be a problem on networks which unload HostServ's OFF command to prevent ban evasion, though a simple reconnect can fix it, it's easier tracked by the IRC-Ops and more inconvenient to the ban-evader. This is near-impossible for completely innocent users who are trying to /cs unban themself. The only way around this if the OFF command is unloaded, is to group/register a nick without the vHost.
I think ChanServ should probably check for both the vHost AND the real host (at least with certain protocol modules) when using !unban [nick] and /cs unban.
Just my opinion, though.

Edit: Oh wait, didn't see this was a 1.9.x post. Can you unload the HostServ->OFF module in 1.9.x? I sure hope so.
« Last Edit: March 29, 2009, 04:49:44 AM by Josh Johnson »
Logged

mooncup

  • Contributor
  • *
  • Offline Offline
  • Posts: 65
Re: cs unban will only unban vhost if used
« Reply #3 on: March 29, 2009, 11:57:41 AM »

Only thing with that is it potentially leaks a user's real host.
Logged

Jan Milants

  • Team
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 1372
Re: cs unban will only unban vhost if used
« Reply #4 on: March 30, 2009, 03:35:41 PM »

Only thing with that is it potentially leaks a user's real host.
I don't know about 1.9, but in 1.8 that would only be an issue when using !unban as /cs unban only allows you to unban yourself.. it can't be made entirely impossible to give away a users' IP without compromising the unban ability, but if the user has to perform the command himself he should at least notice it...

as for the original problem, I believe the 1.9 had the ability to store real host, vhost and masked host (was missing in 1.8) so it should be possible to unban all...
Logged
If you like me donate coins to 1FBmZVT4J8WAUMHKqpWhgNVj3XXnRN1cCk :)

Obi Wan

  • Anope User
  • Offline Offline
  • Posts: 6
Re: cs unban will only unban vhost if used
« Reply #5 on: March 30, 2009, 05:53:54 PM »

I would think it is expected behavior..

/msg hostserv off
/cs unban
/msg hostserv on, perhaps?

I think that would work however I don't like to explain that over and over again. In addition I don't like walking into the channels and removing the bans myself :(
Logged
Pages: [1]   Go Up