cloaking modul

These are old archives. They are kept for historic purposes only.
Post Reply
Phantom_
Posts: 3
Joined: Mon Aug 01, 2005 12:39 pm
Contact:

cloaking modul

Post 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_
Dukat
Posts: 1083
Joined: Tue Mar 16, 2004 5:44 pm
Location: Switzerland

Post by Dukat »

What exactly are your services doing? Why do they need a cloaking algorithm?
If you don't make mistakes, you aren't really trying.
- Coleman Hawkins
Phantom_
Posts: 3
Joined: Mon Aug 01, 2005 12:39 pm
Contact:

Post 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_
Jason
Posts: 570
Joined: Mon Jun 14, 2004 5:09 pm

Post 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?
Why the hell can't my signature be empty?
"Your message contains too few characters."
w00t
Posts: 1136
Joined: Thu Mar 25, 2004 3:31 am
Location: Nowra, Australia

Post by w00t »

send the VHP protoctl token, and you should have fun.
-ChatSpike IRC Network [http://www.chatspike.net]
-Denora Stats [http://denora.nomadirc.net]
-Omerta [http://www.barafranca.com]
Jason
Posts: 570
Joined: Mon Jun 14, 2004 5:09 pm

Post by Jason »

VHP? Damn you, making me look in the docs.

Wth? Its not in the docs!
Why the hell can't my signature be empty?
"Your message contains too few characters."
Stealth
Head of Support
Posts: 2086
Joined: Tue Jun 15, 2004 8:50 pm
Location: Chino Hills, CA, US
Contact:

Post by Stealth »

Jason, VHP deals with server-to-server linking, and wont be found in the docs.
w00t
Posts: 1136
Joined: Thu Mar 25, 2004 3:31 am
Location: Nowra, Australia

Post by w00t »

It *should* be in the technical docs, but for some reason it isn't.
-ChatSpike IRC Network [http://www.chatspike.net]
-Denora Stats [http://denora.nomadirc.net]
-Omerta [http://www.barafranca.com]
Jason
Posts: 570
Joined: Mon Jun 14, 2004 5:09 pm

Post by Jason »

Yes, those are the docs I refered to. So what is it?
Why the hell can't my signature be empty?
"Your message contains too few characters."
aquanight
Official supporter
Posts: 862
Joined: Tue Mar 09, 2004 10:47 pm
Location: Boise, ID

Post 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.)
Jason
Posts: 570
Joined: Mon Jun 14, 2004 5:09 pm

Post by Jason »

You might have, my memory isnt the best.
Why the hell can't my signature be empty?
"Your message contains too few characters."
Phantom_
Posts: 3
Joined: Mon Aug 01, 2005 12:39 pm
Contact:

Post 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
w00t
Posts: 1136
Joined: Thu Mar 25, 2004 3:31 am
Location: Nowra, Australia

Post 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]
-ChatSpike IRC Network [http://www.chatspike.net]
-Denora Stats [http://denora.nomadirc.net]
-Omerta [http://www.barafranca.com]
Post Reply