vhost for html chat?

These are old archives. They are kept for historic purposes only.
Post Reply
n0kS
Posts: 15
Joined: Sun Oct 05, 2008 12:16 am

vhost for html chat?

Post by n0kS » Sun Oct 05, 2008 12:20 am

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?

Jobe
Official supporter
Posts: 1180
Joined: Wed May 03, 2006 7:09 pm
Location: United Kingdom

Re: vhost for html chat?

Post by Jobe » Sun Oct 05, 2008 12:41 pm

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.
Your IP: Image
Your Country: Image

n0kS
Posts: 15
Joined: Sun Oct 05, 2008 12:16 am

Re: vhost for html chat?

Post by n0kS » Sun Oct 05, 2008 2:15 pm

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 ?

Jobe
Official supporter
Posts: 1180
Joined: Wed May 03, 2006 7:09 pm
Location: United Kingdom

Re: vhost for html chat?

Post by Jobe » Mon Oct 06, 2008 2:16 pm

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.
Your IP: Image
Your Country: Image

n0kS
Posts: 15
Joined: Sun Oct 05, 2008 12:16 am

Re: vhost for html chat?

Post by n0kS » Mon Oct 06, 2008 6:51 pm

ok 10x

BigSmoke
Posts: 23
Joined: Sun Apr 13, 2008 3:36 am
Location: Amsterdam, The Netherlands
Contact:

Re: vhost for html chat?

Post by BigSmoke » Tue Oct 07, 2008 12:10 am

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.
http://www.fazconi.com
irc://irc.fazconi.com
Email: biggie@fazconi.com

Post Reply