Radius Accounting

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello

I have been doing the Radius accounting for a few days but its not
working.I am using OpenRadius as a Radius Server and GnuGK 2.0.8 as a
Gatekeeper.But whenever i tries to log on for accounting, it dont
allow me (Reject!!!). Following is the Accounting Section in my
gnugk.ini file.

*****************************************************************
[RadAcct]
Servers=150.150.15.5

DefaultAcctPort=1814

SharedSecret=common

IdCacheTimeout=9000

RequestRetransmissions=2

RoundRobinServers=1

AppendCiscoAttributes=1

IncludeEndpointIP=1

********************************************************************
And following is the error log

********************************************************************
[recv] job_new: Received request:
        INTERNAL:None:Timestamp = 1111381850
        INTERNAL:None:IP-Source = 150.150.15.116
        INTERNAL:None:IP-Dest = 0.0.0.0
        INTERNAL:None:UDP-Source = 1050
        INTERNAL:None:UDP-Dest = 1814
        UDP-PKT:Any:RAD-Packet =
"\x04\x0c\x00(\xf9\xf6O\xbf\x19\xd1\x9c.\xce#Lx4\xa8\xfe\xf1\x01\x08Kamran(\x06\x00\x00\x00\x01,\x062464"
        RAD-PKT:None:RAD-Code = Accounting-Request
        RAD-PKT:None:RAD-Identifier = 12
        RAD-PKT:None:RAD-Length = 40
        RAD-PKT:None:RAD-Authenticator =
"\xf9\xf6O\xbf\x19\xd1\x9c.\xce#Lx4\xa8\xfe\xf1"
        RAD-ATR:None:User-Name = "Kamran"
        RAD-ATR:None:Acct-Status-Type = Start
        RAD-ATR:None:Acct-Session-Id = "2464"
statement: [select attribute, value from data where space=? and name=?]
bindlist:  [str,IP-Source]
bindvar 1: a=[str] v=[clients] i=[0]
bindvar 2: a=[IP-Source] v=[150.150.15.116] i=[0]
returning: Secret=[common]
returning: r=[1]
statement: [insert into log (log_when, log_who, log_what) values (now(), ?, ?)]
bindlist:  [IP-Source,str]
bindvar 1: a=[IP-Source] v=[150.150.15.116] i=[0]
bindvar 2: a=[str] v=[Invalid signature on accounting request from NAS
0.0.0.0 for user Kamran] i=[0]
returning: r=[1]
[send] ABORT - No details

*******************************************************************************************

Following is my Data table in MYSQL from which data is taken

***************************************************************************
+----+---------+----------------+-------------------+------------+-----------+---------+
| id | space   | name                | attribute                    |
value      |
+----+---------+----------------+-------------------+------------+-----------+---------+
|  1 | clients | 127.0.0.1            | Secret                     | h1dd3n     
|  2 | users   | evbergen            | clear-password         | welcome1  
|  3 | users   | evbergen            | Framed-IP-Address   | 172.31.1.1
|  4 | users   | evbergen            | Service-Type             | Framed      
|  5 | clients | 150.150.15.38     | Secret                      | common    
| 11 | clients | 150.150.15.116   | Secret                      | common     
|  9 | users   | Kamran               | clear-password         | common     
+----+---------+----------------+-------------------+------------+-----------+---------+

and following is my accounts table

********************************************************************************

+----------------+--------+----------+---------+---------+------------+-------------+------------+-------------+
|   space               | name     | password 
-------------+--------+----------+---------+---------+------------+-------------+------------+-------------+
| 150.150.15.38    |    Kamran  | common  
| 150.150.15.116  |    Kamran  | common
+----------------+--------+----------+-+----------------+--------+----------+-+----------------+--------+---

*********************************************************************

So , can u tell me that where i am having fault.

Bye

-- 
Kamran Bukhari


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

_______________________________________________________

List: Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549
Homepage: http://www.gnugk.org/

[Index of Archives]     [SIP]     [Open H.323]     [Gnu Gatekeeper]     [Asterisk PBX]     [ISDN Cause Codes]     [Yosemite News]

  Powered by Linux