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
Disabling Hostname Blocking
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!
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!
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
. 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
).
Of course, you can just /whois and see the IP in the whois itself, as of 3.2.1
.
Of course, you can just /whois and see the IP in the whois itself, as of 3.2.1