View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000964 | Xdebug | Step Debugging | public | 2013-07-16 19:07 | 2017-12-02 16:19 |
| Reporter | mslade | Assigned To | derick | ||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Platform | Linux | OS | BU Linux | OS Version | 5.0 |
| Product Version | 2.2.2 | ||||
| Fixed in Version | 2.6.0alpha1 | ||||
| Summary | 0000964: Xdebug does not parse X-Forwarded-For | ||||
| Description | Xdebug uses the X-Forwarded-For header for remote_connect_back but it doesn't parse the header value. It assumes it to be a single IP, so when multiple IPs are included here it results in a malformed hostname. Here is an example from my log file: I: Remote address found, connecting to 168.122.67.172, 168.122.67.172:9000. | ||||
| Steps To Reproduce |
I: Remote address found, connecting to 127.0.0.1, 127.0.0.2:9000. | ||||
| Additional Information | https://en.wikipedia.org/wiki/X-Forwarded-For#Format Note that I tested this against 2.2.2, but it appears to be the same in 2.2.3. | ||||
| Tags | No tags attached. | ||||
| Operating System | |||||
| PHP Version | 5.4.0 | ||||
|
|
Which one should I use then? The first one to do the callback? |
|
|
That would be the behavior I expected. The first IP will be the client's actual IP address at the end of the proxy chain. |
|
|
Fixed, through a patch by Steve Easley. |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2013-07-16 19:07 | mslade | New Issue | |
| 2013-07-23 10:52 | derick | Note Added: 0002543 | |
| 2013-07-23 10:52 | derick | Assigned To | => derick |
| 2013-07-23 10:52 | derick | Status | new => feedback |
| 2013-07-23 16:51 | mslade | Note Added: 0002545 | |
| 2013-07-23 16:51 | mslade | Status | feedback => assigned |
| 2016-07-31 12:36 | derick | Category | Usage problems => Usage problems (Crashes) |
| 2016-07-31 12:38 | derick | Category | Usage problems (Crashes) => Usage problems (Wrong Results) |
| 2016-11-28 20:18 | derick | Status | assigned => acknowledged |
| 2016-11-28 20:18 | derick | Category | Usage problems (Wrong Results) => Remote Debugging |
| 2016-12-04 17:10 | derick | Status | acknowledged => confirmed |
| 2017-01-04 11:20 | derick | Note Added: 0004155 | |
| 2017-01-04 11:20 | derick | Status | confirmed => closed |
| 2017-01-04 11:20 | derick | Resolution | open => fixed |
| 2017-01-04 11:20 | derick | Fixed in Version | => 2.6.0dev |
| 2017-12-02 16:19 | derick | Fixed in Version | 2.6.0dev => 2.6.0alpha1 |
| 2017-12-07 10:51 | derick | Relationship added | has duplicate 0001500 |
| 2020-03-12 16:33 | derick | Category | Remote Debugging => Step Debugging |