best place for logic - users file or custom module?

Nicolas Baradakis nbk at sitadelle.com
Tue Aug 23 18:17:02 CEST 2005


Tariq Rashid wrote:

> i'd like some advide on the best place to implement this logic. for example
> - a common scenario is for a request to come from A, and the reply to A
> contains instructions to extend a tunnel to a second device B. A second
> query from B is then received.

Use huntgroups to distinguish the NASes, and edit the SQL schema
and the SQL queries to use the Huntgroup-Name. Then you could get
different reply attributes for "A" and for "B" from SQL with no
overhead.

-- 
Nicolas Baradakis




More information about the Freeradius-Users mailing list