You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "bmunishwar (via GitHub)" <gi...@apache.org> on 2023/09/20 07:05:18 UTC

[GitHub] [apisix-docker] bmunishwar opened a new issue, #500: IP Restriction plugin is not getting the real client IP

bmunishwar opened a new issue, #500:
URL: https://github.com/apache/apisix-docker/issues/500

   I am running the APISIX on docker desktop windows .  I have enabled the IP restriction plugin to give the access of my upstream service from the whitelisted IP(10.24.218.254) only but it does not getting the real client IP while matching with the whitelisted IP 
   
   Please see the logs 
   
   ip-restriction exits with http status code 403, client: 172.18.0.1, server: _, request: "GET /productList?from_date=2021-01-01&to_date=2023-09-01&list_flag=TR&state_code=31 HTTP/1.1", host: "10.24.218.253:9080"
   
   how to get the real client IP in apisix ??
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] IP Restriction plugin is not getting the real client IP [apisix-docker]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #500:
URL: https://github.com/apache/apisix-docker/issues/500#issuecomment-1822459434

   This issue has been marked as stale due to 30 days of inactivity. It will be closed in 2 weeks if no further activity occurs. If this issue is still relevant, please simply write any comment. Even if closed, you can still revive the issue at any time or discuss it on the dev@apisix.apache.org list. Thank you for your contributions.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] IP Restriction plugin is not getting the real client IP [apisix-docker]

Posted by "monkeyDluffy6017 (via GitHub)" <gi...@apache.org>.
monkeyDluffy6017 commented on issue #500:
URL: https://github.com/apache/apisix-docker/issues/500#issuecomment-1822568261

   considered resolved


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] IP Restriction plugin is not getting the real client IP [apisix-docker]

Posted by "monkeyDluffy6017 (via GitHub)" <gi...@apache.org>.
monkeyDluffy6017 closed issue #500: IP Restriction plugin is not getting the real client IP 
URL: https://github.com/apache/apisix-docker/issues/500


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] IP Restriction plugin is not getting the real client IP [apisix-docker]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #500:
URL: https://github.com/apache/apisix-docker/issues/500#issuecomment-1772442589

   This issue has been marked as stale due to 30 days of inactivity. It will be closed in 2 weeks if no further activity occurs. If this issue is still relevant, please simply write any comment. Even if closed, you can still revive the issue at any time or discuss it on the dev@apisix.apache.org list. Thank you for your contributions.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] IP Restriction plugin is not getting the real client IP [apisix-docker]

Posted by "bmunishwar (via GitHub)" <gi...@apache.org>.
bmunishwar commented on issue #500:
URL: https://github.com/apache/apisix-docker/issues/500#issuecomment-1822482488

   Yes you got it right
   
   On Wed, 22 Nov, 2023, 3:34 pm github-actions[bot], ***@***.***>
   wrote:
   
   > This issue has been marked as stale due to 30 days of inactivity. It will
   > be closed in 2 weeks if no further activity occurs. If this issue is still
   > relevant, please simply write any comment. Even if closed, you can still
   > revive the issue at any time or discuss it on the ***@***.***
   > list. Thank you for your contributions.
   >
   > —
   > Reply to this email directly, view it on GitHub
   > <https://github.com/apache/apisix-docker/issues/500#issuecomment-1822459434>,
   > or unsubscribe
   > <https://github.com/notifications/unsubscribe-auth/ATXZVI5QQYQWDDW2VT3LRT3YFXEZZAVCNFSM6AAAAAA47NCVSGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMRSGQ2TSNBTGQ>
   > .
   > You are receiving this because you authored the thread.Message ID:
   > ***@***.***>
   >
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] IP Restriction plugin is not getting the real client IP [apisix-docker]

Posted by "monkeyDluffy6017 (via GitHub)" <gi...@apache.org>.
monkeyDluffy6017 commented on issue #500:
URL: https://github.com/apache/apisix-docker/issues/500#issuecomment-1774278815

   It seems that the ip you set in the plugin doesn't match the real one?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org