Page 1 of 1

Cloaking the whole hostmask

Posted: Fri Sep 24, 2004 10:27 pm
by Fussi
Hi all

i'm sure someone has posted a similiar solution but i cant find a suiteable.
I'm going to host a IRC server with UnrealIRC3.2.1 and ircservices5.0.40 and everything runs fine.
Whenever a user joins, i get a line like this:
([email protected]) has joined #temp

What i want to do is:

For normal users: (temp@hide--CD957E7A) has joined #temp
(Unable to get a hostmask or IP)

For ChanOps: ([email protected]) has joined #temp
(For bans like <nick>@*.dip.t-dialin.de)

For any higher ranked user than ChanOps:
([email protected]) has joined #temp
(For complete hostmask/IP bans)

Is it possible to cloak the whole hostmask and restrict the access to the real hostmask by the userlevel? (like the example above)

thanks for any help!


-Fussi

Posted: Fri Sep 24, 2004 11:46 pm
by codemastr
Unreal has no such feature.

Posted: Sat Sep 25, 2004 5:45 am
by aquanight
A cloaking module can only calculate the hash. I don't know the API for cloak modules too well, but I think cloak hashes are generated with no context, meaning you have no way of knowing that the join is being shown to a ChanOp or not. You only generate the host once, when the user is set +x. (So actually this definately means you don't have any channel context since you're applying a usermode.)

Posted: Sat Sep 25, 2004 9:22 am
by Fussi
but is it possible then to hide the whole hostmask? (so even the last part of it, the .dip.t-dialin.de)
I saw that opers can /hostmask the user that isnt the problem at all...

Posted: Sat Sep 25, 2004 9:37 am
by Dukat
Of course it is possible to hide the whole hostmask - but all users would see the same and there would be no difference between chanops and regular users.

Cloaking is modular, so you just have to write a new cloaking module (or find someone who does this for you).

But do you really think this is a smart idea?
Cloaking the whole host will make channel bans quite ineffective, because you could only ban 1 host at a time and not whole ranges as you can with the current impementation.

Posted: Sat Sep 25, 2004 3:52 pm
by Fussi
no no, my idea is to crypt the whole hostmask, not only the first part and not with an standart hostmask for everyone.
So noone without /userhost access can see any part of the hostmask.
The people who'll ban users then will all have access to that command.
So basicly you can say i just want to hide the complete hostmask for every user exept IRCOps.

maybe anyone has such a module for me (or a hint howto realize this)? :)

Posted: Sun Sep 26, 2004 12:55 am
by Jason
If you want the whole thing hidden from everyone but ircops.

Set your server (config thing, go look it up, im lazy and its your problem anyhow) not to resolve hostnames

Posted: Sun Sep 26, 2004 1:23 pm
by Fussi
works fine, thanks :)