public inbox for ipfire-scm@lists.ipfire.org
 help / color / mirror / Atom feed
* [git.ipfire.org] IPFire 2.x development tree branch, next, updated. 1bf8788ff466d9c4f261c3979bc5924ecaa85fc0
@ 2025-05-12 17:11 Michael Tremer
  0 siblings, 0 replies; only message in thread
From: Michael Tremer @ 2025-05-12 17:11 UTC (permalink / raw)
  To: ipfire-scm

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "IPFire 2.x development tree".

The branch, next has been updated
       via  1bf8788ff466d9c4f261c3979bc5924ecaa85fc0 (commit)
      from  a62e10de4a55883f5377c12f35df321dab7f5614 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 1bf8788ff466d9c4f261c3979bc5924ecaa85fc0
Author: Michael Tremer <michael.tremer@ipfire.org>
Date:   Mon May 12 17:08:18 2025 +0000

    OpenVPN: Add auth-user-pass to the client configuration
    
    Since we are doing a fake user authentication to get 2FA going, we need
    to explicitley enable this. Usually clients were happy without this, but
    somewhere it must have changed recently that clients require this set
    explicitely.
    
    Fixes: #13109 - openVPN, 2FA - client does not ask for One Time Token
    Reported-by: Heino Gutschmidt <heino.gutschmidt@managedhosting.de>
    Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>

-----------------------------------------------------------------------

Summary of changes:
 config/rootfiles/core/196/filelists/files | 1 +
 html/cgi-bin/ovpnmain.cgi                 | 1 +
 2 files changed, 2 insertions(+)

Difference in files:
diff --git a/config/rootfiles/core/196/filelists/files b/config/rootfiles/core/196/filelists/files
index 70a9b7cfc..1be17a342 100644
--- a/config/rootfiles/core/196/filelists/files
+++ b/config/rootfiles/core/196/filelists/files
@@ -1,2 +1,3 @@
+srv/web/ipfire/cgi-bin/ovpnmain.cgi
 srv/web/ipfire/cgi-bin/pakfire.cgi
 var/ipfire/langs/list
diff --git a/html/cgi-bin/ovpnmain.cgi b/html/cgi-bin/ovpnmain.cgi
index 20f256f4b..92a72d753 100644
--- a/html/cgi-bin/ovpnmain.cgi
+++ b/html/cgi-bin/ovpnmain.cgi
@@ -2326,6 +2326,7 @@ else
     print CLIENTCONF "auth-nocache\r\n";
 
     # Set a fake user name for authentication
+    print CLIENTCONF "auth-user-pass\r\n";
     print CLIENTCONF "auth-token-user USER\r\n";
     print CLIENTCONF "auth-token TOTP\r\n";
 


hooks/post-receive
--
IPFire 2.x development tree


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2025-05-12 17:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-05-12 17:11 [git.ipfire.org] IPFire 2.x development tree branch, next, updated. 1bf8788ff466d9c4f261c3979bc5924ecaa85fc0 Michael Tremer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox