proxy-addr icon indicating copy to clipboard operation
proxy-addr copied to clipboard

Determine address of proxied request

Results 3 proxy-addr issues
Sort by recently updated
recently updated
newest added

Hi! When using an unix socket instead of a tcp port `req.connection.remoteAddress` is undefined. And `forwarded` adds that undefined value to the array of forwarded IPs (https://github.com/jshttp/proxy-addr/blob/master/index.js#L57). So given that...

Since 2014, [RFC7239](https://tools.ietf.org/html/rfc7239) has standardized the `Forwarded:` header which allows chaining of multiple forwards in a more extensible way. An example of this header being set when the origin request...

``` streaming-1 | /opt/mastodon/node_modules/proxy-addr/index.js:192 streaming-1 | throw new TypeError('invalid range on address: ' + note) streaming-1 | ^ streaming-1 | streaming-1 | TypeError: invalid range on address: 0.0.0.0/0 streaming-1 |...

bug