<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-1x.git/data/templates/rsyslog, 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>2026-02-17T15:37:33+00:00</updated>
<entry>
<title>syslog: T8272: remove dead code from previous "file" logging support</title>
<updated>2026-02-17T15:37:33+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2026-02-17T15:35:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=95bd2ebdcb30246d1f585ccb0336b3f3aa5519c7'/>
<id>urn:sha1:95bd2ebdcb30246d1f585ccb0336b3f3aa5519c7</id>
<content type='text'>
Commit 395e3cb72 ("syslog: T6989: remove 'file' logging destination") removed
CLI support for custom file based logging targets. The code about logrotate
was not removed and just stayed "dead".

Dead code is removed by this commit.
</content>
</entry>
<entry>
<title>T7756: Fix rsyslog configuration generation</title>
<updated>2026-02-10T03:59:37+00:00</updated>
<author>
<name>Adam Schultz</name>
<email>adam.schultz@live.com</email>
</author>
<published>2026-01-24T14:55:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=696df602557dd7b70b353c3b9cfb110c0908a2fe'/>
<id>urn:sha1:696df602557dd7b70b353c3b9cfb110c0908a2fe</id>
<content type='text'>
1.) Fix both syslog and logrotate writing /etc/logrotate.d/vyos-rsyslog
- system_syslog.py generates /etc/logrotate.d/vyos-rsyslog-user for user file
  logrotate
- system_logs.py generates /etc/logrotate.d/vyos-rsyslog using configured
  rotation parameters

2.) Fix /run/rsyslog/rsyslog.conf ignoring configured size for /var/log/messages
- system_syslog.py retrieves "system logs" config to set rotation limits
- default rotation size is now based on configuration defaults

3.) prifilt strings for rsyslog are modified to use override syntax
  (e.g. ";facility.none") when all is combined with other facilities to honor
  per facility user intent

Smoke test changes:

Commonize configuration of syslog facilities
Check that prifilt is sane based on configured facilities (i.e. overides only
    present when required)
Test wildcard (all) only, specific facility only, and wildcard + specific facility
</content>
</entry>
<entry>
<title>syslog: T4251: Rename "permitted-peers" to "permitted-peer" and improve TLS checks</title>
<updated>2025-10-31T14:05:09+00:00</updated>
<author>
<name>Oleksandr Kuchmystyi</name>
<email>o.kuchmystyi@vyos.io</email>
</author>
<published>2025-10-31T14:05:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=6d4c6fb9b5ccd372f16073708b74f885521dbce9'/>
<id>urn:sha1:6d4c6fb9b5ccd372f16073708b74f885521dbce9</id>
<content type='text'>
- Renamed `permitted-peers` to `permitted-peer` across templates, schema, and tests.
- Added support for multiple `permitted-peer` entries and trimmed empty values.
- Replaced TLS/UDP warning with ConfigError for strict validation.
- Updated tests to use TCP for TLS and verified new validation logic.
</content>
</entry>
<entry>
<title>syslog: T4251: Fix TLS enablement logic for syslog</title>
<updated>2025-10-24T11:48:42+00:00</updated>
<author>
<name>Oleksandr Kuchmystyi</name>
<email>o.kuchmystyi@vyos.io</email>
</author>
<published>2025-10-24T11:48:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=34ce34f1680a5c34a68aa7a9774107e7bb2b7610'/>
<id>urn:sha1:34ce34f1680a5c34a68aa7a9774107e7bb2b7610</id>
<content type='text'>
</content>
</entry>
<entry>
<title>syslog: T4251: Add TLS support to syslog</title>
<updated>2025-09-30T14:37:52+00:00</updated>
<author>
<name>Oleksandr Kuchmystyi</name>
<email>o.kuchmystyi@vyos.io</email>
</author>
<published>2025-09-17T13:33:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=68f2cec785b6705c71d17b30114355569c489d66'/>
<id>urn:sha1:68f2cec785b6705c71d17b30114355569c489d66</id>
<content type='text'>
Add TLS support for remote syslog by extending the CLI and backend to support configuration of CA certificates, client certificates, keys, and authentication modes.

This update integrates with the PKI subsystem for certificate management, ensures proper validation of protocol settings when TLS is enabled, and generates secure rsyslog configuration for forwarding logs over TLS.
</content>
</entry>
<entry>
<title>T7311: syslog: Fix duplicate kernel log entries</title>
<updated>2025-04-03T01:15:52+00:00</updated>
<author>
<name>Ben Woods</name>
<email>git@ben.woods.am</email>
</author>
<published>2025-04-03T01:15:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=91d428f1084d26e4fac3560c7321a3dc2000e0e1'/>
<id>urn:sha1:91d428f1084d26e4fac3560c7321a3dc2000e0e1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>syslog: T7270: fix SyslogProtocol23Format typo in rsyslog.conf</title>
<updated>2025-03-21T11:41:18+00:00</updated>
<author>
<name>Ben Woods</name>
<email>git@ben.woods.am</email>
</author>
<published>2025-03-21T11:41:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=39f5da93e538c8a8666d9efcdf702ac4151da319'/>
<id>urn:sha1:39f5da93e538c8a8666d9efcdf702ac4151da319</id>
<content type='text'>
</content>
</entry>
<entry>
<title>syslog: T7270: fix octed-counted typo in rsyslog.conf</title>
<updated>2025-03-21T11:01:30+00:00</updated>
<author>
<name>Ben Woods</name>
<email>git@ben.woods.am</email>
</author>
<published>2025-03-21T11:01:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=e906f59f2e89cb5d34bbdfa2ae12a200fb4f93f3'/>
<id>urn:sha1:e906f59f2e89cb5d34bbdfa2ae12a200fb4f93f3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>syslog: T7229: advanced format should not have IPv6 addresses in [] brackets</title>
<updated>2025-03-08T20:04:32+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2025-03-08T20:04:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=4666bbc2164d9e0104916a5ea5bf2528bf4e1043'/>
<id>urn:sha1:4666bbc2164d9e0104916a5ea5bf2528bf4e1043</id>
<content type='text'>
Otherwise rsyslog will report an error:
omfwd: could not get addrinfo for hostname '[2001:db8::2]':'514': System error
</content>
</entry>
<entry>
<title>syslog: T6989: add option do disable "MARK"</title>
<updated>2025-03-04T13:05:36+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2025-03-04T12:47:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=cf99d54870da341c1b7b3af58f102e26c16ce379'/>
<id>urn:sha1:cf99d54870da341c1b7b3af58f102e26c16ce379</id>
<content type='text'>
New CLI command
  set system syslog marker disable
</content>
</entry>
</feed>
