Commit graph

125 commits

Author SHA1 Message Date
Christian Schoenebeck
bc175726cd ddns-scripts: fix problem during startup
fixes problem CRITICAL ERROR - custom update_script not found
when extracting url and script from services / services_ipv6 file

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2014-10-06 21:49:47 +02:00
Steven Barth
6ab4a265a2 ddns-scripts: Added support for custom update scripts
Squashed commit of the following:

commit 2701c8868e1ef4949db57e53b27958edba6abb59
Author: Christian Schoenebeck <christian.schoenebeck@gmail.com>
Date:   Sun Oct 5 11:01:57 2014 +0200

    ddns-scripts: Added support for custom update scripts

    Sample script
    Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>

commit e07ecb90fa2c7404a97cf64024e89bd9d88aacd4
Author: Christian Schoenebeck <christian.schoenebeck@gmail.com>
Date:   Sun Oct 5 11:00:11 2014 +0200

    ddns-scripts: Added support for custom update scripts

    Added support for custom update scripts with new option update_script.
    function get_service_url() renamed to get_service_data() and extended to detect scripts inside service / service_ipv6 for later use
    function send_update() modified to support custom update scripts.
    Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>

commit 39e41b2151a79a7ace71a9d40b87cd4d6ce09503
Author: Christian Schoenebeck <christian.schoenebeck@gmail.com>
Date:   Sun Oct 5 10:52:44 2014 +0200

    ddns-scripts: Added support for custom update scripts

    Added support for custom update scripts with new option update_script
    Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>

commit 33f264768e37d8a6fe564faaafa51a7b45a0ee19
Author: Christian Schoenebeck <christian.schoenebeck@gmail.com>
Date:   Sun Oct 5 10:48:21 2014 +0200

    ddns-scripts: Insert description for NEW option update_script

    Insert description for NEW option update_script
    Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>

commit 6f6a60244df53e0556f5c75845c69aa832f97e4c
Author: Christian Schoenebeck <christian.schoenebeck@gmail.com>
Date:   Sun Oct 5 10:43:52 2014 +0200

    ddns-scripts: Update PKG_RELEASE

    Update_PKG_RELEASE to reflect changes
    Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2014-10-06 08:39:59 +02:00
Christian Schoenebeck
42263ca865 ddns_scripts: url encode USERNAME and PASSWORD
New function __urlencode() to remove special chars used in send_update() for username and password.
username might have email address and password might have special chars for security reasons.
Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2014-10-01 18:45:29 +02:00
Christian Schoenebeck
0f9ac53fae ddns-scripts: Increment PKG_RELEASE
Increment PKG_RELEASE to reflect changes
Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2014-10-01 18:35:46 +02:00
Christian Schoenebeck
178510d421 ddns-scripts: send_update() detection private IPv4
correction of excluding private IPv4 in send_update() function.
Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2014-09-30 08:22:21 +02:00
Christian Schoenebeck
5deddd2ed3 ddns-scripts: increment PKG_RELEASE
Increment PKG_RELEASE to reflect updates
Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2014-09-30 08:14:04 +02:00
Christian Schoenebeck
d470bafa90 ddns-scripts: increment PKG_RELEASE
Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2014-09-29 20:31:28 +02:00
Christian Schoenebeck
c26946e487 ddns-scripts: fix ticket #17998: wrongly detect ipv4 start with 10x.x.x.x
Thanks to "eqsun" for report and offer of fix.
Otherwise the ip address starts with 100~109 will be treated as invalid.
Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2014-09-29 20:29:46 +02:00
Christian Schoenebeck
9a883a38bd ddns-scripts: Increment PKG_RELEASE
Increment PKG_RELEASE to reflect latest changes
Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2014-09-29 13:44:30 +02:00
Christian Schoenebeck
e67960d88c ddns-scripts: add service two-dns.de
Requested by: Martin Röcker <roecker@empty-v.de>
Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2014-09-29 13:42:43 +02:00
etmatrix
bb38611166 With DSL connection ifconfig hasn't broadcast address but P-t-P so awk don't match nothing 2014-09-28 09:59:52 +02:00
Christian Schoenebeck
6522ff5e31 ddns-scripts: fix issue (#337) current/registered ip never match
Increase PKG_RELEASE to reflect changes

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2014-09-22 16:34:20 +02:00
Christian Schoenebeck
99264f2527 ddns-scripts: fix issue (#337) current/registered ip never match
new extraction of IP inside function get_registered_ip for host and nslookup
thanks to jow for the sed

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2014-09-22 16:32:56 +02:00
Steven Barth
07d3672d46 ddns-scripts: Update to Version 2.0.1-1
Squashed commit of the following:

commit fc1d42f069ff930180c5f067c2eb88c9e9df7003
Author: Christian Schoenebeck <christian.schoenebeck@gmail.com>
Date:   Sun Sep 21 18:01:43 2014 +0200

    [ddns-scripts] Update to Version 2.0.1-1

commit 731f9b4df00a8f29df2c17f102356c4d6980918a
Author: Christian Schoenebeck <christian.schoenebeck@gmail.com>
Date:   Sun Sep 21 17:59:25 2014 +0200

    [ddns-scripts] Update to Version 2.0.1-1

    personal helper script to create hashes for CA-Certificates for Wget and cURL using https protocol without errors.

    Sorry GitHub web interface only supports single commits that will be summarized into one pull request.
    Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>

commit df8f6c9d5d31fde24fe1d673949d272d887505e1
Author: Christian Schoenebeck <christian.schoenebeck@gmail.com>
Date:   Sun Sep 21 17:56:05 2014 +0200

    [ddns-scripts] Update to Version 2.0.1-1

    rewritten

    Sorry GitHub web interface only supports single commits that will be summarized into one pull request.
    Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>

commit 50cdf5acb9caecfd9b65ab79696c40fb2bc7037b
Author: Christian Schoenebeck <christian.schoenebeck@gmail.com>
Date:   Sun Sep 21 17:54:40 2014 +0200

    [ddns-scripts] Update to Version 2.0.1-1

    rewritten

    Sorry GitHub web interface only supports single commits that will be summarized into one pull request.
    Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>

commit b1d650a345fb06402c1eac01138cbafcca123a8c
Author: Christian Schoenebeck <christian.schoenebeck@gmail.com>
Date:   Sun Sep 21 17:52:52 2014 +0200

    [ddns-scripts] Update to Version 2.0.1-1

    not needed in this version

    Sorry GitHub web interface only supports single commits that will be summarized into one pull request.
    Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>

commit 9532114b03d428a3162b16e06706d3aa50e601bb
Author: Christian Schoenebeck <christian.schoenebeck@gmail.com>
Date:   Sun Sep 21 17:51:39 2014 +0200

    [ddns-scripts] Update to Version 2.0.1-1

    same function as existing services file but used for IPv6

    Sorry GitHub web interface only supports single commits that will be summarized into one pull request.
    Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>

commit a636bc25c62e23694c009886c13253c9cecc548c
Author: Christian Schoenebeck <christian.schoenebeck@gmail.com>
Date:   Sun Sep 21 17:46:56 2014 +0200

    [ddns-scripts] Update to Version 2.0.1-1

    New file explaining availible parameters.

    Sorry GitHub web interface only supports single commits that will be summarized into one pull request.
    Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>

commit 52332354fc245861e17c898aa6b806f6c174e9a5
Author: Christian Schoenebeck <christian.schoenebeck@gmail.com>
Date:   Sun Sep 21 17:44:45 2014 +0200

    [ddns-scripts] Update to Version 2.0.1-1

    Sorry GitHub web interface only supports single commits that will be summarized into one pull request.

    Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2014-09-22 08:00:53 +02:00
Liviu Pislaru
aab79c8377 ddns-scripts: duiadns.net service support added
Signed-off-by: Liviu Pislaru <liviu@duiadns.net>
2014-09-03 18:04:15 +03:00
Jonathan McCrohan
4b90ad6770 Merge pull request #193 from chris5560/master
ddns-scripts: Set PKG_LICENSE
2014-08-12 00:18:32 +01:00
Christian Schoenebeck
353dd935d6 ddns-scripts: Set PKG_LICENSE
Set PKG_LICENSE as written inside dynamic_dns_updater.sh and dynamic_dns_functions.sh.

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2014-08-11 21:18:48 +02:00
sbyx
ab11a89555 Merge pull request #144 from chris5560/master
ddns-scripts: set myself as maintainer
2014-07-30 14:05:19 +02:00
Christian Schoenebeck
bda67cc2cc ddns-scripts: set myself as maintainer
and increase PKG_RELEASE to reflect latest updates.

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2014-07-30 14:01:00 +02:00
Jonathan McCrohan
ce93ec8e40 ddns-scripts: remove erroneously committed backup file
Signed-off-by: Jonathan McCrohan <jmccrohan@gmail.com>
2014-07-30 11:08:29 +01:00
Christian Schoenebeck
1227a896e4 ddns-scripts: new service "spdns.de"
Service provided by Securepoint GmbH, 21335 Lüneburg, Germany
Info at http://www.spdns.de

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2014-07-27 16:14:28 +02:00
Christian Schoenebeck
f1faf5f2e1 ddns-scripts: start via hotplug only if enabled
To be consistent with other services only start via hotplug if enabled.
Now full functionality of /etc/init.d/ddns enable/disable start/stop

Optimization: Include script only if needed

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2014-07-27 16:06:24 +02:00
Christian Schoenebeck
e5613b306f ddns-scripts: only start via hotplug not via boot
Hotplug script will start service for each interface.
To prevent duplicates and in general must not start on boot.

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2014-07-27 15:52:13 +02:00
Nikos Mavrogiannopoulos
f7d0b83aef ddns: Allow running ddns using the /etc/init.d/ddns script
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
2014-06-08 14:05:23 +02:00
Nikos Mavrogiannopoulos
ced8b84f1c ddns-scripts: Copied from previous repository
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
2014-06-08 14:03:36 +02:00