Page 1 of 1

Host masking

Posted: Tue Feb 15, 2005 7:11 pm
by darktool21
Is there somewhere I could find a readme on how to implement Host masking?
Example: (14:09:20)          ›› Address: ([email protected])
I am trying to get the IP end to say something along the lines of:
(14:10:09)          ›› Address: ([email protected])

Is there anyone that can point me in the right direction on how to get this working? I really want to start my server and I want to get a few users to connect, but I won't ask them to connect because I am aware people don't want their IPs out in the open.

I am running Unreal 3.2.2 on a Win32 box.

Posted: Tue Feb 15, 2005 7:57 pm
by Dukat
/umode2 +x

Hostmasking is part of Unreal, you just need to set yourself +x.
Hint: Add +x to the modes-on-connect in your set block.
http://www.vulnscan.org/UnrealIRCd/unre ... l#setblock

Posted: Tue Feb 15, 2005 8:27 pm
by Stealth
If you connect from within your LAN, you will always get an unresolvable IP. This can only be solved by running a DNS server in your LAN and adding an entry for every LAN IP you want resolvable.

If you want just cloaked hosts, then set umode +x as Dukat said.

Posted: Wed Feb 16, 2005 4:12 am
by darktool21
ok, well i have modes-on-connect set with +x, and the only time I get a masked host is when I oper up.
set {
kline-address [email protected];
auto-join #8ballx.net;
modes-on-connect "+ixw";
modes-on-oper "+xwgs";
is there something not right there? or should that work?

Posted: Wed Feb 16, 2005 6:30 pm
by Ron2K
Sounds like you forgot to /REHASH. Or something equally silly :P

Posted: Fri Feb 18, 2005 11:35 am
by darktool21
well, at the time i did forget to rehash, you're right. but i didn't know what rehash did so i just shut off the server and then started it up again. heh. i have the problem fixed, had a slight config problem, but it's working now. thanks for trying to help.

Posted: Mon Feb 21, 2005 8:07 pm
by bOu
furthermore, is there a way to have set masks for certain nicks? say i wanted my address to be asdf@serveradmin instead of [email protected], is that possible? and possible with more than one nick having the host name?

Posted: Mon Feb 21, 2005 8:18 pm
by Dukat
Of course that's possible:
- Opers get an oper host (set::hosts in the config file http://www.vulnscan.org/UnrealIRCd/unre ... l#setblock )
- You can use a Vhost ( http://www.vulnscan.org/UnrealIRCd/unre ... vhostblock )
- You may use HostServ of your Services package
- You can use the /sethost and /chghost commands

Posted: Tue Feb 22, 2005 8:54 pm
by mindflow
Hi. i have a question for you.. and since this topic is related i using it :shock: i was wondering if i can make it in the config file so everyone that want to can set //mode them_self +x ? i want it to be up to the user if he/she want to mask the host or not. or must i have it added so everyone got it on connect ?

Posted: Tue Feb 22, 2005 9:08 pm
by Dukat
If you don't add it to the set::modes-on-connect, the users don't get it automatically and can add it themselves.

Posted: Tue Feb 22, 2005 9:22 pm
by mindflow
thnx..

Posted: Wed Feb 23, 2005 5:51 pm
by Ron2K
Of course, it works the other way too - you can have +x set automatically on connect and let the user decide if he/she/it/blob wishes to turn +x off.

(Unless of course, you've locked +x on or off.)