Page 1 of 1

Forcefully rewrite certain hostnames

Posted: Tue Oct 22, 2013 12:58 pm
by petrbena
Hello,

Is there a way to forcefully change a hostname (cloak, vhost) of user who is connecting from certain IP? On our network we have a webchat, that is running on same server as one of our nodes, I would like to replace the IP address of localhost which all users who use it get with something like "webchat"

I noticed there is a vhost block in configuration, but that requires username and password for it to work, is there any way to just "replace hostname" so that everyone who would have that IP as hostname would instead get the "webchat" string as hostname?

Thanks

Re: Forcefully rewrite certain hostnames

Posted: Tue Oct 22, 2013 2:11 pm
by petrbena
* snip *

Moderator Note: We don't discuss or support src code changes. You should use a vhost block in the config file or services instead.

~katsklaw

Re: Forcefully rewrite certain hostnames

Posted: Wed Oct 23, 2013 11:37 pm
by Stealth
If your webchat supports it, use the cgiirc block. No source changes necessary.