]> git.ipfire.org Git - people/ms/ipfire-2.x.git/log
people/ms/ipfire-2.x.git
3 weeks agohostapd: Fix number of beamforming antennas wifi-next
Michael Tremer [Fri, 25 Jul 2025 10:58:56 +0000 (12:58 +0200)] 
hostapd: Fix number of beamforming antennas

The bitmap is off by one.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 weeks agohostapd: Remove CONFIG_IEEE80211W
Michael Tremer [Fri, 25 Jul 2025 10:44:06 +0000 (12:44 +0200)] 
hostapd: Remove CONFIG_IEEE80211W

This option was removed and 802.11w is now always compiled in.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
4 weeks agohostapd: ath11k also does not support Greenfield and Delayed Block ACK
Michael Tremer [Wed, 23 Jul 2025 18:46:39 +0000 (20:46 +0200)] 
hostapd: ath11k also does not support Greenfield and Delayed Block ACK

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
4 weeks agohostapd: Allow to adjust the debug level
Michael Tremer [Wed, 23 Jul 2025 16:00:29 +0000 (18:00 +0200)] 
hostapd: Allow to adjust the debug level

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
4 weeks agohostapd: Perform radar detection in the background
Michael Tremer [Wed, 23 Jul 2025 15:47:57 +0000 (17:47 +0200)] 
hostapd: Perform radar detection in the background

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
4 weeks agohostapd: Optionally select which antennas to use
Michael Tremer [Wed, 23 Jul 2025 15:42:14 +0000 (17:42 +0200)] 
hostapd: Optionally select which antennas to use

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
4 weeks agohostapd: Add support for 802.11be
Michael Tremer [Wed, 23 Jul 2025 15:34:00 +0000 (17:34 +0200)] 
hostapd: Add support for 802.11be

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
4 weeks agohostapd: Introduce new WiFi modes to accomodate all different modes
Michael Tremer [Wed, 23 Jul 2025 14:59:56 +0000 (16:59 +0200)] 
hostapd: Introduce new WiFi modes to accomodate all different modes

Using just 802.11ac does not entirely cover how the hardware could be
configured. Some devices support 20, 40, 80 or even 160 MHz channels
which is now being implemented here.

The channel offsets are computed manually or will be automatically
selected by hostapd if we are using ACS.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
4 weeks agohostapd: Fix a shell syntax error
Michael Tremer [Wed, 23 Jul 2025 14:12:18 +0000 (16:12 +0200)] 
hostapd: Fix a shell syntax error

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
4 weeks agowlanap.cgi: Remove the option to manually configure HT/VHT caps
Michael Tremer [Wed, 23 Jul 2025 14:10:17 +0000 (16:10 +0200)] 
wlanap.cgi: Remove the option to manually configure HT/VHT caps

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
4 weeks agohostapd: Automatically configure VHT capabilities
Michael Tremer [Wed, 23 Jul 2025 14:09:01 +0000 (16:09 +0200)] 
hostapd: Automatically configure VHT capabilities

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
4 weeks agohostapd: Add experimental support for 802.11ax
Michael Tremer [Wed, 23 Jul 2025 14:08:41 +0000 (16:08 +0200)] 
hostapd: Add experimental support for 802.11ax

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
4 weeks agohostapd: Allow to enable debugging
Michael Tremer [Wed, 23 Jul 2025 13:51:10 +0000 (15:51 +0200)] 
hostapd: Allow to enable debugging

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
4 weeks agohostapd: Filter out some unsupported VHT caps by driver
Michael Tremer [Wed, 23 Jul 2025 13:46:09 +0000 (15:46 +0200)] 
hostapd: Filter out some unsupported VHT caps by driver

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
4 weeks agohostapd: ath12k does not support Greenfield either
Michael Tremer [Wed, 23 Jul 2025 13:45:12 +0000 (15:45 +0200)] 
hostapd: ath12k does not support Greenfield either

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
4 weeks agohostapd: Fix shell syntax error
Michael Tremer [Wed, 23 Jul 2025 10:48:12 +0000 (12:48 +0200)] 
hostapd: Fix shell syntax error

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
4 weeks agohostapd: ath12k does not support Delayed Block ACK either
Michael Tremer [Wed, 23 Jul 2025 10:31:26 +0000 (12:31 +0200)] 
hostapd: ath12k does not support Delayed Block ACK either

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
4 weeks agohostapd: Automatically determine supported capabilities
Michael Tremer [Tue, 22 Jul 2025 15:47:03 +0000 (17:47 +0200)] 
hostapd: Automatically determine supported capabilities

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
4 weeks agohostapd: Enable SHA256 for WPA2/1 PSK authentication
Michael Tremer [Mon, 21 Jul 2025 17:06:32 +0000 (19:06 +0200)] 
hostapd: Enable SHA256 for WPA2/1 PSK authentication

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
4 weeks agohostapd: Enable various options to improve security and interoperability
Michael Tremer [Mon, 21 Jul 2025 17:04:09 +0000 (19:04 +0200)] 
hostapd: Enable various options to improve security and interoperability

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 weeks agohostapd: Rebase the configuration on the upstream default config
Michael Tremer [Thu, 17 Jul 2025 18:07:10 +0000 (18:07 +0000)] 
hostapd: Rebase the configuration on the upstream default config

Most options are added, but not enabled. There are however the following
changes:

  * Enable Operating Channel Validation
  * Enable Fast BSS Transition (802.11r)
  * Support for 802.11ax and 802.11be
  * Disable the internal randomness pool
  * Enable Interworking (802.11u)
  * Enable Fast Session Transfer (FST)
  * Enable Multiband Operation support

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 weeks agohostapd: Generate the configuration in the initscript
Michael Tremer [Thu, 8 May 2025 15:57:07 +0000 (17:57 +0200)] 
hostapd: Generate the configuration in the initscript

This will give us some more flexibility in the future.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 weeks agohostapd: Remove any unused variables from initscript
Michael Tremer [Thu, 8 May 2025 15:37:09 +0000 (17:37 +0200)] 
hostapd: Remove any unused variables from initscript

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 weeks 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>
5 weeks 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>
5 weeks 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>
5 weeks 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>
5 weeks 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>
5 weeks 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>
5 weeks 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>
5 weeks 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>
5 weeks 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>
5 weeks 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>
5 weeks 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>
5 weeks 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>
5 weeks 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>
5 weeks 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>
5 weeks 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>
5 weeks 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>
5 weeks 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>
5 weeks 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>
5 weeks 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>
5 weeks 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>
5 weeks 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>
5 weeks 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>
5 weeks 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>
5 weeks 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>
5 weeks 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>
5 weeks 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>
5 weeks 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>
5 weeks 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>
5 weeks 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>
5 weeks 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>
5 weeks 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>
5 weeks 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>
5 weeks 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>
5 weeks 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>
5 weeks 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>
5 weeks 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>
5 weeks 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>
5 weeks 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>
5 weeks 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>
5 weeks 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>
5 weeks 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>
5 weeks 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>
5 weeks 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>
5 weeks 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>
5 weeks 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>
5 weeks 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>
5 weeks 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>
5 weeks 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>
5 weeks 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>
5 weeks 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>
5 weeks 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>
5 weeks 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>
5 weeks 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>
5 weeks 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>
5 weeks 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>
5 weeks 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>
5 weeks 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>
5 weeks 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>
5 weeks 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>
5 weeks 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>
5 weeks 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>
5 weeks 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>
5 weeks 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>
5 weeks 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>
5 weeks 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>
5 weeks 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>
5 weeks 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>
5 weeks 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>
5 weeks 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>
5 weeks 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>
5 weeks 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>
5 weeks 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>
5 weeks agotor.cgi: Use new service function
Michael Tremer [Sat, 23 Mar 2024 18:06:31 +0000 (19:06 +0100)] 
tor.cgi: Use new service function

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 weeks agoCSS: Automatically stripe all tables
Michael Tremer [Sat, 23 Mar 2024 18:00:49 +0000 (19:00 +0100)] 
CSS: Automatically stripe all tables

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 weeks agoweb: Create a function to show the service status
Michael Tremer [Sat, 23 Mar 2024 17:42:13 +0000 (18:42 +0100)] 
web: Create a function to show the service status

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 weeks agoovpnmain.cgi: Use global ethernet settings
Michael Tremer [Sat, 23 Mar 2024 16:01:14 +0000 (17:01 +0100)] 
ovpnmain.cgi: Use global ethernet settings

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 weeks agoOpenVPN: Rename "Global Settings" to "Roadwarrior Settings"
Michael Tremer [Sat, 23 Mar 2024 14:33:55 +0000 (15:33 +0100)] 
OpenVPN: Rename "Global Settings" to "Roadwarrior Settings"

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