<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Latest Radius server on Synology NAS no longer working with PFSense]]></title><description><![CDATA[<p dir="auto">Hi,<br />
since the last update on my Synology Nas I'm no longer able to login to my PFSense using my domain account.<br />
I can see that the class attributes are set (using Wireshark) but the PFSense told me that there are no class attribute is set.<br />
Is there a way to debug that function in PFSense to see where the problem is? (I don't see any problems in the logs from PFSense)<br />
Or maybe this is the wrong subtree in this forum and someone can help me where I can ask for help. Thx for you help.<br />
Cheers<br />
Marco</p>
]]></description><link>https://forum.netgate.com/topic/175634/latest-radius-server-on-synology-nas-no-longer-working-with-pfsense</link><generator>RSS for Node</generator><lastBuildDate>Mon, 13 Apr 2026 08:02:20 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/175634.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 02 Nov 2022 11:37:31 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Latest Radius server on Synology NAS no longer working with PFSense on Fri, 04 Nov 2022 18:10:32 GMT]]></title><description><![CDATA[<p dir="auto">Ooof! Nice catch. <img src="https://forum.netgate.com/assets/plugins/nodebb-plugin-emoji/emoji/android/1f44d.png?v=d0a5ddc94ac" class="not-responsive emoji emoji-android emoji--+1" style="height:23px;width:auto;vertical-align:middle" title=":+1:" alt="👍" /></p>
]]></description><link>https://forum.netgate.com/post/1069421</link><guid isPermaLink="true">https://forum.netgate.com/post/1069421</guid><dc:creator><![CDATA[stephenw10]]></dc:creator><pubDate>Fri, 04 Nov 2022 18:10:32 GMT</pubDate></item><item><title><![CDATA[Reply to Latest Radius server on Synology NAS no longer working with PFSense on Fri, 04 Nov 2022 11:43:44 GMT]]></title><description><![CDATA[<p dir="auto">Ok, found the problem. Synology is now sending the Groupe name in CamelCase.<br />
In the past the Groupe name was lowercase and the check in PFSense is case sensitive.<br />
<img src="https://forum.netgate.com/assets/plugins/nodebb-plugin-emoji/emoji/android/1f926.png?v=d0a5ddc94ac" class="not-responsive emoji emoji-android emoji--face_palm" style="height:23px;width:auto;vertical-align:middle" title=":face_palm:" alt="🤦" /><br />
Cheers<br />
Marco</p>
]]></description><link>https://forum.netgate.com/post/1069374</link><guid isPermaLink="true">https://forum.netgate.com/post/1069374</guid><dc:creator><![CDATA[MarcO42]]></dc:creator><pubDate>Fri, 04 Nov 2022 11:43:44 GMT</pubDate></item><item><title><![CDATA[Reply to Latest Radius server on Synology NAS no longer working with PFSense on Thu, 03 Nov 2022 15:48:48 GMT]]></title><description><![CDATA[<p dir="auto">Ok, just found that there is a function in: /src/etc/inc/auth.inc<br />
that called<br />
function radius_get_groups($attributes) witch handled the attributes.<br />
Here is the code:</p>
<pre><code>function radius_get_groups($attributes) {
	$groups = array();
	if (!empty($attributes) &amp;&amp; is_array($attributes) &amp;&amp; (!empty($attributes['class']) || !empty($attributes['class_int']))) {
		/* Some RADIUS servers return multiple class attributes, so check them all. */
		$groups = array();
		if (!empty($attributes['class']) &amp;&amp; is_array($attributes['class'])) {
			foreach ($attributes['class'] as $class) {
				$groups = array_unique(array_merge($groups, explode(";", $class)));
			}
		}

		foreach ($groups as &amp; $grp) {
			$grp = trim($grp);
			if (strtolower(substr($grp, 0, 3)) == "ou=") {
				$grp = substr($grp, 3);
			}
		}
	}
	return $groups;
}
</code></pre>
<p dir="auto">I would like to debug this one and log all attributes like this</p>
<pre><code>foreach ($attributes as $att) {
	log_auth(sprintf(gettext('Attribute: '), $att));
}
</code></pre>
<p dir="auto">But this shows me only this:</p>
<p dir="auto">Nov 3 16:35:45 router php-fpm[5433]: /diag_authentication.php: Attribute:<br />
Nov 3 16:35:45 router php-fpm[5433]: /diag_authentication.php: Attribute:<br />
Nov 3 16:35:45 router php-fpm[5433]: /diag_authentication.php: Attribute:<br />
Nov 3 16:35:45 router php-fpm[5433]: /diag_authentication.php: Attribute:<br />
Nov 3 16:35:45 router php-fpm[5433]: /diag_authentication.php: Attribute:<br />
Nov 3 16:35:45 router php-fpm[5433]: /diag_authentication.php: Attribute:</p>
<p dir="auto">So maybe someone can help me with this, please?</p>
<p dir="auto">Btw. I'm sure that there are attributes:<br />
<img src="/assets/uploads/files/1667490056597-51c9d72f-c62b-4051-a190-6468c8d5dbb0-grafik.png" alt="51c9d72f-c62b-4051-a190-6468c8d5dbb0-grafik.png" class=" img-fluid img-markdown" /><br />
Cheers<br />
Marco</p>
]]></description><link>https://forum.netgate.com/post/1069253</link><guid isPermaLink="true">https://forum.netgate.com/post/1069253</guid><dc:creator><![CDATA[MarcO42]]></dc:creator><pubDate>Thu, 03 Nov 2022 15:48:48 GMT</pubDate></item><item><title><![CDATA[Reply to Latest Radius server on Synology NAS no longer working with PFSense on Wed, 02 Nov 2022 16:10:19 GMT]]></title><description><![CDATA[<p dir="auto">Ok, I can see that the class attribute is there...like in wireshark....but do you have any idea how I can figure out why PFSense don't show them when I try to test it with<br />
Diagnostics -&gt; Authentication<br />
There I only see that<br />
User xxx authenticated successfully. This user is a member of groups:</p>
<p dir="auto">and the group resonse is empty.<br />
Somthing must fail on PFSense side...but nothing is in the logs.</p>
]]></description><link>https://forum.netgate.com/post/1069021</link><guid isPermaLink="true">https://forum.netgate.com/post/1069021</guid><dc:creator><![CDATA[MarcO42]]></dc:creator><pubDate>Wed, 02 Nov 2022 16:10:19 GMT</pubDate></item><item><title><![CDATA[Reply to Latest Radius server on Synology NAS no longer working with PFSense on Wed, 02 Nov 2022 15:24:38 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/marco42">@<bdi>marco42</bdi></a> said in <a href="/post/1069013">Latest Radius server on Synology NAS no longer working with PFSense</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/nogbadthebad">@<bdi>nogbadthebad</bdi></a> said in <a href="/post/1068989">Latest Radius server on Synology NAS no longer working with PFSense</a>:</p>
<blockquote>
<p dir="auto">radsniff</p>
</blockquote>
<p dir="auto">this is not available on Synology NAS :(</p>
</blockquote>
<p dir="auto">Try changing to the following directory and running it there:-</p>
<p dir="auto"><span style="color:#ff2600">/var/packages/RadiusServer/target/bin</span></p>
<p dir="auto">Its there when I installed Radius on my DS1821+ running DSM 7.1.1-42962 Update 2.</p>
]]></description><link>https://forum.netgate.com/post/1069014</link><guid isPermaLink="true">https://forum.netgate.com/post/1069014</guid><dc:creator><![CDATA[NogBadTheBad]]></dc:creator><pubDate>Wed, 02 Nov 2022 15:24:38 GMT</pubDate></item><item><title><![CDATA[Reply to Latest Radius server on Synology NAS no longer working with PFSense on Wed, 02 Nov 2022 15:08:05 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/nogbadthebad">@<bdi>nogbadthebad</bdi></a> said in <a href="/post/1068989">Latest Radius server on Synology NAS no longer working with PFSense</a>:</p>
<blockquote>
<p dir="auto">radsniff</p>
</blockquote>
<p dir="auto">this is not available on Synology NAS :(</p>
]]></description><link>https://forum.netgate.com/post/1069013</link><guid isPermaLink="true">https://forum.netgate.com/post/1069013</guid><dc:creator><![CDATA[MarcO42]]></dc:creator><pubDate>Wed, 02 Nov 2022 15:08:05 GMT</pubDate></item><item><title><![CDATA[Reply to Latest Radius server on Synology NAS no longer working with PFSense on Wed, 02 Nov 2022 14:58:34 GMT]]></title><description><![CDATA[<p dir="auto">Hi Andy,<br />
many thx. I can try this.<br />
Please don't missunderstand me. I managed it to work in the past and my class string look like:<br />
Domain Users;Users_R;Domain Admins;Denied RODC Password Replication Group;Users_RW;PfSenseGroup</p>
<p dir="auto">and I had added PfSenseGroup to PFSense.<br />
After the last update of my Synology I can see that same class string in the radius response but the PFSense show that the asuthentication works but don't show goups.<br />
Strange thing is that I didn't see any parsing error or any other authentacing error in the logs of the PFSense.<br />
Cheers<br />
Marco</p>
]]></description><link>https://forum.netgate.com/post/1069011</link><guid isPermaLink="true">https://forum.netgate.com/post/1069011</guid><dc:creator><![CDATA[MarcO42]]></dc:creator><pubDate>Wed, 02 Nov 2022 14:58:34 GMT</pubDate></item><item><title><![CDATA[Reply to Latest Radius server on Synology NAS no longer working with PFSense on Wed, 02 Nov 2022 14:38:45 GMT]]></title><description><![CDATA[<p dir="auto">I have Additional RADIUS Attributes (REPLY-ITEM) set to:-</p>
<p dir="auto"><span style="color:#ff2600">Class := "admins",|Service-Type := "Administrative-User"</span></p>
<p dir="auto">Class := "admins" is used for pfSense and Service-Type := "Administrative-User" is used for my Linksys switches, I'm using freeRadius on my pfsense box.</p>
<p dir="auto">The odd thing is pfSense wouldn't have worked previously if the Class missing, maybe Sinology have mangled the data being returned to pfSense.</p>
]]></description><link>https://forum.netgate.com/post/1069000</link><guid isPermaLink="true">https://forum.netgate.com/post/1069000</guid><dc:creator><![CDATA[NogBadTheBad]]></dc:creator><pubDate>Wed, 02 Nov 2022 14:38:45 GMT</pubDate></item><item><title><![CDATA[Reply to Latest Radius server on Synology NAS no longer working with PFSense on Wed, 02 Nov 2022 14:17:17 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/marco42">@<bdi>marco42</bdi></a> Does the radsniff command exist in your nas ?</p>
<p dir="auto"><s>If it does invoke run <span style="color:#e32400">radsniff -x</span> and try and connect to your pfsense box it might give you some clues to why its failing.</s></p>
<p dir="auto">Just installed the package and radsniff is in the /var/packages/RadiusServer/target/bin directory.</p>
<p dir="auto">andy@nas:/var/packages/RadiusServer/target/bin$ ./radsniff -help<br />
Usage: radsniff [options][stats options] -- [pcap files]<br />
options:<br />
-a                    List all interfaces available for capture.<br />
-c &lt;count&gt;            Number of packets to capture.<br />
-C                    Enable UDP checksum validation.<br />
-d &lt;directory&gt;        Set dictionary directory.<br />
-d &lt;raddb&gt;            Set configuration directory (defaults to /var/packages/RadiusServer/target/etc/raddb).<br />
-D &lt;dictdir&gt;          Set main dictionary directory (defaults to /var/packages/RadiusServer/target/share/freeradius).<br />
-e &lt;event&gt;[,&lt;event&gt;]  Only log requests with these event flags.<br />
Event may be one of the following:<br />
- received - a request or response.<br />
- norsp    - seen for a request.<br />
- rtx      - of a request that we've seen before.<br />
- noreq    - could be matched with the response.<br />
- reused   - ID too soon.<br />
- error    - decoding the packet.<br />
-f &lt;filter&gt;           PCAP filter (default is 'udp port &lt;port&gt; or &lt;port + 1&gt; or 3799')<br />
-h                    This help message.<br />
-i &lt;interface&gt;        Capture packets from interface (defaults to all if supported).<br />
-I &lt;file&gt;             Read packets from file (overrides input of -F).<br />
-l &lt;attr&gt;[,&lt;attr&gt;]    Output packet sig and a list of attributes.<br />
-L &lt;attr&gt;[,&lt;attr&gt;]    Detect retransmissions using these attributes to link requests.<br />
-m                    Don't put interface(s) into promiscuous mode.<br />
-p &lt;port&gt;             Filter packets by port (default is 1812).<br />
-P &lt;pidfile&gt;          Daemonize and write out &lt;pidfile&gt;.<br />
-q                    Print less debugging information.<br />
-r &lt;filter&gt;           RADIUS attribute request filter.<br />
-R &lt;filter&gt;           RADIUS attribute response filter.<br />
-s &lt;secret&gt;           RADIUS secret.<br />
-S                    Write PCAP data to stdout.<br />
-v                    Show program version information.<br />
-w &lt;file&gt;             Write output packets to file.<br />
-x                    Print more debugging information.<br />
stats options:<br />
-W &lt;interval&gt;         Periodically write out statistics every &lt;interval&gt; seconds.<br />
-T &lt;timeout&gt;          How many milliseconds before the request is counted as lost (defaults to 5200).</p>
<p dir="auto">Andy@nas:/var/packages/RadiusServer/target/bin$ ./radsniff -a<br />
1.eth0<br />
2.ovs_eth0<br />
3.docker0<br />
4.eth1<br />
5.ovs_eth1<br />
6.docker6d4825c<br />
7.lo<br />
8.any<br />
9.eth2<br />
10.ovs_eth2<br />
11.eth3<br />
12.ovs_eth3<br />
13.nflog<br />
14.nfqueue<br />
15.dbus-system<br />
16.dbus-session<br />
17.sit0<br />
18.ovs-system</p>
<p dir="auto">You'll need to <span style="color:#ff2600">su</span> to run it.</p>
]]></description><link>https://forum.netgate.com/post/1068989</link><guid isPermaLink="true">https://forum.netgate.com/post/1068989</guid><dc:creator><![CDATA[NogBadTheBad]]></dc:creator><pubDate>Wed, 02 Nov 2022 14:17:17 GMT</pubDate></item></channel></rss>