Host masking

These are old archives. They are kept for historic purposes only.
Post Reply
darktool21
Posts: 3
Joined: Tue Feb 15, 2005 4:48 pm
Location: Olrando, FL
Contact:

Host masking

Post 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.
What we do in life, echoes in eternity.
Dukat
Posts: 1083
Joined: Tue Mar 16, 2004 5:44 pm
Location: Switzerland

Post 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
Stealth
Head of Support
Posts: 2085
Joined: Tue Jun 15, 2004 8:50 pm
Location: Chino Hills, CA, US
Contact:

Post 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.
darktool21
Posts: 3
Joined: Tue Feb 15, 2005 4:48 pm
Location: Olrando, FL
Contact:

Post 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?
What we do in life, echoes in eternity.
Ron2K

Post by Ron2K »

Sounds like you forgot to /REHASH. Or something equally silly :P
darktool21
Posts: 3
Joined: Tue Feb 15, 2005 4:48 pm
Location: Olrando, FL
Contact:

Post 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.
What we do in life, echoes in eternity.
bOu

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

Post 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
mindflow
Posts: 4
Joined: Tue Feb 22, 2005 8:49 pm

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

Post 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.
mindflow
Posts: 4
Joined: Tue Feb 22, 2005 8:49 pm

Post by mindflow »

thnx..
Ron2K

Post 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.)
Post Reply