In the clients.conf file is it possible to make custom variables and then test for those/match them in the users file? <br><br>What I'd like to do is create a variable called vendorname and use that to dictate what stub in the users file gets hit depending on the make/platform of the equipment in question, and then further filter that using huntgroups. <br>
<br><br>Can anyone tell me if any of that is possible? <br clear="all"><br><br>Cheers<br>Cam. <br>--<br><br><br><br><br><br>
<br><br><div class="gmail_quote">On Thu, Sep 23, 2010 at 09:16, Cameron Wood <span dir="ltr"><<a href="mailto:cameron.e.wood@gmail.com">cameron.e.wood@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Thanks for the reply. <br><br>Resigned to the fact that I will have to distinguish my vendors/devices in the clients.conf file, is there a way in this file to put multiple hosts in a single statement, other than by using a netmask? <br clear="all">
<br><br>Cheers<br>Cam. <br><font color="#888888">--</font><div><div></div><div class="h5"><br><br><br><br>
<br><br><div class="gmail_quote">On Wed, Sep 22, 2010 at 17:46, Phil Mayers <span dir="ltr"><<a href="mailto:p.mayers@imperial.ac.uk" target="_blank">p.mayers@imperial.ac.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div>On 09/22/2010 08:12 AM, Cameron Wood wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Does Freeradius have a way for me to see the packet sent to it?<br>
<br>
I've already tried running it with the -X flag, but that isn't showing<br>
enough detail.<br>
</blockquote>
<br></div>
That's all the detail there is. FreeRadius shows the full packet as it is received; what more should it show?<br>
<br>
In answer to your question, no, most NASes don't send a vendor ID. Sometimes they send VSAs, so you can infer the vendor from those, but other times you'll get near-identical requests from two different NASes, and if you want to tell them apart (so that you know which one to send VSAa back to) you have to use different "clients {}" blocks and go from there.<br>
<br>
It's a shame the original radius specs didn't include a vendor ID, but that can be said about a lot of attributes - it's an old (venerable) protocol.<div><div></div><div><br>
-<br>
List info/subscribe/unsubscribe? See <a href="http://www.freeradius.org/list/users.html" target="_blank">http://www.freeradius.org/list/users.html</a><br>
</div></div></blockquote></div><br>
</div></div></blockquote></div><br>