summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-06-24Merge pull request #3689 from vyos/mergify/bp/sagitta/pr-3682Christian Breunig
openconnect: T6500: add support for multiple ca-certificates (backport #3682)
2024-06-24pki: T6241: remove debug print statement about updated subsystems (#3670)mergify[bot]
Commit 9f9891a2099 ("pki: T6241: Fix dependency updates on PKI changes") added a print() statement which notified the users about the subsystems which got supplied with an updated certificate. Example: > PKI: Updating config: interfaces openvpn vtun0 tls certificate openvpn_vtun0 > PKI: Updating config: interfaces openvpn vtun0 tls ca_certificate openvpn_vtun0_1 This is an informational message which should maybe (if needed) be sent to syslog. But the main issue is that CLI paths are mangled (- to _) which makes the about print output wrong and could potentially confuse users. Statement has been commented to be re-enabled for debugging. (cherry picked from commit a4d49a96918c0f0dac3d17f9cf3a5b8f3a9505c0) Co-authored-by: Christian Breunig <christian@breunig.cc>
2024-06-24pki: T4026: Only emit private keys when available (#3667)mergify[bot]
* install_certificate() code path handles private_key=None & key_passphrase=None OK already * file and console output paths will error trying to encode None as a key * This is only an issue for a couple of the generate_*_sign() functions, where having a null private key is possible * Self-signing and CA creation always generate a private key * Certreqs will generate a private key if not already provided * Do not prompt for a private key passphrase if we aren't giving back a private key (cherry picked from commit d2cf8eeee9053d04f34c5e8a22373290d078ab37) Co-authored-by: Andrew Topp <andrewt@telekinetica.net>
2024-06-24Merge pull request #3651 from vyos/mergify/bp/sagitta/pr-3645Christian Breunig
op-mode: T6480: must call pki.py helper as root to work with ACME certificates (backport #3645)
2024-06-22Merge pull request #3704 from vyos/mergify/bp/sagitta/pr-3702Christian Breunig
op-mode: T6503: "restart ssh" command not working (backport #3702)
2024-06-22Merge pull request #3650 from vyos/mergify/bp/sagitta/pr-3646Christian Breunig
op-mode: T6407: "generate pki" missed to mangle in ACME certificates when required (backport #3646)
2024-06-22Merge pull request #3686 from vyos/mergify/bp/sagitta/pr-3685Daniil Baturin
macsec: T5447: fix error message syntax - there is no tx and rx key, only key (backport #3685)
2024-06-22Merge pull request #3695 from vyos/mergify/bp/sagitta/pr-3654Daniil Baturin
op-mode: T5514: Allow safe reboots to config defaults when config.boot is deleted (backport #3654)
2024-06-22op-mode: T6503: "restart ssh" command not workingChristian Breunig
Commit e5af1f090 ("ssh: T6192: allow binding to multiple VRF instances") switched the systemd unit file from ssh.service to ssh@*.service, this change was not reflected in the "restart ssh" op-mode command. (cherry picked from commit 059eb3a137a75d502632174cc028b81f49152782)
2024-06-21op-mode: T5514: Allow safe reboots to config defaults when config.boot is ↵Andrew Topp
deleted * Added flag to vyos.config_mgmt.unsaved_commits() that will tolerate missing config.boot for specific circumstances * Shutdown/reboot uses this flag; config will regenerate from defaults after a reboot (cherry picked from commit 8281383a09f12da20a1c9b4864b38ac3f541b48f)
2024-06-20openconnect: T6500: add support for multiple ca-certificatesChristian Breunig
Add possibility to provide a full CA chain to the openconnect server. * Support multiple CA certificates * For every CA certificate specified, always determine the full certificate chain in the background and add the necessary SSL certificates (cherry picked from commit 973f06c00b902c43dfea34bdf01bdec7c599c452)
2024-06-19macsec: T5447: fix error message syntax - there is no tx and rx key, only keyChristian Breunig
(cherry picked from commit f29caa824c02c833a3978b9236391e4277c1a6ba)
2024-06-15Merge pull request #3648 from vyos/mergify/bp/sagitta/pr-3647Christian Breunig
T6487: updated central workflows to use current branch (backport #3647)
2024-06-15T6487: updated central workflows to use current branchkumvijaya
(cherry picked from commit 6c4bd6cdaa6008f05ed610742a4cc7e79988b737)
2024-06-14op-mode: T6480: must call pki.py helper as root to work with ACME certificatesChristian Breunig
This is an addition to commit 65fba1cd2 ("op-mode: T6377: must call pki.py helper as root to work with ACME certificates") which missed out the basic "show pki" command, as the <command> XML node was deep down in the view. (cherry picked from commit 9456113a202f98a777d44c756f7f51c95b1df027)
2024-06-14op-mode: T6407: "generate pki" missed to mangle in ACME certificates when ↵Christian Breunig
required If the requested certificate to generate an Apple IOS profile was based on an ACME certificate, we also need to mangle in the ACME certs content to retrieve the certificates issuer name. (cherry picked from commit 1bc67d498c4d71da78aa46d1d2f9fe9752f59860)
2024-06-13Merge pull request #3640 from vyos/mergify/bp/sagitta/pr-3638Christian Breunig
bgp: T6473: missing completion helper for peer-groups inside a VRF (backport #3638)
2024-06-12bgp: T6473: missing completion helper for peer-groups inside a VRFChristian Breunig
Using BGP peer-groups inside a VRF instance will make use if the global VRFs peer-group list during tab-completion and not the peer-groups defined within the BGP instance of the given VRF. (cherry picked from commit 80ea3d53b2224676d3e9287bce80df4407fe6c01)
2024-06-11Merge pull request #3633 from vyos/mergify/bp/sagitta/pr-3611Christian Breunig
wireless: T6462: add op-mode command for hostapd and wpa_supplicant logs (backport #3611)
2024-06-11wireless: T6462: add op-mode command for hostapd and wpa_supplicant logsChristian Breunig
* monitor log wireless hostapd [interface <name>] * monitor log wireless wpa-supplicant [interface <name>] * show log wireless hostapd [interface <name>] * show log wireless wpa-supplicant [interface <name>] (cherry picked from commit 7ed4abe6cb3886889190f1f7a80c0229fd3a9c78)
2024-06-11T6219: Add support for container sysctl parameter (backport #3614) (#3629)mergify[bot]
* container: T6219: Add support for container sysctl / kernel parameters (cherry picked from commit 717ea64e4c54a8be619ffc29c16c6203b29319dd) * T6219: align with system sysctl and limit parameters to supported (cherry picked from commit f030464952168b553b5b3e29b461d437c2642a9b) --------- Co-authored-by: Ben Pilgrim <ben@pilgrim.me.uk> Co-authored-by: Nicolas Vollmar <nvollmar@gmail.com>
2024-06-10Merge pull request #3622 from vyos/mergify/bp/sagitta/pr-3606Christian Breunig
vyos.utils: T5195: import vyos.cpu to this package (backport #3606)
2024-06-10vyos.utils: T5195: import vyos.cpu to this packageChristian Breunig
The intention of vyos.utils package is to have a common ground for repeating actions/helpers. This is also true for number of CPUs and their respective core count. Move vyos.cpu to vyos.utils.cpu (cherry picked from commit e318eb33446de47835480d4b8f1646b39fb5c388)
2024-06-10Merge pull request #3617 from vyos/mergify/bp/sagitta/pr-3613Christian Breunig
pki: T6464: sstpc interface not reloaded when updating SSL certificate(s) (backport #3613)
2024-06-10Merge pull request #3619 from vyos/mergify/bp/sagitta/pr-3610Christian Breunig
op-mode: T6424: ipsec: honor certificate CN and CA chain during profile generation (backport #3610)
2024-06-10Merge pull request #3618 from vyos/mergify/bp/sagitta/pr-3612Christian Breunig
pki: T6463: reverse-proxy service not reloaded when updating SSL certificate(s) (backport #3612)
2024-06-10op-mode: T6424: ipsec: filter out duplicate CA certificates in Apple IOS profileChristian Breunig
(cherry picked from commit 4e51569013b3f78abea9c18e5a6ecb9ff5ae4687)
2024-06-10op-mode: T6424: ipsec: honor certificate CN and CA chain during profile ↵Christian Breunig
generation In e6fe6e50a5c ("op-mode: ipsec: T6407: fix profile generation") we fixed support for multiple CAs when dealing with the generation of Apple IOS profiles. This commit extends support to properly include the common name of the server certificate issuer and all it's paren't CAs. A list of parent CAs is automatically generated from the "PKI" subsystem content and embedded into the resulting profile. (cherry picked from commit d65f43589612c30dfaa5ce30aca5b8b48bf73211)
2024-06-10pki: T6464: sstpc interface not reloaded when updating SSL certificate(s)Christian Breunig
The SSTPC client was not reloaded/restarted with the new SSL certificate(s) after a change in the PKI subsystem. This was due to missing dependencies. (cherry picked from commit 42294ccd904773fa19a6af0f37cf9526321d87e4)
2024-06-10pki: T6463: reverse-proxy service not reloaded when updating SSL certificate(s)Christian Breunig
The haproxy reverse proxy was not reloaded/restarted with the new SSL certificate(s) after a change in the PKI subsystem. This was due to missing dependencies. (cherry picked from commit 6ce8efdc8dafef67541bed89fc7dc7cd83335bf4)
2024-06-09Merge pull request #3608 from vyos/mergify/bp/sagitta/pr-3596Christian Breunig
T6449: added pr update trigger (backport #3596)
2024-06-09Merge pull request #3605 from vyos/mergify/bp/sagitta/pr-3598Christian Breunig
reverse-proxy: T6454: Set default value of http for haproxy mode (backport #3598)
2024-06-09Merge pull request #3604 from vyos/mergify/bp/sagitta/pr-3592Christian Breunig
grub: T6453: Fixed GRUB variables parsing (backport #3592)
2024-06-09Merge pull request #3603 from vyos/mergify/bp/sagitta/pr-3589Christian Breunig
xml: T6423: enforce priority on nodes having an owner (backport #3589)
2024-06-09Merge pull request #3602 from vyos/mergify/bp/sagitta/pr-3573Christian Breunig
vxlan: T6401: Avoid calling get_vxlan_vni_filter() unless we need it (backport #3573)
2024-06-09T6449: added pr update trigger (#3596)Vijayakumar A
(cherry picked from commit 395bd4eb850ff5763a82f29b1ff398c41e200f09)
2024-06-09Merge pull request #3600 from nvollmar/T6460Christian Breunig
T6460: fix DHCPv6 duid formatting
2024-06-09reverse-proxy: T6454: Set default value of http for haproxy modeAlex W
(cherry picked from commit 60d7c0ecaff49ec62f4600a460f5fbe7b26a0d9c)
2024-06-09xml: T6423: enforce priority on nodes having an ownerNataliia Solomko
(cherry picked from commit 61f8250184e927de9ab6bddc207b917bef7da42b)
2024-06-09grub: T6453: Fixed GRUB variables parsingzsdc
To parse variables with `=` a variable name should be limited by alphanumerical characters only. (cherry picked from commit d3acecdf129cd940f8b2d1b229a6e2a343cab74b)
2024-06-09vxlan: T6401: Avoid calling get_vxlan_vni_filter() unless we need itAndrew Topp
`bridge vni show dev vxlanX` will exit with an error if no VNI filters are installed, but the getter is used even when we haven't installed any. This fix avoids fetching a list of VNI filters unless we know we've created some. (cherry picked from commit ac7ee2b36df23c3a4dd2be393132631556b6ef40)
2024-06-09T6460: fixes duid formattingNicolas Vollmar
2024-06-05Merge pull request #3586 from vyos/mergify/bp/sagitta/pr-3571Christian Breunig
isis: T6429: fix isis metric-style configuration missing (backport #3571)
2024-06-05ISIS: T6332: add smoketest optionfett0
(cherry picked from commit 3d14676bf9b6dcef77ec5587447015b3d58e194a)
2024-06-05isis: T6429: fix isis metric-style configuration missingfett0
(cherry picked from commit 39004c453fb8f71171ba3433ee559b5ff745bebe)
2024-06-05Merge pull request #3561 from c-po/action-test-sagittaDaniil Baturin
GitHub: add action to build package on PR
2024-06-05Merge pull request #3583 from vyos/mergify/bp/sagitta/pr-3582Daniil Baturin
T6431: op-mode command "monitor traceroute" missing recursive symlink (backport #3582)
2024-06-05T6431: op-mode command monitor traceroute missing recursive symlinkAndrew Topp
Likely this was copied from mtr in the past but the symlink wasn't added to the Makefile. I've also swapped the completion help text around to match the commands. (cherry picked from commit de1479b06cb9b292fe4919c5949f3d3599ea11c7)
2024-06-03Merge pull request #3580 from vyos/mergify/bp/sagitta/pr-35791.4.0Daniil Baturin
bfd: T6440: BFD peer length typo (backport #3579)
2024-06-03bfd: T6440: BFD peer length typoHannes Tamme
(cherry picked from commit 5490c76f9b9f53751fc527f455090f0a3820e8fe)