(RADIATOR) Returning L2TP Setup Parameters
Frank Danielson
fdanielson at csky.com
Tue Apr 13 20:28:58 CDT 2004
Hi Brian-
How about AuthBy Internal in section 6.46 of the Radiator manual?
<Handler Called-Station-Id=142320198333352>
<AuthBy Internal>
DefaultResult ACCEPT
AddToReplyIfNotExist cisco-avpair="vpdn:ip-addresses=210.9.xxx.yyy",
cisco-avpair="vpdn:tunnel-type=l2tp",
cisco-avpair="vpdn:l2tp-tunnel-password=xxxxx"
</AuthBy>
</Handler>
Should be much quicker than hitting your DB each time for no reason.
Frank Danielson
Infrastructure Architect
ClearSky Mobile Media
56 E. Pine St.
Orlando, FL 32801
USA
1.407.515.8633
-----Original Message-----
From: Brian Morris [mailto:brian at netspeed.com.au]
Sent: Tuesday, April 13, 2004 8:32 PM
To: Hugh Irvine
Cc: radiator at open.com.au
Subject: (RADIATOR) Returning L2TP Setup Parameters
Hi All,
We are trying to setup L2TP dial-in services with a 3rd party provider here
in oz. They require us to send back to them certain cisco reply attributes
to establish the tunnel. They only want those parameters and no other
radius reply attributes.
Is it possible for us to setup radiator to return an access accept for all
request from that NAS ID / Called-Station-ID.
Would something like this be close...
<Handler Called-Station-Id=142320198333352>
<AuthBy SQL>
DBSource dbi:ODBC:RadiusDB
DBUsername xxxx
DBAuth yyyy
AuthSelect select whatever from SUBSCRIBERS where 'y' = 'y'
AddToReplyIfNotExist cisco-avpair="vpdn:ip-addresses=210.9.xxx.yyy",
cisco-avpair="vpdn:tunnel-type=l2tp",
cisco-avpair="vpdn:l2tp-tunnel-password=xxxxx"
</AuthBy>
</handler>
The AuthSelect is a fudge to get it to accept everything - can this be done
more efficiently?
Any help appreciated!
Regards, Brian,
--
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.
--
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