Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cloudflare ipv4 not loaded #3582

Open
sashok60 opened this issue Feb 24, 2024 · 9 comments · May be fixed by #3929
Open

Cloudflare ipv4 not loaded #3582

sashok60 opened this issue Feb 24, 2024 · 9 comments · May be fixed by #3929

Comments

@sashok60
Copy link

No description provided.

@sashok60 sashok60 added the bug label Feb 24, 2024
@sashok60
Copy link
Author

cloudflare ip list not load and therefore it is not possible to obtain the real IP of the client

@Gerrno
Copy link

Gerrno commented Feb 24, 2024

It started suddenly for me too today or yesterday.
real_ip_header X-Forwarded-For; doesn't work at all.
Even I have not adjusted NPM for several days.

@Gerrno
Copy link

Gerrno commented Feb 24, 2024

set_real_ip_from 173.245.48.0/20;
set_real_ip_from 103.21.244.0/22;
set_real_ip_from 103.22.200.0/22;
set_real_ip_from 103.31.4.0/22;
set_real_ip_from 141.101.64.0/18;
set_real_ip_from 108.162.192.0/18;
set_real_ip_from 190.93.240.0/20;
set_real_ip_from 188.114.96.0/20;
set_real_ip_from 197.234.240.0/22;
set_real_ip_from 198.41.128.0/17;
set_real_ip_from 162.158.0.0/15;
set_real_ip_from 104.16.0.0/13;
set_real_ip_from 104.24.0.0/14;
set_real_ip_from 172.64.0.0/13;
set_real_ip_from 131.0.72.0/22;

real_ip_header X-Forwarded-For;

@sashok60
Copy link
Author

It started suddenly for me too today or yesterday.
real_ip_header X-Forwarded-For; doesn't work at all.
Even I have not adjusted NPM for several days.

Of course this can be solved, but in this version for some reason it did not update
I solved this by adding a config with addresses to the custom folder

@sashok60
Copy link
Author

there may be an error in the request
in log i see Fetching https://www.cloudflare.com/ips-v4 and there is an empty list
I think we need https://www.cloudflare.com/ips-v4/

@PintjesB
Copy link

Seems to be fixed for me...

@Pheromir
Copy link

same here.
tested sashok60s hint with the missing slash at the end and could confirm that there was no output on the url yesterday. Today curl returns the proper ip ranges. So that seemed to be either a change or a fuckup at cloudflare.
It should probably still be changed to include the slash to prevent this issue in the future I guess?

@sashok60
Copy link
Author

same here. tested sashok60s hint with the missing slash at the end and could confirm that there was no output on the url yesterday. Today curl returns the proper ip ranges. So that seemed to be either a change or a fuckup at cloudflare. It should probably still be changed to include the slash to prevent this issue in the future I guess?

checked, yes, now the addresses are present in the ip_ranges.conf file

Copy link

github-actions bot commented Sep 3, 2024

Issue is now considered stale. If you want to keep it open, please comment 👍

@github-actions github-actions bot added the stale label Sep 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants
@Pheromir @PintjesB @sashok60 @Gerrno and others