Cloaking the whole hostmask

These are old archives. They are kept for historic purposes only.
Post Reply
Fussi
Posts: 33
Joined: Fri Sep 24, 2004 9:46 pm
Location: At Home
Contact:

Cloaking the whole hostmask

Post 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
codemastr
Former UnrealIRCd head coder
Posts: 811
Joined: Sat Mar 06, 2004 8:47 pm
Location: United States
Contact:

Post by codemastr »

Unreal has no such feature.
-- codemastr
aquanight
Official supporter
Posts: 862
Joined: Tue Mar 09, 2004 10:47 pm
Location: Boise, ID

Post 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.)
Fussi
Posts: 33
Joined: Fri Sep 24, 2004 9:46 pm
Location: At Home
Contact:

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

Post 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.
Fussi
Posts: 33
Joined: Fri Sep 24, 2004 9:46 pm
Location: At Home
Contact:

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

Post 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
Why the hell can't my signature be empty?
"Your message contains too few characters."
Fussi
Posts: 33
Joined: Fri Sep 24, 2004 9:46 pm
Location: At Home
Contact:

Post by Fussi »

works fine, thanks :)
Post Reply