Disabling Hostname Blocking

These are old archives. They are kept for historic purposes only.
Post Reply
Takkyu
Posts: 2
Joined: Thu Aug 26, 2004 6:09 am

Disabling Hostname Blocking

Post by Takkyu »

I was unable to find a thread regarding this already, if I missed it I am sorry.

I am running Unreal 3.2 for Win32, and I would like to know if there is any way to change the server from blocking hostnames with a prefix, to having the server show the users real hostnames.

I am aware of the get_host flag, but this applies to opers, and you have to /whois to get their hostname in order to dns to get their ip. I would like to alleviate this and have it so people can just /dns other people and get their ip. I understand this is a big security risk for all users. Perhaps there's a way to make it so ircops can /dns a handle and get the ip, instead of having to do the whois to see where they are connecting from, and then having to do the dns on the hostname.

I hope I am making sense here. Basically I want ircops to be able to do /dns username and get their ip, otherwise if the only way to do that is for everyone to be able to do that, I am willing to take the risk.



Please help me out here,


Joe Evans
Stealth
Head of Support
Posts: 2085
Joined: Tue Jun 15, 2004 8:50 pm
Location: Chino Hills, CA, US
Contact:

Post by Stealth »

Usermode +x is the mode that cloaks hostnames. To show users real hostnames, all you need to do is take x out of set::modes-on-connect.
AngryWolf
Posts: 554
Joined: Sat Mar 06, 2004 10:53 am
Location: Hungary
Contact:

Post by AngryWolf »

There are a few ways to easily get the IP of a user:

1. As of Unreal3.2.1, /whois shows IP addresses, for example:
378 AngryWolf : is connecting from *@adsl123-45.someisp.net 67.89.123.45

2. /who +I <nickname>, yet another new feature in Unreal3.2.1 (but don't allow the client's built-in who command to reparse its parameters)

3. codemastr plans to add a /userip command to Unreal that works similarly to /userhost; while that isn't done, you can use my m_userip module to have that command.

Those are all your choices I can think of to avoid using 2 commands (/who & client's /dns command) and a clipboard. However, I wouldn't afford myself that security risk to disable automatic hiding of real hostnames/IP addresses, just because the way you described to get IP addresses is inconvenient for you. Usermode +x was not designed to make your life harder!
Takkyu
Posts: 2
Joined: Thu Aug 26, 2004 6:09 am

Post by Takkyu »

Stealth wrote:Usermode +x is the mode that cloaks hostnames. To show users real hostnames, all you need to do is take x out of set::modes-on-connect.
I figured it would be something very simple, thank you very much :)
aquanight
Official supporter
Posts: 862
Joined: Tue Mar 09, 2004 10:47 pm
Location: Boise, ID

Post by aquanight »

Alternatively, you could script a client to /whois everyone and watch for the appropriate reply and set the IAL entry on that instead. However, I believe this would be very difficult for a client like mIRC which will only pull user@host IAL address from the :prefix, /who, /userhost, the first line (nick is user@host * realname) of /whois, etc - and I haven't found a command to make it do otherwise :P . But the logic of this is that IIRC, /dns operates on the IAL entry if it's avaiable (no since /whois'ing someone when you already "know" the address :P ).

Of course, you can just /whois and see the IP in the whois itself, as of 3.2.1 :P .
Post Reply