From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christof Weniger To: development@lists.ipfire.org Subject: DDNS: add new Provider key-sytems.net (domaindiscount24) Date: Thu, 28 Nov 2019 11:45:08 +0100 Message-ID: <81dc1ed3-1179-42c6-784a-15f64a79508c@gmx.at> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4525507133801352531==" List-Id: --===============4525507133801352531== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Hi, I hope this is the correct way to submit this patch. https://www.domaindiscount24.com/ has its own ddns service runnning, which (for me) gets rid of the necessity of having to use an extra service for that. I tested the following patch on my system at home, and attached it to this mail. I started my quest at the community forum: https://community.ipfire.org/t/adding-new-ddns-provider/428/2 Christof --===============4525507133801352531== Content-Type: text/x-patch Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="add_key_systems_ddns.patch" MIME-Version: 1.0 ZGlmZiAtLWdpdCBhL1JFQURNRSBiL1JFQURNRQppbmRleCBjNzVjNDQ4Li5iNmRlY2IzIDEwMDY0 NAotLS0gYS9SRUFETUUKKysrIGIvUkVBRE1FCkBAIC03Miw2ICs3Miw3IEBAIFNVUFBPUlRFRCBQ Uk9WSURFUlM6CiAJaW53eC5jb218ZGV8YXR8Y2h8ZXMKIAlpdHNkbnMuZGUKIAlqb2tlci5jb20K KwlrZXktc3lzdGVtcy5uZXQKIAlsb29waWEuc2UKIAlteW9ubGluZXBvcnRhbC5uZXQKIAluYW1l Y2hlYXAuY29tCmRpZmYgLS1naXQgYS9zcmMvZGRucy9wcm92aWRlcnMucHkgYi9zcmMvZGRucy9w cm92aWRlcnMucHkKaW5kZXggNjYxZmJjYy4uY2NiZjVlNSAxMDA2NDQKLS0tIGEvc3JjL2RkbnMv cHJvdmlkZXJzLnB5CisrKyBiL3NyYy9kZG5zL3Byb3ZpZGVycy5weQpAQCAtMTIwNCw2ICsxMjA0 LDQwIEBAIGNsYXNzIERETlNQcm92aWRlckpva2VyKERETlNQcm90b2NvbER5bkROUzIsIERETlNQ cm92aWRlcik6CiAJCXVybCA9ICJodHRwczovL3N2Yy5qb2tlci5jb20vbmljL3VwZGF0ZSIKCgor Y2xhc3MgREROU1Byb3ZpZGVyS0VZU1lTVEVNUyhERE5TUHJvdmlkZXIpOgorICAgICAgICBoYW5k bGUgICAgPSAiZHluYW1pY2Rucy5rZXktc3lzdGVtcy5uZXQiCisgICAgICAgIG5hbWUgICAgICA9 ICJkeW5hbWljZG5zLmtleS1zeXN0ZW1zLm5ldCIKKyAgICAgICAgd2Vic2l0ZSAgID0gImh0dHBz Oi8vZG9tYWluZGlzY291bnQyNC5jb20vIgorICAgICAgICBwcm90b2NvbHMgPSAoImlwdjQiLCkK KworICAgICAgICAjIFRoZXJlIGFyZSBvbmx5IGluZm9ybWF0aW9uIHByb3ZpZGVkIGJ5IHRoZSBk b21haW5kaXNjb3VudDI0IGhvdyB0bworICAgICAgICAjIHBlcmZvcm0gYW4gdXBkYXRlIHdpdGgg SFRUUCBBUElzCisgICAgICAgICMgaHR0cHM6Ly93d3cuZG9tYWluZGlzY291bnQyNC5jb20vZmFx L2R5bmFtaWMtZG5zCisgICAgICAgICMgZXhhbXBsZXM6IGh0dHBzOi8vZHluYW1pY2Rucy5rZXkt c3lzdGVtcy5uZXQvdXBkYXRlLnBocD9ob3N0bmFtZT1ob3N0bmFtZSZwYXNzd29yZD1wYXNzd29y ZCZpcD1hdXRvCisgICAgICAgICMgICAgICAgICAgIGh0dHBzOi8vZHluYW1pY2Rucy5rZXktc3lz dGVtcy5uZXQvdXBkYXRlLnBocD9ob3N0bmFtZT1ob3N0bmFtZSZwYXNzd29yZD1wYXNzd29yZCZp cD0yMTMueC54LngmbXg9MjEzLngueC54CisKKyAgICAgICAgdXJsID0gImh0dHBzOi8vZHluYW1p Y2Rucy5rZXktc3lzdGVtcy5uZXQvdXBkYXRlLnBocCIKKyAgICAgICAgY2FuX3JlbW92ZV9yZWNv cmRzID0gRmFsc2UKKworICAgICAgICBkZWYgdXBkYXRlX3Byb3RvY29sKHNlbGYsIHByb3RvKToK KyAgICAgICAgICAgICAgICBkYXRhID0geworICAgICAgICAgICAgICAgICAgICAgICAgImhvc3Ru YW1lIiAgICAgIDogc2VsZi5ob3N0bmFtZSwKKyAgICAgICAgICAgICAgICAgICAgICAgICJwYXNz d29yZCIgICAgICA6IHNlbGYucGFzc3dvcmQsCisgICAgICAgICAgICAgICAgICAgICAgICAiaXAi ICAgICAgICAgICAgOiAiYXV0byIsCisgICAgICAgICAgICAgICAgfQorCisgICAgICAgICAgICAg ICAgIyBTZW5kIHVwZGF0ZSB0byB0aGUgc2VydmVyLgorICAgICAgICAgICAgICAgIHJlc3BvbnNl ID0gc2VsZi5zZW5kX3JlcXVlc3Qoc2VsZi51cmwsIGRhdGE9ZGF0YSkKKworICAgICAgICAgICAg ICAgICMgSGFuZGxlIHN1Y2Nlc3MgbWVzc2FnZXMuCisgICAgICAgICAgICAgICAgaWYgcmVzcG9u c2UuY29kZSA9PSAyMDA6CisgICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4KKworICAgICAg ICAgICAgICAgICMgSWYgd2UgZ290IGhlcmUsIHNvbWUgb3RoZXIgdXBkYXRlIGVycm9yIGhhcHBl bmVkLgorICAgICAgICAgICAgICAgIHJhaXNlIERETlNVcGRhdGVFcnJvcgorCisKKwogY2xhc3Mg REROU1Byb3ZpZGVyR29vZ2xlKERETlNQcm90b2NvbER5bkROUzIsIERETlNQcm92aWRlcik6CiAg ICAgICAgIGhhbmRsZSAgICA9ICJkb21haW5zLmdvb2dsZS5jb20iCiAgICAgICAgIG5hbWUgICAg ICA9ICJHb29nbGUgRG9tYWlucyIKCg== --===============4525507133801352531==--