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 (544c94b9@1F75F268.E60C43D.2E35ADFA.IP)
® 02:12:51 ® * Joins: CGI592 (773b519e@BF65C1C3.78D7B888.337234DA.IP)

I want it to be:

® 02:09:43 ® * Joins: CGI805 (544c94b9@cgi-irc.chat-MyLame.Network)
® 02:12:51 ® * Joins: CGI592 (773b519e@cgi-irc.chat-MyLame.Network)

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 (josh-crazy@1F75F268.E60C43D.2E35ADFA.IP)
® 15:59:32 ® * Joins: Josh2 (josh-stupid@7D23FFA8.E3189E72.243670E0.IP)

I want to be:

® 15:57:46 ® * Joins: Josh (josh-crazy@josh.rulezzz.and.he.drinks.a.lot)
® 15:59:32 ® * Joins: Josh2 (josh-stupid@josh.rulezzz.and.he.drinks.a.lot)

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.