From: Michael Tremer <git@ipfire.org>
To: ipfire-scm@lists.ipfire.org
Subject: [git.ipfire.org] IPFire 2.x development tree branch, next, updated. 437e28f1268ba41bbbe6565cf5d097e8c640965d
Date: Wed, 24 Sep 2025 16:38:52 +0000 (UTC) [thread overview]
Message-ID: <4cX2bw5zfWz2xNn@people01.haj.ipfire.org> (raw)
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 437e28f1268ba41bbbe6565cf5d097e8c640965d (commit)
via e3e4d6fe8ab6b3e60157be3b2b08aa5fa2d05b67 (commit)
via ab628fec98da87b210e14894343fda130099314d (commit)
via 8018f729982f363bacbf53840ff0fd05e39938f8 (commit)
from af0a1f70aa0ed081b32c4f7589979a1cc19afb9a (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 437e28f1268ba41bbbe6565cf5d097e8c640965d
Author: Michael Tremer <michael.tremer@ipfire.org>
Date: Wed Sep 24 18:37:59 2025 +0200
core199: Ship the OpenVPN Authenticator
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
commit e3e4d6fe8ab6b3e60157be3b2b08aa5fa2d05b67
Author: Michael Tremer <michael.tremer@ipfire.org>
Date: Wed Sep 24 18:36:12 2025 +0200
ovpnmain.cgi: Remove the auth-nocache directive from clients
This seems to have some weird effects on Windows clients using OpenVPN
2.6.14 where username/password popup appears after one hour. Since we
don't use any real username/password authentication, we will have to
make sure that the client keeps using the fake data that we have added
to the configuration.
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
commit ab628fec98da87b210e14894343fda130099314d
Author: Michael Tremer <michael.tremer@ipfire.org>
Date: Wed Sep 24 18:34:46 2025 +0200
ovpnmain.cgi: Bring back auth-user-pass
This seems to have been unintentionally removed during the latest
OpenVPN changes.
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
commit 8018f729982f363bacbf53840ff0fd05e39938f8
Author: Michael Tremer <michael.tremer@ipfire.org>
Date: Wed Sep 24 18:30:59 2025 +0200
openvpn: Return something if the authentication is in an unknown state
Sometimes, the clients seem to be sending a PUSH_REQUEST which is not
receiving a reply from the server. That is because the authenticator
might not respond at all on the socket.
In that case, we should just aim to restart the authentication and hope
that the client will come back with something that we expected.
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
-----------------------------------------------------------------------
Summary of changes:
config/ovpn/openvpn-authenticator | 6 +++---
config/rootfiles/core/199/filelists/files | 1 +
html/cgi-bin/ovpnmain.cgi | 4 +---
3 files changed, 5 insertions(+), 6 deletions(-)
Difference in files:
diff --git a/config/ovpn/openvpn-authenticator b/config/ovpn/openvpn-authenticator
index 4341993e6d..d61c0f35ee 100644
--- a/config/ovpn/openvpn-authenticator
+++ b/config/ovpn/openvpn-authenticator
@@ -218,9 +218,9 @@ class OpenVPNAuthenticator(object):
if self._check_totp_token(token, conn.get("totp_secret")):
return self._client_auth_successful(cid, kid)
- # Restart authentication
- self._client_auth_challenge(cid, kid,
- username=common_name, password="TOTP")
+ # Restart authentication
+ self._client_auth_challenge(cid, kid,
+ username=common_name, password="TOTP")
def _client_disconnect(self, cid, environ={}):
"""
diff --git a/config/rootfiles/core/199/filelists/files b/config/rootfiles/core/199/filelists/files
index 00198bcc3e..9c54b971bb 100644
--- a/config/rootfiles/core/199/filelists/files
+++ b/config/rootfiles/core/199/filelists/files
@@ -1 +1,2 @@
srv/web/ipfire/cgi-bin/vulnerabilities.cgi
+usr/sbin/openvpn-authenticator
diff --git a/html/cgi-bin/ovpnmain.cgi b/html/cgi-bin/ovpnmain.cgi
index b63e5752cd..52261b8899 100644
--- a/html/cgi-bin/ovpnmain.cgi
+++ b/html/cgi-bin/ovpnmain.cgi
@@ -2439,10 +2439,8 @@ END
print "auth $vpnsettings{'DAUTH'}\n";
}
- # Disable storing any credentials in memory
- print "auth-nocache\n";
-
# Set a fake user name for authentication
+ print "auth-user-pass\n";
print "auth-token-user USER\n";
print "auth-token TOTP\n";
hooks/post-receive
--
IPFire 2.x development tree
reply other threads:[~2025-09-24 16:38 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4cX2bw5zfWz2xNn@people01.haj.ipfire.org \
--to=git@ipfire.org \
--cc=ipfire-scm@lists.ipfire.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox