mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
net/freeradius add require_message_authenticator client option (#4306)
It is recommended for RADIUS clients to use a message authenticator for all requests to protect against the BlastRADIUS attack. PR: https://forum.opnsense.org/index.php?topic=42094.msg207448
This commit is contained in:
committed by
Franco Fichtner
parent
8acc780ecc
commit
e0838b9ef9
@@ -1,5 +1,5 @@
|
||||
PLUGIN_NAME= freeradius
|
||||
PLUGIN_VERSION= 1.9.25
|
||||
PLUGIN_VERSION= 1.9.26
|
||||
PLUGIN_REVISION= 1
|
||||
PLUGIN_COMMENT= RADIUS Authentication, Authorization and Accounting Server
|
||||
PLUGIN_DEPENDS= freeradius3
|
||||
|
||||
@@ -15,6 +15,10 @@ The server is fast, feature-rich, modular, and scalable.
|
||||
Plugin Changelog
|
||||
================
|
||||
|
||||
1.9.26
|
||||
|
||||
* Added support for `require_message_authenticator` in client configuration (contributed by Patrick M. Hausen)
|
||||
|
||||
1.9.25
|
||||
|
||||
* Added support for remote syslog
|
||||
|
||||
+7
@@ -23,4 +23,11 @@
|
||||
<type>text</type>
|
||||
<help>Set the IP address of the remote client or the complete network like 10.10.10.0/24</help>
|
||||
</field>
|
||||
<field>
|
||||
<id>client.require_ma</id>
|
||||
<label>Require Message-Authenticator</label>
|
||||
<type>checkbox</type>
|
||||
<advanced>true</advanced>
|
||||
<help>RFC 5080 suggests that all clients should include it in an Access-Request. If the server requires it (option checked) and the client does not, then the packet will be silently discarded.</help>
|
||||
</field>
|
||||
</form>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<model>
|
||||
<mount>//OPNsense/freeradius/client</mount>
|
||||
<description>FreeRADIUS client configuration</description>
|
||||
<version>1.0.2</version>
|
||||
<version>1.0.3</version>
|
||||
<items>
|
||||
<clients>
|
||||
<client type="ArrayField">
|
||||
@@ -18,6 +18,10 @@
|
||||
<ip type="NetworkField">
|
||||
<Required>N</Required>
|
||||
</ip>
|
||||
<require_ma type="BooleanField">
|
||||
<default>0</default>
|
||||
<Required>Y</Required>
|
||||
</require_ma>
|
||||
</client>
|
||||
</clients>
|
||||
</items>
|
||||
|
||||
@@ -11,6 +11,9 @@ client "{{ client_list.name }}" {
|
||||
{% else %}
|
||||
ipaddr = {{ client_list.ip }}
|
||||
{% endif %}
|
||||
{% if client_list.require_ma == '1' %}
|
||||
require_message_authenticator = yes
|
||||
{% endif %}
|
||||
}
|
||||
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user