<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Chillispot Forum — Buglist]]></title>
		<link>http://www.chillispot.org/chilliforum/</link>
		<atom:link href="http://www.chillispot.org/chilliforum/feed-rss-forum18.xml" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent topics at Chillispot Forum.]]></description>
		<lastBuildDate>Tue, 24 Feb 2015 13:01:30 +0000</lastBuildDate>
		<generator>PunBB 1.4.4</generator>
		<item>
			<title><![CDATA[Chillispot not send Acc-Stop packet]]></title>
			<link>http://www.chillispot.org/chilliforum/topic114301-chillispot-not-send-accstop-packet-new-posts.html</link>
			<description><![CDATA[<p>Dear all.</p><p>I have question about session stop packet from chillispot to freeradius.</p><p>It&#039;s possible? (If Yes how I cen do it?)</p>]]></description>
			<author><![CDATA[null@example.com (s.kovylskiy)]]></author>
			<pubDate>Tue, 24 Feb 2015 13:01:30 +0000</pubDate>
			<guid>http://www.chillispot.org/chilliforum/topic114301-chillispot-not-send-accstop-packet-new-posts.html</guid>
		</item>
		<item>
			<title><![CDATA[User with valid password is not allowed (sometimes) - please help !]]></title>
			<link>http://www.chillispot.org/chilliforum/topic530-user-with-valid-password-is-not-allowed-sometimes-please-help-new-posts.html</link>
			<description><![CDATA[<p>Hello all,</p><p>I&#039;m dealing with strange issue for longer time, so I decided describe it here. Maybe you had similiar problem and will help me .. </p><p>Scenario:</p><p>Chillispot + Freeradius + MySQL on same machine...</p><p>All works fine, but sometimes, when user supplied valid password, it&#039;s proclaimed as wrong by Freeradius (there is no limit reached). When user repeat login with same password is correctly validated (sometimes after the third try). Passwords are stored in plain text. I completely reinstalled server to new Freeradius (1.x -&gt; 2.x) but still same behaviour. This happens time to time and there is no rule for this. I also changed attribute from User-Password to the Cleartext-Password as suggested dialog within Freeradius debug (freeradius -X), but still same... </p><p>I&#039;m sure, that users types valid passwords without any spaces and non printable characters....</p><p>Do you have any ideas why this happens ?</p><p>Thank you.. </p><br /><br /><p>#MySQL</p><p>select * from radcheck where username like &#039;testuser&#039;;<br />+--------+-----------------+--------------------+----+------------+<br />| id&nbsp; &nbsp; &nbsp;| UserName&nbsp; &nbsp; &nbsp; &nbsp; | Attribute&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | op | Value&nbsp; &nbsp; &nbsp; |<br />+--------+-----------------+--------------------+----+------------+<br />| 634393 | testuser | Cleartext-Password | := | testpass | <br />+--------+-----------------+--------------------+----+------------+<br />3 rows in set (0.00 sec)</p><br /><br /><p>#Failed login:</p><p>rad_recv: Access-Request packet from host 127.0.0.1 port 42455, id=0, length=221<br />&nbsp; &nbsp; User-Name = &quot;testuser&quot;<br />&nbsp; &nbsp; CHAP-Challenge = 0xeccf148d53f051667a9823e5de873733<br />&nbsp; &nbsp; CHAP-Password = 0x00d3f4797e4f3259203648b663cf70e1ec<br />&nbsp; &nbsp; NAS-IP-Address = 0.0.0.0<br />&nbsp; &nbsp; Service-Type = Login-User<br />&nbsp; &nbsp; Framed-IP-Address = 172.25.156.18<br />&nbsp; &nbsp; Calling-Station-Id = &quot;00-1C-B3-C2-8A-F5&quot;<br />&nbsp; &nbsp; Called-Station-Id = &quot;00-0C-29-58-63-5B&quot;<br />&nbsp; &nbsp; NAS-Identifier = &quot;nas01&quot;<br />&nbsp; &nbsp; Acct-Session-Id = &quot;4c93741900000011&quot;<br />&nbsp; &nbsp; NAS-Port-Type = Wireless-802.11<br />&nbsp; &nbsp; NAS-Port = 17<br />&nbsp; &nbsp; Message-Authenticator = 0xe0b1d438223cc799308111bd8151a15b<br />&nbsp; &nbsp; WISPr-Logoff-URL = &quot;http://172.25.156.1:3990/logoff&quot;<br />+- entering group authorize<br />&nbsp; &nbsp; expand: /var/log/freeradius/radacct/%{Client-IP-Address}/auth-detail-%Y%m%d -&gt; /var/log/freeradius/radacct/127.0.0.1/auth-detail-20100917<br />rlm_detail: /var/log/freeradius/radacct/%{Client-IP-Address}/auth-detail-%Y%m%d expands to /var/log/freeradius/radacct/127.0.0.1/auth-detail-20100917<br />&nbsp; &nbsp; expand: %t -&gt; Fri Sep 17 16:00:31 2010<br />++[auth_log] returns ok<br />&nbsp; rlm_chap: Setting &#039;Auth-Type := CHAP&#039;<br />++[chap] returns ok<br />++[mschap] returns noop<br />&nbsp; &nbsp; rlm_realm: No &#039;@&#039; in User-Name = &quot;testuser&quot;, looking up realm NULL<br />&nbsp; &nbsp; rlm_realm: No such realm &quot;NULL&quot;<br />++[suffix] returns noop<br />&nbsp; rlm_eap: No EAP-Message, not doing EAP<br />++[eap] returns noop<br />&nbsp; &nbsp; expand: %{User-Name} -&gt; testuser<br />rlm_sql (sql): sql_set_user escaped user --&gt; &#039;testuser&#039;<br />rlm_sql (sql): Reserving sql socket id: 1<br />&nbsp; &nbsp; expand: SELECT id, UserName, Attribute, Value, op&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;FROM radcheck&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;WHERE Username = &#039;%{SQL-User-Name}&#039; and Attribute != &#039;Qos-Rate&#039;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ORDER BY id&nbsp; -&gt; SELECT id, UserName, Attribute, Value, op&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;FROM radcheck&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;WHERE Username = &#039;testuser&#039; and Attribute != &#039;Qos-Rate&#039;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ORDER BY id <br />rlm_sql (sql): User found in radcheck table<br />&nbsp; &nbsp; expand: SELECT id, UserName, Attribute, Value, op&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;FROM radreply&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;WHERE Username = &#039;%{SQL-User-Name}&#039;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ORDER BY id -&gt; SELECT id, UserName, Attribute, Value, op&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;FROM radreply&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;WHERE Username = &#039;testuser&#039;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ORDER BY id<br />&nbsp; &nbsp; expand: SELECT GroupName FROM usergroup WHERE UserName=&#039;%{SQL-User-Name}&#039; -&gt; SELECT GroupName FROM usergroup WHERE UserName=&#039;testuser&#039;<br />&nbsp; &nbsp; expand: SELECT radgroupcheck.id,radgroupcheck.GroupName,radgroupcheck.Attribute,radgroupcheck.Value,radgroupcheck.op&nbsp; FROM radgroupcheck,usergroup WHERE usergroup.Username = &#039;%{SQL-User-Name}&#039; AND usergroup.GroupName = radgroupcheck.GroupName ORDER BY radgroupcheck.id -&gt; SELECT radgroupcheck.id,radgroupcheck.GroupName,radgroupcheck.Attribute,radgroupcheck.Value,radgroupcheck.op&nbsp; FROM radgroupcheck,usergroup WHERE usergroup.Username = &#039;testuser&#039; AND usergroup.GroupName = radgroupcheck.GroupName ORDER BY radgroupcheck.id<br />rlm_sql (sql): User found in group pacienti<br />&nbsp; &nbsp; expand: SELECT radgroupreply.id,radgroupreply.GroupName,radgroupreply.Attribute,radgroupreply.Value,radgroupreply.op&nbsp; FROM radgroupreply,usergroup WHERE usergroup.Username = &#039;%{SQL-User-Name}&#039; AND usergroup.GroupName = radgroupreply.GroupName ORDER BY radgroupreply.id -&gt; SELECT radgroupreply.id,radgroupreply.GroupName,radgroupreply.Attribute,radgroupreply.Value,radgroupreply.op&nbsp; FROM radgroupreply,usergroup WHERE usergroup.Username = &#039;testuser&#039; AND usergroup.GroupName = radgroupreply.GroupName ORDER BY radgroupreply.id<br />rlm_sql (sql): Released sql socket id: 1<br />++[sql] returns ok<br />rlm_sqlcounter: Entering module authorize code<br />rlm_sqlcounter: Could not find Check item value pair<br />++[noresetcounter] returns noop<br />rlm_sqlcounter: Entering module authorize code<br />rlm_sqlcounter: Could not find Check item value pair<br />++[dailycounter] returns noop<br />rlm_sqlcounter: Entering module authorize code<br />rlm_sqlcounter: Could not find Check item value pair<br />++[weeklycounter] returns noop<br />rlm_sqlcounter: Entering module authorize code<br />rlm_sqlcounter: Could not find Check item value pair<br />++[monthlycounter] returns noop<br />&nbsp; rad_check_password:&nbsp; Found Auth-Type CHAP<br />auth: type &quot;CHAP&quot;<br />+- entering group CHAP<br />&nbsp; rlm_chap: login attempt by &quot;testuser&quot; with CHAP password<br />&nbsp; rlm_chap: Using clear text password &quot;testpass&quot; for user testuser authentication.<br />&nbsp; rlm_chap: Password check failed<br />++[chap] returns reject<br />auth: Failed to validate the user.<br />Login incorrect (rlm_chap: Wrong user password): [testuser/&lt;CHAP-Password&gt;] (from client localhost port 17 cli 00-1C-B3-C2-8A-F5)<br />Delaying reject of request 50 for 1 seconds<br />Going to the next request<br />Waking up in 0.9 seconds.<br />Sending delayed rejec<br />Sending Access-Reject of id 0 to 127.0.0.1 port 42455<br />&nbsp; &nbsp; Idle-Timeout := 600<br />&nbsp; &nbsp; Acct-Interim-Interval := 600<br />Waking up in 4.9 secondsrad_recv: Access-Request packet from host 127.0.0.1 port 42455, id=0, length=221<br />&nbsp; &nbsp; User-Name = &quot;testuser&quot;<br />&nbsp; &nbsp; CHAP-Challenge = 0xeccf148d53f051667a9823e5de873733<br />&nbsp; &nbsp; CHAP-Password = 0x00d3f4797e4f3259203648b663cf70e1ec<br />&nbsp; &nbsp; NAS-IP-Address = 0.0.0.0<br />&nbsp; &nbsp; Service-Type = Login-User<br />&nbsp; &nbsp; Framed-IP-Address = 172.25.156.18<br />&nbsp; &nbsp; Calling-Station-Id = &quot;00-1C-B3-C2-8A-F5&quot;<br />&nbsp; &nbsp; Called-Station-Id = &quot;00-0C-29-58-63-5B&quot;<br />&nbsp; &nbsp; NAS-Identifier = &quot;nas01&quot;<br />&nbsp; &nbsp; Acct-Session-Id = &quot;4c93741900000011&quot;<br />&nbsp; &nbsp; NAS-Port-Type = Wireless-802.11<br />&nbsp; &nbsp; NAS-Port = 17<br />&nbsp; &nbsp; Message-Authenticator = 0xe0b1d438223cc799308111bd8151a15b<br />&nbsp; &nbsp; WISPr-Logoff-URL = &quot;http://172.25.156.1:3990/logoff&quot;<br />+- entering group authorize<br />&nbsp; &nbsp; expand: /var/log/freeradius/radacct/%{Client-IP-Address}/auth-detail-%Y%m%d -&gt; /var/log/freeradius/radacct/127.0.0.1/auth-detail-20100917<br />rlm_detail: /var/log/freeradius/radacct/%{Client-IP-Address}/auth-detail-%Y%m%d expands to /var/log/freeradius/radacct/127.0.0.1/auth-detail-20100917<br />&nbsp; &nbsp; expand: %t -&gt; Fri Sep 17 16:00:31 2010<br />++[auth_log] returns ok<br />&nbsp; rlm_chap: Setting &#039;Auth-Type := CHAP&#039;<br />++[chap] returns ok<br />++[mschap] returns noop<br />&nbsp; &nbsp; rlm_realm: No &#039;@&#039; in User-Name = &quot;testuser&quot;, looking up realm NULL<br />&nbsp; &nbsp; rlm_realm: No such realm &quot;NULL&quot;<br />++[suffix] returns noop<br />&nbsp; rlm_eap: No EAP-Message, not doing EAP<br />++[eap] returns noop<br />&nbsp; &nbsp; expand: %{User-Name} -&gt; testuser<br />rlm_sql (sql): sql_set_user escaped user --&gt; &#039;testuser&#039;<br />rlm_sql (sql): Reserving sql socket id: 1<br />&nbsp; &nbsp; expand: SELECT id, UserName, Attribute, Value, op&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;FROM radcheck&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;WHERE Username = &#039;%{SQL-User-Name}&#039; and Attribute != &#039;Qos-Rate&#039;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ORDER BY id&nbsp; -&gt; SELECT id, UserName, Attribute, Value, op&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;FROM radcheck&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;WHERE Username = &#039;testuser&#039; and Attribute != &#039;Qos-Rate&#039;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ORDER BY id <br />rlm_sql (sql): User found in radcheck table<br />&nbsp; &nbsp; expand: SELECT id, UserName, Attribute, Value, op&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;FROM radreply&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;WHERE Username = &#039;%{SQL-User-Name}&#039;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ORDER BY id -&gt; SELECT id, UserName, Attribute, Value, op&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;FROM radreply&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;WHERE Username = &#039;testuser&#039;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ORDER BY id<br />&nbsp; &nbsp; expand: SELECT GroupName FROM usergroup WHERE UserName=&#039;%{SQL-User-Name}&#039; -&gt; SELECT GroupName FROM usergroup WHERE UserName=&#039;testuser&#039;<br />&nbsp; &nbsp; expand: SELECT radgroupcheck.id,radgroupcheck.GroupName,radgroupcheck.Attribute,radgroupcheck.Value,radgroupcheck.op&nbsp; FROM radgroupcheck,usergroup WHERE usergroup.Username = &#039;%{SQL-User-Name}&#039; AND usergroup.GroupName = radgroupcheck.GroupName ORDER BY radgroupcheck.id -&gt; SELECT radgroupcheck.id,radgroupcheck.GroupName,radgroupcheck.Attribute,radgroupcheck.Value,radgroupcheck.op&nbsp; FROM radgroupcheck,usergroup WHERE usergroup.Username = &#039;testuser&#039; AND usergroup.GroupName = radgroupcheck.GroupName ORDER BY radgroupcheck.id<br />rlm_sql (sql): User found in group pacienti<br />&nbsp; &nbsp; expand: SELECT radgroupreply.id,radgroupreply.GroupName,radgroupreply.Attribute,radgroupreply.Value,radgroupreply.op&nbsp; FROM radgroupreply,usergroup WHERE usergroup.Username = &#039;%{SQL-User-Name}&#039; AND usergroup.GroupName = radgroupreply.GroupName ORDER BY radgroupreply.id -&gt; SELECT radgroupreply.id,radgroupreply.GroupName,radgroupreply.Attribute,radgroupreply.Value,radgroupreply.op&nbsp; FROM radgroupreply,usergroup WHERE usergroup.Username = &#039;testuser&#039; AND usergroup.GroupName = radgroupreply.GroupName ORDER BY radgroupreply.id<br />rlm_sql (sql): Released sql socket id: 1<br />++[sql] returns ok<br />rlm_sqlcounter: Entering module authorize code<br />rlm_sqlcounter: Could not find Check item value pair<br />++[noresetcounter] returns noop<br />rlm_sqlcounter: Entering module authorize code<br />rlm_sqlcounter: Could not find Check item value pair<br />++[dailycounter] returns noop<br />rlm_sqlcounter: Entering module authorize code<br />rlm_sqlcounter: Could not find Check item value pair<br />++[weeklycounter] returns noop<br />rlm_sqlcounter: Entering module authorize code<br />rlm_sqlcounter: Could not find Check item value pair<br />++[monthlycounter] returns noop<br />&nbsp; rad_check_password:&nbsp; Found Auth-Type CHAP<br />auth: type &quot;CHAP&quot;<br />+- entering group CHAP<br />&nbsp; rlm_chap: login attempt by &quot;testuser&quot; with CHAP password<br />&nbsp; rlm_chap: Using clear text password &quot;testpass&quot; for user testuser authentication.<br />&nbsp; rlm_chap: Password check failed<br />++[chap] returns reject<br />auth: Failed to validate the user.<br />Login incorrect (rlm_chap: Wrong user password): [testuser/&lt;CHAP-Password&gt;] (from client localhost port 17 cli 00-1C-B3-C2-8A-F5)<br />Delaying reject of request 50 for 1 seconds<br />Going to the next request<br />Waking up in 0.9 seconds.<br />Sending delayed reject for request 50<br />Sending Access-Reject of id 0 to 127.0.0.1 port 42455<br />&nbsp; &nbsp; Idle-Timeout := 600<br />&nbsp; &nbsp; Acct-Interim-Interval := 600<br />Waking up in 4.9 seconds..</p><br /><br /><p>#Success login:</p><p>rad_recv: Access-Request packet from host 127.0.0.1 port 37286, id=0, length=221<br />&nbsp; &nbsp; User-Name = &quot;testuser&quot;<br />&nbsp; &nbsp; CHAP-Challenge = 0x3bbd1bb8af26015543db853c2ed4bf57<br />&nbsp; &nbsp; CHAP-Password = 0x004184904f618b872506a5ff847d774796<br />&nbsp; &nbsp; NAS-IP-Address = 0.0.0.0<br />&nbsp; &nbsp; Service-Type = Login-User<br />&nbsp; &nbsp; Framed-IP-Address = 172.25.156.18<br />&nbsp; &nbsp; Calling-Station-Id = &quot;00-1C-B3-C2-8A-F5&quot;<br />&nbsp; &nbsp; Called-Station-Id = &quot;00-0C-29-58-63-5B&quot;<br />&nbsp; &nbsp; NAS-Identifier = &quot;nas01&quot;<br />&nbsp; &nbsp; Acct-Session-Id = &quot;4c93741900000011&quot;<br />&nbsp; &nbsp; NAS-Port-Type = Wireless-802.11<br />&nbsp; &nbsp; NAS-Port = 17<br />&nbsp; &nbsp; Message-Authenticator = 0xa77fc5e84182b49504d2574eaf4dd1f4<br />&nbsp; &nbsp; WISPr-Logoff-URL = &quot;http://172.25.156.1:3990/logoff&quot;<br />+- entering group authorize<br />&nbsp; &nbsp; expand: /var/log/freeradius/radacct/%{Client-IP-Address}/auth-detail-%Y%m%d -&gt; /var/log/freeradius/radacct/127.0.0.1/auth-detail-20100917<br />rlm_detail: /var/log/freeradius/radacct/%{Client-IP-Address}/auth-detail-%Y%m%d expands to /var/log/freeradius/radacct/127.0.0.1/auth-detail-20100917<br />&nbsp; &nbsp; expand: %t -&gt; Fri Sep 17 16:00:57 2010<br />++[auth_log] returns ok<br />&nbsp; rlm_chap: Setting &#039;Auth-Type := CHAP&#039;<br />++[chap] returns ok<br />++[mschap] returns noop<br />&nbsp; &nbsp; rlm_realm: No &#039;@&#039; in User-Name = &quot;testuser&quot;, looking up realm NULL<br />&nbsp; &nbsp; rlm_realm: No such realm &quot;NULL&quot;<br />++[suffix] returns noop<br />&nbsp; rlm_eap: No EAP-Message, not doing EAP<br />++[eap] returns noop<br />&nbsp; &nbsp; expand: %{User-Name} -&gt; testuser<br />rlm_sql (sql): sql_set_user escaped user --&gt; &#039;testuser&#039;<br />rlm_sql (sql): Reserving sql socket id: 1<br />&nbsp; &nbsp; expand: SELECT id, UserName, Attribute, Value, op&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;FROM radcheck&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;WHERE Username = &#039;%{SQL-User-Name}&#039; and Attribute != &#039;Qos-Rate&#039;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ORDER BY id&nbsp; -&gt; SELECT id, UserName, Attribute, Value, op&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;FROM radcheck&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;WHERE Username = &#039;testuser&#039; and Attribute != &#039;Qos-Rate&#039;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ORDER BY id <br />rlm_sql (sql): User found in radcheck table<br />&nbsp; &nbsp; expand: SELECT id, UserName, Attribute, Value, op&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;FROM radreply&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;WHERE Username = &#039;%{SQL-User-Name}&#039;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ORDER BY id -&gt; SELECT id, UserName, Attribute, Value, op&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;FROM radreply&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;WHERE Username = &#039;testuser&#039;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ORDER BY id<br />&nbsp; &nbsp; expand: SELECT GroupName FROM usergroup WHERE UserName=&#039;%{SQL-User-Name}&#039; -&gt; SELECT GroupName FROM usergroup WHERE UserName=&#039;testuser&#039;<br />&nbsp; &nbsp; expand: SELECT radgroupcheck.id,radgroupcheck.GroupName,radgroupcheck.Attribute,radgroupcheck.Value,radgroupcheck.op&nbsp; FROM radgroupcheck,usergroup WHERE usergroup.Username = &#039;%{SQL-User-Name}&#039; AND usergroup.GroupName = radgroupcheck.GroupName ORDER BY radgroupcheck.id -&gt; SELECT radgroupcheck.id,radgroupcheck.GroupName,radgroupcheck.Attribute,radgroupcheck.Value,radgroupcheck.op&nbsp; FROM radgroupcheck,usergroup WHERE usergroup.Username = &#039;testuser&#039; AND usergroup.GroupName = radgroupcheck.GroupName ORDER BY radgroupcheck.id<br />rlm_sql (sql): User found in group pacienti<br />&nbsp; &nbsp; expand: SELECT radgroupreply.id,radgroupreply.GroupName,radgroupreply.Attribute,radgroupreply.Value,radgroupreply.op&nbsp; FROM radgroupreply,usergroup WHERE usergroup.Username = &#039;%{SQL-User-Name}&#039; AND usergroup.GroupName = radgroupreply.GroupName ORDER BY radgroupreply.id -&gt; SELECT radgroupreply.id,radgroupreply.GroupName,radgroupreply.Attribute,radgroupreply.Value,radgroupreply.op&nbsp; FROM radgroupreply,usergroup WHERE usergroup.Username = &#039;testuser&#039; AND usergroup.GroupName = radgroupreply.GroupName ORDER BY radgroupreply.id<br />rlm_sql (sql): Released sql socket id: 1<br />++[sql] returns ok<br />rlm_sqlcounter: Entering module authorize code<br />rlm_sqlcounter: Could not find Check item value pair<br />++[noresetcounter] returns noop<br />rlm_sqlcounter: Entering module authorize code<br />rlm_sqlcounter: Could not find Check item value pair<br />++[dailycounter] returns noop<br />rlm_sqlcounter: Entering module authorize code<br />rlm_sqlcounter: Could not find Check item value pair<br />++[weeklycounter] returns noop<br />rlm_sqlcounter: Entering module authorize code<br />rlm_sqlcounter: Could not find Check item value pair<br />++[monthlycounter] returns noop<br />&nbsp; rad_check_password:&nbsp; Found Auth-Type CHAP<br />auth: type &quot;CHAP&quot;<br />+- entering group CHAP<br />&nbsp; rlm_chap: login attempt by &quot;testuser&quot; with CHAP password<br />&nbsp; rlm_chap: Using clear text password &quot;testpass&quot; for user testuser authentication.<br />&nbsp; rlm_chap: chap user testuser authenticated succesfully<br />++[chap] returns ok<br />Login OK: [testuser/&lt;CHAP-Password&gt;] (from client localhost port 17 cli 00-1C-B3-C2-8A-F5)<br />+- entering group post-auth<br />&nbsp; &nbsp; expand: /var/log/freeradius/radacct/%{Client-IP-Address}/reply-detail-%Y%m%d -&gt; /var/log/freeradius/radacct/127.0.0.1/reply-detail-20100917<br />rlm_detail: /var/log/freeradius/radacct/%{Client-IP-Address}/reply-detail-%Y%m%d expands to /var/log/freeradius/radacct/127.0.0.1/reply-detail-20100917<br />&nbsp; &nbsp; expand: %t -&gt; Fri Sep 17 16:00:57 2010<br />++[reply_log] returns ok<br />rlm_sql (sql): Processing sql_postauth<br />&nbsp; &nbsp; expand: %{User-Name} -&gt; testuser<br />rlm_sql (sql): sql_set_user escaped user --&gt; &#039;testuser&#039;<br />WARNING: Deprecated conditional expansion &quot;:-&quot;.&nbsp; See &quot;man unlang&quot; for details<br />&nbsp; &nbsp; expand: INSERT into radpostauth (id, user, pass, reply, date) values (&#039;&#039;, &#039;%{User-Name}&#039;, &#039;%{User-Password:-Chap-Password}&#039;, &#039;%{reply:Packet-Type}&#039;, NOW()) -&gt; INSERT into radpostauth (id, user, pass, reply, date) values (&#039;&#039;, &#039;testuser&#039;, &#039;Chap-Password&#039;, &#039;Access-Accept&#039;, NOW())<br />rlm_sql (sql) in sql_postauth: query is INSERT into radpostauth (id, user, pass, reply, date) values (&#039;&#039;, &#039;testuser&#039;, &#039;Chap-Password&#039;, &#039;Access-Accept&#039;, NOW())<br />rlm_sql (sql): Reserving sql socket id: 0<br />rlm_sql (sql): Released sql socket id: 0<br />++[sql] returns ok<br />Sending Access-Accept of id 0 to 127.0.0.1 port 37286<br />&nbsp; &nbsp; Idle-Timeout := 600<br />&nbsp; &nbsp; Acct-Interim-Interval := 600<br />Finished request 53.<br />Going to the next request<br />Waking up in 4.9 seconds.<br />rad_recv: Accounting-Request packet from host 127.0.0.1 port 51236, id=43, length=137<br />&nbsp; &nbsp; Acct-Status-Type = Start<br />&nbsp; &nbsp; User-Name = &quot;testuser&quot;<br />&nbsp; &nbsp; Calling-Station-Id = &quot;00-1C-B3-C2-8A-F5&quot;<br />&nbsp; &nbsp; Called-Station-Id = &quot;00-0C-29-58-63-5B&quot;<br />&nbsp; &nbsp; NAS-Port-Type = Wireless-802.11<br />&nbsp; &nbsp; NAS-Port = 17<br />&nbsp; &nbsp; NAS-Port-Id = &quot;00000017&quot;<br />&nbsp; &nbsp; NAS-IP-Address = 0.0.0.0<br />&nbsp; &nbsp; NAS-Identifier = &quot;nas01&quot;<br />&nbsp; &nbsp; Framed-IP-Address = 172.25.156.18<br />&nbsp; &nbsp; Acct-Session-Id = &quot;4c93741900000011&quot;<br />+- entering group preacct<br />rlm_acct_unique: Hashing &#039;NAS-Port = 17,Client-IP-Address = 127.0.0.1,NAS-IP-Address = 0.0.0.0,Acct-Session-Id = &quot;4c93741900000011&quot;,User-Name = &quot;testuser&quot;&#039;<br />rlm_acct_unique: Acct-Unique-Session-ID = &quot;7b48c9ff641f78a5&quot;.<br />++[acct_unique] returns ok<br />&nbsp; &nbsp; rlm_realm: No &#039;@&#039; in User-Name = &quot;testuser&quot;, looking up realm NULL<br />&nbsp; &nbsp; rlm_realm: No such realm &quot;NULL&quot;<br />++[suffix] returns noop<br />+- entering group accounting<br />&nbsp; &nbsp; expand: /var/log/freeradius/radacct/%{Client-IP-Address}/detail-%Y%m%d -&gt; /var/log/freeradius/radacct/127.0.0.1/detail-20100917<br />rlm_detail: /var/log/freeradius/radacct/%{Client-IP-Address}/detail-%Y%m%d expands to /var/log/freeradius/radacct/127.0.0.1/detail-20100917<br />&nbsp; &nbsp; expand: %t -&gt; Fri Sep 17 16:00:57 2010<br />++[detail] returns ok<br />&nbsp; &nbsp; expand: /var/log/freeradius/radutmp -&gt; /var/log/freeradius/radutmp<br />&nbsp; &nbsp; expand: %{User-Name} -&gt; testuser<br />++[radutmp] returns ok<br />++[acct_unique] returns noop<br />&nbsp; &nbsp; expand: %{User-Name} -&gt; testuser<br />rlm_sql (sql): sql_set_user escaped user --&gt; &#039;testuser&#039;<br />&nbsp; &nbsp; expand: INSERT into radacct (AcctSessionId, AcctUniqueId, UserName, Realm, NASIPAddress, NASPortId, NASPortType, AcctStartTime, AcctStopTime, AcctSessionTime, AcctAuthentic, ConnectInfo_start, ConnectInfo_stop, AcctInputOctets, AcctOutputOctets, CalledStationId, CallingStationId, AcctTerminateCause, ServiceType, FramedProtocol, FramedIPAddress, AcctStartDelay, AcctStopDelay) values(&#039;%{Acct-Session-Id}&#039;, &#039;%{Acct-Unique-Session-Id}&#039;, &#039;%{SQL-User-Name}&#039;, &#039;%{Realm}&#039;, &#039;%{NAS-IP-Address}&#039;, &#039;%{NAS-Port}&#039;, &#039;%{NAS-Port-Type}&#039;, &#039;%S&#039;, &#039;0&#039;, &#039;0&#039;, &#039;%{Acct-Authentic}&#039;, &#039;%{Connect-Info}&#039;, &#039;&#039;, &#039;0&#039;, &#039;0&#039;, &#039;%{Called-Station-Id}&#039;, &#039;%{Calling-Station-Id}&#039;, &#039;&#039;, &#039;%{Service-Type}&#039;, &#039;%{Framed-Protocol}&#039;, &#039;%{Framed-IP-Address}&#039;, &#039;%{Acct-Delay-Time}&#039;, &#039;0&#039;) -&gt; INSERT into radacct (AcctSessionId, AcctUniqueId, UserName, Realm, NASIPAddress, NASPortId, NASPortType, AcctStartTime, AcctStopTime, AcctSessionTime, AcctAuthentic, ConnectInfo_start, ConnectInfo_stop, AcctInputOctets, AcctOutputOctets, CalledStationId, CallingStationId, AcctTerminateCause, ServiceType, FramedProtocol, FramedIPAddress, AcctStartDelay, AcctStopDelay) values(&#039;4c93741900000011&#039;, &#039;7b48c9ff641f78a5&#039;, &#039;testuser&#039;, &#039;&#039;, &#039;0.0.0.0&#039;, &#039;17&#039;, &#039;Wireless-802.11&#039;, &#039;2010-09-17 16:00:57&#039;, &#039;0&#039;, &#039;0&#039;, &#039;&#039;, &#039;&#039;, &#039;&#039;, &#039;0&#039;, &#039;0&#039;, &#039;00-0C-29-58-63-5B&#039;, &#039;00-1C-B3-C2-8A-F5&#039;, &#039;&#039;, &#039;&#039;, &#039;&#039;, &#039;172.25.156.18&#039;, &#039;&#039;, &#039;0&#039;)<br />rlm_sql (sql): Reserving sql socket id: 4<br />rlm_sql (sql): Released sql socket id: 4<br />++[sql] returns ok<br />Sending Accounting-Response of id 43 to 127.0.0.1 port 51236<br />Finished request 54.<br />Cleaning up request 54 ID 43 with timestamp +1249<br />Going to the next request<br />Waking up in 4.9 seconds.<br />Cleaning up request 53 ID 0 with timestamp +1249<br />Ready to process requests.</p><br /><p>#radiusd.conf</p><br /><br /><p>prefix = /usr<br />exec_prefix = /usr<br />sysconfdir = /etc<br />localstatedir = /var<br />sbindir = ${exec_prefix}/sbin<br />logdir = /var/log/freeradius<br />raddbdir = /etc/freeradius<br />radacctdir = ${logdir}/radacct</p><p>confdir = ${raddbdir}<br />run_dir = ${localstatedir}/run/freeradius</p><p>log_file = ${logdir}/radius.log</p><p>libdir = /usr/lib/freeradius</p><p>pidfile = ${run_dir}/freeradius.pid</p><p>user = freerad<br />group = freerad</p><p>max_request_time = 30</p><p>delete_blocked_requests = no</p><p>cleanup_delay = 5</p><p>max_requests = 1024</p><p>bind_address = *</p><p>port = 0</p><p>hostname_lookups = no</p><p>allow_core_dumps = no</p><p>regular_expressions&nbsp; &nbsp; = yes<br />extended_expressions&nbsp; &nbsp; = yes</p><p>log_stripped_names = yes</p><p>log_auth = yes</p><p>log_auth_badpass = yes<br />log_auth_goodpass = yes</p><p>usercollide = no</p><p>lower_user = no<br />lower_pass = no</p><p>nospace_user = no<br />nospace_pass = no</p><p>checkrad = ${sbindir}/checkrad</p><p>security {<br />&nbsp; &nbsp; max_attributes = 200<br />&nbsp; &nbsp; reject_delay = 1<br />&nbsp; &nbsp; status_server = no<br />}</p><p>proxy_requests&nbsp; = yes<br />$INCLUDE&nbsp; ${confdir}/proxy.conf</p><p>$INCLUDE&nbsp; ${confdir}/clients.conf<br />snmp&nbsp; &nbsp; = no<br />$INCLUDE&nbsp; ${confdir}/snmp.conf<br />thread pool {<br />&nbsp; &nbsp; start_servers = 5<br />&nbsp; &nbsp; max_servers = 32<br />&nbsp; &nbsp; min_spare_servers = 3<br />&nbsp; &nbsp; max_spare_servers = 10<br />&nbsp; &nbsp; max_requests_per_server = 0<br />}</p><p>modules {<br />&nbsp; &nbsp; pap {<br />&nbsp; &nbsp; &nbsp; &nbsp; encryption_scheme = clear<br />&nbsp; &nbsp; }<br />&nbsp; &nbsp; chap {<br />&nbsp; &nbsp; &nbsp; &nbsp; authtype = CHAP<br />&nbsp; &nbsp; }<br />&nbsp; &nbsp; pam {<br />&nbsp; &nbsp; &nbsp; &nbsp; pam_auth = radiusd<br />&nbsp; &nbsp; }</p><p>&nbsp; &nbsp; unix {<br />&nbsp; &nbsp; &nbsp; &nbsp; cache = no<br />&nbsp; &nbsp; &nbsp; &nbsp; cache_reload = 600<br />&nbsp; &nbsp; &nbsp; &nbsp; shadow = /etc/shadow<br />&nbsp; &nbsp; &nbsp; &nbsp; radwtmp = ${logdir}/radwtmp<br />&nbsp; &nbsp; }</p><p>$INCLUDE ${confdir}/eap.conf</p><p>&nbsp; &nbsp; mschap {<br />&nbsp; &nbsp; }</p><p>&nbsp; &nbsp; ldap {<br />&nbsp; &nbsp; &nbsp; &nbsp; server = &quot;ldap.your.domain&quot;<br />&nbsp; &nbsp; &nbsp; &nbsp; basedn = &quot;o=My Org,c=UA&quot;<br />&nbsp; &nbsp; &nbsp; &nbsp; filter = &quot;(uid=%{Stripped-User-Name:-%{User-Name}})&quot;</p><p>&nbsp; &nbsp; &nbsp; &nbsp; start_tls = no<br />&nbsp; &nbsp; &nbsp; &nbsp; access_attr = &quot;dialupAccess&quot;<br />&nbsp; &nbsp; &nbsp; &nbsp; dictionary_mapping = ${raddbdir}/ldap.attrmap<br />&nbsp; &nbsp; &nbsp; &nbsp; ldap_connections_number = 5<br />&nbsp; &nbsp; &nbsp; &nbsp; timeout = 4<br />&nbsp; &nbsp; &nbsp; &nbsp; timelimit = 3<br />&nbsp; &nbsp; &nbsp; &nbsp; net_timeout = 1<br />&nbsp; &nbsp; }</p><p>&nbsp; &nbsp; realm IPASS {<br />&nbsp; &nbsp; &nbsp; &nbsp; format = prefix<br />&nbsp; &nbsp; &nbsp; &nbsp; delimiter = &quot;/&quot;<br />&nbsp; &nbsp; &nbsp; &nbsp; ignore_default = no<br />&nbsp; &nbsp; &nbsp; &nbsp; ignore_null = no<br />&nbsp; &nbsp; }</p><p>&nbsp; &nbsp; realm suffix {<br />&nbsp; &nbsp; &nbsp; &nbsp; format = suffix<br />&nbsp; &nbsp; &nbsp; &nbsp; delimiter = &quot;@&quot;<br />&nbsp; &nbsp; &nbsp; &nbsp; ignore_default = no<br />&nbsp; &nbsp; &nbsp; &nbsp; ignore_null = no<br />&nbsp; &nbsp; }</p><p>&nbsp; &nbsp; realm realmpercent {<br />&nbsp; &nbsp; &nbsp; &nbsp; format = suffix<br />&nbsp; &nbsp; &nbsp; &nbsp; delimiter = &quot;%&quot;<br />&nbsp; &nbsp; &nbsp; &nbsp; ignore_default = no<br />&nbsp; &nbsp; &nbsp; &nbsp; ignore_null = no<br />&nbsp; &nbsp; }</p><p>&nbsp; &nbsp; realm ntdomain {<br />&nbsp; &nbsp; &nbsp; &nbsp; format = prefix<br />&nbsp; &nbsp; &nbsp; &nbsp; delimiter = &quot;\\&quot;<br />&nbsp; &nbsp; &nbsp; &nbsp; ignore_default = no<br />&nbsp; &nbsp; &nbsp; &nbsp; ignore_null = no<br />&nbsp; &nbsp; }&nbsp; &nbsp; </p><p>&nbsp; &nbsp; checkval {<br />&nbsp; &nbsp; &nbsp; &nbsp; item-name = Calling-Station-Id<br />&nbsp; &nbsp; &nbsp; &nbsp; check-name = Calling-Station-Id<br />&nbsp; &nbsp; &nbsp; &nbsp; data-type = string<br />&nbsp; &nbsp; }</p><p>&nbsp; &nbsp; detail {<br />&nbsp; &nbsp; &nbsp; &nbsp; detailfile = ${radacctdir}/%{Client-IP-Address}/detail-%Y%m%d<br />&nbsp; &nbsp; &nbsp; &nbsp; detailperm = 0600<br />&nbsp; &nbsp; }</p><p>&nbsp; &nbsp;&nbsp; detail auth_log {<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; detailfile = ${radacctdir}/%{Client-IP-Address}/auth-detail-%Y%m%d<br />&nbsp; &nbsp;&nbsp; }</p><p>&nbsp; &nbsp;&nbsp; detail reply_log {<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; detailfile = ${radacctdir}/%{Client-IP-Address}/reply-detail-%Y%m%d<br />&nbsp; &nbsp;&nbsp; }</p><p>&nbsp; &nbsp; acct_unique {<br />&nbsp; &nbsp; &nbsp; &nbsp; key = &quot;User-Name, Acct-Session-Id, NAS-IP-Address, Client-IP-Address, NAS-Port&quot;<br />&nbsp; &nbsp; }<br />&nbsp; &nbsp; $INCLUDE&nbsp; ${confdir}/sql.conf</p><p>&nbsp; &nbsp; radutmp {<br />&nbsp; &nbsp; &nbsp; &nbsp; filename = ${logdir}/radutmp<br />&nbsp; &nbsp; &nbsp; &nbsp; username = %{User-Name}<br />&nbsp; &nbsp; &nbsp; &nbsp; case_sensitive = yes<br />&nbsp; &nbsp; &nbsp; &nbsp; check_with_nas = yes&nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; perm = 0600<br />&nbsp; &nbsp; &nbsp; &nbsp; callerid = &quot;yes&quot;<br />&nbsp; &nbsp; }</p><p>&nbsp; &nbsp; radutmp sradutmp {<br />&nbsp; &nbsp; &nbsp; &nbsp; filename = ${logdir}/sradutmp<br />&nbsp; &nbsp; &nbsp; &nbsp; perm = 0644<br />&nbsp; &nbsp; &nbsp; &nbsp; callerid = &quot;no&quot;<br />&nbsp; &nbsp; }</p><p>&nbsp; &nbsp; attr_filter {<br />&nbsp; &nbsp; &nbsp; &nbsp; attrsfile = ${confdir}/attrs<br />&nbsp; &nbsp; }</p><p>&nbsp; &nbsp; counter daily {<br />&nbsp; &nbsp; &nbsp; &nbsp; filename = ${raddbdir}/db.daily<br />&nbsp; &nbsp; &nbsp; &nbsp; key = User-Name<br />&nbsp; &nbsp; &nbsp; &nbsp; count-attribute = Acct-Session-Time<br />&nbsp; &nbsp; &nbsp; &nbsp; reset = daily<br />&nbsp; &nbsp; &nbsp; &nbsp; counter-name = Daily-Session-Time<br />&nbsp; &nbsp; &nbsp; &nbsp; check-name = Max-Daily-Session<br />&nbsp; &nbsp; &nbsp; &nbsp; allowed-servicetype = Framed-User<br />&nbsp; &nbsp; &nbsp; &nbsp; cache-size = 5000<br />&nbsp; &nbsp; }</p><p>&nbsp; &nbsp; sqlcounter noresetcounter { <br />&nbsp; &nbsp; &nbsp; &nbsp; counter-name = Max-All-Session-Time <br />&nbsp; &nbsp; &nbsp; &nbsp; check-name = Max-All-Session <br />&nbsp; &nbsp; &nbsp; &nbsp; sqlmod-inst = sql <br />&nbsp; &nbsp; &nbsp; &nbsp; key = User-Name <br />&nbsp; &nbsp; &nbsp; &nbsp; reset = never <br />&nbsp; &nbsp; &nbsp; &nbsp; query = &quot;SELECT IFNULL(SUM(AcctSessionTime),0) FROM radacct WHERE UserName=&#039;%{%k}&#039;&quot;<br />&nbsp; &nbsp; }</p><p>&nbsp; &nbsp; sqlcounter weeklycounter { <br />&nbsp; &nbsp; &nbsp; &nbsp; driver = &quot;rlm_sqlcounter&quot; <br />&nbsp; &nbsp; &nbsp; &nbsp; counter-name = Weekly-Session-Time <br />&nbsp; &nbsp; &nbsp; &nbsp; check-name = Max-Weekly-Session <br />&nbsp; &nbsp; &nbsp; &nbsp; sqlmod-inst = sqlcca3 <br />&nbsp; &nbsp; &nbsp; &nbsp; key = User-Name <br />&nbsp; &nbsp; &nbsp; &nbsp; reset = weekly <br />&nbsp; &nbsp; &nbsp; &nbsp; query = &quot;SELECT SUM(AcctSessionTime - GREATEST((%b - UNIX_TIMESTAMP(AcctStartTime)), 0)) FROM radacct WHERE UserName=&#039;%{%k}&#039; AND \<br />&nbsp; &nbsp; &nbsp; &nbsp; UNIX_TIMESTAMP(AcctStartTime) + AcctSessionTime &gt; %b&quot; <br />&nbsp; &nbsp; }</p><p>&nbsp; &nbsp; sqlcounter dailycounter {<br />&nbsp; &nbsp; &nbsp; &nbsp; counter-name = Daily-Session-Time<br />&nbsp; &nbsp; &nbsp; &nbsp; check-name = Max-Daily-Session<br />&nbsp; &nbsp; &nbsp; &nbsp; sqlmod-inst = sql<br />&nbsp; &nbsp; &nbsp; &nbsp; key = User-Name<br />&nbsp; &nbsp; &nbsp; &nbsp; reset = daily</p><p>&nbsp; &nbsp; &nbsp; &nbsp; query = &quot;SELECT IFNULL(SUM(AcctSessionTime - \<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;GREATEST((%b - UNIX_TIMESTAMP(AcctStartTime)), 0)),0) \<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;FROM radacct WHERE UserName=&#039;%{%k}&#039; AND \<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;UNIX_TIMESTAMP(AcctStartTime) + AcctSessionTime &gt; %b&quot;<br />&nbsp; &nbsp; }</p><p>&nbsp; &nbsp; sqlcounter monthlycounter {<br />&nbsp; &nbsp; &nbsp; &nbsp; counter-name = Monthly-Session-Time<br />&nbsp; &nbsp; &nbsp; &nbsp; check-name = Max-Monthly-Session<br />&nbsp; &nbsp; &nbsp; &nbsp; sqlmod-inst = sql<br />&nbsp; &nbsp; &nbsp; &nbsp; key = User-Name<br />&nbsp; &nbsp; &nbsp; &nbsp; reset = monthly</p><p>&nbsp; &nbsp; &nbsp; &nbsp; query = &quot;SELECT SUM(AcctSessionTime - \<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;GREATEST((%b - UNIX_TIMESTAMP(AcctStartTime)), 0)) \<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;FROM radacct WHERE UserName=&#039;%{%k}&#039; AND \<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;UNIX_TIMESTAMP(AcctStartTime) + AcctSessionTime &gt; %b&quot;<br />&nbsp; &nbsp; }</p><p>&nbsp; &nbsp; always fail {<br />&nbsp; &nbsp; &nbsp; &nbsp; rcode = fail<br />&nbsp; &nbsp; }<br />&nbsp; &nbsp; always reject {<br />&nbsp; &nbsp; &nbsp; &nbsp; rcode = reject<br />&nbsp; &nbsp; }<br />&nbsp; &nbsp; always ok {<br />&nbsp; &nbsp; &nbsp; &nbsp; rcode = ok<br />&nbsp; &nbsp; &nbsp; &nbsp; simulcount = 0<br />&nbsp; &nbsp; &nbsp; &nbsp; mpp = no<br />&nbsp; &nbsp; }</p><p>&nbsp; &nbsp; expr {<br />&nbsp; &nbsp; }</p><p>&nbsp; &nbsp; digest {<br />&nbsp; &nbsp; }</p><p>&nbsp; &nbsp; exec {<br />&nbsp; &nbsp; &nbsp; &nbsp; wait = yes<br />&nbsp; &nbsp; &nbsp; &nbsp; input_pairs = request<br />&nbsp; &nbsp; }</p><p>&nbsp; &nbsp; exec echo {<br />&nbsp; &nbsp; &nbsp; &nbsp; wait = yes</p><p>&nbsp; &nbsp; &nbsp; &nbsp; program = &quot;/bin/echo %{User-Name}&quot;</p><p>&nbsp; &nbsp; &nbsp; &nbsp; input_pairs = request</p><p>&nbsp; &nbsp; &nbsp; &nbsp; output_pairs = reply</p><p>&nbsp; &nbsp; }</p><p>&nbsp; &nbsp; ippool main_pool {</p><p>&nbsp; &nbsp; &nbsp; &nbsp; range-start = 192.168.1.1<br />&nbsp; &nbsp; &nbsp; &nbsp; range-stop = 192.168.3.254<br />&nbsp; &nbsp; &nbsp; &nbsp; netmask = 255.255.255.0<br />&nbsp; &nbsp; &nbsp; &nbsp; cache-size = 800<br />&nbsp; &nbsp; &nbsp; &nbsp; session-db = ${raddbdir}/db.ippool<br />&nbsp; &nbsp; &nbsp; &nbsp; ip-index = ${raddbdir}/db.ipindex<br />&nbsp; &nbsp; &nbsp; &nbsp; override = no<br />&nbsp; &nbsp; &nbsp; &nbsp; maximum-timeout = 0<br />&nbsp; &nbsp; }<br />}</p><p>instantiate {<br />&nbsp; &nbsp; exec<br />&nbsp; &nbsp; expr<br />}</p><p>authorize {<br />&nbsp; &nbsp; auth_log<br />&nbsp; &nbsp; chap<br />&nbsp; &nbsp; mschap<br />&nbsp; &nbsp; suffix<br />&nbsp; &nbsp; eap<br />&nbsp; &nbsp; sql<br />&nbsp; &nbsp; noresetcounter <br />&nbsp; &nbsp; dailycounter <br />&nbsp; &nbsp; weeklycounter<br />&nbsp; &nbsp; monthlycounter<br />}</p><br /><br /><p>authenticate {<br />&nbsp; &nbsp; Auth-Type PAP {<br />&nbsp; &nbsp; &nbsp; &nbsp; pap<br />&nbsp; &nbsp; }</p><p>&nbsp; &nbsp; Auth-Type CHAP {<br />&nbsp; &nbsp; &nbsp; &nbsp; chap<br />&nbsp; &nbsp; }</p><p>&nbsp; &nbsp; Auth-Type MS-CHAP {<br />&nbsp; &nbsp; &nbsp; &nbsp; mschap<br />&nbsp; &nbsp; }<br />&nbsp; &nbsp; unix<br />&nbsp; &nbsp; eap<br />}</p><br /><p>preacct {<br />&nbsp; &nbsp; acct_unique<br />&nbsp; &nbsp; suffix<br />}</p><p>accounting {<br />&nbsp; &nbsp; detail<br />&nbsp; &nbsp; radutmp<br />&nbsp; &nbsp; acct_unique<br />&nbsp; &nbsp; sql<br />}</p><br /><p>session {<br />&nbsp; &nbsp; sql<br />}</p><br /><p>post-auth {<br />&nbsp; &nbsp; reply_log<br />&nbsp; &nbsp; sql<br />}</p><p>pre-proxy {</p><p>}</p><p>post-proxy {<br />&nbsp; &nbsp; eap<br />}</p><p>log {<br />&nbsp; &nbsp; syslog_facility = daemon<br />}</p>]]></description>
			<author><![CDATA[null@example.com (kobet)]]></author>
			<pubDate>Fri, 17 Sep 2010 14:51:57 +0000</pubDate>
			<guid>http://www.chillispot.org/chilliforum/topic530-user-with-valid-password-is-not-allowed-sometimes-please-help-new-posts.html</guid>
		</item>
		<item>
			<title><![CDATA[exit on Invalid uamallowed domain or address]]></title>
			<link>http://www.chillispot.org/chilliforum/topic389-exit-on-invalid-uamallowed-domain-or-address-new-posts.html</link>
			<description><![CDATA[<p>hello,&nbsp; if one of the hosts in uamallowed list&nbsp; does not resolve chilli refuse to load. I suggest that we should just log&amp;skip such unresolvable hostname and proceed with next one...</p><p>I have several tens of chillispots deployed in both uam + wpa configuration. the idea is that peer conects via UAM, registers account and makes online payment via his bank (bank&#039;s hostnames in uamallowed). One of the banks has silently removed one of it&#039;s hostnames from DNS and chillispot refused to start ......</p>]]></description>
			<author><![CDATA[null@example.com (jn)]]></author>
			<pubDate>Tue, 29 Sep 2009 10:14:22 +0000</pubDate>
			<guid>http://www.chillispot.org/chilliforum/topic389-exit-on-invalid-uamallowed-domain-or-address-new-posts.html</guid>
		</item>
		<item>
			<title><![CDATA[Some sites will not load]]></title>
			<link>http://www.chillispot.org/chilliforum/topic374-some-sites-will-not-load-new-posts.html</link>
			<description><![CDATA[<p>I am running chillispot v1.1.0. Several sites, so far mostly travel sites will not load. Other sites, i.e.; google, work fine.</p><p>Here are some of the sites that will not load. I am getting &quot;Page cannot be displayed&quot;. Note that the authentication works and most sites work fine.</p><p>www.expedia.com<br />www.continental.com<br />www.fedex.com</p>]]></description>
			<author><![CDATA[null@example.com (jerzhere)]]></author>
			<pubDate>Tue, 01 Sep 2009 18:13:21 +0000</pubDate>
			<guid>http://www.chillispot.org/chilliforum/topic374-some-sites-will-not-load-new-posts.html</guid>
		</item>
		<item>
			<title><![CDATA[Bandwidth-Max-Up do not work]]></title>
			<link>http://www.chillispot.org/chilliforum/topic366-bandwidthmaxup-do-not-work-new-posts.html</link>
			<description><![CDATA[<p>Hello guys<br />I&#039;m working in some new features of chillispot, like a socket to check associate clients, authorize or disconnect they all this stuff look that working ok, and before done my pathch I did add bandwidthmaxup and bandwidthmaxdown setting to apply it for all users by default when radius do no send thoes attributes.</p><p>The settings works perfect, and bandwidthmaxdown too, but bandwidthmaxup do not work well, or don&#039;t work, I did try differents way to compile to be sure leaky_bucket functions is called, and have the proper bucketupsize, I did debug it and the function look like work, do every step that would do, but do not stop the ulpoad trafic.</p><p>I don&#039;t have a lot experience with tun/tap staff, but look like leaky_bucket is called after tun send outgoing data.</p><p>Anyone have some Idea to help me to fix this issue.</p><p>Note: bandwithmaxup do not work too in standart chillispot and I did try it over linksys WRT54GL with openwrt and PC with debian.</p>]]></description>
			<author><![CDATA[null@example.com (fofware)]]></author>
			<pubDate>Tue, 11 Aug 2009 15:10:33 +0000</pubDate>
			<guid>http://www.chillispot.org/chilliforum/topic366-bandwidthmaxup-do-not-work-new-posts.html</guid>
		</item>
		<item>
			<title><![CDATA[openmesh node not logging in though captive portal]]></title>
			<link>http://www.chillispot.org/chilliforum/topic360-openmesh-node-not-logging-in-though-captive-portal-new-posts.html</link>
			<description><![CDATA[<p>I am having trouble logging in on the captive portal I an using openmesh nodes with openmesh dashboard going though worldspot with chillispot captive portal and can not log on to the portal. I can log on to the net though the open network but not though the captive portal. can someone tell me why.</p><p>nkm</p>]]></description>
			<author><![CDATA[null@example.com (nkm)]]></author>
			<pubDate>Wed, 22 Jul 2009 05:46:12 +0000</pubDate>
			<guid>http://www.chillispot.org/chilliforum/topic360-openmesh-node-not-logging-in-though-captive-portal-new-posts.html</guid>
		</item>
		<item>
			<title><![CDATA[Bug in 64-bit environment ? (MD5 calc ?)]]></title>
			<link>http://www.chillispot.org/chilliforum/topic349-bug-in-64bit-environment-md5-calc-new-posts.html</link>
			<description><![CDATA[<p>Hi, </p><p>I`ve previously installed and used chillispot on many 32-bit systems.</p><p>I`ve installed a fresh copy of BlueWhite 64 12.2 ,using stock kernel (and all other software is distro clean)</p><p>uname -a <br />Linux eoefwA01 2.6.27.7 #1 SMP Fri Dec 5 01:27:18 EET 2008 x86_64 Intel(R) Core(TM)2 Quad&nbsp; CPU&nbsp; &nbsp;Q8200&nbsp; @ 2.33GHz GenuineIntel GNU/Linux</p><p>root@eoefwA01:~# gcc -v<br />Reading specs from /usr/lib/gcc/x86_64-pc-linux/4.2.4/specs<br />Target: x86_64-pc-linux<br />Configured with: ../gcc-4.2.4/configure --prefix=/usr --enable-shared --enable-languages=ada,c,c++,fortran,java,objc --disable-multilib --enable-threads=posix --enable-__cxa_atexit --disable-checking --with-gnu-ld --verbose --build=x86_64-pc-linux --target=x86_64-pc-linux --host=x86_64-pc-linux<br />Thread model: posix<br />gcc version 4.2.4</p><br /><br /><p>I`ve installed remote radius servers (also on same distro) (freeradius 2.1.6) and chillispot 1.1.0 .</p><p>I`ve spent hours trying to access to radius servers from machine running chilli but couldn`t. Error was</p><p>(Shared secret is incorrect.) Dropping packet without response</p><p>Checked secrets manytimes but noway.</p><p>downgraded both to 2.1.0 and 1.0.0 , nothing changed.</p><p>Keeping my SAME configuration on radius servers, (and running) I`ve installed a native 32-bit Slackware 12.2 on another machine (same hardware).</p><p>Everything worked fine, even with old configuration files, without touching to freeradius machines.</p><br /><br /><p>Can it be a problem about calculating MD5 or other cryptographic functions on 64-bit systems during first connection with radius ?</p><p>Any ideas ?</p><p>Thanks ,</p><p>Kivanc</p>]]></description>
			<author><![CDATA[null@example.com (kivanc_karanis)]]></author>
			<pubDate>Mon, 15 Jun 2009 16:50:41 +0000</pubDate>
			<guid>http://www.chillispot.org/chilliforum/topic349-bug-in-64bit-environment-md5-calc-new-posts.html</guid>
		</item>
		<item>
			<title><![CDATA[Acct-Interim-Interval not working]]></title>
			<link>http://www.chillispot.org/chilliforum/topic323-acctinteriminterval-not-working-new-posts.html</link>
			<description><![CDATA[<p>Chillispot 1.0-4 on Debian Etch (dpkg) &amp; Freeradius 1.1.3-3</p><p>We have been pulling our hair out for days trying to make the accounting interval work in this setup to no avail, it seems chilli just does nothing with it which seems like a bug.</p><p>16:36:58.972685 IP (tos 0x0, ttl&nbsp; 64, id 0, offset 0, flags [DF], proto: UDP (17), length: 54) 127.0.0.1.1812 &gt; 127.0.0.1.32775: RADIUS, length: 26<br />&nbsp; &nbsp; &nbsp; &nbsp; Access Accept (2), id: 0x00, Authenticator: a6b4d2e103f2d40913e183248d231c6d<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Accounting Interim Interval Attribute (85), length: 6, Value: 30 secs</p><p>You can see above it clearly get sent with Access Accept but nothing happens until the user logs off when accounting is updated for the session.</p><p>tcpdump shows nothing over the period, no failure logs in freeradius.</p><p>Regards<br />Nick</p>]]></description>
			<author><![CDATA[null@example.com (tmcruisin)]]></author>
			<pubDate>Wed, 29 Apr 2009 07:31:16 +0000</pubDate>
			<guid>http://www.chillispot.org/chilliforum/topic323-acctinteriminterval-not-working-new-posts.html</guid>
		</item>
		<item>
			<title><![CDATA[Re-Direct fail DNS issue not covered in the FAQ]]></title>
			<link>http://www.chillispot.org/chilliforum/topic281-redirect-fail-dns-issue-not-covered-in-the-faq-new-posts.html</link>
			<description><![CDATA[<p>This project seems mostly dead... which is a damn shame cause its the best out there and I&#039;d love to hop on board.<br />Regardless I&#039;d like to post bug I&#039;ve found, and I&#039;m really surprised no one has posted it yet as it was a BIG hurdle for me.</p><p>I tried every version of DDWRT available for the WRT54GL and finally found a strange issue with chillispot not properly configuring the DNS server.</p><p>The symptoms were:<br />Re-direction would intermittently work. Sometimes it would work for a few hours. Sometimes it would only resolve the first uamallowed (ie. paypal.com but not paypalobjects.com). And sometimes redirection wouldnt work at all unless the original address specified was numeric (ie. 207.34.23.43 instead of google.com). Rebooting the router / enabling and disabling chillispot would randomly, temporarily, fix this issue.</p><p>The fix:<br />telnet into the router and manually edit the /etc/resolv.conf file to use the required DNS server. Mine was set to the default 192.168.1.1 which isnt even the same subnet as the chilli DHCP, so it could not use the static WAN addresses as one would hope. Changing this value to the ISP&#039;s external DNS resolved all issues with the server not starting, improper forwarding, and slow/intermittent uamallowed resolve.</p><p>Very strange issue. Hope this helps someone.</p>]]></description>
			<author><![CDATA[null@example.com (tom229)]]></author>
			<pubDate>Thu, 15 Jan 2009 06:03:13 +0000</pubDate>
			<guid>http://www.chillispot.org/chilliforum/topic281-redirect-fail-dns-issue-not-covered-in-the-faq-new-posts.html</guid>
		</item>
		<item>
			<title><![CDATA[DUP packets?]]></title>
			<link>http://www.chillispot.org/chilliforum/topic266-dup-packets-new-posts.html</link>
			<description><![CDATA[<p>I am running Chilli 1.1.0 on OpenWRT Kamikaze r13624 at present.<br />It works fine for Windows users but not Macintosh.&nbsp; Mac users cannot<br />even get the login page.&nbsp; If I test from Mac it shows DUP packets<br />on every ping.&nbsp; I connected laptops via wired LAN ports to eliminate<br />WiFi issues and the problem persists.</p><p>When I run tcpdump on WRT I can clearly see the dups:</p><p>23:27:15.723230 IP 10.69.2.1 &gt; 10.69.2.2: ICMP echo reply, id 512, seq 1536, length 40<br />23:27:15.820406 IP 10.69.2.2 &gt; 10.69.2.1: ICMP echo request, id 512, seq 1536, length 40<br />23:27:15.821217 IP 10.69.2.1 &gt; 10.69.2.2: ICMP echo reply, id 512, seq 1536, length 40</p><p>Perhaps Windows is forgiving of these duplicates &amp; Mac is not?<br />How can I separate where these dups are introduced?<br />My prime suspects would be kmod-tun or chilli, others?</p>]]></description>
			<author><![CDATA[null@example.com (vincentfox)]]></author>
			<pubDate>Sun, 14 Dec 2008 07:36:46 +0000</pubDate>
			<guid>http://www.chillispot.org/chilliforum/topic266-dup-packets-new-posts.html</guid>
		</item>
		<item>
			<title><![CDATA[Server hungs running chilli]]></title>
			<link>http://www.chillispot.org/chilliforum/topic242-server-hungs-running-chilli-new-posts.html</link>
			<description><![CDATA[<p>Hi,<br />I&#039;m using chilli + radius to restrict access to my network. This server hungs regularly about once per week. Some times it works longer sometimes shorter. I had similar problem running chilli on WRT54G&nbsp; with OpenWRT and chilli. I&#039;ve changed this configuration to server because I thought that this is because low memory and slow processor of WRT54G but problem still exists on server. (Server was changed too <img src="http://www.chillispot.org/chilliforum/img/smilies/smile.png" width="15" height="15" alt="smile" /> )<br />I have about 15 network users. Some of them use mac addres login, some of them login through UAM page.</p><p>When server hangs it is totally dead.<br />What can I do or what I have to change to make it stable? Is it a chilli problem? Has any similar problem to this?</p><p>There is no logs or other things (even on screen which is black when it hangs) to help diagnose problem.</p><p>Thanks for any help. </p><p>E.</p>]]></description>
			<author><![CDATA[null@example.com (emilus)]]></author>
			<pubDate>Mon, 13 Oct 2008 21:22:59 +0000</pubDate>
			<guid>http://www.chillispot.org/chilliforum/topic242-server-hungs-running-chilli-new-posts.html</guid>
		</item>
		<item>
			<title><![CDATA[FAQ contains bad link for Buglist forum]]></title>
			<link>http://www.chillispot.org/chilliforum/topic228-faq-contains-bad-link-for-buglist-forum-new-posts.html</link>
			<description><![CDATA[<p>Don&#039;t know if this belongs in here, but the link to the Buglist forum in the FAQ points to a copy of this forum on archive.org.</p>]]></description>
			<author><![CDATA[null@example.com (spb)]]></author>
			<pubDate>Thu, 04 Sep 2008 04:54:35 +0000</pubDate>
			<guid>http://www.chillispot.org/chilliforum/topic228-faq-contains-bad-link-for-buglist-forum-new-posts.html</guid>
		</item>
		<item>
			<title><![CDATA[Chillispot incorrectly handles redirect URLs with GET variables]]></title>
			<link>http://www.chillispot.org/chilliforum/topic227-chillispot-incorrectly-handles-redirect-urls-with-get-variables-new-posts.html</link>
			<description><![CDATA[<p>Using Chillispot on DD-WRT v24-SP1:</p><p>If you use a redirect URL that contains a GET variable, Chillispot will incorrectly append its own GET variables with a leading &#039;?&#039;.&nbsp; This leads to the loss of the first GET variable, which appears to always be the &#039;res&#039; variable.</p><p>Example:</p><p>If you supply a the redirect URL &#039;https://www.foozle.com?foo=bar&#039;, hotspotlogin.php (or the moral equivalent) will use the URL &#039;https://www.foozle.com?foo=bar?res=notyet&amp;uamip=...&#039; (incorrect) instead of &#039;https://www.foozle.com?foo=bar&amp;res=notyet&amp;uamip=...&#039; and so on.</p><p>The result is that GET variables cannot be used in the redirect URL, because the hotspotlogin.php (or whatever) will be unable to obtain the value of the &#039;res&#039; GET variable.</p>]]></description>
			<author><![CDATA[null@example.com (spb)]]></author>
			<pubDate>Thu, 04 Sep 2008 04:53:02 +0000</pubDate>
			<guid>http://www.chillispot.org/chilliforum/topic227-chillispot-incorrectly-handles-redirect-urls-with-get-variables-new-posts.html</guid>
		</item>
		<item>
			<title><![CDATA[Chillispot Fails sending the user password]]></title>
			<link>http://www.chillispot.org/chilliforum/topic225-chillispot-fails-sending-the-user-password-new-posts.html</link>
			<description><![CDATA[<p>Hello.</p><p>I has been instaled chillispot in two machines, both with debian 4.0 and freeradius with ldap.<br />In linux, MAC OS, WinXP i can login whit any user in the ldap, so when i try with win vista i cannot login.</p><p>When I login with linux, MAC OS an d win xp i can see the password, but with win vista the password change to strange characters.</p>]]></description>
			<author><![CDATA[null@example.com (jpill)]]></author>
			<pubDate>Tue, 02 Sep 2008 16:14:46 +0000</pubDate>
			<guid>http://www.chillispot.org/chilliforum/topic225-chillispot-fails-sending-the-user-password-new-posts.html</guid>
		</item>
		<item>
			<title><![CDATA[error: expected specifier-qualifier-list before '__u64']]></title>
			<link>http://www.chillispot.org/chilliforum/topic203-error-expected-specifierqualifierlist-before-u64-new-posts.html</link>
			<description><![CDATA[<p>make&nbsp; all-recursive<br />make[1]: Entering directory `/root/SRC/chillispot-1.0&#039;<br />Making all in src<br />make[2]: Entering directory `/root/SRC/chillispot-1.0/src&#039;<br />if gcc -DHAVE_CONFIG_H -I. -I. -I..&nbsp; &nbsp; -D_GNU_SOURCE -fno-builtin -ansi -DSBINDIR=&#039;&quot;/usr/local/sbin&quot;&#039;&nbsp; -g -O2 -MT tun.o -MD -MP -MF &quot;.deps/tun.Tpo&quot; -c -o tun.o tun.c; \<br />&nbsp; &nbsp; &nbsp; &nbsp; then mv -f &quot;.deps/tun.Tpo&quot; &quot;.deps/tun.Po&quot;; else rm -f &quot;.deps/tun.Tpo&quot;; exit 1; fi<br />In file included from /usr/include/linux/rtnetlink.h:5,<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from tun.c:47:<br />/usr/include/linux/if_link.h:43: error: expected specifier-qualifier-list before &#039;__u64&#039;<br />In file included from /usr/include/linux/rtnetlink.h:7,<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from tun.c:47:<br />/usr/include/linux/neighbour.h:92: error: expected specifier-qualifier-list before &#039;__u64&#039;<br />make[2]: *** [tun.o] Error 1<br />make[2]: Leaving directory `/root/SRC/chillispot-1.0/src&#039;<br />make[1]: *** [all-recursive] Error 1<br />make[1]: Leaving directory `/root/SRC/chillispot-1.0&#039;<br />make: *** [all] Error 2</p><p>then i just remove &quot;-ansi&quot; from src/Marefile<br />--- src/Makefile.old&nbsp; &nbsp; 2008-07-22 17:33:17.000000000 +0300<br />+++ src/Makefile&nbsp; &nbsp; &nbsp; &nbsp; 2008-07-22 17:33:39.000000000 +0300<br />@@ -171,7 +171,7 @@<br /> target_alias =</p><p> # add -pg to enable gprof<br />-AM_CFLAGS = -D_GNU_SOURCE -fno-builtin -ansi -DSBINDIR=&#039;&quot;$(sbindir)&quot;&#039;<br />+AM_CFLAGS = -D_GNU_SOURCE -fno-builtin -DSBINDIR=&#039;&quot;$(sbindir)&quot;&#039;<br /> chilli_SOURCES = chilli.c defs.h tun.c tun.h cmdline.c cmdline.h ippool.c ippool.h radius.h radius.c md5.c md5.h redir.h redir.c dhcp.c dhcp.h syserr.c syserr.h iphash.c iphash.h lookup.c lookup.h<br /> chilli_LDFLAGS = -lcrypt<br /> all: all-am</p>]]></description>
			<author><![CDATA[null@example.com (sanitar)]]></author>
			<pubDate>Tue, 22 Jul 2008 14:23:38 +0000</pubDate>
			<guid>http://www.chillispot.org/chilliforum/topic203-error-expected-specifierqualifierlist-before-u64-new-posts.html</guid>
		</item>
	</channel>
</rss>
