<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-1x.git/src/migration-scripts/dns-dynamic, branch 1.4.0-rc2</title>
<subtitle>VyOS command definitions, scripts, and utilities (mirror of https://github.com/vyos/vyos-1x.git)
</subtitle>
<id>https://git.amelek.net/vyos/vyos-1x.git/atom?h=1.4.0-rc2</id>
<link rel='self' href='https://git.amelek.net/vyos/vyos-1x.git/atom?h=1.4.0-rc2'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/'/>
<updated>2023-12-26T21:22:55+00:00</updated>
<entry>
<title>ddclient: T5144: Migrate web-options url to stricter format</title>
<updated>2023-12-26T21:22:55+00:00</updated>
<author>
<name>Indrajit Raychaudhuri</name>
<email>irc@indrajit.com</email>
</author>
<published>2023-12-25T06:13:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=be7c56cbc6d0b28f6e85e35a2dc5303bd663754b'/>
<id>urn:sha1:be7c56cbc6d0b28f6e85e35a2dc5303bd663754b</id>
<content type='text'>
Legacy ddclient allowed arbitrary URLs in web-options, but the new
has stricter validations. Apply migration to the old URLs.

Also migrate checkip.dyndns.org to https://domains.google.com/checkip
for better TLS support.
</content>
</entry>
<entry>
<title>ddclient: T5144: Fix migration to avoid config name conflict</title>
<updated>2023-12-26T21:22:55+00:00</updated>
<author>
<name>Indrajit Raychaudhuri</name>
<email>irc@indrajit.com</email>
</author>
<published>2023-12-11T21:34:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=3d9f381964e53fe0ce6456724660727283802f48'/>
<id>urn:sha1:3d9f381964e53fe0ce6456724660727283802f48</id>
<content type='text'>
When migrating from `service dns dynamic interface &lt;interface&gt; ...` to
`service dns dynamic address &lt;address&gt; ...`, the config name can
potentially have a conflict when `address == 'web'`.

Although the `/run/ddclient/ddclient.conf` that was generated earlier
was incorrect, one could still potentially have misconfigured VyOS
config without realizing it.

We now append the old &lt;interface&gt; name to the config name to avoid
conflict.
</content>
</entry>
<entry>
<title>ddclient: T5791: Fix migration to normalize config name and avoid config</title>
<updated>2023-12-26T21:22:55+00:00</updated>
<author>
<name>Indrajit Raychaudhuri</name>
<email>irc@indrajit.com</email>
</author>
<published>2023-12-11T22:02:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=975ce1c71352e319abef59e9e63de2c3fca2f281'/>
<id>urn:sha1:975ce1c71352e319abef59e9e63de2c3fca2f281</id>
<content type='text'>
Since `service dns dynamic address &lt;address&gt; service &lt;service&gt; ...`
changed to `service dns dynamic name &lt;service&gt; address &lt;address&gt; ...`,
the resulting service and address config flip can result in conflicting
`service` name.

Additionally, since dynamic DNS service name now have name constraint,
we need to normalize the service name to conform with the constraint.

We now migrate the service name to (service|rfc2136)-&lt;service&gt;-&lt;address&gt;
to avoid the conflict and optionally append an index if there is still a
name conflict after normalization.
</content>
</entry>
<entry>
<title>ddclient: T5791: Simplify and fix migration script for dynamic dns</title>
<updated>2023-12-06T01:53:50+00:00</updated>
<author>
<name>Indrajit Raychaudhuri</name>
<email>irc@indrajit.com</email>
</author>
<published>2023-12-03T08:41:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=5674a29374ad0a2a0d3634ceabd7db6932a9f1ab'/>
<id>urn:sha1:5674a29374ad0a2a0d3634ceabd7db6932a9f1ab</id>
<content type='text'>
Mark 'dns dynamic name' as tag node to avoid unexpected nesting.
Also, fix file exec permission for migration script.
</content>
</entry>
<entry>
<title>ddclient: T5791: Migration script for dynamic dns config path change</title>
<updated>2023-12-06T01:50:56+00:00</updated>
<author>
<name>Indrajit Raychaudhuri</name>
<email>irc@indrajit.com</email>
</author>
<published>2023-12-01T01:16:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=06bf126a767c2775bc90021f0435b86f2bad9a5b'/>
<id>urn:sha1:06bf126a767c2775bc90021f0435b86f2bad9a5b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>ddclient: T5708: Migration to 3.11.1 and related improvements</title>
<updated>2023-12-01T03:42:24+00:00</updated>
<author>
<name>Indrajit Raychaudhuri</name>
<email>irc@indrajit.com</email>
</author>
<published>2023-11-06T20:45:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=521713e40f9605da81ec3ffa7a71b48486d692e2'/>
<id>urn:sha1:521713e40f9605da81ec3ffa7a71b48486d692e2</id>
<content type='text'>
Fix execution bit for migration script
</content>
</entry>
<entry>
<title>ddclient: T5708: Migration to 3.11.1 and related improvements</title>
<updated>2023-12-01T03:42:23+00:00</updated>
<author>
<name>Indrajit Raychaudhuri</name>
<email>irc@indrajit.com</email>
</author>
<published>2023-11-03T01:15:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=4419244972ad1183ae42665dd453abb19e162ed5'/>
<id>urn:sha1:4419244972ad1183ae42665dd453abb19e162ed5</id>
<content type='text'>
- Migrate to ddclient 3.11.1 and enforce debian/control dependency
- Add dual stack support for additional protocols
- Restrict usage of `porkbun` protocol, VyOS configuration structure
  isn't compatible with porkbun yet
- Improve and cleanup error messages
</content>
</entry>
<entry>
<title>ddclient: T5708: Validate proper use of `web-options`</title>
<updated>2023-12-01T03:42:23+00:00</updated>
<author>
<name>Indrajit Raychaudhuri</name>
<email>irc@indrajit.com</email>
</author>
<published>2023-11-04T21:01:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=e058ee4909728541f3cd63110908c86214bf76c0'/>
<id>urn:sha1:e058ee4909728541f3cd63110908c86214bf76c0</id>
<content type='text'>
`web-options` is only applicable when using HTTP(S) web request to
obtain the IP address. Apply guard for that.
</content>
</entry>
<entry>
<title>ddclient: T5708: Migrate `timeout` to `interval`</title>
<updated>2023-12-01T03:42:23+00:00</updated>
<author>
<name>Indrajit Raychaudhuri</name>
<email>irc@indrajit.com</email>
</author>
<published>2023-11-03T01:44:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=78a7f0182a3ae504f8a29502cc064f56769df75a'/>
<id>urn:sha1:78a7f0182a3ae504f8a29502cc064f56769df75a</id>
<content type='text'>
Time interval in seconds to wait between DNS updates would be a bit
more intuitive as `interval` than `timeout`.
</content>
</entry>
<entry>
<title>T5427: Fix migration script arguments len expects 2 args</title>
<updated>2023-08-02T09:12:23+00:00</updated>
<author>
<name>Viacheslav Hletenko</name>
<email>v.gletenko@vyos.io</email>
</author>
<published>2023-08-02T09:12:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=d1923b7b58795f0d9635ae0e8df110f591881bdf'/>
<id>urn:sha1:d1923b7b58795f0d9635ae0e8df110f591881bdf</id>
<content type='text'>
The script's name is always provided as the first argument sys.argv[0]
Expected length for argv is 2 (script itself + config file)

Change: 'if (len(argv) &lt; 1)' to 'if len(argv) &lt; 2'
</content>
</entry>
</feed>
