Page 1 of 1

vhost for html chat?

Posted: Sun Oct 05, 2008 12:20 am
by n0kS
Hello... here goes a lil' lame question. I'm using the cgi:irc chat (with the cgi:irc block in my unrealircd.conf) and what I want is, when users connect to set them a spoof. For example:
® 02:09:43 ® * Joins: CGI805 ([email protected])
® 02:12:51 ® * Joins: CGI592 ([email protected])

I want it to be:

® 02:09:43 ® * Joins: CGI805 ([email protected])
® 02:12:51 ® * Joins: CGI592 ([email protected])

could this be possible?

Re: vhost for html chat?

Posted: Sun Oct 05, 2008 12:41 pm
by Jobe
To be honest, it seems silly to use the cgiirc blocks and then want to chose what host displays. A better idea is to configure your CGIIRC to supply something like "cgiirc" as the ident instead of the encoded IP, which can EASILY be decoded.

Other then that it should be possible if you use a vhost block with the mask *@* and then configure CGIIRC to perform /vhost <user> <pass> on connect where user and pass are a user and password you decide on and the users never get to see.

Re: vhost for html chat?

Posted: Sun Oct 05, 2008 2:15 pm
by n0kS
OK ... I'll make my question otherwise:

Could I make when someone connects with a specified hostmask like *!josh*@* to get spoofed?
an example... this:
® 15:57:46 ® * Joins: Josh ([email protected])
® 15:59:32 ® * Joins: Josh2 ([email protected])

I want to be:

® 15:57:46 ® * Joins: Josh ([email protected])
® 15:59:32 ® * Joins: Josh2 ([email protected])

like hybrid's auth without password...

can I make it somehow with anope's services, or with ircd's conf ? any ideas ?

Re: vhost for html chat?

Posted: Mon Oct 06, 2008 2:16 pm
by Jobe
I'd recommend against using ident@* masks as ident's can easily be faked.

Plus as far as I know UnrealIRCd has no way to automatically set hosts on connect without the user doing some command such as /vhost.

Re: vhost for html chat?

Posted: Mon Oct 06, 2008 6:51 pm
by n0kS
ok 10x

Re: vhost for html chat?

Posted: Tue Oct 07, 2008 12:10 am
by BigSmoke
Jobe1986 wrote:I'd recommend against using ident@* masks as ident's can easily be faked.

Plus as far as I know UnrealIRCd has no way to automatically set hosts on connect without the user doing some command such as /vhost.
It would be a nice feature though because set::auto-join is used before any command like /vhost.