Merge pull request #263 from rhansen/routers

Add new device built-ins (`fw=<device>`)
This commit is contained in:
Sandro 2020-07-27 19:40:50 +02:00 committed by GitHub
commit 35f1be83f6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 26 additions and 0 deletions

View file

@ -20,6 +20,12 @@ repository history](https://github.com/ddclient/ddclient/commits/master).
addresses. addresses.
* New `ssl_ca_dir` and `ssl_ca_file` options to specify the location of CA * New `ssl_ca_dir` and `ssl_ca_file` options to specify the location of CA
certificates. certificates.
* New built-in shorthands for obtaining the IP address from the following
devices ([thanks to Geoff Simmons](https://bugs.debian.org/589980)):
- `alcatel-530`: Alcatel/Thomson SpeedTouch 530
- `siemens-ss4200`: Siemens SpeedStream 4200
- `thomson-st536v6`: Thomson SpeedTouch 536v6
- `thomson-tg782`: Thomson/Technicolor TG782
### Bug fixes ### Bug fixes

View file

@ -123,6 +123,11 @@ my %builtinfw = (
'url' => '/cgi/ip/', 'url' => '/cgi/ip/',
'skip' => 'ppp', 'skip' => 'ppp',
}, },
'alcatel-530' => {
'name' => 'Alcatel/Thomson SpeedTouch 530',
'url' => '/cgi/status/',
'skip' => 'IP Address',
},
'alcatel-stp' => { 'alcatel-stp' => {
'name' => 'Alcatel Speed Touch Pro', 'name' => 'Alcatel Speed Touch Pro',
'url' => '/cgi/router/', 'url' => '/cgi/router/',
@ -258,6 +263,11 @@ my %builtinfw = (
'url' => '/cgi-bin/webcm?getpage=%2Fusr%2Fwww_safe%2Fhtml%2Fstatus%2FRouter.html', 'url' => '/cgi-bin/webcm?getpage=%2Fusr%2Fwww_safe%2Fhtml%2Fstatus%2FRouter.html',
'skip' => 'Internet.*?IP Address', 'skip' => 'Internet.*?IP Address',
}, },
'siemens-ss4200' => {
'name' => 'Siemens SpeedStream 4200',
'url' => '/summary.htm',
'skip' => '',
},
'sitecom-dc202' => { 'sitecom-dc202' => {
'name' => 'Sitecom DC-202 FW', 'name' => 'Sitecom DC-202 FW',
'url' => '/status.htm', 'url' => '/status.htm',
@ -293,6 +303,16 @@ my %builtinfw = (
'url' => '/Status_Router.asp', 'url' => '/Status_Router.asp',
'skip' => 'var wan_ip', 'skip' => 'var wan_ip',
}, },
'thomson-st536v6' => {
'name' => 'Thomson SpeedTouch 536v6',
'url' => '/cgi/b/is/',
'skip' => 'IP Address',
},
'thomson-tg782' => {
'name' => 'Thomson/Technicolor TG782',
'url' => '/cgi/b/is/',
'skip' => 'IP Address',
},
'vigor-2200usb' => { 'vigor-2200usb' => {
'name' => 'Vigor 2200 USB', 'name' => 'Vigor 2200 USB',
'url' => '/doc/online.sht', 'url' => '/doc/online.sht',