commit c5ecfbe3f1cb1adc4d8ad04c97a5d749dd5a3f1a Author: Michael Tremer Date: Tue Jul 15 09:57:16 2025 +0000 core197: Ship OpenVPN changes Signed-off-by: Michael Tremer commit 231f939586d8ec1d72f654175b549859e59f105b Author: Michael Tremer Date: Tue Jul 8 10:49:47 2025 +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 commit fa429bcca8f156125181667fba75b2dfd13c7281 Author: Michael Tremer Date: Tue Jul 8 10:44:30 2025 +0200 ovpnmain.cgi: Accept an empty value for ENABLED Signed-off-by: Michael Tremer commit 3bbf7b6e2919bf054af1d6c924522f889142ba91 Author: Michael Tremer Date: Tue Jul 8 10:42:36 2025 +0200 ovpnmain.cgi: Fix broken headline in N2N crypto section Signed-off-by: Michael Tremer commit eed199788837a54f739d567afe225abe02b0012f Author: Michael Tremer Date: Tue Jul 8 10:38:44 2025 +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 commit 56400c89b82ecde90befe4fdda1027cfca707f03 Author: Adolf Belka Date: Mon Jun 30 11:00:30 2025 +0200 services.cgi: Openvpn-2.6 rebase fix pid name for services page Signed-off-by: Adolf Belka Signed-off-by: Michael Tremer commit 5aebc354310a6cc3b9e9ade5cba02e151c1e6756 Author: Michael Tremer Date: Mon Jun 30 10:41:35 2025 +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 Signed-off-by: Michael Tremer commit 8ff821076e5bd610e747fef4b5c32eae3e744021 Author: Michael Tremer Date: Thu Jun 19 16:49:22 2025 +0200 ovpnmain.cgi: Accept empty input for ENABLED Signed-off-by: Michael Tremer commit 8e58e852163e636f4edf99a6c6419a8e3330113a Author: Stefan Schantl Date: Thu Jun 19 16:47:50 2025 +0200 ovpnmain.cgi: Make checkboxes unselectable Signed-off-by: Michael Tremer commit 07c05baff8f4c76d00dcbe9d6a120330131bb4ea Author: Michael Tremer Date: Tue Jun 3 17:04:50 2025 +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 commit 3a9b321e3afc6cdbc0eb355d626f2a8fe8db3ce3 Author: Michael Tremer Date: Tue Jun 3 16:21:12 2025 +0200 ovpnmain.cgi: Fix reading the current status file again Signed-off-by: Michael Tremer commit 829d3f4f617c6bfcb2de7a178a171dec7a28a49f Author: Michael Tremer Date: Tue Jun 3 16:10:53 2025 +0200 ovpnmain.cgi: Remove more dead code Signed-off-by: Michael Tremer commit ed66fe66298734b0ecde91ff478eb814f8b0a099 Author: Michael Tremer Date: Tue Jun 3 16:08:45 2025 +0200 ovpnmain.cgi: Fix path to the RW PID file Signed-off-by: Michael Tremer commit 26034a80ffbaafcb78e6514868159a561594cf1f Author: Michael Tremer Date: Tue Jun 3 16:06:03 2025 +0200 ovpnmain.cgi: Use the helper binary to read the status log Signed-off-by: Michael Tremer commit ffe75e4767846f72bac49db6a2ba7274905d8d9d Author: Michael Tremer Date: Tue Jun 3 12:44:33 2025 +0200 ovpnmain.cgi: Log a better message if the RW log file could not be opened Signed-off-by: Michael Tremer commit 5f00c4dd53f403a8fd9c1f044ab1edd21a11a75d Author: Michael Tremer Date: Tue Jun 3 12:40:38 2025 +0200 ovpnmain.cgi: Tell the server the subnet in the old-fashioned way Signed-off-by: Michael Tremer commit 805eb6c1d6244887301fdc5414fafac420404a44 Author: Michael Tremer Date: Tue Jun 3 12:33:44 2025 +0200 ovpnmain.cgi: Remove some dead code This prevented creating new connections and was never being used at all. Signed-off-by: Michael Tremer commit 657998956d6ac7943d3ff3f6a9c65111bb3dcba6 Author: Michael Tremer Date: Tue Jun 3 12:27:28 2025 +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 commit 693a13928d95fa3e6d73c841f70b4f3eec9d78e8 Author: Michael Tremer Date: Tue Jun 3 12:25:38 2025 +0200 CSS: Fix merge error Signed-off-by: Michael Tremer commit 6d1abf3856ce9908089662cd35552f74ebafb941 Author: Michael Tremer Date: Tue Jun 3 09:27:03 2025 +0000 openvpn: Update to 2.6.14 Signed-off-by: Michael Tremer commit 956a69fdbeefbb681b3f6a76d3aedaae4f6d1539 Author: Adolf Belka Date: Sun Dec 8 12:23:30 2024 +0100 openvpn: Update to version 2.6.12 Signed-off-by: Adolf Belka Signed-off-by: Michael Tremer commit c5c19b5e0cee738a9adae9805133725b5f181892 Author: Michael Tremer Date: Tue Apr 16 15:03:13 2024 +0200 ovpnmain.cgi: Implement a better way to set defaults Signed-off-by: Michael Tremer commit 77e2d1bfc81072d6958d709e083aad480ded1814 Author: Michael Tremer Date: Tue Apr 16 14:18:39 2024 +0200 ovpnmain.cgi: Load the main settings just once Signed-off-by: Michael Tremer commit 3c508e008fc3b1395123d4e4a57b6a4a18c27041 Author: Michael Tremer Date: Tue Apr 16 14:13:32 2024 +0200 ovpnmain.cgi: Use the same hash for the configuration like everywhere else Signed-off-by: Michael Tremer commit 5acb54c2679e8140372f56de2078463c2467ecff Author: Michael Tremer Date: Tue Apr 16 14:01:31 2024 +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 commit eb1b0ed1bf60f211d1f7da446542680f7f07e1c1 Author: Michael Tremer Date: Tue Apr 16 14:00:35 2024 +0200 openvpn-rw: Use a sensible name for the PID file Signed-off-by: Michael Tremer commit 1b59f600e04aebd812026a4870fab2b7dd91043e Author: Michael Tremer Date: Tue Apr 16 13:58:47 2024 +0200 ovpnmain.cgi: Give the status log a more sensible name Signed-off-by: Michael Tremer commit e85939b2e0a9d6dd8522384459549452e4ee45fb Author: Michael Tremer Date: Tue Apr 16 13:25:30 2024 +0200 ovpnmain.cgi: Explicitly notify clients that the server is going down Signed-off-by: Michael Tremer commit 0ad27c8f9a59c171319d14b958fca6ecd6b43023 Author: Michael Tremer Date: Tue Apr 16 13:20:02 2024 +0200 i18n: Update note on the file format of the OpenVPN client configuration Signed-off-by: Michael Tremer commit d447db574723bcf98b2655e1b24af58e1be45ab1 Author: Michael Tremer Date: Thu Apr 11 22:29:09 2024 +0200 ovpnmain.cgi: Refactor top table of adding/creating connections Signed-off-by: Michael Tremer commit 3b100d3ad98ed5c51b2cccb8c050f5c798cf1a83 Author: Michael Tremer Date: Thu Apr 11 22:15:51 2024 +0200 ovpnmain.cgi: Remove yet another "if (1)" statement Signed-off-by: Michael Tremer commit 599e85983e63ff933f7d7a621a101f0af5729b60 Author: Michael Tremer Date: Thu Apr 11 22:10:23 2024 +0200 ovpnmain.cgi: Refactor connection statistics page No functional changes Signed-off-by: Michael Tremer commit ea1a3a5afa75a402d13705627ddd16bce096a802 Author: Michael Tremer Date: Thu Apr 11 21:42:16 2024 +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 commit 0fc1af8a4adfa93685808e4ddf1a2be4c03ecb76 Author: Michael Tremer Date: Thu Apr 11 21:40:55 2024 +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 commit 8f3b80cc4cb650b0ac49dca10ee441aeaef7338f Author: Michael Tremer Date: Thu Apr 11 21:24:22 2024 +0200 ovpnmain.cgi: Fix spacing in client configuration file Signed-off-by: Michael Tremer commit 3aec750ad797be05abee92044d90c2cbfb0e0a8e Author: Michael Tremer Date: Thu Apr 11 21:22:15 2024 +0200 ovpnmain.cgi: Use LF only without CR for config files Fixes: #13355 Signed-off-by: Michael Tremer commit b13fb3dfc4ee6bdafe1ea3b38418f01fb6d90ddb Author: Michael Tremer Date: Thu Apr 11 21:20:01 2024 +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 commit c98529a671cb519e8dfb09d922cd20fdac398de5 Author: Michael Tremer Date: Thu Apr 11 21:12:54 2024 +0200 ovpnmain.cgi: Remove the "insecure" client package Signed-off-by: Michael Tremer commit c5d891d672ede1eda988f931977bbf408a1ddccc Author: Michael Tremer Date: Thu Apr 11 21:02:33 2024 +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 commit 57f95cc2ea0f06336f2c0cbad5d65cb57ae3dab1 Author: Michael Tremer Date: Wed Apr 10 17:49:01 2024 +0200 ovpnmain.cgi: Reindent generating the client configuration There are no functional changes. Signed-off-by: Michael Tremer commit 2649f62b5336d32725e4d5e2e0ad8972daefdca2 Author: Michael Tremer Date: Wed Apr 10 17:14:07 2024 +0200 ovpnmain.cgi: Refactor CCD pool configuration Signed-off-by: Michael Tremer commit 0bc717f598bbe9a3fa66a05ec8af76baf36c703d Author: Michael Tremer Date: Wed Apr 10 15:52:06 2024 +0200 ovpnmain.cgi: Remove code to restart a connection This could not be triggered. Signed-off-by: Michael Tremer commit 5b41f47b8ee302b86295aa5a3917037c6ab05fd3 Author: Michael Tremer Date: Wed Apr 10 15:43:32 2024 +0200 ovpnmain.cgi: Refactor the connection listing Signed-off-by: Michael Tremer commit 6aff5b8104cc55d36b2446c328cb74f821b76ecb Author: Michael Tremer Date: Wed Apr 10 14:11:27 2024 +0200 ovpnmain.cgi: Enable legacy provider for auths, too Signed-off-by: Michael Tremer commit 2271d043c4d62eb30876b60aec8f1150e8897ffa Author: Michael Tremer Date: Wed Apr 10 14:03:30 2024 +0200 ovpnmain.cgi: Load the OpenSSL legacy provider if required Signed-off-by: Michael Tremer commit 460942d7ed28ebf8c7727faa6321b63ee1c56964 Author: Michael Tremer Date: Wed Apr 10 12:55:47 2024 +0200 ovpnmain.cgi: Move "ROUTE_PUSH" settings into the main settings file Signed-off-by: Michael Tremer commit b4b89379ab94eff031b0b02253fe027897861122 Author: Michael Tremer Date: Wed Apr 10 12:34:45 2024 +0200 ovpnmain.cgi: Fix checking custom routes Signed-off-by: Michael Tremer commit 29097cef3ffc786a7b1ef3d99ae6f9e0f43f2f55 Author: Michael Tremer Date: Tue Apr 9 19:49:30 2024 +0200 ovpnmain.cgi: Reload the server after changing advanced settings Signed-off-by: Michael Tremer commit e3834fd8376e7a00be156549bf6c7b7ea710ffa4 Author: Michael Tremer Date: Tue Apr 9 19:45:45 2024 +0200 ovpnmain.cgi: Remove more unused variables Signed-off-by: Michael Tremer commit c71aa190c8b571f98bfede8e0c96a67e5fcb8a03 Author: Michael Tremer Date: Tue Apr 9 19:41:59 2024 +0200 ovpnmain.cgi: Refactor the entire advanced settings page There are no functional changes. Signed-off-by: Michael Tremer