<feed xmlns='http://www.w3.org/2005/Atom'>
<title>veeos-1x.git/src/etc/dhcp, branch current</title>
<subtitle>VyOS command definitions, scripts, and utilities (mirror of https://github.com/vyos-contrib/veeos-1x.git)
</subtitle>
<id>https://git.amelek.net/vyos-contrib/veeos-1x.git/atom?h=current</id>
<link rel='self' href='https://git.amelek.net/vyos-contrib/veeos-1x.git/atom?h=current'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos-contrib/veeos-1x.git/'/>
<updated>2024-08-24T08:06:39+00:00</updated>
<entry>
<title>dhclient: T6667: Added workaround for communication with FRR</title>
<updated>2024-08-24T08:06:39+00:00</updated>
<author>
<name>zsdc</name>
<email>taras@vyos.io</email>
</author>
<published>2024-08-21T18:55:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos-contrib/veeos-1x.git/commit/?id=da64a7246e9b12d5bd84287517cfbfa59e364c28'/>
<id>urn:sha1:da64a7246e9b12d5bd84287517cfbfa59e364c28</id>
<content type='text'>
To increase the chance for dhclient to configure routes in FRR, added a
workaround. Now 10 attempts are performed with 1 second delay and only after
this dhclient gives up.
</content>
</entry>
<entry>
<title>T5872: fix ipsec dhclient hook uses "exit" instead of "return"</title>
<updated>2024-04-12T16:34:13+00:00</updated>
<author>
<name>Lucas Christian</name>
<email>lucas@lucasec.com</email>
</author>
<published>2024-04-12T16:34:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos-contrib/veeos-1x.git/commit/?id=840ab82e8821624aae589dec1ea86cefbcf866b7'/>
<id>urn:sha1:840ab82e8821624aae589dec1ea86cefbcf866b7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>dhcpv6-client: T2590: fix vyos-hostsd update for nameserver and search domains</title>
<updated>2024-04-01T12:04:50+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2024-04-01T12:04:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos-contrib/veeos-1x.git/commit/?id=ece425f0191762638b7c967097accd8739e9103d'/>
<id>urn:sha1:ece425f0191762638b7c967097accd8739e9103d</id>
<content type='text'>
After migrating from ISC DHCLIENT for IPv6 to wide-dhcp-client the logic which
was present to update /etc/resolv.conf with the DHCP specified nameservers and
also the search domain list was no longer present.

This commit adds a per interface rendered script to inform vyos-hostsd about
the received IPv6 nameservers and search domains.
</content>
</entry>
<entry>
<title>T5872: re-write exit hook to always regenerate config</title>
<updated>2024-03-12T06:08:40+00:00</updated>
<author>
<name>Lucas Christian</name>
<email>lucas@lucasec.com</email>
</author>
<published>2024-03-10T18:39:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos-contrib/veeos-1x.git/commit/?id=679b78356cbda4de15f96a7f22d4a98037dbeea4'/>
<id>urn:sha1:679b78356cbda4de15f96a7f22d4a98037dbeea4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>T5872: further fixes to ipsec dhcp exit hook</title>
<updated>2024-03-10T18:40:23+00:00</updated>
<author>
<name>Lucas Christian</name>
<email>lucas@lucasec.com</email>
</author>
<published>2024-02-10T19:26:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos-contrib/veeos-1x.git/commit/?id=92012a0b3db8e93b10db4137414073f0371ed8cc'/>
<id>urn:sha1:92012a0b3db8e93b10db4137414073f0371ed8cc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>T5872: fix ipsec dhclient exit hook</title>
<updated>2024-03-10T18:40:23+00:00</updated>
<author>
<name>Lucas Christian</name>
<email>lucas@lucasec.com</email>
</author>
<published>2024-02-09T06:04:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos-contrib/veeos-1x.git/commit/?id=cd8ef21f280f726955f537132e3fab2bcb3c286f'/>
<id>urn:sha1:cd8ef21f280f726955f537132e3fab2bcb3c286f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge pull request #2823 from sever-sever/T4856</title>
<updated>2024-01-15T05:11:20+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2024-01-15T05:11:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos-contrib/veeos-1x.git/commit/?id=b303d7b0c612150dc733c330127121cc46eb0be4'/>
<id>urn:sha1:b303d7b0c612150dc733c330127121cc46eb0be4</id>
<content type='text'>
T4856: Fix IPsec DHCP-client exit hook</content>
</entry>
<entry>
<title>T5901: Add DHCP base_path dir during first boot</title>
<updated>2024-01-15T00:55:32+00:00</updated>
<author>
<name>Viacheslav Hletenko</name>
<email>v.gletenko@vyos.io</email>
</author>
<published>2024-01-15T00:55:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos-contrib/veeos-1x.git/commit/?id=e613983721c48c13c2e6e73e7c4dbdbaa8e9eacf'/>
<id>urn:sha1:e613983721c48c13c2e6e73e7c4dbdbaa8e9eacf</id>
<content type='text'>
We should create dhclient base_path dir `/run/dhclient` during the
first boot.

It fixes cloud-init boot issues
```
/etc/dhcp/dhclient-exit-hooks.d/03-vyos-dhclient-hook: line 33: /run/dhclient/dhclient_eth0.lease: No such file or directory
```
</content>
</entry>
<entry>
<title>T4856: Fix IPsec DHCP-client exit hook</title>
<updated>2024-01-14T22:32:14+00:00</updated>
<author>
<name>Viacheslav Hletenko</name>
<email>v.gletenko@vyos.io</email>
</author>
<published>2024-01-14T22:32:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos-contrib/veeos-1x.git/commit/?id=a9cf7246d4450c8b3e1b749b36c3393b0963404b'/>
<id>urn:sha1:a9cf7246d4450c8b3e1b749b36c3393b0963404b</id>
<content type='text'>
The script acually does not have the variable `secrets_lines` and
secret lines itself does not have the  marker `# dhcp:{interface}`
in `to_find`

Needs to rewrite this script in the future if it is required

This commit fixes DHCP-client exit hook:
```
dhclient[6800]: NameError: name 'secrets_lines' is not defined
root[6801]: /etc/dhcp/dhclient-exit-hooks.d/99-ipsec-dhclient-hook returned non-zero exit status 1
```
</content>
</entry>
<entry>
<title>dhclient: T5724: run user hooks using run_hookdir</title>
<updated>2023-11-11T10:00:34+00:00</updated>
<author>
<name>gavol</name>
<email>34028214+gavol@users.noreply.github.com</email>
</author>
<published>2023-11-11T10:00:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos-contrib/veeos-1x.git/commit/?id=645a0e768e27912a3f46d00de31d0fc79b6fd463'/>
<id>urn:sha1:645a0e768e27912a3f46d00de31d0fc79b6fd463</id>
<content type='text'>
User hooks are executed using run_hookdir (defined in the /sbin/dhclient-script script) instead of run-parts. That allows user hooks to modify variables set by the dhcp client (e.g., the new_routers variable to avoid the installation of the default routes).</content>
</entry>
</feed>
