Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: vhost bans  (Read 5243 times)

0 Members and 1 Guest are viewing this topic.

Milliways

  • Guest
vhost bans
« on: October 15, 2006, 07:59:05 PM »

We have a channel with some issues regarding banning vhosted users.
If they get banned with the vhost given them by hostserv they can ban evade by turning it off.
What would be great is a channelmode or alike that when a ban is set on a vhost it's changed to either the cloaked host or the realhost (preferably cloaked) so it is not possible to evade it by just mode -x /mode +x
Logged

Jobe

  • Contributor
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 1023
    • Anope IRC Services
(No subject)
« Reply #1 on: October 15, 2006, 08:16:31 PM »

The problem is with the cloaked host is it is stored in the same param of the user object as the vHost is after being turned on so at any one time Anope can ONLY see the real and cloaked hosts OR the real and virtual hosts. To Anope a cloaked host is in fact an IRCd set vHost.

[Edited on 15-10-2006 by Jobe1986]
Logged
Your IP: ()
My IRC Status:

Come along and visit http://www.anopequotes.org/

katsklaw

  • Guest
(No subject)
« Reply #2 on: October 15, 2006, 08:53:49 PM »

In addition to what Jobe hs stated.

This is actually an ircd issue. All modes are specificly handled by the ircd. Banning a vhost and bypassing a ban by issuing mode -x is all controlled by the ircd and can happen even in the abscence of Services.

2 quick solutions:

1> stop using vhosts.
2> Using an ircd that doesn't allow the unsetting of assigned usermodes.

Reference #2, Unrealircd has such a feature called set::restrict-usermodes.
Logged

Milliways

  • Guest
(No subject)
« Reply #3 on: October 16, 2006, 09:25:32 AM »

I've used set::restrict-usermodes "x"; which will hopefully settle this issue
Logged

katsklaw

  • Guest
(No subject)
« Reply #4 on: October 16, 2006, 12:47:00 PM »

Keep in mind that ban evasion can still happen by turning off a users vhost. The only difference now is that the evading user has to reconnect to the ircd to get a hidden host. Once that happens you will be able to ban a partial real host.

This is the best that can be done. The only other solution is to stop using vhosts altogether and even then ban evasion can still occur.
Logged
Pages: [1]   Go Up