-
-
Notifications
You must be signed in to change notification settings - Fork 111
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
[Feature] Skip test when Public IP is in a list (#1714) #1795
[Feature] Skip test when Public IP is in a list (#1714) #1795
Conversation
* first commit * Commit it * lint * update-all-charts * push_local_git * add-timepicker * add-some-predefined-ranges * remove whiteline * Add_env_for_chart_start * change-env-and_time-ranges * change_average_to_orange * Revert "Add failed and thresholds" * first commit * change_api * update comments * Simplify * Seperate the IP check
Just want to clarify, to use this feature, we add the following Env var? Comma separated list of subnets/exact IPs? Example:
|
Correct, example in the docs: https://docs.speedtest-tracker.dev/getting-started/environment-variables#speedtest |
Can this be used in reverse to only run tests if a public IP is on a whitelist? |
No, this can only be used to define public IPs not to run the test on. |
π Description
Expands on the work in #1714 that implements #1111. Massive thank you to @svenvg93 for getting this ball rolling π€.
closes #1111
πͺ΅ Changelog
β Added
GetExternalIpAddress
actionNetwork
helperβοΈ Changed
"127.0.0.1" was found in public IP address skip list.
"127.0.0.1" was found in public IP address skip list within range "127.0.0.0/24".
π§ Fixed
https://icanhazip.com/
instead ofhttps://ifconfig.co/
to get the public IP address, it's backed by Cloudflare and less likely to be rate limited.