2010-09-18

RADIUS relay - techie question

OK, I know a lot of techies read this. My google skills must be lacking because I can't find this and it seems like it should exist.

When handling a PPP session the LNS will do a RADIUS request to a RADIUS server. It can answer with IP details to terminate the PPP. It can instead provide a set of tunnel endpoints and passwords to allow L2TP relay to another LNS...

What I want is a way to respond by RADIUS providing a list of RADIUS servers to go and try. This secondary RADIUS would get tunnel endpoints.

What I cannot find is the RADIUS access accept attributes to tell an LNS to go do another RADIUS check. If anyone knows this, do post or email me.

In the absence of an RFC for this I was planning to define another Tunnel-Type value for RADIUS. This would allow the preference ordered and grouped list of up to 32 RADIUS servers using the tagged Tunnel-Server-Endpoint, and Tunnel-Password, just like an L2TP situation but RADIUS. Technically RADIUS is not a "tunnel" type, but it seems to fit well. Indeed one could see a case for sending some RADIUS endpoints plus some L2TP endpoints all in the same reply where the L2TP endpoints are the last resort if RADIUS is not responding.

So, if anyone has any clues as to an RFC for this, that would be great :-)

4 comments:

  1. I don't think what you're after exists, not least because this would require some means to set up the shared secrets between the original RADIUS client and the subsequently announced servers.

    Is there any reason you can't proxy the RADIUS yourself to those extra servers? It's not that hard.

    ReplyDelete
  2. Various reasons to prefer this way, and not a problem to send the shared secret as tagged Tunnel-Password to the LNS.

    But I think you are right, I think people usually proxy the RADIUS to RADIUS rather than telling LNS to do it.

    However, if you know how to make freeradius proxy it, and filter the response to only be tunnel data, then we could do that instead. This is mainly being done to make it easier for people doing the RADIUS initially using freeradius.

    ReplyDelete
  3. I would have thought that you'd internally proxy the packets that need to be proxied to the other RADIUS server via a different virtual radius server that has the correct attribute filter set. Choosing the right packets etc should be doable with a bit of unlang code if you can't do it by realm or other easily identifiable attributes.

    (I've not been using freeradius long, so this may not be the best way of doing it, but don't think it should be too hard.)

    ReplyDelete
  4. I don't know any way to do this other than the RADIUS server proxying the request to another server.

    ReplyDelete

Comments are moderated purely to filter out obvious spam, but it means they may not show immediately.

Don't use UPS to ship to UK

I posted about shipping and importing and tax and duty - general info. But this is specific. DON'T USE UPS! I had assumed the UPS issue ...