<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-1x.git/src/etc/dhcp/dhclient-exit-hooks.d, branch feature/T9082-codeql-cpp</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=feature%2FT9082-codeql-cpp</id>
<link rel='self' href='https://git.amelek.net/vyos/vyos-1x.git/atom?h=feature%2FT9082-codeql-cpp'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/'/>
<updated>2025-10-21T16:57:40+00:00</updated>
<entry>
<title>T5811: Make static dhcp-interface routes robust</title>
<updated>2025-10-21T16:57:40+00:00</updated>
<author>
<name>Kyrylo Yatsenko</name>
<email>hedrok@gmail.com</email>
</author>
<published>2025-10-17T10:58:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=c4632bb6ad6c055fb7fe5a5c055354c6895ba8e5'/>
<id>urn:sha1:c4632bb6ad6c055fb7fe5a5c055354c6895ba8e5</id>
<content type='text'>
Solves the problem that vyos-configs in FRRender caches configuation and
DHCP changes are ignored.

* Add src/helpers/vyos-request-configd-update.py that requests vyos-configd
  to update FRR configuration.
* Make dhclient hooks use it instead of calling protocols_static.py
* Make FRRender cache not only configuration but also DHCP gateways so
  that is any of them changes, FRR configuration is updated
</content>
</entry>
<entry>
<title>T3680: protocols: add dhclient hooks for dhcp-interface static routes</title>
<updated>2025-10-21T16:57:40+00:00</updated>
<author>
<name>Matthew Kobayashi</name>
<email>matthew@kobayashi.au</email>
</author>
<published>2025-10-02T03:15:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=70b7818f75f55de14214b85a12b8ec13d98ff89b'/>
<id>urn:sha1:70b7818f75f55de14214b85a12b8ec13d98ff89b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>T7591: remove copyright years from source files</title>
<updated>2025-06-28T21:16:52+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2025-06-28T18:51:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=1478516ae437f19ebeb7d6ff9b83dd74f8e76758'/>
<id>urn:sha1:1478516ae437f19ebeb7d6ff9b83dd74f8e76758</id>
<content type='text'>
The legal team says years are not necessary so we can go ahead with it, since
it will simplify backporting.

Automatically removed using: git ls-files | grep -v libvyosconfig | xargs sed -i -E \
's/^# Copyright (19|20)[0-9]{2}(-[0-9]{4})? VyOS maintainers.*/# Copyright VyOS maintainers and contributors &lt;maintainers@vyos.io&gt;/g'

In addition we will error-out during "make" if someone re-adds a legacy
copyright notice
</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/vyos-1x.git/commit/?id=840ab82e8821624aae589dec1ea86cefbcf866b7'/>
<id>urn:sha1:840ab82e8821624aae589dec1ea86cefbcf866b7</id>
<content type='text'>
</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/vyos-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/vyos-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/vyos-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/vyos-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/vyos-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/vyos-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>
</feed>
