<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-1x.git/src/migration-scripts/ipsec, branch T6674-circ-trigger</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=T6674-circ-trigger</id>
<link rel='self' href='https://git.amelek.net/vyos/vyos-1x.git/atom?h=T6674-circ-trigger'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/'/>
<updated>2024-04-06T08:46:30+00:00</updated>
<entry>
<title>T6199: remove unused Python imports from migration scripts</title>
<updated>2024-04-06T08:46:30+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2024-04-06T08:46:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=489e6fababa60d9c0fbfdb421305cbe563432499'/>
<id>urn:sha1:489e6fababa60d9c0fbfdb421305cbe563432499</id>
<content type='text'>
</content>
</entry>
<entry>
<title>ipsec: T5981: Strip '@' from migrated peer name</title>
<updated>2024-02-12T19:53:44+00:00</updated>
<author>
<name>sarthurdev</name>
<email>965089+sarthurdev@users.noreply.github.com</email>
</author>
<published>2024-02-12T19:53:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=8238f8cdae3ae14bd8bd95158c218c45285df478'/>
<id>urn:sha1:8238f8cdae3ae14bd8bd95158c218c45285df478</id>
<content type='text'>
</content>
</entry>
<entry>
<title>T5953: Changed values of 'close-action' to Strongswan values</title>
<updated>2024-01-17T15:46:38+00:00</updated>
<author>
<name>aapostoliuk</name>
<email>a.apostoliuk@vyos.io</email>
</author>
<published>2024-01-17T15:46:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=8870fabf1b4358618fca7db459515106653214b5'/>
<id>urn:sha1:8870fabf1b4358618fca7db459515106653214b5</id>
<content type='text'>
Changed the value from 'hold' to 'trap' in the 'close-action'
option in the IKE group.
Changed the value from 'restart' to 'start' in the 'close-action'
option in the IKE group.
</content>
</entry>
<entry>
<title>T4658: Renamed DPD action value from 'hold' to 'trap'</title>
<updated>2024-01-16T14:26:26+00:00</updated>
<author>
<name>aapostoliuk</name>
<email>a.apostoliuk@vyos.io</email>
</author>
<published>2024-01-16T14:26:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=9f4aee5778eefa0a17d4795430d50e4a046e88b0'/>
<id>urn:sha1:9f4aee5778eefa0a17d4795430d50e4a046e88b0</id>
<content type='text'>
Renamed DPD action value from 'hold' to 'trap'
</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>
<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: T4916: Fixed migrations script</title>
<updated>2023-03-02T16:46:50+00:00</updated>
<author>
<name>jbordongit</name>
<email>j.bordon@vyos.io</email>
</author>
<published>2023-03-02T16:46:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=2e5dce048ca68679f53be3ae994687f73c8d2db6'/>
<id>urn:sha1:2e5dce048ca68679f53be3ae994687f73c8d2db6</id>
<content type='text'>
* removed unused `re` from imports
* replaced `return_value()` to `return_values()` for `remote-address`
because this is a multi-value configuration node
</content>
</entry>
<entry>
<title>ipsec: T4593: Migrate and remove legacy `include-ipsec` nodes</title>
<updated>2023-02-15T11:57:25+00:00</updated>
<author>
<name>sarthurdev</name>
<email>965089+sarthurdev@users.noreply.github.com</email>
</author>
<published>2023-02-15T11:57:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=45b16864b11ea49087ce4a279e2c0e741a97c0ee'/>
<id>urn:sha1:45b16864b11ea49087ce4a279e2c0e741a97c0ee</id>
<content type='text'>
Not supported with swanctl
</content>
</entry>
<entry>
<title>T4916: Rewrite IPsec peer authentication and psk migration</title>
<updated>2023-01-26T11:28:03+00:00</updated>
<author>
<name>Viacheslav Hletenko</name>
<email>v.gletenko@vyos.io</email>
</author>
<published>2023-01-17T11:04:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=7ae0b404ad9fdefa856c7e450b224b47d854a4eb'/>
<id>urn:sha1:7ae0b404ad9fdefa856c7e450b224b47d854a4eb</id>
<content type='text'>
Rewrite strongswan IPsec authentication to reflect structure
from swanctl.conf
The most important change is that more than one local/remote ID in the
same auth entry should be allowed

replace: 'ipsec site-to-site peer &lt;tag&gt; authentication pre-shared-secret xxx'
      =&gt; 'ipsec authentication psk &lt;tag&gt; secret xxx'

set vpn ipsec authentication psk &lt;tag&gt; id '192.0.2.1'
set vpn ipsec authentication psk &lt;tag&gt; id '192.0.2.2'
set vpn ipsec authentication psk &lt;tag&gt; secret 'xxx'
set vpn ipsec site-to-site peer &lt;tag&gt; authentication local-id '192.0.2.1'
set vpn ipsec site-to-site peer &lt;tag&gt; authentication mode 'pre-shared-secret'
set vpn ipsec site-to-site peer &lt;tag&gt; authentication remote-id '192.0.2.2'

Add template filter for Jinja2 'generate_uuid4'
</content>
</entry>
<entry>
<title>T4879: IPsec migration script remote-id for peer name eq address</title>
<updated>2022-12-19T16:32:24+00:00</updated>
<author>
<name>Viacheslav Hletenko</name>
<email>v.gletenko@vyos.io</email>
</author>
<published>2022-12-19T16:32:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=34edb6c19fd77af3ec621905e45631e4901ef574'/>
<id>urn:sha1:34edb6c19fd77af3ec621905e45631e4901ef574</id>
<content type='text'>
Migration for "remote-id" where peer is IPv4 or IPv6 address
was missed
It was only migration if peer starts with "@"
It cause that you must manualy set 'remote-id' to get it working
correctly

replace 'vpn ipsec site-to-site peer 192.0.2.2'
     =&gt; 'vpn ipsec site-to-site peer peer_192-0-2-2 authentication remote-id 192.0.2.2'
</content>
</entry>
</feed>
