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

Feature request: UPnP and local router web interface scraping #844

Open
aathan opened this issue Oct 21, 2024 · 0 comments
Open

Feature request: UPnP and local router web interface scraping #844

aathan opened this issue Oct 21, 2024 · 0 comments

Comments

@aathan
Copy link

aathan commented Oct 21, 2024

  1. What's the feature?

Rather than rely on external providers to report the public IP of the network, the updater could get this information from UPnP or by using APIs provided by the edge router of the network, or by scraping the edge router's web UX.

Since this project did not have these features, I wrote a simple DDNS updater for my own use, and if you wish, you can take a look at my code.

It's just a quick and dirty implementation, but you will see:

  • How to use UPnP to query the public IP of the current network
    -- NOTE that most/many end-user home routers have UPnP enabled by default.
  • A proof of concept for how to interact with the Netgear R7900P web UX.

https://github.com/aathan/my-ddns-updater

This project could incorporate a new category of "get the IP address to update with" getters that use these kinds of strategies, eliminating the need to rely on potentially rate limited resources external to the network.

  1. Extra information?
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

1 participant