Discussion:
DB valid fields
Stephen
2018-10-19 21:38:11 UTC
Permalink
So I'm using freeradius with postgresql and eap-tls. I would love to
know where the documentation for the acceptable radreply entries is. The
closest thing to documentation that I've found has been:
https://wiki.freeradius.org/guide/SQL-HOWTO#populating-sql

Aside from the limited and anecdotal references found there to fields
like `Framed-IP-Address`, where can I find a comprehensive accounting of
the attributes and values I can leverage in my radreply table? 

Thanks in advance!

-
List info/subscribe/uns
Matthew Newton
2018-10-19 21:41:50 UTC
Permalink
Post by Stephen
Aside from the limited and anecdotal references found there to fields
like `Framed-IP-Address`, where can I find a comprehensive accounting of
the attributes and values I can leverage in my radreply table?
Check with your NAS vendor what the NAS accepts.
--
Matthew

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/
Stephen
2018-10-19 21:44:59 UTC
Permalink
I have no idea what you're talking about. This is my own environment
with no vendor support. I'm using dd-wrt with freeradius as well as
strongswan with freeradius, so the "calling station" is just dd-wrt/WPA2
Enterprise, or alternatively strongswan/eap-tls with MacOS, Linux and
Windows clients.
Post by Matthew Newton
Post by Stephen
Aside from the limited and anecdotal references found there to fields
like `Framed-IP-Address`, where can I find a comprehensive accounting of
the attributes and values I can leverage in my radreply table?
Check with your NAS vendor what the NAS accepts.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users
Matthew Newton
2018-10-19 22:01:51 UTC
Permalink
Post by Stephen
I have no idea what you're talking about.
Might help to read up on RADIUS terminology then.
Post by Stephen
This is my own environment
with no vendor support.
I'm using dd-wrt with freeradius as well as
strongswan with freeradius, so the "calling station" is just
dd-wrt/WPA2
Enterprise, or alternatively strongswan/eap-tls with MacOS, Linux and
Windows clients.
Well I'm not sure how I was supposed to guess all that from your original question.

So you need to ask your NAS vendors - dd-wrt and strongswan - what reply attributes their software supports.

Or look at their docs/code yourself as they're open source.

Matthew
Post by Stephen
Post by Matthew Newton
Post by Stephen
Aside from the limited and anecdotal references found there to
fields
Post by Matthew Newton
Post by Stephen
like `Framed-IP-Address`, where can I find a comprehensive
accounting
Post by Matthew Newton
Post by Stephen
of
the attributes and values I can leverage in my radreply table?
Check with your NAS vendor what the NAS accepts.
--
Matthew

-
List info/subscribe/unsubscribe? See http://www.freerad
Stephen
2018-10-19 22:39:03 UTC
Permalink
Ahh- got it. That's actually very helpful.

I was able to validate Framed-IP-Address, Framed-IP-Netmask, and
Idle-Timeout all appear to work with dd-wrt, which is nice. It looks
like I'm going to have to dig through RFCs for the rest of what I'm
looking for.

https://wiki.strongswan.org/projects/1/wiki/EapTls

https://wiki.dd-wrt.com/wiki/index.php/Glossary

https://tools.ietf.org/html/rfc2865#section-5.6
Post by Matthew Newton
Post by Stephen
I have no idea what you're talking about.
Might help to read up on RADIUS terminology then.
Post by Stephen
This is my own environment
with no vendor support.
I'm using dd-wrt with freeradius as well as
strongswan with freeradius, so the "calling station" is just
dd-wrt/WPA2
Enterprise, or alternatively strongswan/eap-tls with MacOS, Linux and
Windows clients.
Well I'm not sure how I was supposed to guess all that from your original question.
So you need to ask your NAS vendors - dd-wrt and strongswan - what reply attributes their software supports.
Or look at their docs/code yourself as they're open source.
Matthew
Post by Stephen
Post by Matthew Newton
Post by Stephen
Aside from the limited and anecdotal references found there to
fields
Post by Matthew Newton
Post by Stephen
like `Framed-IP-Address`, where can I find a comprehensive
accounting
Post by Matthew Newton
Post by Stephen
of
the attributes and values I can leverage in my radreply table?
Check with your NAS vendor what the NAS accepts.
-
List info/subscribe/unsubs
Alan DeKok
2018-10-19 22:27:52 UTC
Permalink
Post by Stephen
I have no idea what you're talking about.
It helps to understand how RADIUS works. And to assume that you can learn from the people who are trying to help you.
Post by Stephen
This is my own environment
with no vendor support. I'm using dd-wrt with freeradius as well as
strongswan with freeradius, so the "calling station" is just dd-wrt/WPA2
Enterprise, or alternatively strongswan/eap-tls with MacOS, Linux and
Windows clients.
Then read the documentation for that product to see what it takes.
Post by Stephen
I would love to
know where the documentation for the acceptable radreply entries is.
This question shows a fundamental misconception on how RADIUS works. The short answer is that for FreeRADIUS, *all* attributes can go into the radreply table. We don't care. The documentation makes this fairly clear.

i.e. the documentation describes how to use the SQL module and how it works. The documentation does *not* contain every possible configuration for every possible situation.
Post by Stephen
Aside from the limited and anecdotal references found there to fields
like `Framed-IP-Address`, where can I find a comprehensive accounting of
the attributes and values I can leverage in my radreply table?
No such table exists. It's up to *you* to read the documentation for the NAS to see what attributes it takes. Asking for such "comprehensive" documentation again shows a misunderstanding of how things work.

And, a snide comment of "limited and anecdotal references found" is just not appropriate. We don't document what Framed-IP-Address is, or what it does. That documentation lies elsewhere.

Similarly, we don't document every possible use of every possible attribute. Would you ask a car manufacturer for detailed specifications of every possible tire that goes on the car? Along with tire-specific instructions for mounting, care, etc.? No?

Then by the same logic, it's not appropriate to ask us for documentation on every possible attribute.

Alan DeKok.


-
List info/subscribe/unsubsc
Stephen
2018-10-19 22:42:07 UTC
Permalink
I don't know what to say to this. There's not really much room left for
a discussion, frankly.

Found what I was looking for entirely without this line:
https://tools.ietf.org/html/rfc2865#section-5.6
Post by Alan DeKok
Post by Stephen
I have no idea what you're talking about.
It helps to understand how RADIUS works. And to assume that you can learn from the people who are trying to help you.
Post by Stephen
This is my own environment
with no vendor support. I'm using dd-wrt with freeradius as well as
strongswan with freeradius, so the "calling station" is just dd-wrt/WPA2
Enterprise, or alternatively strongswan/eap-tls with MacOS, Linux and
Windows clients.
Then read the documentation for that product to see what it takes.
Post by Stephen
I would love to
know where the documentation for the acceptable radreply entries is.
This question shows a fundamental misconception on how RADIUS works. The short answer is that for FreeRADIUS, *all* attributes can go into the radreply table. We don't care. The documentation makes this fairly clear.
i.e. the documentation describes how to use the SQL module and how it works. The documentation does *not* contain every possible configuration for every possible situation.
Post by Stephen
Aside from the limited and anecdotal references found there to fields
like `Framed-IP-Address`, where can I find a comprehensive accounting of
the attributes and values I can leverage in my radreply table?
No such table exists. It's up to *you* to read the documentation for the NAS to see what attributes it takes. Asking for such "comprehensive" documentation again shows a misunderstanding of how things work.
And, a snide comment of "limited and anecdotal references found" is just not appropriate. We don't document what Framed-IP-Address is, or what it does. That documentation lies elsewhere.
Similarly, we don't document every possible use of every possible attribute. Would you ask a car manufacturer for detailed specifications of every possible tire that goes on the car? Along with tire-specific instructions for mounting, care, etc.? No?
Then by the same logic, it's not appropriate to ask us for documentation on every possible attribute.
Alan DeKok.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
-
List info/subscribe/unsubscribe? See http://www.freeradius.o
Stephen
2018-10-20 13:43:06 UTC
Permalink
I've decided to take a crack at unpacking this- for what it's worth.
Before I do that I should probably just say, "Thank you all for the
freeradius project".
Post by Stephen
I don't know what to say to this. There's not really much room left for
a discussion, frankly.
https://tools.ietf.org/html/rfc2865#section-5.6
Post by Alan DeKok
Post by Stephen
I have no idea what you're talking about.
It helps to understand how RADIUS works. And to assume that you can learn from the people who are trying to help you.
Post by Stephen
This is my own environment
with no vendor support. I'm using dd-wrt with freeradius as well as
strongswan with freeradius, so the "calling station" is just dd-wrt/WPA2
Enterprise, or alternatively strongswan/eap-tls with MacOS, Linux and
Windows clients.
Then read the documentation for that product to see what it takes.
While these projects are also open source, I wasn't able to find much in
the way of documentation helping describe what you're assuming they should:

https://wiki.strongswan.org/projects/1/wiki/EapTls

https://wiki.openwrt.org/doku.php?id=oldwiki:wpa2enterprise
https://wiki.openwrt.org/doc/howto/wireless.security.8021x

In fact, you have to dig into the source code to see what they can
really handle, so I don't really consider that so implicit as suggested:

https://github.com/strongswan/strongswan/blob/57447015db828832e0e141dcdab7fbf61f828851/src/libradius/radius_message.c#L100

It's certainly fair for these projects to include more documentation on
how various RADIUS attributes are used. Unfortunately, I didn't find
that in a cursory search.
Post by Stephen
Post by Alan DeKok
Post by Stephen
I would love to
know where the documentation for the acceptable radreply entries is.
This question shows a fundamental misconception on how RADIUS works. The short answer is that for FreeRADIUS, *all* attributes can go into the radreply table. We don't care. The documentation makes this fairly clear.
i.e. the documentation describes how to use the SQL module and how it works. The documentation does *not* contain every possible configuration for every possible situation.
Post by Stephen
Aside from the limited and anecdotal references found there to fields
like `Framed-IP-Address`, where can I find a comprehensive accounting of
the attributes and values I can leverage in my radreply table?
No such table exists. It's up to *you* to read the documentation for the NAS to see what attributes it takes. Asking for such "comprehensive" documentation again shows a misunderstanding of how things work.
And, a snide comment of "limited and anecdotal references found" is just not appropriate. We don't document what Framed-IP-Address is, or what it does. That documentation lies elsewhere.
Similarly, we don't document every possible use of every possible attribute. Would you ask a car manufacturer for detailed specifications of every possible tire that goes on the car? Along with tire-specific instructions for mounting, care, etc.? No?
Then by the same logic, it's not appropriate to ask us for documentation on every possible attribute.
Clearly I should have come to the discussion as an expert on RADIUS,
preferably as a co-author of multiple RFCs concerning it. Here is
information I was actually looking for:

https://tools.ietf.org/html/rfc2865#section-5.8,
https://tools.ietf.org/html/rfc2865#section-5

As part of the actual RFC describing what a RADIUS server is supposed to
be, I simply disagree with your assessments above. Not everyone using
your product has read all the pertinent RFCs, and it's an extraordinary
burden for those of us not specializing in your area of expertise.

To extend your own analogy, should I *really* need to read 4+
international regulatory standards to change my tire?
Post by Stephen
Post by Alan DeKok
Alan DeKok.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
-
List info/subscribe/unsubscribe? See http://www
Alan DeKok
2018-10-20 14:05:40 UTC
Permalink
Post by Stephen
Post by Alan DeKok
Then read the documentation for that product to see what it takes.
While these projects are also open source, I wasn't able to find much in
That's a common failure of Open Source projects.
Post by Stephen
In fact, you have to dig into the source code to see what they can
My point is that you shouldn't ask on the FREERADIUS list for what attributes are accepted by STRONGSWAN or by OPENWRT.

Continuing to argue this point is counter-productive.
Post by Stephen
It's certainly fair for these projects to include more documentation on
how various RADIUS attributes are used. Unfortunately, I didn't find
that in a cursory search.
Then complain to them. Don't complain to us.
Post by Stephen
Clearly I should have come to the discussion as an expert on RADIUS,
No one suggested that, and it's a rude and ignorant comment.
Post by Stephen
As part of the actual RFC describing what a RADIUS server is supposed to
be, I simply disagree with your assessments above.
As someone who has admitted to knowing little about RADIUS, your opinions aren't relevant.
Post by Stephen
Not everyone using
your product has read all the pertinent RFCs, and it's an extraordinary
burden for those of us not specializing in your area of expertise.
To extend your own analogy, should I *really* need to read 4+
international regulatory standards to change my tire?
No, but you need to read the *relevant* documentation. If that documentation doesn't exist, complain to the *proper* people.

Your complaints here are off topic. As such, you will stop complaining to *us* about *other peoples* software. Failure to follow these instructions will result in a permanent ban.

This is your only warning.

Alan DeKok.


-
List info/subscribe/unsubscribe? See h
Kamil Jońca
2018-10-20 19:32:01 UTC
Permalink
Stephen <***@gmail.com> writes:

[...]
Post by Stephen
Post by Alan DeKok
Then read the documentation for that product to see what it takes.
While these projects are also open source, I wasn't able to find much in
https://wiki.strongswan.org/projects/1/wiki/EapTls
If I understood you correctly, on this page is link to
https://wiki.strongswan.org/projects/strongswan/wiki/EapRadius
and then is nice table with handled attributes.

KJ
--
http://stopstopnop.pl/stop_stopnop.pl_o_nas.html
Do people know you have freckles everywhere?
-
List info/subscribe/unsubscribe
Loading...