Page 1 of 1
cloaking modul
Posted: Mon Aug 01, 2005 12:47 pm
by Phantom_
Hello
We use our own services on our network but now we have a problem with the cloaking algorithm.
unreal returns a different cloaked hostname then our services, although the algorithm is exactly the same.
any suggestions?
greets
Phantom_
Posted: Mon Aug 01, 2005 1:52 pm
by Dukat
What exactly are your services doing? Why do they need a cloaking algorithm?
Posted: Mon Aug 01, 2005 3:53 pm
by Phantom_
Hi
If someone (halfop or higher) in a channel types ".kb <nick>", our channel service will kickban the user from the channel.
The problem is, unreal generates a different cloaked hostname so the services ban takes no effect.
greets
Phantom_
Posted: Tue Aug 02, 2005 2:17 am
by Jason
Dont most sane services just NOT generate a cloaked host, and simply use the one provided by the server, or have I completely forgotten protocol?
Posted: Thu Aug 04, 2005 2:10 am
by w00t
send the VHP protoctl token, and you should have fun.
Posted: Thu Aug 04, 2005 4:09 pm
by Jason
VHP? Damn you, making me look in the docs.
Wth? Its not in the docs!
Posted: Thu Aug 04, 2005 6:50 pm
by Stealth
Jason, VHP deals with server-to-server linking, and wont be found in the docs.
Posted: Fri Aug 05, 2005 4:57 am
by w00t
It *should* be in the technical docs, but for some reason it isn't.
Posted: Fri Aug 05, 2005 5:53 pm
by Jason
Yes, those are the docs I refered to. So what is it?
Posted: Mon Aug 08, 2005 10:48 pm
by aquanight
VHP causes the uplink server to send cloaked hosts in the NICKv2 message. Honestly, Jason, I could've sworn I've explained this before? :P
Quoth some code out of winse:
Code: Select all
'VHP is an undocumented token. What it does is when Unreal sends us user information, it sends us the cloaked host as the VHost.
'If the user is -x, the realhost is sent as the vhost.
'For example, without VHP:
':irc.server.name NICK aquanight 1 1234567890 aquanight 192.168.2.97 irc.server.name 0 +isRx * wKgCYQ== :aquanight
'With VHP:
':irc.server.name NICK aquanight 1 1234567890 aquanight 192.168.2.97 irc.server.name 0 +isRx 97869835.7CE6B37B.B08B7D94.IP wKgCYQ== :aquanight
'This means we don't have to copy/paste unreal's cloaking algo and force users to configure cloak keys.
'Note that VHP works even without NICKv2. Unreal would then send us the cloaked host or real host in a SETHOST command.
(It also means you don't have to worry about 3rd-party cloaking algos.)
Posted: Tue Aug 09, 2005 4:02 pm
by Jason
You might have, my memory isnt the best.
Posted: Tue Aug 09, 2005 4:37 pm
by Phantom_
Thanks for the replies but my question was:
why does unreal returns a different cloaked hostname then our services although they have the same algorithm.
If you want you can check out our services via cvs
cvs -d :pserver:
[email protected]:/home/cvs co nservices
Posted: Wed Aug 10, 2005 10:39 am
by w00t
Either you made a mistake in the algorithm, or you are using different cloak keys.
[still can't figure out why you just wouldn't use vhp, but oh well ;P]