<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-1x.git/src/etc/ipsec.d/vti-up-down, branch current</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=current</id>
<link rel='self' href='https://git.amelek.net/vyos/vyos-1x.git/atom?h=current'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/'/>
<updated>2025-06-28T21:16:52+00:00</updated>
<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>T5873: vpn ipsec: re-write of ipsec updown hook</title>
<updated>2024-07-27T01:26:30+00:00</updated>
<author>
<name>Lucas Christian</name>
<email>lucas@lucasec.com</email>
</author>
<published>2024-07-04T06:14:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=376e2d898f26c13a31f80d877f4e2621fd6efb0f'/>
<id>urn:sha1:376e2d898f26c13a31f80d877f4e2621fd6efb0f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>vti: T6085: interface is always down and only enabled by IPSec daemon</title>
<updated>2024-03-20T20:00:46+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2024-03-20T19:53:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=9eb018c4935235d292d7c693ac15da5761be064a'/>
<id>urn:sha1:9eb018c4935235d292d7c693ac15da5761be064a</id>
<content type='text'>
When a VTI interface is just created, it is in ADMIN UP state by default, even
if an IPSec peer is not connected. After the peer is disconnected the interface
goes to DOWN state as expected.

This breaks routing logic - for example, static routes through VTI interfaces
will be active even if a peer is not connected.

This changes to logic so ADMIN UP/DOWN state can only be changed by the
vti-up-down helper script.

Error was introduced during the Perl -&gt; Python migration and move to the generic
vyos.ifconfig abstraction during the 1.4 development cycle.
</content>
</entry>
<entry>
<title>vti: T5769: restore interface settings on down -&gt; up event</title>
<updated>2023-12-02T20:12:42+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2023-12-02T20:05:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=d90ca4415bed8ce99c854243dca3036e76497270'/>
<id>urn:sha1:d90ca4415bed8ce99c854243dca3036e76497270</id>
<content type='text'>
On VTI interface link down the link-local IPv6 address is removed. As soon as
the IPSec tunnel is online again, vti-up-down helper is called which only places
the interface in up state using iproute2 command

    sudo ip link set vti0 up

This does not restore the IPv6 LL address. Instead use vyos.ifconfig to properly
re-initialize the VTI interface using the generic update() method.
</content>
</entry>
<entry>
<title>T5195: vyos.util -&gt; vyos.utils package refactoring (#2093)</title>
<updated>2023-07-14T20:18:36+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2023-07-14T20:18:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=d1ca536da448749dff557f13ecae97b124026e96'/>
<id>urn:sha1:d1ca536da448749dff557f13ecae97b124026e96</id>
<content type='text'>
* T5195: move run, cmd, call, rc_cmd helper to vyos.utils.process

* T5195: use read_file and write_file implementation from vyos.utils.file

Changed code automatically using:

find . -type f -not -path '*/\.*' -exec sed -i 's/^from vyos.util import read_file$/from vyos.utils.file import read_file/g' {} +
find . -type f -not -path '*/\.*' -exec sed -i 's/^from vyos.util import write_file$/from vyos.utils.file import write_file/g' {} +

* T5195: move chmod* helpers to vyos.utils.permission

* T5195: use colon_separated_to_dict from vyos.utils.dict

* T5195: move is_systemd_service_* to vyos.utils.process

* T5195: fix boot issues with missing imports

* T5195: move dict_search_* helpers to vyos.utils.dict

* T5195: move network helpers to vyos.utils.network

* T5195: move commit_* helpers to vyos.utils.commit

* T5195: move user I/O helpers to vyos.utils.io</content>
</entry>
<entry>
<title>ipsec: T1441: Clean up vti-up-down script for XFRM interfaces</title>
<updated>2021-09-20T02:44:02+00:00</updated>
<author>
<name>Lucas Christian</name>
<email>lucas@lucasec.com</email>
</author>
<published>2021-09-20T00:02:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=d768aee9bd93280210980d621ecc7b2da1a8d4af'/>
<id>urn:sha1:d768aee9bd93280210980d621ecc7b2da1a8d4af</id>
<content type='text'>
</content>
</entry>
<entry>
<title>ipsec: T3780: shutting down vti when tunnel is down</title>
<updated>2021-08-26T12:22:34+00:00</updated>
<author>
<name>krox2</name>
<email>49796247+krox2@users.noreply.github.com</email>
</author>
<published>2021-08-26T12:22:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=ff04854628e7530c33877665255b15750f413541'/>
<id>urn:sha1:ff04854628e7530c33877665255b15750f413541</id>
<content type='text'>
</content>
</entry>
<entry>
<title>ipsec: T3720: assigning vti secondary address caused interface in A/D state</title>
<updated>2021-08-09T18:25:24+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2021-08-09T18:25:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=96049e6fdad05bd73423ea64780e90b385807cb9'/>
<id>urn:sha1:96049e6fdad05bd73423ea64780e90b385807cb9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>ipsec: T2816: T645: T3613: Migrated IPsec to swanctl, includes multiple selectors, and selectors with VTI.</title>
<updated>2021-06-14T22:16:42+00:00</updated>
<author>
<name>sarthurdev</name>
<email>965089+sarthurdev@users.noreply.github.com</email>
</author>
<published>2021-06-14T11:04:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=11b5636519b360074eb2877006f2d8d63d9f6610'/>
<id>urn:sha1:11b5636519b360074eb2877006f2d8d63d9f6610</id>
<content type='text'>
</content>
</entry>
<entry>
<title>vti: ipsec: T2816: Fix vti-up-down</title>
<updated>2021-05-29T12:42:55+00:00</updated>
<author>
<name>sarthurdev</name>
<email>965089+sarthurdev@users.noreply.github.com</email>
</author>
<published>2021-05-29T12:40:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=0593173f6b7002b7d24f44b43eccbd07c71a3d79'/>
<id>urn:sha1:0593173f6b7002b7d24f44b43eccbd07c71a3d79</id>
<content type='text'>
</content>
</entry>
</feed>
