Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: [update] ircd_vhostserv  (Read 9548 times)

0 Members and 1 Guest are viewing this topic.

n00bie

  • Anope User
  • Offline Offline
  • Gender: Male
  • Posts: 411
[update] ircd_vhostserv
« 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
Logged
I am always doing things that which I cannot do, in order that I may learn how to do it.

SNU

  • Anope User
  • Offline Offline
  • Posts: 158
    • http://www.firstclassirc.com
(No subject)
« Reply #1 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.
Logged

xeross

  • Guest
(No subject)
« Reply #2 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.
Logged

slemborg

  • Anope User
  • Offline Offline
  • Posts: 3
(No subject)
« Reply #3 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?
Logged

n00bie

  • Anope User
  • Offline Offline
  • Gender: Male
  • Posts: 411
(No subject)
« Reply #4 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
Logged
I am always doing things that which I cannot do, in order that I may learn how to do it.

slemborg

  • Anope User
  • Offline Offline
  • Posts: 3
(No subject)
« Reply #5 on: May 22, 2008, 11:14:55 PM »

Thanks for your reply, and I understand the reason for the kick.
Logged

ayie

  • Anope User
  • Offline Offline
  • Posts: 4
Re: [update] ircd_vhostserv
« Reply #6 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 ??
« Last Edit: December 18, 2008, 03:20:06 AM by ayie »
Logged

deiks

  • Anope User
  • Offline Offline
  • Gender: Male
  • Posts: 139
  • Shizle my nizle
Re: [update] ircd_vhostserv
« Reply #7 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.
Logged

ayie

  • Anope User
  • Offline Offline
  • Posts: 4
Re: [update] ircd_vhostserv
« Reply #8 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?
Logged

deiks

  • Anope User
  • Offline Offline
  • Gender: Male
  • Posts: 139
  • Shizle my nizle
Re: [update] ircd_vhostserv
« Reply #9 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
Logged

ayie

  • Anope User
  • Offline Offline
  • Posts: 4
Re: [update] ircd_vhostserv
« Reply #10 on: December 19, 2008, 01:07:18 AM »

thank you.

it works with 1.8ver
Logged

LEthaLity

  • Team
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 307
    • LEthaLity
Re:
« Reply #11 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
« Last Edit: December 22, 2008, 12:49:28 AM by LEthaLity »
Logged
Pages: [1]   Go Up