Anope IRC Services

Anope Development => Modules => Topic started by: n00bie on February 08, 2008, 11:10:57 AM

Title: [update] ircd_vhostserv
Post by: n00bie on February 08, 2008, 11:10:57 AM
Updated to version 2.0.1

Release notes:
a) Added !groupvhost fantasy command for setting all users vhost in a group
b) Added configuration directive support
c) Added vhost flood protection; will now kick/ban users after a vhost is successfully set (can be configured from services.conf)
d) Removed !hs on|off fantasy command
e) Module will not load on version less than 1.7.21

More info: http://modules.anope.org/viewmod.php?id=41
Title:
Post by: SNU on February 10, 2008, 11:04:06 AM
Hi.

This is a nice Module but I'd like to request a feature to suit my needs and possible of others:
With this module its possible that every user can give its own vhost. But thjis could be a security risk esp if you have an ircd that supports vidents like unreal. I set some eggdrops to listen to certain commands of users if they have a certain host, like "admins.myircd.tld"... I adviced my Hostsetters to deny hostrequests that match certain hosts.
Is it possible that you either add an option to make that "Bot" only to request vhosts and not to set? For sure... then its not really sensfull because then there is no real difference between /hs request bla.blubb and !vhost bla.blubb... OR you make it possible to set a blacklist of hosts that are not allowed to set by the vhost-Bot.

THanks so far. Greets.
Title:
Post by: xeross on February 12, 2008, 02:08:03 PM
Thanks i hope this one does work because someone else had it compiled but that wouldn't load.
Title:
Post by: slemborg on May 22, 2008, 06:00:49 AM
Old topic, but I have this question.

I really like this mod, but one thing i'd like to be change is, when a user set's his/her vhost, they get kicked out, would it be possible to make the bot say something like "vhost set, please part the channel" instead of just kicking them?

Or is it already possible, and I simply just missed that part?
Title:
Post by: n00bie on May 22, 2008, 01:31:24 PM
the kick/ban feature after a successful set is for preventing user from randomly changing their host. however, if you would like to disable it, comment the line from 608 to 613
Title:
Post by: slemborg on May 22, 2008, 11:14:55 PM
Thanks for your reply, and I understand the reason for the kick.
Title: Re: [update] ircd_vhostserv
Post by: ayie on December 18, 2008, 03:07:12 AM
how to compiled this modules ??

or just put inside the conf file ??

i use Anope 1.6.5, it is support my services ??
Title: Re: [update] ircd_vhostserv
Post by: deiks on December 18, 2008, 06:24:21 AM
e) Module will not load on version less than 1.7.21

No, it won't work.
Title: Re: [update] ircd_vhostserv
Post by: ayie on December 18, 2008, 07:47:11 AM
so, i need to change to newest modules ?

how to configure it ??

do i need to put ircd_vhostserv.c inside the anope1.7++ folder and compiled with services?
Title: Re: [update] ircd_vhostserv
Post by: deiks on December 18, 2008, 10:07:16 PM
First you must upgrade services, then installing.

Put module to anope-<ver>/src/modules

then go to anope-<ver> with cd ../..

type make modules

after make install

and on irc type /os modload module_name

NOTE: at irc load specify module_name without .C extension
Title: Re: [update] ircd_vhostserv
Post by: ayie on December 19, 2008, 01:07:18 AM
thank you.

it works with 1.8ver
Title: Re:
Post by: LEthaLity on December 22, 2008, 12:47:24 AM
Hi.

This is a nice Module but I'd like to request a feature to suit my needs and possible of others:
With this module its possible that every user can give its own vhost. But thjis could be a security risk esp if you have an ircd that supports vidents like unreal. I set some eggdrops to listen to certain commands of users if they have a certain host, like "admins.myircd.tld"... I adviced my Hostsetters to deny hostrequests that match certain hosts.
Is it possible that you either add an option to make that "Bot" only to request vhosts and not to set? For sure... then its not really sensfull because then there is no real difference between /hs request bla.blubb and !vhost bla.blubb... OR you make it possible to set a blacklist of hosts that are not allowed to set by the vhost-Bot.

THanks so far. Greets.

In the conf block for this module there is a "blocked hosts section", which fulfills your "blacklist request".
# RestrictHosts [RECOMMENDED]
#   Define unallowed vhosts which will be match using
#   wildcards. This is not case-sensitive.
#
RestrictHosts "*ircop* *admin* *root* *staff*"

*makes note to read post date of all posts, :P,  Seems most people don't read the other options that can be set in services.conf blocks, so i'll leave this :D