]> git.ipfire.org Git - ipfire-2.x.git/log
ipfire-2.x.git
2 months agocore 197: Ship automake
Adolf Belka [Mon, 21 Jul 2025 21:25:50 +0000 (23:25 +0200)] 
core 197: Ship automake

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 months agoautomake: Update to version 1.18.1
Adolf Belka [Mon, 21 Jul 2025 21:25:49 +0000 (23:25 +0200)] 
automake: Update to version 1.18.1

- Update from version 1.18 to 1.18.1
- Update of rootfile not required
- Changelog
    1.18.1
* Bugs fixed
  - Undo change to mdate-sh; once again, it does not look at
    SOURCE_DATE_EPOCH. This change was a misunderstanding that causes
    problems, not fixes, for reproducible builds.
    (https://lists.gnu.org/archive/html/automake/2025-06/msg00021.html)
  - Improve debuggability of installcheck failures. (bug#78850)

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 months agocore197: add kernel to updater
Arne Fitzenreiter [Tue, 22 Jul 2025 06:16:54 +0000 (08:16 +0200)] 
core197: add kernel to updater

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 months agovulnarabilities: add transient sheduler attacks
Arne Fitzenreiter [Tue, 22 Jul 2025 06:04:09 +0000 (08:04 +0200)] 
vulnarabilities: add transient sheduler attacks

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 months agokernel: update to 6.12.39
Arne Fitzenreiter [Tue, 22 Jul 2025 06:03:22 +0000 (08:03 +0200)] 
kernel: update to 6.12.39

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 months agocore197: Ship Suricata's ruleset sources
Michael Tremer [Mon, 21 Jul 2025 15:43:38 +0000 (15:43 +0000)] 
core197: Ship Suricata's ruleset sources

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 months agoruleset-sources: Remove the abuse.ch SSL list from the suricata sources
Adolf Belka [Mon, 21 Jul 2025 14:34:52 +0000 (16:34 +0200)] 
ruleset-sources: Remove the abuse.ch SSL list from the suricata sources

- The abuse.ch ssl suricata list has stopped being updated since 2025-06-25
- Looking at all of the abuse.ch lists, none of them are being updated anymore so abuse.ch
   becoming part of spamhaus looks to have stopped all work on free versions of the lists
- This change modifies the abuse.ch entry so that it no longer can be installed but also
   if already installed it will remove it.
- The patch has also made a few minor typo corrections in comments.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 months agodnsdist: Update to 2.0.0
Michael Tremer [Mon, 21 Jul 2025 13:27:50 +0000 (13:27 +0000)] 
dnsdist: Update to 2.0.0

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 months agowireguard-functions.pl: Remove any carriage returns on import
Michael Tremer [Fri, 18 Jul 2025 09:57:34 +0000 (09:57 +0000)] 
wireguard-functions.pl: Remove any carriage returns on import

Some files might include carriage returns which won't be removed by
chomp() on Linux. To be extra safe, we remove them manually.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 months agocore197: Ship wireguard-functions.pl
Michael Tremer [Mon, 21 Jul 2025 09:25:51 +0000 (09:25 +0000)] 
core197: Ship wireguard-functions.pl

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 months agowireguard-functions.pl: Automatically skip IPv6 subnets
Michael Tremer [Fri, 18 Jul 2025 08:42:12 +0000 (08:42 +0000)] 
wireguard-functions.pl: Automatically skip IPv6 subnets

Since we do not support this and some VPN providers generate
configuration files that send any data over to them, we simply ignore
any IPv6 subnets.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 months agocpufrequtils: Drop unused patches
Michael Tremer [Thu, 17 Jul 2025 17:26:33 +0000 (18:26 +0100)] 
cpufrequtils: Drop unused patches

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 months agocore197: Update the status file in the roadwarrior configuration
Michael Tremer [Mon, 21 Jul 2025 09:19:01 +0000 (09:19 +0000)] 
core197: Update the status file in the roadwarrior configuration

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 months agocore197: Ship updated collectd configuration
Michael Tremer [Mon, 21 Jul 2025 09:17:27 +0000 (09:17 +0000)] 
core197: Ship updated collectd configuration

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 months agocollectd: Openvpn-2.6: fix statusfile name
Robin Roevens [Sat, 19 Jul 2025 21:10:10 +0000 (23:10 +0200)] 
collectd: Openvpn-2.6: fix statusfile name

Signed-off-by: Robin Roevens <robin.roevens@disroot.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 months agocore197: Ship the new cpupower script
Michael Tremer [Mon, 21 Jul 2025 09:15:12 +0000 (09:15 +0000)] 
core197: Ship the new cpupower script

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 months agocore197: Drop cpufrequtils
Michael Tremer [Mon, 21 Jul 2025 09:14:19 +0000 (09:14 +0000)] 
core197: Drop cpufrequtils

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 months agocpufrequtils: Drop package
Michael Tremer [Thu, 17 Jul 2025 17:30:31 +0000 (17:30 +0000)] 
cpufrequtils: Drop package

This is now implemented in the core distribution.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 months agoinitscripts: Automatically enable CPU power saving features
Michael Tremer [Thu, 17 Jul 2025 17:30:30 +0000 (17:30 +0000)] 
initscripts: Automatically enable CPU power saving features

This is a cleaned up implementation of the script that was previously
packaged in the cpufrequtils package.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 months agocore197: Migrate OpenVPN configuration changes
Michael Tremer [Fri, 18 Jul 2025 10:30:29 +0000 (10:30 +0000)] 
core197: Migrate OpenVPN configuration changes

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 months agocore197: Ship BIND
Michael Tremer [Fri, 18 Jul 2025 10:11:34 +0000 (10:11 +0000)] 
core197: Ship BIND

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 months agobind: Update ot 9.20.11
Matthias Fischer [Thu, 17 Jul 2025 22:35:56 +0000 (00:35 +0200)] 
bind: Update ot 9.20.11

For details see:
https://downloads.isc.org/isc/bind9/9.20.11/doc/arm/html/notes.html#notes-for-bind-9-20-11

"Notes for BIND 9.20.11
Security Fixes

    Fix a possible assertion failure when stale-answer-client-timeout is
    set to 0.

    In specific circumstances the named resolver process could exit with an
    assertion failure when stale answers were enabled and the
    stale-answer-client-timeout configuration option was set to 0. This has
    been fixed. (CVE-2025-40777) [GL #5372]

New Features

    Add support for the CO flag to dig.

    Add support for Compact Denial of Existence to dig. This includes
    showing the CO (Compact Answers OK) flag when displaying messages and
    adding an option to set the CO flag when making queries (dig +coflag).
    [GL #5319]

Bug Fixes

    Correct the default interface-interval from 60s to 60m.

    When the interface-interval parser was changed from a uint32 parser to
    a duration parser, the default value stayed at plain number 60 which
    now means 60 seconds instead of 60 minutes. The documentation also
    incorrectly states that the value is in minutes. That has been fixed.
    [GL #5246]

    Fix a purge-keys bug when using multiple views of a zone.

    Previously, when a DNSSEC key was purged by one zone view, other zone
    views would return an error about missing key files. This has been
    fixed. [GL #5315]

    Use IPv6 queries in delv +ns.

    delv +ns invokes the same code to perform name resolution as named, but
    it neglected to set up an IPv6 dispatch object first. Consequently, it
    was behaving more like named -4. It now sets up dispatch objects for
    both address families, and performs resolver queries to both IPv4 and
    IPv6 addresses, except when one of the address families has been
    suppressed by using delv -4 or delv -6. [GL #5352]"

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 months agozabbix_agentd: Openvpn-2.6: use the helper binary to read the status log
Robin Roevens [Thu, 17 Jul 2025 17:52:05 +0000 (19:52 +0200)] 
zabbix_agentd: Openvpn-2.6: use the helper binary to read the status log

Signed-off-by: Robin Roevens <robin.roevens@disroot.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 months agozabbix_agentd: Openvpn-2.6: fix pid name for services stats
Robin Roevens [Thu, 17 Jul 2025 17:52:04 +0000 (19:52 +0200)] 
zabbix_agentd: Openvpn-2.6: fix pid name for services stats

Signed-off-by: Robin Roevens <robin.roevens@disroot.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 months agozabbix_agentd: Add LocationDB functionality
Robin Roevens [Thu, 17 Jul 2025 17:52:03 +0000 (19:52 +0200)] 
zabbix_agentd: Add LocationDB functionality

Adds new IPFire specific monitoring capabilities to Zabbix Agent:
- ipfire.locationdb.lookup[<ip>,<ip>,...]: Perform IPFire LocationDB lookups
  from within Zabbix. Returns a JSON dict.
- ipfire.locationdb.version: Get LocationDB version timestamp in unixtime.

Signed-off-by: Robin Roevens <robin.roevens@disroot.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 months agozabbix_agentd: Add WireGuard specific monitoring items
Robin Roevens [Thu, 17 Jul 2025 17:52:02 +0000 (19:52 +0200)] 
zabbix_agentd: Add WireGuard specific monitoring items

Adds new IPFire specific monitoring capabilities to Zabbix Agent:
- ipfire.wireguard.peers.discovery: Discovery of configured WireGuard
  clients. Returns a JSON array.
- ipfire.wireguard.statusreport.get: Parses and returns output of
  `wireguardctrl dump` as a JSON array.

Signed-off-by: Robin Roevens <robin.roevens@disroot.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 months agozabbix_agentd: Add ARPing method for checking Internet Gateway
Robin Roevens [Thu, 17 Jul 2025 17:52:01 +0000 (19:52 +0200)] 
zabbix_agentd: Add ARPing method for checking Internet Gateway

Since some ISP's block ICMP ping to their gateway ARPing can be an alternative.
This change adds arping alternatives for the regular (icmp) ping checks:
- ipfire.net.gateway.arping: Check if the Internet Gateway is reachable via ARPing
- ipfire.net.gateway.arpingtime: Measure the time it takes to ARPing the Internet Gateway

Signed-off-by: Robin Roevens <robin.roevens@disroot.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 months agozabbix_agentd: Update to 7.0.16 (LTS)
Robin Roevens [Thu, 17 Jul 2025 17:52:00 +0000 (19:52 +0200)] 
zabbix_agentd: Update to 7.0.16 (LTS)

- Update from version 7.0.11 to 7.0.16
- Update of rootfile not required

Bugs fixed:
ZBX-26080 Fixed old file descriptors being held when external log rotation is used
ZBX-26121 Added default flags to net.dns.get arguments when none are specified
ZBX-26055 Fixed failure to refresh active checks when next refresh was faster than 60 seconds

Full changelogs since 7.0.11:
- https://www.zabbix.com/rn/rn7.0.12
- https://www.zabbix.com/rn/rn7.0.13
- https://www.zabbix.com/rn/rn7.0.14
- https://www.zabbix.com/rn/rn7.0.15
- https://www.zabbix.com/rn/rn7.0.16

Signed-off-by: Robin Roevens <robin.roevens@disroot.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 months agocore197: Ship unbound
Michael Tremer [Thu, 17 Jul 2025 09:33:00 +0000 (09:33 +0000)] 
core197: Ship unbound

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 months agounbound 1.23.1: Fix for rootfile
Matthias Fischer [Wed, 16 Jul 2025 16:50:32 +0000 (18:50 +0200)] 
unbound 1.23.1: Fix for rootfile

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 months agounbound: Update to 1.23.1
Matthias Fischer [Wed, 16 Jul 2025 11:32:07 +0000 (13:32 +0200)] 
unbound: Update to 1.23.1

For details see:
https://nlnetlabs.nl/projects/unbound/download/#unbound-1-23-1

"Fix RebirthDay Attack CVE-2025-5994, reported by Xiang Li from AOSP
Lab Nankai University."

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 months agocore197: Ship OpenVPN changes
Michael Tremer [Tue, 15 Jul 2025 09:57:16 +0000 (09:57 +0000)] 
core197: Ship OpenVPN changes

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 months agoopenvpn: Ignore existing PID files when starting processes
Michael Tremer [Tue, 8 Jul 2025 08:49:47 +0000 (10:49 +0200)] 
openvpn: Ignore existing PID files when starting processes

This is all not very organised and tidy. The init process seems to be
too cautious if there is a PID file left but there should not be any
harm in trying to start the same process twice when in doubt because
after all only one can bind to the same port at a time.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 months agoovpnmain.cgi: Accept an empty value for ENABLED
Michael Tremer [Tue, 8 Jul 2025 08:44:30 +0000 (10:44 +0200)] 
ovpnmain.cgi: Accept an empty value for ENABLED

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 months agoovpnmain.cgi: Fix broken headline in N2N crypto section
Michael Tremer [Tue, 8 Jul 2025 08:42:36 +0000 (10:42 +0200)] 
ovpnmain.cgi: Fix broken headline in N2N crypto section

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 months agoRevert "ovpnmain.cgi: Remove yet another "if (1)" statement"
Michael Tremer [Tue, 8 Jul 2025 08:38:44 +0000 (10:38 +0200)] 
Revert "ovpnmain.cgi: Remove yet another "if (1)" statement"

This reverts commit 0dcafefb694d4e1ebef317f4d45f68216685ff25.

Removing this breaks creating N2N connections and I don't think there is
a way to fix this all properly without a major rewrite.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 months agoservices.cgi: Openvpn-2.6 rebase fix pid name for services page
Adolf Belka [Mon, 30 Jun 2025 09:00:30 +0000 (11:00 +0200)] 
services.cgi: Openvpn-2.6 rebase fix pid name for services page

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 months agoopenvpn: Fix typo in initscript
Michael Tremer [Mon, 30 Jun 2025 08:41:35 +0000 (10:41 +0200)] 
openvpn: Fix typo in initscript

This prevented the authenticator from being shut down gracefully.

  https://lists.ipfire.org/development/1396727E-BF73-4015-B853-B3F854806B28@ipfire.org/T/#m41dd73643dc6fa0dd6d187f59f72277f9c5d072f

Reported-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 months agoovpnmain.cgi: Accept empty input for ENABLED
Michael Tremer [Thu, 19 Jun 2025 14:49:22 +0000 (16:49 +0200)] 
ovpnmain.cgi: Accept empty input for ENABLED

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 months agoovpnmain.cgi: Make checkboxes unselectable
Stefan Schantl [Thu, 19 Jun 2025 14:47:50 +0000 (16:47 +0200)] 
ovpnmain.cgi: Make checkboxes unselectable

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 months agoovpnmain.cgi: Only load status when the server is running
Michael Tremer [Tue, 3 Jun 2025 15:04:50 +0000 (17:04 +0200)] 
ovpnmain.cgi: Only load status when the server is running

Otherwise we would show the status if the service is no longer running
and show clients as connected which have only been connected when the
server was stopped.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 months agoovpnmain.cgi: Fix reading the current status file again
Michael Tremer [Tue, 3 Jun 2025 14:21:12 +0000 (16:21 +0200)] 
ovpnmain.cgi: Fix reading the current status file again

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 months agoovpnmain.cgi: Remove more dead code
Michael Tremer [Tue, 3 Jun 2025 14:10:53 +0000 (16:10 +0200)] 
ovpnmain.cgi: Remove more dead code

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 months agoovpnmain.cgi: Fix path to the RW PID file
Michael Tremer [Tue, 3 Jun 2025 14:08:45 +0000 (16:08 +0200)] 
ovpnmain.cgi: Fix path to the RW PID file

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 months agoovpnmain.cgi: Use the helper binary to read the status log
Michael Tremer [Tue, 3 Jun 2025 14:06:03 +0000 (16:06 +0200)] 
ovpnmain.cgi: Use the helper binary to read the status log

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 months agoovpnmain.cgi: Log a better message if the RW log file could not be opened
Michael Tremer [Tue, 3 Jun 2025 10:44:33 +0000 (12:44 +0200)] 
ovpnmain.cgi: Log a better message if the RW log file could not be opened

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 months agoovpnmain.cgi: Tell the server the subnet in the old-fashioned way
Michael Tremer [Tue, 3 Jun 2025 10:40:38 +0000 (12:40 +0200)] 
ovpnmain.cgi: Tell the server the subnet in the old-fashioned way

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 months agoovpnmain.cgi: Remove some dead code
Michael Tremer [Tue, 3 Jun 2025 10:33:44 +0000 (12:33 +0200)] 
ovpnmain.cgi: Remove some dead code

This prevented creating new connections and was never being used at all.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 months agoRevert "CSS: Make text/number inputs 100% wide, too"
Michael Tremer [Tue, 3 Jun 2025 10:27:28 +0000 (12:27 +0200)] 
Revert "CSS: Make text/number inputs 100% wide, too"

This reverts commit f9beaa17f22a191919b2982511d4a4598ffcf81e.

This seems to break major parts of the layout on several pages.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 months agoCSS: Fix merge error
Michael Tremer [Tue, 3 Jun 2025 10:25:38 +0000 (12:25 +0200)] 
CSS: Fix merge error

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 months agoopenvpn: Update to 2.6.14
Michael Tremer [Tue, 3 Jun 2025 09:27:03 +0000 (09:27 +0000)] 
openvpn: Update to 2.6.14

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 months agoopenvpn: Update to version 2.6.12
Adolf Belka [Sun, 8 Dec 2024 11:23:30 +0000 (12:23 +0100)] 
openvpn: Update to version 2.6.12

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 months agoovpnmain.cgi: Implement a better way to set defaults
Michael Tremer [Tue, 16 Apr 2024 13:03:13 +0000 (15:03 +0200)] 
ovpnmain.cgi: Implement a better way to set defaults

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 months agoovpnmain.cgi: Load the main settings just once
Michael Tremer [Tue, 16 Apr 2024 12:18:39 +0000 (14:18 +0200)] 
ovpnmain.cgi: Load the main settings just once

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 months agoovpnmain.cgi: Use the same hash for the configuration like everywhere else
Michael Tremer [Tue, 16 Apr 2024 12:13:32 +0000 (14:13 +0200)] 
ovpnmain.cgi: Use the same hash for the configuration like everywhere else

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 months agoovpnmain.cgi: Restart instead of reload
Michael Tremer [Tue, 16 Apr 2024 12:01:31 +0000 (14:01 +0200)] 
ovpnmain.cgi: Restart instead of reload

The option to reload the server does not seem to work well. The running
is process is performing a number of checks that make very little sense
and PID files get written by the user that launches the process (i.e.
root) instead of the user that the process is running as later on (i.e.
nobody). Since there is no chance to keep any existing connections alive
this way, we may just as well restart the service for now.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 months agoopenvpn-rw: Use a sensible name for the PID file
Michael Tremer [Tue, 16 Apr 2024 12:00:35 +0000 (14:00 +0200)] 
openvpn-rw: Use a sensible name for the PID file

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 months agoovpnmain.cgi: Give the status log a more sensible name
Michael Tremer [Tue, 16 Apr 2024 11:58:47 +0000 (13:58 +0200)] 
ovpnmain.cgi: Give the status log a more sensible name

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 months agoovpnmain.cgi: Explicitly notify clients that the server is going down
Michael Tremer [Tue, 16 Apr 2024 11:25:30 +0000 (13:25 +0200)] 
ovpnmain.cgi: Explicitly notify clients that the server is going down

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 months agoi18n: Update note on the file format of the OpenVPN client configuration
Michael Tremer [Tue, 16 Apr 2024 11:20:02 +0000 (13:20 +0200)] 
i18n: Update note on the file format of the OpenVPN client configuration

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 months agoovpnmain.cgi: Refactor top table of adding/creating connections
Michael Tremer [Thu, 11 Apr 2024 20:29:09 +0000 (22:29 +0200)] 
ovpnmain.cgi: Refactor top table of adding/creating connections

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 months agoovpnmain.cgi: Remove yet another "if (1)" statement
Michael Tremer [Thu, 11 Apr 2024 20:15:51 +0000 (22:15 +0200)] 
ovpnmain.cgi: Remove yet another "if (1)" statement

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 months agoovpnmain.cgi: Refactor connection statistics page
Michael Tremer [Thu, 11 Apr 2024 20:10:23 +0000 (22:10 +0200)] 
ovpnmain.cgi: Refactor connection statistics page

No functional changes

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 months agoovpnmain.cgi: Remove ns-cert-type server
Michael Tremer [Thu, 11 Apr 2024 19:42:16 +0000 (21:42 +0200)] 
ovpnmain.cgi: Remove ns-cert-type server

This option has been removed in OpenVPN 2.5. We do not support anything
prior to that.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 months agoovpnmain.cgi: Remove unnecessary client configuration options
Michael Tremer [Thu, 11 Apr 2024 19:40:55 +0000 (21:40 +0200)] 
ovpnmain.cgi: Remove unnecessary client configuration options

We should send the most minimal configuration so that we do not
overwrite any sensible defaults.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 months agoovpnmain.cgi: Fix spacing in client configuration file
Michael Tremer [Thu, 11 Apr 2024 19:24:22 +0000 (21:24 +0200)] 
ovpnmain.cgi: Fix spacing in client configuration file

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 months agoovpnmain.cgi: Use LF only without CR for config files
Michael Tremer [Thu, 11 Apr 2024 19:22:15 +0000 (21:22 +0200)] 
ovpnmain.cgi: Use LF only without CR for config files

Fixes: #13355
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 months agoovpnmain.cgi: Remove the ZIP container around configuration files
Michael Tremer [Thu, 11 Apr 2024 19:20:01 +0000 (21:20 +0200)] 
ovpnmain.cgi: Remove the ZIP container around configuration files

Since we can now include everything in one file, there is no need to put
it in a ZIP container.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 months agoovpnmain.cgi: Remove the "insecure" client package
Michael Tremer [Thu, 11 Apr 2024 19:12:54 +0000 (21:12 +0200)] 
ovpnmain.cgi: Remove the "insecure" client package

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 months agoovpnmain.cgi: Include the PKCS12 certificate on config export
Michael Tremer [Thu, 11 Apr 2024 19:02:33 +0000 (21:02 +0200)] 
ovpnmain.cgi: Include the PKCS12 certificate on config export

Before, OpenVPN did not support PKCS12 files in an embedded format. We
extracted the key and the certificate in PEM format instead.

This is no longer necessary and therefore we can simply include the
file.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 months agoovpnmain.cgi: Reindent generating the client configuration
Michael Tremer [Wed, 10 Apr 2024 15:49:01 +0000 (17:49 +0200)] 
ovpnmain.cgi: Reindent generating the client configuration

There are no functional changes.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 months agoovpnmain.cgi: Refactor CCD pool configuration
Michael Tremer [Wed, 10 Apr 2024 15:14:07 +0000 (17:14 +0200)] 
ovpnmain.cgi: Refactor CCD pool configuration

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 months agoovpnmain.cgi: Remove code to restart a connection
Michael Tremer [Wed, 10 Apr 2024 13:52:06 +0000 (15:52 +0200)] 
ovpnmain.cgi: Remove code to restart a connection

This could not be triggered.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 months agoovpnmain.cgi: Refactor the connection listing
Michael Tremer [Wed, 10 Apr 2024 13:43:32 +0000 (15:43 +0200)] 
ovpnmain.cgi: Refactor the connection listing

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 months agoovpnmain.cgi: Enable legacy provider for auths, too
Michael Tremer [Wed, 10 Apr 2024 12:11:27 +0000 (14:11 +0200)] 
ovpnmain.cgi: Enable legacy provider for auths, too

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 months agoovpnmain.cgi: Load the OpenSSL legacy provider if required
Michael Tremer [Wed, 10 Apr 2024 12:03:30 +0000 (14:03 +0200)] 
ovpnmain.cgi: Load the OpenSSL legacy provider if required

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 months agoovpnmain.cgi: Move "ROUTE_PUSH" settings into the main settings file
Michael Tremer [Wed, 10 Apr 2024 10:55:47 +0000 (12:55 +0200)] 
ovpnmain.cgi: Move "ROUTE_PUSH" settings into the main settings file

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 months agoovpnmain.cgi: Fix checking custom routes
Michael Tremer [Wed, 10 Apr 2024 10:34:45 +0000 (12:34 +0200)] 
ovpnmain.cgi: Fix checking custom routes

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 months agoovpnmain.cgi: Reload the server after changing advanced settings
Michael Tremer [Tue, 9 Apr 2024 17:49:30 +0000 (19:49 +0200)] 
ovpnmain.cgi: Reload the server after changing advanced settings

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 months agoovpnmain.cgi: Remove more unused variables
Michael Tremer [Tue, 9 Apr 2024 17:45:45 +0000 (19:45 +0200)] 
ovpnmain.cgi: Remove more unused variables

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 months agoovpnmain.cgi: Refactor the entire advanced settings page
Michael Tremer [Tue, 9 Apr 2024 17:41:59 +0000 (19:41 +0200)] 
ovpnmain.cgi: Refactor the entire advanced settings page

There are no functional changes.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 months agoCSS: Don't make headings so skinny
Michael Tremer [Tue, 9 Apr 2024 17:23:18 +0000 (19:23 +0200)] 
CSS: Don't make headings so skinny

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 months agoovpnmain.cgi: Remove "additional configs"
Michael Tremer [Tue, 9 Apr 2024 17:08:25 +0000 (19:08 +0200)] 
ovpnmain.cgi: Remove "additional configs"

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 months agoovpnmain.cgi: Remove client-to-client
Michael Tremer [Tue, 9 Apr 2024 17:04:58 +0000 (19:04 +0200)] 
ovpnmain.cgi: Remove client-to-client

This is a potential security issue. See #13636.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 months agoovpnmain.cgi: Hard-code keepalive packets
Michael Tremer [Tue, 9 Apr 2024 17:02:22 +0000 (19:02 +0200)] 
ovpnmain.cgi: Hard-code keepalive packets

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 months agoovpnmain.cgi: Hard-code "verb 3"
Michael Tremer [Tue, 9 Apr 2024 16:58:51 +0000 (18:58 +0200)] 
ovpnmain.cgi: Hard-code "verb 3"

There is no reason why users will need to change this.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 months agoovpnmain.cgi: Improve wording for RW settings
Michael Tremer [Tue, 9 Apr 2024 16:54:30 +0000 (18:54 +0200)] 
ovpnmain.cgi: Improve wording for RW settings

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 months agoinitscripts: Manually load the tun module for OpenVPN
Michael Tremer [Tue, 9 Apr 2024 16:38:26 +0000 (18:38 +0200)] 
initscripts: Manually load the tun module for OpenVPN

The server cannot load the module itself.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 months agoovpnmain.cgi: Remove manual start/stop actions
Michael Tremer [Tue, 9 Apr 2024 16:36:56 +0000 (18:36 +0200)] 
ovpnmain.cgi: Remove manual start/stop actions

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 months agoovpnmain.cgi: Redesign the roadwarrior section
Michael Tremer [Tue, 9 Apr 2024 16:25:47 +0000 (18:25 +0200)] 
ovpnmain.cgi: Redesign the roadwarrior section

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 months agoCSS: Make text/number inputs 100% wide, too
Michael Tremer [Tue, 9 Apr 2024 16:25:11 +0000 (18:25 +0200)] 
CSS: Make text/number inputs 100% wide, too

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 months agoovpnmain.cgi: Only allow removing X.509 when the server is not enabled
Michael Tremer [Tue, 9 Apr 2024 16:09:37 +0000 (18:09 +0200)] 
ovpnmain.cgi: Only allow removing X.509 when the server is not enabled

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 months agoovpnmain.cgi: Remove left-over code
Michael Tremer [Tue, 9 Apr 2024 16:08:33 +0000 (18:08 +0200)] 
ovpnmain.cgi: Remove left-over code

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 months agoovpnmain.cgi: Move destination port to advanced settings
Michael Tremer [Tue, 9 Apr 2024 16:08:06 +0000 (18:08 +0200)] 
ovpnmain.cgi: Move destination port to advanced settings

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 months agoovpnmain.cgi: Move MTU setting to advanced settings
Michael Tremer [Tue, 9 Apr 2024 16:00:48 +0000 (18:00 +0200)] 
ovpnmain.cgi: Move MTU setting to advanced settings

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 months agoovpnmain.cgi: Move protocol setting to advanced settings
Michael Tremer [Tue, 9 Apr 2024 15:52:37 +0000 (17:52 +0200)] 
ovpnmain.cgi: Move protocol setting to advanced settings

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 months agoovpnmain.cgi: Remove the old status indicator
Michael Tremer [Tue, 9 Apr 2024 15:45:46 +0000 (17:45 +0200)] 
ovpnmain.cgi: Remove the old status indicator

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 months agovulnerabilities.cgi: Use section
Michael Tremer [Sat, 23 Mar 2024 19:09:34 +0000 (20:09 +0100)] 
vulnerabilities.cgi: Use section

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 months agovulnerabilities.cgi: Use CSS to colour the table
Michael Tremer [Sat, 23 Mar 2024 18:57:49 +0000 (19:57 +0100)] 
vulnerabilities.cgi: Use CSS to colour the table

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 months agoweb: Explain memory consumption
Michael Tremer [Sat, 23 Mar 2024 18:12:26 +0000 (19:12 +0100)] 
web: Explain memory consumption

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>