ns_vhost

Module Author: aragon
Category: NickServ
Status: Published
User Rating: (1 Comments)

This is a very simplified version of HostServ implemented mostly in NickServ. It allows users to simply set whatever vhost they like by running:

/msg NickServ SET VHOST myvhost.com

There is no approval process nor oper intervention (on purpose), however, opers are able to saset user vhosts and this module adds an fvhost (forbidden vhost) command to operserv for keeping a list of unwanted or offensive vhosts (* and ? wildcards supported).

This module does not set the ident part at all like HostServ does. That is left up to the user to configure in their IRC client. To further prevent/dissuade abuse this module throttles how often a user may change his/her vhost.

The reason I wrote this was I didn't like the oper intervention needed with HostServ, and didn't think it was necessary to have another pseudo-client just for setting vhosts. I'd like vhost selection to be as easy and open as choosing a nick, while hopefully not creating chaos.

Module is written for Anope 1.8 and tested on 1.8.2 and Unreal 3.2.8. It should work on any ircd that has CHGHOST or similar support, namely:
* Unreal 3.x
* Inspircd 1.1
* Viagra
* Ultimate 2
* Solidircd
* Shadowircd
* Rageircd

I learnt a lot to make this module by reading Jan's ns_ajoin code. Thanks Jan!

This module should be placed in ModuleDelayedAutoload.

Recent User Comments

  • (reznic)

    Posted: 23/10/09 04:43:28
    Anope Version: 1.8.2
    Module Version: 0.2
    Comments:
    This is a great concept and much better than other vhost change modules current. Unfortunately it crashes Anope v1.8.2 with Unreal3.2.8 with no other modules loaded except for required core modules and won't work with prior versions. Even using the suggested environment setting for MALLOC_CHECK_=0 has no effect. Contacting the author has had no effect.

    User Rating:

Post A Comment

You need to be logged in to post a comment.