summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-07-18T6523: Telegraf use nft scripts only if the firewall configuredmergify/bp/sagitta/pr-3748Viacheslav Hletenko
If a firewall is not configured there is no reason to get and execute telegraf firewall custom scripts as there are no nft chain in the firewall nftables configuration (cherry picked from commit ebff0c481907ac0c2c0be9981c3c3d87caf3003b)
2024-07-16Merge pull request #3814 from vyos/mergify/bp/sagitta/pr-3810Daniil Baturin
op-mode: T6575: add support for NTP service restart via CLI (backport #3810)
2024-07-15op-mode: T6575: add support for NTP service restart via CLImergify/bp/sagitta/pr-3810Christian Breunig
This seemed to be arround in the early days, but is not available since at least VyOS 1.3.3. Add CLI helper to restart the NTP process (chrony). (cherry picked from commit ca4f4343999bdbd8450ef952f42062877d6f3bab)
2024-07-14Merge pull request #3807 from vyos/mergify/bp/sagitta/pr-3805Christian Breunig
op-mode: T6566: add support for listing all interfaces in "monitor bandwidth" (backport #3805)
2024-07-11op-mode: T6566: add support for listing all interfaces in "monitor bandwidth"mergify/bp/sagitta/pr-3805Christian Breunig
Right now we can only monitor the bandwidth for one individual interface, but not all at once. This adds support to monitor all interfaces. (cherry picked from commit 7704af0c4454725e8c67138e5cabab3328bde0f8)
2024-07-11Merge pull request #3801 from kumvijaya/sagittaChristian Breunig
T6564: workflow trigger restriction for sagitta
2024-07-09T6564: workflow trigger restriction for sagittaVijayakumar A
2024-07-07Merge pull request #3798 from vyos/mergify/bp/sagitta/pr-3791Christian Breunig
op-mode: T6537: remove unused cmd imported from vyos.utils.process (backport #3791)
2024-07-06op-mode: T6537: remove unused cmd imported from vyos.utils.processChristian Breunig
Commit dc60fe99350 ("op-mode: T6537: include hostname in the reboot/shutdown warning message") added a more local import of vyos.utils.process.cmd() that made the fglobal import obsolete and trigger a linter warning. $ make unused-imports -------------------------------------------------------------------- Your code has been rated at 10.00/10 (previous run: 10.00/10, +0.00) (cherry picked from commit 6b2e45c073eeef62bbb5905e1bff98e20199b6b0)
2024-07-06Merge pull request #3794 from vyos/T6556-un-used-import-permission-sagittaChristian Breunig
T6556: pull_request to pull_request_target type for unused import
2024-07-05Merge pull request #3786 from vyos/T6556-trigger-branches-cleanup-sagittaChristian Breunig
T6556: permission update for unused import check
2024-07-05T6556: pull_request to pull_request_target type for unused importVijayakumar A
2024-07-05Merge pull request #3780 from vyos/mergify/bp/sagitta/pr-3777Christian Breunig
wireless: T4287: use upstream regulatory database due to kernel signing (backport #3777)
2024-07-05T6556: permission update for unused import checkVijayakumar A
2024-07-04wireless: T4287: use Debian postinst over preinst when using update-alternativesChristian Breunig
This fixes an error during ISO assembly: update-alternatives: error: no alternatives for regulatory.db dpkg: error processing archive /tmp/apt-dpkg-install-PJplR3/00-vyos-1x_1.5dev0-1880-gecaa44498_amd64.deb (--unpack): new vyos-1x package pre-installation script subprocess returned error exit status 2 (cherry picked from commit a414190447c32be0775a077cde13cef0cf2b8c54)
2024-07-04Merge pull request #3759 from vyos/mergify/bp/sagitta/pr-3721Christian Breunig
ssh: T5878: Allow changing the PubkeyAcceptedAlgorithms option (backport #3721)
2024-07-04Merge pull request #3775 from vyos/mergify/bp/sagitta/pr-3767Christian Breunig
op-mode: T6537: include hostname in the reboot/shutdown warning message (backport #3767)
2024-07-04wireless: T4287: use upstream regulatory database due to kernel signingChristian Breunig
Most likely b/c of our non signed Kernel binary we do not trust the Debian signed wireless regulatory database. Fallback to the upstream database instead. (cherry picked from commit 9263965071289b6e51e22669b6d588a8d8fbcc1f)
2024-07-04Merge pull request #3765 from vyos/mergify/bp/sagitta/pr-3760Christian Breunig
syslog: T5366: remove reference to deprecated sysvinit rsyslog script (backport #3760)
2024-07-03op-mode: T6537: include hostname in the reboot/shutdown warning messageDaniil Baturin
(cherry picked from commit dc60fe993505d1adca60f9b6e0f47f565c459331)
2024-07-03Merge pull request #3762 from vyos/mergify/bp/sagitta/pr-3749Christian Breunig
T6536: nat: add migration script that replaces wildcard charater (backport #3749)
2024-07-03T6536: change wildcard character from + to * - extend fix to interfaces ↵Nicolas Fort
defined in zone policy. (cherry picked from commit 66ec278393dbabe71f320c543816f27797d51140)
2024-07-03syslog: T5366: remove reference to deprecated sysvinit rsyslog scriptJohn Estabrook
(cherry picked from commit 977d2fbf7a62a97d98b38cf28e62f08fc9e8d3a2)
2024-07-03T6536: nat: add migration script that replaces wildcard charater supported ↵Nicolas Fort
in 1.3 <+> with character supported in latest version <*> (cherry picked from commit 148af29b68416a5b8d0e025a16aef252fdf31e67) # Conflicts: # src/migration-scripts/nat/6-to-7
2024-07-03ssh: T5878: Allow changing the PubkeyAcceptedAlgorithms optionkhramshinr
(cherry picked from commit 06e6e011cdf12e8d10cf1f6d4d848fd5db51720d)
2024-07-03Merge pull request #3755 from vyos/mergify/bp/sagitta/pr-3752Daniil Baturin
T6538: Add the ability to set GENEVE interfaces to VRF (backport #3752)
2024-07-03T6538: Add the ability to set GENEVE interfaces to VRFViacheslav Hletenko
(cherry picked from commit 5748db4ebb4f4023f8e33d45121ff24267941cc7)
2024-07-01Merge pull request #3735 from vyos/mergify/bp/sagitta/pr-3731Christian Breunig
op-mode: T5633, T6465: fix error when op cmd interrupted, updates some system call syntax (backport #3731)
2024-07-01Merge pull request #3738 from vyos/mergify/bp/sagitta/pr-3720Christian Breunig
T6477: Add telegraf loki output plugin (backport #3720)
2024-06-30Merge pull request #3741 from vyos/mergify/bp/sagitta/pr-3733Christian Breunig
op-mode: T6524: rewrite "release dhcp(v6) interface" to new op-mode format (backport #3733)
2024-06-29op-mode: T6524: rewrite "release dhcp(v6) interface" to new op-mode formatChristian Breunig
(cherry picked from commit 5ade35255b3d8438aa6082fe56ae459d50cdc0a5)
2024-06-28T6477: Add telegraf loki output pluginViacheslav Hletenko
Add Loki plugin to telegraf set service monitoring telegraf loki url xxx (cherry picked from commit 3365eb7ab99fa9a259fe440eb51e82fc0a0a4dc6)
2024-06-28Fixes error generated when op cmd interrupted, updates show system calls to ↵Ginko
new cli syntax (#3731) (cherry picked from commit a095a3c7b3dd4459dc8626f0e5adecda855580e0)
2024-06-26Merge pull request #3725 from vyos/mergify/bp/sagitta/pr-3724Christian Breunig
interfaces: T6519: harden config migration if ethernet interface is missing (backport #3724)
2024-06-26interfaces: T6519: harden config migration if ethernet interface is missingChristian Breunig
During a corner case where the configuration is migrated to a different system with fewer ethernet interfaces, migration will fail during an image upgrade. vyos.ethtool.Ethtool() is instantiated with an invalid interface leading to an exception that kills the migrator (cherry picked from commit e47d4fd385631236da6882233b09f6364cbb077b)
2024-06-25Merge pull request #3706 from vyos/mergify/bp/sagitta/pr-3679Christian Breunig
T3202: Enable wireguard debug messages (backport #3679)
2024-06-24T3202: add single variable for Kernel dynamic debug settingsChristian Breunig
(cherry picked from commit 9495f904fcc157521ca001ee21cf31be28a6b3a0)
2024-06-24T3202: Enable wireguard debug messagesNataliia Solomko
(cherry picked from commit d818788932e3c57d020cca9236df7275da452fce)
2024-06-24Merge pull request #3709 from vyos/mergify/bp/sagitta/pr-3677Christian Breunig
T5949: Add option to disable USB autosuspend (backport #3677)
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-22T5949: Add option to disable USB autosuspendkhramshinr
(cherry picked from commit c0b2693cebc3429e1974a9cec5946fa88ffc0205)
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)