<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-1x.git/src/op_mode/vpn_ipsec.py, branch rolling</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=rolling</id>
<link rel='self' href='https://git.amelek.net/vyos/vyos-1x.git/atom?h=rolling'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/'/>
<updated>2025-07-10T14:09:56+00:00</updated>
<entry>
<title>Merge pull request #4582 from hedrok/T7545-fix-show-vpn-debug-peer</title>
<updated>2025-07-10T14:09:56+00:00</updated>
<author>
<name>Daniil Baturin</name>
<email>daniil@vyos.io</email>
</author>
<published>2025-07-10T14:09:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=b3681957a5120067ddb0cb9f162719e283d388e8'/>
<id>urn:sha1:b3681957a5120067ddb0cb9f162719e283d388e8</id>
<content type='text'>
ipsec: T7545: Fix show vpn debug peer</content>
</entry>
<entry>
<title>ipsec: T7545: Fix show vpn debug peer</title>
<updated>2025-07-08T14:26:38+00:00</updated>
<author>
<name>Kyrylo Yatsenko</name>
<email>hedrok@gmail.com</email>
</author>
<published>2025-06-27T07:24:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=12f956e66f6d557425a0071b384ccafa7e1e9a97'/>
<id>urn:sha1:12f956e66f6d557425a0071b384ccafa7e1e9a97</id>
<content type='text'>
Fix re for searching of peers in /etc/swanctl/swanctl.conf

```
search = rf'^[\s]*(peer_{peer}_(tunnel_[\d]+|vti)).*'
```

Changed to

```
search = rf'^[\s]*({peer}-(tunnel-[\d]+|vti))[\s]*{{'
```

Added message

```
print(f'\n### {command} ###')
```

so that output is not empty when `/usr/sbin/ipsec statusall`
shows nothing
</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>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: T5093: Fixed 'reset vpn ipsec profile' command</title>
<updated>2023-03-30T15:28:56+00:00</updated>
<author>
<name>aapostoliuk</name>
<email>a.apostoliuk@vyos.io</email>
</author>
<published>2023-03-30T15:28:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=a78982625a8a18069bd5a13744734873698fd0f9'/>
<id>urn:sha1:a78982625a8a18069bd5a13744734873698fd0f9</id>
<content type='text'>
Fixed 'reset vpn ipsec profile' command
using vici library and new op-mode style.
Added ability to use 'reset vpn ipsec profile' command
with 'remote-host' option.
</content>
</entry>
<entry>
<title>op-mode: T707: remove dedicated calls to sudo in vpn_ipsec</title>
<updated>2022-12-17T10:03:44+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2022-12-17T10:02:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=31775f71a5141a9714efb19fe101c71eb17a96ba'/>
<id>urn:sha1:31775f71a5141a9714efb19fe101c71eb17a96ba</id>
<content type='text'>
As the script itself (vpn_ipsec.py) is already invoked using sudo, there is no
further need to also call sudo inside the script again.
</content>
</entry>
<entry>
<title>ipsec: T4568: Fix debug IPsec peer</title>
<updated>2022-07-25T12:20:36+00:00</updated>
<author>
<name>Viacheslav Hletenko</name>
<email>v.gletenko@vyos.io</email>
</author>
<published>2022-07-25T12:20:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=870fe6c828a8c7b86899a1c580414d1491eeb8b0'/>
<id>urn:sha1:870fe6c828a8c7b86899a1c580414d1491eeb8b0</id>
<content type='text'>
Debug Connections for a peer wasn't checked because of typo
in var `conns`

Replace ':' to '-' for IPv6 peers
</content>
</entry>
<entry>
<title>op-mode: T4395: Extend show vpn debug</title>
<updated>2022-04-25T09:25:11+00:00</updated>
<author>
<name>Viacheslav Hletenko</name>
<email>v.gletenko@vyos.io</email>
</author>
<published>2022-04-25T09:25:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=73ac84619e6a71933d0f4cd3432f066a2a731128'/>
<id>urn:sha1:73ac84619e6a71933d0f4cd3432f066a2a731128</id>
<content type='text'>
Get more VPN IPSec information with swanctl and iproute2 commands
</content>
</entry>
<entry>
<title>op-mode: T3951: Fix for reset IPSec tunnels</title>
<updated>2021-10-28T13:10:41+00:00</updated>
<author>
<name>Viacheslav</name>
<email>v.gletenko@vyos.io</email>
</author>
<published>2021-10-28T13:10:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=6f26e2694c14fb62d83840c33e39ef61966e0a77'/>
<id>urn:sha1:6f26e2694c14fb62d83840c33e39ef61966e0a77</id>
<content type='text'>
Fix for correct resetting all child SA's of the tunnel
</content>
</entry>
<entry>
<title>pki: T3642: Migrate rsa-keys to PKI configuration</title>
<updated>2021-07-06T22:53:27+00:00</updated>
<author>
<name>sarthurdev</name>
<email>965089+sarthurdev@users.noreply.github.com</email>
</author>
<published>2021-07-06T21:19:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=5a7c46016a23387312b2c9e18528ad7bb20e8366'/>
<id>urn:sha1:5a7c46016a23387312b2c9e18528ad7bb20e8366</id>
<content type='text'>
</content>
</entry>
</feed>
