[RE-RELEASE] HostServ

If you've made a module and want to release it to the world, post here!

[RE-RELEASE] HostServ

Postby FrostyCoolslug on 01 Feb 2005, 03:57

This is a module re-release, which should (in theory) fix the LIST bug people have recently been talking about, seems a null pointer referance causing a buffer overflow (well, when i looked at the src, that was the only thing that could POSSIBLY be causing it). If this doesnt fix the bug, i recommend adding an item to the hostserv list, then it will work correctly.

I plan on releasing a new hostserv which uses a single database, rather than the filesystem.

Thanks :)


------------------------------------------------------------
Hostserv is designed to automatically assign users vhosts when they idfentify for their nickname. Hostserv features the following commands.

Code: Select all
ADD     - Add a Vhost (IRCOpers Only)
DEL     - Remove a Vhost (IRCOpers Only)
LIST    - Lists all the vhosts (IRCOpers Only)
HELP    - Module Help (IRCOpers Only)
VERSION - Version information (All Users)


Services will log HostServ activity to #services. I recommend you secure this channel.

To Install:
Download the module at place it in ircservices-5.0.x/modules/misc/
Edit the MakeFile ircservices-5.0.x/modules/misc/Makefile
Add hostserv.so to the end of the 'MODULES =' line.
go to your ircservices-5.0.x folder, type 'make' and 'make install'.

The Module is now installed. Before it will run though, we will need some config entries :p

Go to your Library folder (where all your configs are) and create a folder called 'vhosts' (mkdir vhosts).

This is where all the vhosts will be stored, make sure nothing else goes into this folder! - I may improve this and make a proper database in the future, but for now, this is fine.

Open ircservices.conf and add at the bottom, add:
Code: Select all
LoadModule misc/hostserv

Now open modules.conf, and at the bottom, add:

Code: Select all
Module misc/hostserv
   HostDir           "/path/to/vhost/dir"
   HostServName      "HostServ" "The vhost Service"
EndModule


Now, restart services (I'd recommend against a rehash, as i've had lots of problems with it) and your hostserv will be installed :)

Download: http://www.chatspike.net/modules/hostserv.c
Mirror: http://www.servicescommunity.za.net/fil ... hostserv.c
* Craig "FrostyCoolSlug" McLure
* InspIRCd - http://www.inspircd.org
* ChatSpike - http://www.chatspike.net
FrostyCoolslug
Registered User
 
Posts: 24
Joined: 31 Mar 2004, 13:07
Location: Tavistock, UK

Module Install Help

Postby Turk on 12 Jun 2005, 00:43

[root@Da misc]$ MakeFile ircservices-5.0.x/modules/misc/Makefile
-bash: MakeFile: command not found
how do you makefile ?
ircservices-5.0.5x ?
Turk
Registered User
 
Posts: 1
Joined: 12 Jun 2005, 00:40

Postby w00t on 20 Jun 2005, 02:25

Sorry about the late reply :p

From the old hostserv thread:

To Install:
Download the module at place it in ircservices-5.0.x/modules/misc/
Edit the MakeFile ircservices-5.0.x/modules/misc/Makefile
Add hostserv.so to the end of the 'MODULES =' line.
go to your ircservices-5.0.x folder, type 'make' and 'make install'.
-WinSE IRC Services[www.sf.net/projects/winse]
-IRCServices Community[www.servicescommunity.za.net]
User avatar
w00t
Moderator Team Leader
 
Posts: 67
Joined: 19 May 2004, 23:12
Location: Nowra, Australia

error

Postby ysar68 on 03 Feb 2006, 08:41

Thanks for the hostserv module , but i have one problem
when i try to get hostserv list i get this error
i am using this command : /msg hostserv list


-irc.ysarnetwork.com- *** Global -- from services.ysarnetwork.com: PANIC! buffer = :ysar ! mailto:hostserv@services.ysarnetwork.com :list
ysar68
Registered User
 
Posts: 1
Joined: 03 Feb 2006, 08:19

Postby w00t on 11 Feb 2006, 07:32

Hi,

This is a known issue that occurs if you have no vhosts.

I have updated [well, rewritten] this module - and will seek permission to release it publically.
-WinSE IRC Services[www.sf.net/projects/winse]
-IRCServices Community[www.servicescommunity.za.net]
User avatar
w00t
Moderator Team Leader
 
Posts: 67
Joined: 19 May 2004, 23:12
Location: Nowra, Australia

HostServ: Win32 Release

Postby Paradox on 14 Feb 2006, 11:47

I just switched over from Anope to IRCServices and the usage of using unreals implemented VHost block on the .conf is pretty much a shlep without HostServ. My problem being that the server & services are running on a win32 box (i know, tell me about all the problems - UNIX remains the best!) and I've been having trouble installing vb compilers as such - would anyone be willing to compile a .dll library for me if it can be done at all?
Paradox
Registered User
 
Posts: 1
Joined: 14 Feb 2006, 11:21
Location: Gauteng, South Africa

Postby Ron2K on 16 Feb 2006, 18:35

IRCServices won't compile with a VB compiler. You have to use Cygwin.

(HostServ used to not compile under Cygwin, I don't know if it works now.)
Ron2K
Forum Administrator
 
Posts: 138
Joined: 11 Mar 2004, 06:29
Location: Earth, Solar System


Return to Modules Releases

Who is online

Users browsing this forum: No registered users and 0 guests

cron