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

possible feature request: multiple web=somebody providers either as confirmation or as fallback? #621

Open
ljwobker opened this issue Jan 30, 2024 · 1 comment

Comments

@ljwobker
Copy link

totally possible this is already done (I couldn't figure out how) or maybe already in the plan (though wasn't mentioned in any issues I could find or in the architecture rework discussion...)

is there value in having multiple targets for the web= config directive? I could see at least two use cases:

First, you don't want to be totally dependent on one service to tell you what your IP address is. If it's down or goes away or decides it doesn't like you... the rest doesn't work.

Second, you want to do some kind of sanity checking on the answer you get. Maybe you want to be extra sure that the answer you get is correct, or maybe you want to do something super fancy where you ask three services and as long as two of them give you the same address you use it... or whatever.

@LenardHess
Copy link
Contributor

Any more high-level checking/majority voting would be best done using cmdv4/cmdv6 and a separate script.

The verifying aspect was already thought of in form of a possible hook to verify IPs (See "Add hook scripts to various stages of the update process" here). I had my own setup once break because my IP web query suddenly returned a 10.0.0.0/8 IP - definitely not my public IP 😉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants