(RADIATOR) AuthBy DYNADDRESS and Radius Proxy

Alessandro Chiolo alessandro.chiolo at it.easynet.net
Mon Jul 16 11:37:24 CDT 2001


I'm trying to apply different dynamic pools to different handlers. this
works with a local file but doesn't when proxying the request to a remote
radius.

this is the relevant part of my config:
-------------------------------------------------
<AddressAllocator SQL>
    Identifier  db0
    DBSource    dbi:mysql:radius:xxxxxxxxx
    DBUsername  xxxxxxxxxxx
    <AddressPool pool.x>
        Range   x.x.x.x x.x.x.x
    </AddressPool>
    <AddressPool pool.y>
        Range   y.y.y.y y.y.y.y
    </AddressPool>
</AddressAllocator>

<Handler Client-Port-DNIS=/0101$/>
    AuthByPolicy        ContinueWhileAccept
    <AuthBy FILE>
        Filename        %D/users
        Nocache
    </AuthBy>
    <AuthBy DYNADDRESS>
        Allocator       db0
        PoolHint        pool.x
        MapAttribute    yiaddr,Framed-Address
        MapAttribute    subnetmask,Framed-Netmask
    </AuthBy>
</Handler>

<Handler Client-Port-DNIS=/0102$/>
    RewriteUsername     s/^([^@]+).*/$1/
    AuthByPolicy        ContinueWhileAccept
    <AuthBy RADIUS>
        Host                    remote.radius.ip
        Secret                  xxxxxxxx
    </AuthBy>
    <AuthBy DYNADDRESS>
        Allocator       db0Pool
        PoolHint        pool.y
        MapAttribute    yiaddr,Framed-Address
        MapAttribute    subnetmask,Framed-Netmask
    </AuthBy>
</Handler>

-------------------------------------------------

any hints?

regards,
A.Chiolo

--
Alessandro Chiolo <alessandro.chiolo at it.easynet.net>
Network Manager, Easynet Italy
"I'm Winston Wolf, I solve Problems."


===
Archive at http://www.open.com.au/archives/radiator/
Announcements on radiator-announce at open.com.au
To unsubscribe, email 'majordomo at open.com.au' with
'unsubscribe radiator' in the body of the message.


More information about the radiator mailing list