<?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[[Freeradius  - 0.15.10_1] Need pagination enabled for the user page]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">I've created 15000 users in the /cf/conf/config.xml and this is working fine.</p>
<p dir="auto">However the cheer amount of user causes the browser to crash, so would it be possible to implement pagination on the user page ?</p>
<p dir="auto">thanks,</p>
]]></description><link>https://forum.netgate.com/topic/185735/freeradius-0-15-10_1-need-pagination-enabled-for-the-user-page</link><generator>RSS for Node</generator><lastBuildDate>Sun, 07 Jun 2026 10:59:52 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/185735.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 24 Jan 2024 12:09:57 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to [Freeradius  - 0.15.10_1] Need pagination enabled for the user page on Fri, 02 Feb 2024 14:16:32 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/gertjan">@<bdi>Gertjan</bdi></a> thanks for all the work done above.</p>
<p dir="auto">You are absolutely right this was an oversight on our side and yes we've decided, as per the same analytical process you went through, to use SQL as a back end instead of files and ditching pfsense altogether.</p>
<p dir="auto">The appeal of pfsense was that it is almost he only decent GUI to manage freeradius which help with the adoption internally.</p>
<p dir="auto">Thanks a lot for the reply.</p>
]]></description><link>https://forum.netgate.com/post/1150710</link><guid isPermaLink="true">https://forum.netgate.com/post/1150710</guid><dc:creator><![CDATA[izanatos]]></dc:creator><pubDate>Fri, 02 Feb 2024 14:16:32 GMT</pubDate></item><item><title><![CDATA[Reply to [Freeradius  - 0.15.10_1] Need pagination enabled for the user page on Wed, 24 Jan 2024 15:55:20 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/izanatos">@<bdi>izanatos</bdi></a> said in <a href="/post/1149365">[Freeradius - 0.15.10_1] Need pagination enabled for the user page</a>:</p>
<blockquote>
<p dir="auto">However the cheer amount of user causes the browser to crash, so would it be possible to implement pagination on the user page ?</p>
</blockquote>
<p dir="auto">I've been looking myself for another solution.<br />
I'm using a MySQL (Mariadb) server for the Freeradius "scratch pad" needs.<br />
What about not using a flat text file use by Freeradius, created by pfSense upon FreeRadius start (actually User page config page save) : /usr/local/etc/raddb/mods-config/files/authorize, but a database table, already present on the MySQL server ?<br />
This way I can use phpmyadmin or whatever other tool to add/modify/remove my captive portal user list, just by modifying the user table.</p>
<p dir="auto">For a "15000" users list this would be far easier to handle them in a database. Your pfSense config.xml is probably also rather big.</p>
<p dir="auto">Have a loo at the 'master' config file : /usr/local/etc/raddb/sites-enabled/default - the keyword 'files' in the section "authorize" handles the authorization.<br />
The database (in my case) is only used for accounting, like start (and eventually stop) and quantity of byres send/received.</p>
<hr />
<p dir="auto">I did some testing.<br />
Condition : you should already have a MySQL database set up for FreeRadius usage.</p>
<p dir="auto">First : some reading : <a href="https://wiki.freeradius.org/guide/sql-howto" target="_blank" rel="noopener noreferrer nofollow ugc">guide/SQL HOWTO</a><br />
Looks like it isn't rocket science after all <img src="https://forum.netgate.com/assets/plugins/nodebb-plugin-emoji/emoji/android/1f60a.png?v=717669fab53" class="not-responsive emoji emoji-android emoji--blush" style="height:23px;width:auto;vertical-align:middle" title=":blush:" alt="😊" /></p>
<p dir="auto">I've created these 3 test users, to be entered in the "radcheck" table  :</p>
<p dir="auto"><img src="/assets/uploads/files/1706110395740-bd8bb1eb-b7da-439d-9841-dff75c0fa385-image.png" alt="bd8bb1eb-b7da-439d-9841-dff75c0fa385-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Some more settings in the "radreply" table :</p>
<p dir="auto"><img src="/assets/uploads/files/1706110484377-b85c01e3-ec64-47aa-94cf-6eebe82575f4-image.png" alt="b85c01e3-ec64-47aa-94cf-6eebe82575f4-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Let's fool around with the /usr/local/etc/raddb/sites-enabled/default file. For this to happen, edit<br />
/usr/local/pkg/freeradius.inc<br />
and lcoate all the "files" :<br />
line 1466 - change it for :</p>
<pre><code>## files
</code></pre>
<p dir="auto">Same for line 1577 and line 2202.<br />
Maybe also 2268, but I didn't change that one.<br />
=&gt;That's all that needs to be done, you'll see.</p>
<p dir="auto">Now, goto Services &gt; FreeRADIUS &gt; Settings and without changing anything, save the settings.<br />
I've checked my /usr/local/etc/raddb/sites-enabled/default - the "files" were now prepended with "##".<br />
I stopped FreeRadius on the pfSense dashboard ( ! )<br />
I opened a SSH access, and fired freeradius up manually, in debug mode</p>
<pre><code>radiusd -X
</code></pre>
<p dir="auto">In another SSH session, I used "<a href="https://wiki.freeradius.org/guide/Radtest" target="_blank" rel="noopener noreferrer nofollow ugc">radtest</a>"</p>
<p dir="auto">Take note : radius is my secret key as set up in the pfSense Freeradius settings. Please don't tell no one.</p>
<pre><code>[23.09.1-RELEASE][root@pfSense.bhf.net]/root: radtest 001 climat 192.168.2.1 10 radius
Sent Access-Request Id 169 from 0.0.0.0:10f8 to 192.168.2.1:1812 length 73
        User-Name = "001"
        User-Password = "climat"
        NAS-IP-Address = 192.168.1.1
        NAS-Port = 10
        Message-Authenticator = 0x00
        Cleartext-Password = "climat"
Received Access-Accept Id 169 from 192.168.2.1:714 to 192.168.2.1:4344 length 26
        Acct-Interim-Interval = 600
</code></pre>
<p dir="auto">I got a "Access-Accept" back !! and the returned value for  "Acct-Interim-Interval" is "600".</p>
<p dir="auto">This is very promising !</p>
<p dir="auto">More changes are most probably needed, as it can't be that easy...</p>
<p dir="auto">My FreeRadius wasn't using the pfSense GUI FreeRadius Users page !</p>
<p dir="auto">I'm still wondering how you managed to maintain 15000 users on that pfSense Freeradius Users page.<br />
That must have been painful. You never wondered how to make the system work for you ?? Or work for you with more comfort ? These things are machines, you need to tell them what to do for you <img src="https://forum.netgate.com/assets/plugins/nodebb-plugin-emoji/emoji/android/1f60a.png?v=717669fab53" class="not-responsive emoji emoji-android emoji--blush" style="height:23px;width:auto;vertical-align:middle" title=":blush:" alt="😊" /></p>
]]></description><link>https://forum.netgate.com/post/1149430</link><guid isPermaLink="true">https://forum.netgate.com/post/1149430</guid><dc:creator><![CDATA[Gertjan]]></dc:creator><pubDate>Wed, 24 Jan 2024 15:55:20 GMT</pubDate></item><item><title><![CDATA[Reply to [Freeradius  - 0.15.10_1] Need pagination enabled for the user page on Wed, 24 Jan 2024 14:16:53 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/izanatos">@<bdi>izanatos</bdi></a> Pop in a request here:-</p>
<p dir="auto">https://redmine.pfsense.org/</p>
]]></description><link>https://forum.netgate.com/post/1149392</link><guid isPermaLink="true">https://forum.netgate.com/post/1149392</guid><dc:creator><![CDATA[NogBadTheBad]]></dc:creator><pubDate>Wed, 24 Jan 2024 14:16:53 GMT</pubDate></item></channel></rss>