<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-1x.git/data/templates/ssh, branch 1.3.1</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=1.3.1</id>
<link rel='self' href='https://git.amelek.net/vyos/vyos-1x.git/atom?h=1.3.1'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/'/>
<updated>2021-01-18T16:53:19+00:00</updated>
<entry>
<title>ssh: T3212: remove RestartPreventExitStatus from systemd unit</title>
<updated>2021-01-18T16:53:19+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2021-01-18T16:50:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=c71bf9ca97a04d578eb1f600fb7435b001fd17cd'/>
<id>urn:sha1:c71bf9ca97a04d578eb1f600fb7435b001fd17cd</id>
<content type='text'>
When configuring SSH to only run inside a given VRF the system can not start
SSHd on bootup as the Kernel will report EPERM (Operation not permitted) when
loading the VRF BPF program. This returns the exit code 255 which is marked
in the systemd unit file to stop restarting the service forever.

Removing this limitation will restart the SSHd on startup and it will live
inside the VRF till the end of days.

(cherry picked from commit cdbac8f10b470a06aff54832da7f006aa3ed194e)
</content>
</entry>
<entry>
<title>ssh: T3212: do not make /run/sshd directory disappear on failure</title>
<updated>2021-01-13T20:43:16+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2021-01-13T20:40:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=4f4362736de7a8d75ad31c158e7964e65cc4b1bd'/>
<id>urn:sha1:4f4362736de7a8d75ad31c158e7964e65cc4b1bd</id>
<content type='text'>
(cherry picked from commit 57fca79636b783dc4be2df1bc1ff12a0ce79d988)
</content>
</entry>
<entry>
<title>ssh: T2635: harden Jinja2 template and daemon startup</title>
<updated>2021-01-07T22:23:40+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2021-01-07T22:22:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=dcdc4f3ea27f1a26f8baa6b72b51c7911f21e6ba'/>
<id>urn:sha1:dcdc4f3ea27f1a26f8baa6b72b51c7911f21e6ba</id>
<content type='text'>
</content>
</entry>
<entry>
<title>ssh: T2635: change sshd_config path to /run/sshd</title>
<updated>2021-01-07T22:01:51+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2021-01-07T20:30:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=65ee3a66077c7708f366d9492033634024887545'/>
<id>urn:sha1:65ee3a66077c7708f366d9492033634024887545</id>
<content type='text'>
</content>
</entry>
<entry>
<title>T2636: remove workarounds for get_config_dict()</title>
<updated>2020-08-31T17:59:25+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2020-08-31T17:57:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=9c63731d6683f59ea784c08852ed38e3ac22794b'/>
<id>urn:sha1:9c63731d6683f59ea784c08852ed38e3ac22794b</id>
<content type='text'>
Now that b40c52682a256 ("config: T2636: get_config_dict() returns a list on
multi node by default") is implemented the workarounds can be removed.
</content>
</entry>
<entry>
<title>ssh: T1076: make configuration volatile</title>
<updated>2020-08-03T16:40:06+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2020-08-03T16:38:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=ca2ab503f42a8446175954e9e7280ecc8e75e927'/>
<id>urn:sha1:ca2ab503f42a8446175954e9e7280ecc8e75e927</id>
<content type='text'>
Move sshd_config file to /run so it must be generated on every boot and is
not stored accidently.
</content>
</entry>
<entry>
<title>ssh: T2691: bugfix loglevel config migration</title>
<updated>2020-07-07T17:05:00+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2020-07-07T17:05:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=d0261c4daf31bd7fc05643e86660caee9f0442c5'/>
<id>urn:sha1:d0261c4daf31bd7fc05643e86660caee9f0442c5</id>
<content type='text'>
When migrating the conf from VyOS 1.2 to 1.3 a configuration error could appear
if the user specified "info" as loglevel instead of "INFO". There was no input
validation done in 1.2 but this is now enforced in 1.3.

In VyOS 1.3 loglevel will be always lowercase on the CLI and when migrating the
config this is transformed. Also VyOS 1.2 accpeted any arbitrary loglevel. If
an invalid loglevel is found it will be set to info.
</content>
</entry>
<entry>
<title>ssh: vrf: T2682: support restart on failure indefinitely</title>
<updated>2020-07-04T19:36:51+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2020-07-04T19:34:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=8c4221083d8898bf478e2aeec04dd135e4993cb1'/>
<id>urn:sha1:8c4221083d8898bf478e2aeec04dd135e4993cb1</id>
<content type='text'>
Linux tries to bind sshd to the VRF but it is yet not ready - for any arbitrary
reason. After restarting SSH to often (rate-limiting) it is blocked by systemd.

Using Restart/RestartSec is not enough - systemd services use start rate
limiting (enabled by default). If service is started more than StartLimitBurst
times in StartLimitIntervalSec seconds is it not permitted to start any more.
Parameters are inherited from DefaultStartLimitIntervalSec (default 10s) and
DefaultStartLimitBurst (default 5).
</content>
</entry>
<entry>
<title>ssh: T2682: simplify VRF binding</title>
<updated>2020-07-04T19:36:51+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2020-07-04T19:22:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=ff7dd3b9de82347cc77612cb79dc159661320d49'/>
<id>urn:sha1:ff7dd3b9de82347cc77612cb79dc159661320d49</id>
<content type='text'>
</content>
</entry>
<entry>
<title>ssh: T2642: bugfix on multiple listen-address statements</title>
<updated>2020-06-26T07:27:18+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2020-06-26T07:25:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=8aa548c975bbbd306d9a1f8441960c3834388fdf'/>
<id>urn:sha1:8aa548c975bbbd306d9a1f8441960c3834388fdf</id>
<content type='text'>
Commit 1d7f88b459d ("ssh: T2635: migrate to get_config_dict()") used a wrong
loop iterator on the rendered ListenAddress statement.
</content>
</entry>
</feed>
