<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
{mso-style-priority:99;
mso-style-link:"Plain Text Char";
margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
span.EmailStyle17
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.PlainTextChar
{mso-style-name:"Plain Text Char";
mso-style-priority:99;
mso-style-link:"Plain Text";
font-family:"Calibri","sans-serif";}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
/* List Definitions */
@list l0
{mso-list-id:854922100;
mso-list-type:hybrid;
mso-list-template-ids:2047886562 67698705 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l0:level1
{mso-level-text:"%1\)";
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level2
{mso-level-number-format:alpha-lower;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level3
{mso-level-number-format:roman-lower;
mso-level-tab-stop:none;
mso-level-number-position:right;
text-indent:-9.0pt;}
@list l0:level4
{mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level5
{mso-level-number-format:alpha-lower;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level6
{mso-level-number-format:roman-lower;
mso-level-tab-stop:none;
mso-level-number-position:right;
text-indent:-9.0pt;}
@list l0:level7
{mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level8
{mso-level-number-format:alpha-lower;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level9
{mso-level-number-format:roman-lower;
mso-level-tab-stop:none;
mso-level-number-position:right;
text-indent:-9.0pt;}
@list l1
{mso-list-id:1901599224;
mso-list-type:hybrid;
mso-list-template-ids:-923243740 67698705 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l1:level1
{mso-level-text:"%1\)";
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l1:level2
{mso-level-number-format:alpha-lower;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l1:level3
{mso-level-number-format:roman-lower;
mso-level-tab-stop:none;
mso-level-number-position:right;
text-indent:-9.0pt;}
@list l1:level4
{mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l1:level5
{mso-level-number-format:alpha-lower;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l1:level6
{mso-level-number-format:roman-lower;
mso-level-tab-stop:none;
mso-level-number-position:right;
text-indent:-9.0pt;}
@list l1:level7
{mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l1:level8
{mso-level-number-format:alpha-lower;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l1:level9
{mso-level-number-format:roman-lower;
mso-level-tab-stop:none;
mso-level-number-position:right;
text-indent:-9.0pt;}
ol
{margin-bottom:0in;}
ul
{margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoPlainText">Scenario/Problem:<o:p></o:p></p>
<p class="MsoPlainText">==============<o:p></o:p></p>
<p class="MsoPlainText">Upon successful authentication of a user, have to send default WiMAX attribute (Initial Service Flow [ISF]) as part of “Access-Accept”; Only if specific WiMax attributes (user specific service flows) are *not* defined for the user in
radreply;<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">Example:<o:p></o:p></p>
<p class="MsoPlainText">=======<o:p></o:p></p>
<p class="MsoPlainText">Let's assume our default ISF response should be:<o:p></o:p></p>
<p class="MsoPlainText"><span style="font-family:"Courier New""> WiMAX-Packet-Data-Flow-Id 1<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New""> WiMAX-Service-Data-Flow-Id 1<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New""> WiMAX-Direction 2<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New""> WiMAX-Activation-Trigger 4<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New""> WiMAX-Transport-Type 1<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New""> WiMAX-Downlink-QOS-Id 1<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New""> WiMAX-Downlink-Classifier permit in any src any dst any
<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New""> WiMAX-QoS-Id 1<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New""> WiMAX-Schedule-Type 2<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New""> WiMAX-Traffic-Priority 1<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New""> WiMAX-Maximum-Sustained-Traffic-Rate 2200000<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New""> WiMAX-Minimum-Reserved-Traffic-Rate 1000<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New""> WiMAX-Transmission-Policy 208<o:p></o:p></span></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">And User "ABC" is configured to have below service flow response (in radreply), which is different from default ISF:<o:p></o:p></p>
<p class="MsoPlainText"><span style="font-family:"Courier New""> WiMAX-Packet-Data-Flow-Id 111<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New""> WiMAX-Service-Data-Flow-Id 101<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New""> WiMAX-Direction 1<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New""> WiMAX-Activation-Trigger 4<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New""> WiMAX-Transport-Type 1<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New""> WiMAX-Uplink-QOS-Id 111<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New""> WiMAX-Uplink-Classifier permit in ip src any dst any 0-66 priority 3
<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New""> WiMAX-Uplink-Classifier permit in ip src any dst any 69-65535 priority 3
<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New""> WiMAX-QoS-Id 111<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New""> WiMAX-Schedule-Type 5<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New""> WiMAX-Traffic-Priority 1<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New""> WiMAX-Maximum-Sustained-Traffic-Rate 5500000<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New""> WiMAX-Minimum-Reserved-Traffic-Rate 0<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New""> WiMAX-Tolerated-Jitter 1000<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New""> WiMAX-Maximum-Latency 1000<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New""> WiMAX-Unsolicited-Grant-Interval 40<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New""> WiMAX-Transmission-Policy 211<o:p></o:p></span></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">Expected Response<o:p></o:p></p>
<p class="MsoPlainText">===============<o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:.5in;text-indent:-.25in;mso-list:l1 level1 lfo1">
<![if !supportLists]><span style="mso-list:Ignore">1)<span style="font:7.0pt "Times New Roman"">
</span></span><![endif]>If User "ABC" successfully authenticates <span style="font-family:"Courier New"">
-></span> want to send only service flow configured above for "ABC".<o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:.5in;text-indent:-.25in;mso-list:l1 level1 lfo1">
<![if !supportLists]><span style="mso-list:Ignore">2)<span style="font:7.0pt "Times New Roman"">
</span></span><![endif]>If User other than ABC (say XYZ, 123, etc… for whom no service flow is configured in radreply) authenticates successfully (with default auth-type set to eap)
<span style="font-family:"Courier New"">-> </span>want to send default IFS.<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">Approach we took<o:p></o:p></p>
<p class="MsoPlainText">==============<o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:.5in;text-indent:-.25in;mso-list:l0 level1 lfo2">
<![if !supportLists]><span style="mso-list:Ignore">1)<span style="font:7.0pt "Times New Roman"">
</span></span><![endif]>Added an entry in "radusergroup" table with username and groupname as "DEFAULT-IFS"<o:p></o:p></p>
<p class="MsoPlainText" style="text-indent:.5in"><span style="font-family:"Courier New"">+-------------+-------------+----------+<o:p></o:p></span></p>
<p class="MsoPlainText" style="text-indent:.5in"><span style="font-family:"Courier New"">| username | groupname | priority |<o:p></o:p></span></p>
<p class="MsoPlainText" style="text-indent:.5in"><span style="font-family:"Courier New"">+-------------+-------------+----------+<o:p></o:p></span></p>
<p class="MsoPlainText" style="text-indent:.5in"><span style="font-family:"Courier New"">| DEFAULT-ISF | DEFAULT-ISF | 1 |<o:p></o:p></span></p>
<p class="MsoPlainText" style="text-indent:.5in"><span style="font-family:"Courier New"">+-------------+-------------+----------+
<o:p></o:p></span></p>
<p class="MsoPlainText" style="margin-left:.5in;text-indent:-.25in;mso-list:l0 level1 lfo2">
<![if !supportLists]><span style="mso-list:Ignore">2)<span style="font:7.0pt "Times New Roman"">
</span></span><![endif]>Added Default-IFS WiMAX attribute entries in "radgroupreply" table with groupname = "DEFAULT-IFS"<o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:.5in;text-indent:-.25in;mso-list:l0 level1 lfo2">
<![if !supportLists]><span style="mso-list:Ignore">3)<span style="font:7.0pt "Times New Roman"">
</span></span><![endif]>updated group_membership_query in dialup.conf file<o:p></o:p></p>
<p class="MsoPlainText"> From:<o:p></o:p></p>
<p class="MsoPlainText" style="text-indent:.5in"><span style="font-family:"Courier New"">group_membership_query = "SELECT groupname \<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New""> FROM ${usergroup_table} \<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New""> WHERE username = '%{SQL-User-Name}' \<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New""> ORDER BY priority"<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New""> <o:p></o:p></span></p>
<p class="MsoPlainText" style="text-indent:.5in">To:<o:p></o:p></p>
<p class="MsoPlainText" style="text-indent:.5in"><span style="font-family:"Courier New"">group_membership_query = "SELECT groupname \<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New""> FROM ${usergroup_table} \<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New""> WHERE username = '%{SQL-User-Name}' \<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New""> OR (NOT EXISTS (select 1 from radreply where username='%{SQL-User-Name}') \<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New""> AND username='DEFAULT-ISF') \<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New""> ORDER BY priority"<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New""><o:p> </o:p></span></p>
<p class="MsoPlainText">Question<o:p></o:p></p>
<p class="MsoPlainText">=======<o:p></o:p></p>
<p class="MsoPlainText">The above approach works and provided the access-accept response we expected, but want to confirm if this is the correct approach to the scenario we described or is there a better way to handle this?<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">Sorry for the long email, wanted to provide as much background as possible<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">Thanks<o:p></o:p></p>
<p class="MsoPlainText">-Hanu <o:p></o:p></p>
<p class="MsoPlainText"><span style="font-family:"Courier New""><o:p> </o:p></span></p>
<p class="MsoPlainText"><o:p> </o:p></p>
</div>
</body>
</html>