View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003212 | unreal | ircd | public | 2007-01-26 16:49 | 2007-04-24 04:13 |
Reporter | Grunt | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | random |
Status | resolved | Resolution | fixed | ||
Platform | i386 | OS | *NIX | OS Version | (any) |
Product Version | 3.2.6 | ||||
Fixed in Version | 3.3-alpha0 | ||||
Summary | 0003212: /userip <someone_else> seemingly shows my (cloaked) IP | ||||
Description | Output of /userip for several users (nicknames removed for anonimity): [email protected] (me) [email protected] User2*[email protected] User3*[email protected] Or, maybe a more convincing paste: [email protected] [email protected] (me again) [email protected] aquanight*[email protected] The IP shown in the reply is actually my cloaked IP. | ||||
Steps To Reproduce | Just type "/userip anyone". | ||||
Additional Information | Both 3.2.5 and 3.2.6 are affected. I couldn't find any network running older versions. | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
3rd party modules | I don't think so, yet again I'm not running the networks. | ||||
has duplicate | 0003215 | resolved | Cloaked /USERIP same for all targets |
|
I don't think so, yet again I'm not running the networks. ^That's what /module is for What does /userip show you that /who +n(or /who +nI) doesn't? |
|
Confirmed. USERIP works fine as an oper, but not as a normal user [email protected] Stskeeps*[email protected] [email protected] [email protected] > What does /userip show you that /who +n(or /who +nI) doesn't? Doens't really matter, because normal users can't use +/-I |
|
While looking at the source code, I think I found the problem: if (sptr != acptr && !IsOper(sptr) && IsHidden(acptr)) { make_virtual_host(sptr, GetIP(sptr), ipbuf, 0); ip = ipbuf; } I'm guessing, after reading part of the source code, that sptr is the nickname that actually send the USERIP command. So, changing sptr in the make_virtual_host line with acptr, like this: make_virtual_host(acptr, GetIP(acptr), ipbuf, 0); should fix the problem. I tested it using 3 clients on a roommate's computer, and it seems ok. EDIT: I also built a patch for it, uploading now... |
|
Fixed in .2363 |
Date Modified | Username | Field | Change |
---|---|---|---|
2007-01-26 16:49 | Grunt | New Issue | |
2007-01-26 16:49 | Grunt | 3rd party modules | => I don't think so, yet again I'm not running the networks. |
2007-01-26 18:31 | Shining Phoenix | Note Added: 0013113 | |
2007-01-26 19:02 | Stealth | Note Added: 0013114 | |
2007-01-27 01:24 | Grunt | Note Added: 0013118 | |
2007-01-27 04:16 | Grunt | Note Edited: 0013118 | |
2007-01-27 04:16 | Grunt | File Added: userip.patch | |
2007-04-19 02:44 |
|
Relationship added | has duplicate 0003215 |
2007-04-19 02:45 |
|
Status | new => acknowledged |
2007-04-19 18:48 |
|
Status | acknowledged => confirmed |
2007-04-24 04:13 |
|
Status | confirmed => resolved |
2007-04-24 04:13 |
|
Fixed in Version | => 3.3-alpha0 |
2007-04-24 04:13 |
|
Resolution | open => fixed |
2007-04-24 04:13 |
|
Assigned To | => stskeeps |
2007-04-24 04:13 |
|
Note Added: 0013646 |