Skip to content

Does the proxy_ip_parser not work with IPv6 addresses properly? #1516

Closed Answered by vladimir-vv
victor-sudakov asked this question in Q&A
Discussion options

You must be logged in to vote

Hello @rustatian

We use RR to launch Laravel app.
"laravel/framework", "version": "v9.52.4"
"spiral/roadrunner-laravel", "version": "v5.11.1"

I added error_log() into "vendor/spiral/roadrunner-http/src/HttpWorker.php"
in function waitRequest() to dump payload.

Result with IPv4:

{
  "remoteAddr": "X.X.196.87",
  "protocol": "HTTP/1.1",
  "method": "GET",
  "uri": "http://SITE.com/",
  "headers": {
    "Cf-Connecting-Ip": [
      "X.X.196.87"
    ],
    "X-Scheme": [
      "https"
    ],
    "User-Agent": [
      "curl/7.87.0"
    ],
    "X-Request-Id": [
      "899100e44f1f6d7da07580165192b934"
    ],
    "X-Real-Ip": [
      "X.X.196.87"
    ],
    "X-Forwarded-For": [
      "X.X.196.87"

Replies: 4 comments 29 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
29 replies
@rustatian
Comment options

@vladimir-vv
Comment options

@rustatian
Comment options

@rustatian
Comment options

@vladimir-vv
Comment options

Answer selected by rustatian
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
R-question Question
3 participants