Ivan Kozlovic
8d6eacc245
Add X-Forwarded-For IP to the client's remote address
...
Instead of replacing connection's host with value specified by
this header, we will simply add the address to the logging only.
So instead of having something like:
```
192.168.1.1:5678 - wid:10 - Client connection created
```
we could have:
```
1.2.3.4/192.168.1.1:5678 - wid:10 - Client connection created
```
As seen above, this PR simply prefixes the connection's remote address
with the header's value (if a valid IP).
Related to #2734
Resolves #2767
Signed-off-by: Ivan Kozlovic <ivan@synadia.com >
2022-01-03 11:56:12 -07:00
..
2021-07-19 11:42:28 -04:00
2021-11-15 17:23:08 -07:00
2021-11-15 17:23:08 -07:00
2021-12-21 18:31:07 -08:00
2021-12-21 18:31:07 -08:00
2021-12-14 10:00:54 -07:00
2021-12-16 16:53:20 -05:00
2020-03-18 10:09:23 -06:00
2021-11-09 17:22:15 -07:00
2022-01-03 11:56:12 -07:00
2020-05-29 17:56:45 -07:00
2021-09-13 10:21:00 -06:00
2021-12-27 12:04:39 -08:00
2021-12-29 07:05:34 -08:00
2021-11-04 13:43:11 -07:00
2021-08-17 10:03:30 -07:00
2021-11-15 17:23:08 -07:00
2021-11-15 17:23:08 -07:00
2021-11-15 17:23:08 -07:00
2021-09-15 09:01:03 +02:00
2020-02-25 19:53:09 -05:00
2021-11-04 14:26:01 -07:00
2021-12-01 17:03:28 +01:00
2021-12-14 10:00:54 -07:00
2021-09-28 17:41:15 -04:00
2021-12-22 17:45:12 -08:00
2021-12-29 07:05:34 -08:00
2021-11-15 17:23:08 -07:00
2021-10-28 12:05:30 -06:00
2021-10-28 12:05:30 -06:00
2021-12-16 16:53:20 -05:00
2021-12-16 17:20:16 -07:00
2021-12-29 10:46:53 -08:00
2021-12-01 17:03:28 +01:00
2021-08-10 16:08:28 +02:00
2021-08-10 16:08:28 +02:00
2021-05-07 19:35:46 +02:00
2021-12-21 19:30:35 -08:00
2021-12-29 08:26:10 -08:00
2021-11-03 15:22:33 -04:00
2021-08-23 13:45:11 -04:00
2021-12-16 16:53:20 -05:00
2021-12-16 16:53:20 -05:00
2021-10-27 12:44:59 -04:00
2021-01-14 01:14:52 -08:00
2021-01-14 01:14:52 -08:00
2021-12-20 17:37:16 -08:00
2019-05-06 15:41:38 -07:00
2021-11-30 10:18:46 -07:00
2021-12-30 14:04:12 +01:00
2021-12-16 16:53:20 -05:00
2021-12-16 16:53:20 -05:00
2021-11-17 15:19:00 +01:00
2021-11-17 15:19:00 +01:00
2021-12-29 07:05:34 -08:00
2021-11-16 13:33:44 -08:00
2021-11-04 14:26:01 -07:00
2021-12-21 18:31:07 -08:00
2021-01-26 15:33:39 -07:00
2021-07-07 17:43:50 -04:00
2020-06-12 10:03:47 -06:00
2021-12-01 10:50:15 -07:00
2021-12-20 11:41:34 -07:00
2021-09-02 09:13:54 -06:00
2021-12-16 16:53:20 -05:00
2020-03-23 12:25:51 -04:00
2021-10-28 12:05:30 -06:00
2021-09-02 14:22:56 -06:00
2021-12-01 10:50:15 -07:00
2021-12-16 16:53:20 -05:00
2021-12-23 12:13:25 -05:00
2021-11-15 17:23:08 -07:00
2019-11-14 20:05:32 -07:00
2021-11-15 17:23:08 -07:00
2021-11-15 17:23:08 -07:00
2021-09-01 14:55:26 -07:00
2021-11-15 17:23:08 -07:00
2019-12-12 11:58:24 -07:00
2021-10-26 20:09:00 -07:00
2021-12-20 17:37:16 -08:00
2021-12-16 16:53:20 -05:00
2021-09-13 15:22:05 +03:00
2021-11-04 13:43:11 -07:00
2021-04-07 11:09:47 -07:00
2021-10-27 12:44:59 -04:00
2021-12-01 10:50:15 -07:00
2022-01-03 11:56:12 -07:00
2021-12-06 16:13:13 -07:00