Help in Radius....
Hello. Uses...Good Morning...So long back I mailing to Users List.I ownning two openser System are Linux... one is Fedora core 5. other is RedHat AS 4.I don't have any problem in Fedora core 5 while installing the FreeRadius1.1.3 , it working fine and clearWhen I using RHEL AS 4 with mysql database + FreeRadius.Problem... is below rlm_sql (sql): Could not link driver rlm_sql_mysql: rlm_sql_mysql.so: cannot open shared object file: No such file or directory rlm_sql (sql): Make sure it (and all its dependent libraries!) are in the search path of your system's ld. radiusd.conf[14]: sql: Module instantiation failed.-- Thanks and RegardsRavi Prakash Sunkara [EMAIL PROTECTED] M:+91 9985077535O:+91 40 23114549F:+91 40 40208727 [EMAIL PROTECTED]www.hyperion-tech.com - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
How to catch the Mc address of the user into radius databases,
Hi Users,please for give in my english, Can anyone let me, How to catch the Mac Address of the user and their public ip , that need to insert in radius database , which we having the radamin adnd dialadmin fro radius adminstrator tools, please help me -- Thanks and Regards with cheersSunkara Ravi Prakash (Voip Developer)Hyperion Technologywww.hyperion-tech.com+91-9985077535 - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
doubt in Radius and openser fro accounting...
Hi Users, For Me, in Openser + radius Authorize and Acthentication is Succeed Very Good and Nice, But When some to Account, I'm little sucking here When Uac1 dials to Uac2 , radacctID | AcctSessionID | AcctuniqueID | UserName | AcctStartTime | ActStopTime | calledID | callingID |-- 1 12h34yy 2334juuw45 Uac1 13:10:00 00:00:00 Uac2 uac12 12h34yy ko34ji899 Uac2 13:11:11 13:11:11 Uac1 Uac2--- In accountting with openser + radius in should insert only one insert for every call made .But I think it insert only two records only. and AcctuniqueD should me same for each call makes then only the AcctStopTime will properly . in openser... loose record---if(method==BYE || method==CANCEL) { acc_rad_request(Stop); unforce_rtp_proxy(); } record route sectionif( method==INVITE || method==ACK){ acc_rad_request(Start); forcr_rtp_proxy(); }plz help me in that .. sorry in my english ... -- Thanks and Regards with cheersSunkara Ravi Prakash (Voip Developer)Hyperion TechnologyKondapur, Hi-tech city,Hyderabad. www.hyperion-tech.com+91-9985077535 - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
AcctSessionTime is inserting Null
Hi Users, So long back I'm mailing ... Now install Radius Server and client Freshly Actual My problem is THat ... In Accounting Part in . When I radius server recieve the Acc-status-type is Stop , AcctSessionTime is inserting NULL i.e 0 .. That is my problem Plz give hint to resolve it Cheers Bye --Thanks and Regards with cheersSunkara Ravi Prakash Hyperion TechnologyKondapur, Hi-tech city,Hyderabad.www.hyperion-tech.com+91-9985077535 - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
How to configure the Radius in SSH (22)
Hi Users, I Want to create the radius (AAA) for remote accessing By using the putty in SSHCan anyone Give the clues to me on That or any url or documentation .. plz for me in English... .. -- Thanks and Regards with cheersSunkara Ravi Prakash (LAMP programming)Hyperion TechnologyKondapur, Hi-tech city,Hyderabad. www.hyperion-tech.com+91-9985077535 - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Need help on PHP and Radius
Hi Guys...I need to integrate php and raadius...Actually i want to create the own user interface on OPENSER.That on PHP 5 is having the radis integration .So i need it...Now , I'm using the Radius in openser for AAA purpose only...Now I need to develop web interface for my application with radius...plz help me on this.-- Thanks and Regards with cheers Sunkara Ravi Prakash (Voip Developer)Hyperion TechnologyKondapur, Hi-tech city,Hyderabad.www.hyperion-tech.com+91-9985077535 - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
PHP + radius
Hi GuysHappy friend ship day... !I'm Working on Linux. box..I want How to integrate the PHP with RADIUSCcan any one tell the Doccumetation Help me ! -- Thanks and Regards with cheersSunkara Ravi Prakash (Voip Developer)Hyperion TechnologyKondapur, Hi-tech city,Hyderabad.www.hyperion-tech.com +91-9985077535 - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
called failed 408 Request timeout
hi users, I need to say just hello to all I'm working on openser + radius.. Actually in LAN network its working fine... When I deploy the openser + radius in My main server which is in some other place . its successfully login and When I trying to make call its show the log messages as Called Failed :- 408 Request TimeOut = modparam('registrar,nat_flag',6) modparam(nathelper,natping_interval,30) modparam(nathelper,ping_nated_only,1) modparam(nathelper, rtpproxy_sock, unix:/var/run/rtpproxy.sock) #33 modparam(rr, enable_full_lr, 1) ### route { # initial sanity checks -- messages with # max_forwards==0, or excessively long requests if (!mf_process_maxfwd_header(13)) { sl_send_reply(483,Too Many Hops!); exit; }; if ( msg:len max_len ) { sl_send_reply(513, Message too big); exit; }; # we record-route all messages -- to make sure that # subsequent messages will go through our proxy; that's # particularly good if upstream and downstream entities # use different transport protocol if(!method== REGISTER) { record_route(); }; # loose-route processing if (loose_route()) { # add now 0n 9 setflag(1); acc_rad_request(200 ok ); t_relay(); exit; }; # account completed transactions via syslog if(uri==myself) { if(method==REGISTER) { if(!radius_www_authorize(192.168.2.55)) { www_challenge(192.168.2.55,0); exit; }; #consume_credentials(); save(location); if (m_dump()) { log(MSILO: offline messages dumped - if they were\n); }else{ log(MSILO: no offline messages dumped\n); }; exit; }; if(method==INVITE|| method==ACK) { record_route(); acc_rad_request(200); if(isflagset(6)) { force_rtp_proxy(e); }; #setflag(1); t_on_reply(1); }; /* if (method==BYE) { record_route(); }; */ if (method==MESSAGE) { log(1, MESSAGE\n); setflag(1); /* set for accounting (the same value as in log_flag!) */ }; fix_nat_contact(); if (method==BYE || method==CANCEL) { #log (1, BYE or CANCEL\n); #setflag(1); acc_rad_request(200); #acc_rad_request(Stop); unforce_rtp_proxy(e); #setflag(1); }; if(!lookup(location)) { sl_send_reply(404,Woo. NOt found); }; }; if(!t_relay()) { sl_reply_error(); }; lookup(aliases); #setflag(2); exit; } onreply_route[1] { if( isflagset96) status=~[0-9][0-9][0-9]) { fix_nat_contact(); force_rtp_proxy(e); }; } =-- Thanks and Regards with cheersSunkara Ravi Prakash (Voip Developer)Hyperion Technology www.hyperion-tech.comb - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Accounting Stop time is not inserting in radacct tables in Radius by using openser
Hi please this Issuse ... Radius server debug mode... rad_recv: Accounting-Request packet from host 192.168.2.55:32807, id=58, length=221 Acct-Status-Type = Failed Service-Type = IAPP-AP-Check Sip-Response-Code = 0 Sip-Method = INVITE User-Name = [EMAIL PROTECTED] Calling-Station-Id = sip: [EMAIL PROTECTED] Called-Station-Id = sip: [EMAIL PROTECTED] Sip-Translated-Request-URI = sip: [EMAIL PROTECTED] Acct-Session-Id = [EMAIL PROTECTED] Sip-To-Tag = n/a Sip-From-Tag = 3693743074 Sip-Cseq = 34571 NAS-Port = 5060 Acct-Delay-Time = 0 NAS-IP-Address = 192.168.2.55 Processing the preacct section of radiusd.conf modcall: entering group preacct for request 11 modcall[preacct]: module preprocess returns noop for request 11 rlm_realm: Looking up realm 192.168.2.55 for User-Name = [EMAIL PROTECTED] rlm_realm: No such realm 192.168.2.55 modcall[preacct]: module suffix returns noop for request 11 modcall: leaving group preacct (returns noop) for request 11 Processing the accounting section of radiusd.conf modcall: entering group accounting for request 11 rlm_acct_unique: Hashing 'NAS-Port = 5060,Client-IP-Address = 192.168.2.55,NAS-IP-Address = 192.168.2.55,Acct-Session-Id = [EMAIL PROTECTED],User-Name = [EMAIL PROTECTED] ' rlm_acct_unique: Acct-Unique-Session-ID = ef0513de749b7034. modcall[accounting]: module acct_unique returns ok for request 11 radius_xlat: '/usr/local/var/log/radius/radacct/192.168.2.55/detail-20060605' rlm_detail: /usr/local/var/log/radius/radacct/%{Client-IP-Address}/detail-%Y%m%d expands to /usr/local/var/log/radius/radacct/192.168.2.55/detail-20060605 rlm_detail: Failed to create directory /usr/local/var/log/radius/radacct/192.168.2.55: Permission denied modcall[accounting]: module detail returns fail for request 11 modcall: leaving group accounting (returns fail) for request 11 Finished request 11 Going to the next request Below one is openser.cfg file please help me #* modparam(usrloc, db_mode, 2) modparam(auth_db, password_column, password) modparam(auth_db, calculate_ha1, yes) modparam(usrloc|acc|auth_db|group|msilo, db_url, mysql://openser:[EMAIL PROTECTED]/openser) 33 modparam(acc,log_level,1) modparam(acc,log_flag,1) modparam(acc,log_missed_flag,2) modparam(acc, log_fmt, cdfimorstup) modparam(acc, failed_transaction_flag,3) modparam(acc, report_cancels, 1) modparam(acc,report_ack,0) modparam(acc, db_flag, 1) modparam(acc, db_missed_flag, 2) modparam(acc,radius_flag,1) modparam(acc,radius_missed_flag,2) modparam(acc,service_type,16) modparam(acc,radius_config,/usr/local/etc/radiusclient-ng/radiusclient.conf) ##33 modparam(nathelper,natping_interval,30) modparam(nathelper,ping_nated_only,1) modparam(nathelper, rtpproxy_sock, unix:/var/run/rtpproxy.sock) #33 modparam(rr, enable_full_lr, 1) ### route { # initial sanity checks -- messages with # max_forwards==0, or excessively long requests if (!mf_process_maxfwd_header(13)) { sl_send_reply(483,Too Many Hops!); exit; }; if ( msg:len max_len ) { sl_send_reply(513, Message too big); exit; }; # we record-route all messages -- to make sure that # subsequent messages will go through our proxy; that's # particularly good if upstream and downstream entities # use different transport protocol record_route(); # loose-route processing if (loose_route()) { t_relay(); setflag(1); exit; }; # account completed transactions via syslog setflag(1); setflag(2); if(uri==myself) { if(method==REGISTER) { if(!radius_www_authorize(192.168.2.55)) { www_challenge(192.168.2.55,1); exit; }; save(location); if (m_dump()) { log(MSILO: offline messages dumped - if they were\n); }else{ log(MSILO: no offline messages dumped\n); }; exit; }; if(method==INVITE|| method==ACK) { acc_rad_request(Start); record_route(); force_rtp_proxy(); #setflag(1); t_on_reply(1); }; if (method==BYE) { record_route(); }; if (method==MESSAGE) { log(1, MESSAGE\n); setflag(1); /* set for accounting (the same value as in log_flag!) */ }; if (method==BYE || method==CANCEL) { #log (1, BYE or CANCEL\n); #setflag(1); acc_rad_request(Stop); setflag(1); }; if(!lookup(location)) { sl_send_reply(404,Woo. NOt found); }; }; lookup(aliases); setflag(2); if(!t_relay()) { sl_reply_error(); }; } onreply_route[1] { if(status=~[0-9][0-9][0-9]) { force_rtp_proxy(); }; } ... Naslist file in raddb(radius_server. 192.168.2.55 radiustestother
How to Work on Accounting in Openser + radius
Hi Everybody, I need help from you users, That How can we perform the accouting in Openser and Radius, That I want database should in radius + mysql with openser . In openser if I add save(acc) its give error as reinstall ser_mysql.sh how can we do that... And I follow this http://openser.org/docs/openser-radius-1.0.x.html for integrating openser + radius But I wnat really how cam we integrate the opensaer + radius + mysql with hints or sample file -- Thanks and Regards with cheersSunkara Ravi Prakash (Voip Developer)Hyperion Technologywww.hyperion-tech.comb - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
please help me...........................................!!!!!!!!!!!!!!!!!!!!!!!!!!!11
Hi Everybody.. Good morning. please help me i? Did anyone tell where SIP training held in India or any other place please excuse me for asking this , Bye-- Thanks and Regards with cheersSunkara Ravi Prakash (Voip Developer)Hyperion Technologywww.hyperion-tech.comb - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Log messages
Hi Good Morning. I updated the openser server in US server. When I making a calls from here(India). Its gives the log messages, which are mentioned below and its say logining Time out ! contact Network Admin . Its means its not register and server is not responded. __ 2004 Xten Networks, Inc. All rights reserved. X-Lite release 1105d build stamp 9 License key: 6FCCC0CC7D9B0017E322142CCDFC1071 Attempting SIP protocol listen on: 192.168.2.55:5060 Attempting SIP protocol listen on: 192.168.2.55:5060 Attempting SIP protocol listen on: 192.168.2.55:5060 Attempting SIP protocol listen on: 192.168.2.55:5060 Attempting SIP protocol listen on: 192.168.2.55:5060 Attempting SIP protocol listen on: 192.168.2.55:5060 Attempting SIP protocol listen on: 192.168.2.55:5060 Attempting SIP protocol listen on: 192.168.2.55:5061 Established SIP protocol listen on: 192.168.2.55:5061 NAT firewall type discovered is forced. SIP: 192.168.2.55:5061 RTP: 192.168.2.55:8000 NAT: 61.17.248.68 PROXY#0: 24.98.157.209:5060 (inbound proxy server) OUTBOUND-PROXY#0: 24.98.157.209:5060 (outbound proxy server) SEND TIME: 1619765420 SEND 24.98.157.209:5060 REGISTER sip:24.98.157.209 SIP/2.0 Via: SIP/2.0/UDP 192.168.2.55:5061;rport;branch=z9hG4bK7A9AF049E03A84E1671601A7F2B7900C From: sam sip:[EMAIL PROTECTED] ;tag=1069014297 To: sam sip:[EMAIL PROTECTED] Contact: sam sip: [EMAIL PROTECTED]:5061 Call-ID: [EMAIL PROTECTED] CSeq: 27109 REGISTER Expires: 1800 Max-Forwards: 70 User-Agent: X-Lite release 1105d Content-Length: 0 SEND TIME: 1619766930 SEND 24.98.157.209:5060 REGISTER sip:24.98.157.209 SIP/2.0 Via: SIP/2.0/UDP 192.168.2.55:5061;rport;branch=z9hG4bK7A9AF049E03A84E1671601A7F2B7900C From: sam sip:[EMAIL PROTECTED] ;tag=1069014297 To: sam sip:[EMAIL PROTECTED] Contact: sam sip: [EMAIL PROTECTED]:5061 Call-ID: [EMAIL PROTECTED] CSeq: 27109 REGISTER Expires: 1800 Max-Forwards: 70 User-Agent: X-Lite release 1105d Content-Length: 0 SEND TIME: 1619769953 SEND 24.98.157.209:5060 REGISTER sip:24.98.157.209 SIP/2.0 Via: SIP/2.0/UDP 192.168.2.55:5061;rport;branch=z9hG4bK7A9AF049E03A84E1671601A7F2B7900C From: sam sip:[EMAIL PROTECTED] ;tag=1069014297 To: sam sip:[EMAIL PROTECTED] Contact: sam sip: [EMAIL PROTECTED]:5061 Call-ID: [EMAIL PROTECTED] CSeq: 27109 REGISTER Expires: 1800 Max-Forwards: 70 User-Agent: X-Lite release 1105d Content-Length: 0 SEND TIME: 1619776003 SEND 24.98.157.209:5060 REGISTER sip:24.98.157.209 SIP/2.0 Via: SIP/2.0/UDP 192.168.2.55:5061;rport;branch=z9hG4bK7A9AF049E03A84E1671601A7F2B7900C From: sam sip:[EMAIL PROTECTED] ;tag=1069014297 To: sam sip:[EMAIL PROTECTED] Contact: sam sip: [EMAIL PROTECTED]:5061 Call-ID: [EMAIL PROTECTED] CSeq: 27109 REGISTER Expires: 1800 Max-Forwards: 70 User-Agent: X-Lite release 1105d Content-Length: 0 __ Here, in Local Network working fine with My openser server. What is nat traversal, outbound proxy server , inbound proxy server , is it need in openser and softphone ... Please help me.-- Thanks and Regards with cheersSunkara Ravi Prakash (Voip Developer)Hyperion Technologywww.hyperion-tech.comb - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
How make the conference in softphones
Hello EveryBody , I need help from U. please help me in How make a conference in softphones. On Which modules have work. I recently install tested the softphones . that a calls are made . And When I looked into Location table . in that table records are insert. immediately when the system restart or when softphone is discarded the location table records are disable. Please help me in that.. And please Excuse me, In my English . Bye -- Thanks and Regards with cheersSunkara Ravi Prakash (Voip Developer)Hyperion Technologywww.hyperion-tech.com - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Regarding on Auth-Type 'digest' in authenticate section
Hello Everybody, I'm working on Openser currently . Now I integrated FreeRadius in openser. I installed freeradius and radiusclient-ng in to box.. In client.conf file - - - - - - - - - - - - - - - - - client 192.168.2.55 { secret = radiustest shortname = hyperion. nastype =other. } users file - - - - - - - - - - - - - - - - - test Auth-Type :=Accept, Service-Type == SIP-Caller-AVPs test NAS-IP-Address == 192.168.2.55 , Auth-Type := Digest, Password == test, Reply-Message == Hello 777 user id testing the radius server in openser. bbye * * * * ** * * * * * * * * * * * * * * * * proxy.conf file realm 192.168.2.55 { type = radius authhost = 192.168.2.55 accthost = 192.168.2.55 secret = radiustest } After this I tested the radius by using radiusd -X radiusd.conf[1840] unknown Auth-Type Digest in authenticate section. radtest test test 192.168.2.55 1812 radiustest Sending Access-Request of id 192 to 192.168.2.55 port 1812 User-Name = test User-Password = test NAS-IP-Address = 255.255.255.255 Re-sending Access-Request of id 192 to 192.168.2.55 port 1812 User-Name = test User-Password = test NAS-IP-Address = 255.255.255.255 Re-sending Access-Request of id 192 to 192.168.2.55 port 1812 User-Name = test User-Password = test NAS-IP-Address = 255.255.255.255 Please help me in this Regard.. Its very very urgent -- Thanks and Regards Sunkara Ravi Prakash (Voip Developer)Hyperion Technologywww.hyperion-tech.com - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Regarding on radiusd.conf file
Hello Everybody, I'm working on openser, recently I install freeradius for AAA. By seeing the Documentation from http://openser.org/docs/openser-radius-1.0.x.html I followed that. While testing the radius server by ' radiusd -X its shows radiusd.conf[1840] unknown Auth-type Digest in authenticate section --- what its means. And also By Typing ' radtest 444 444 192.168.2.55 1812 radiustest its shows below one. Sending Access-Request of id 236 to 192.168.2.55 port 1812 User-Name = 444 User-Password = 444 NAS-IP-Address = 255.255.255.255 Re-sending Access-Request of id 236 to 192.168.2.55 port 1812 User-Name = 444 User-Password = 444 NAS-IP-Address = 255.255.255.255 What its means one . Is it error ? I run this in my box . where in my box installed openser , freeradius and radiusclinet-ng.. Please help me and main thing is, Is any mistakes in my english please excuse me..-- Thanks and Regards with cheersSunkara Ravi Prakash (Voip Developer) [EMAIL PROTECTED]Hyperion Technologywww.hyperion-tech.com - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Regarding on radtest
Hi Everybody I'm working on openser + freeradius. Recently Installed both . I had a issue below onw, actual what this means... By Typing ' radtest 444 444 192.168.2.55 1812 radiustest its shows below one. Sending Access-Request of id 236 to 192.168.2.55 port 1812 User-Name = 444 User-Password = 444 NAS-IP-Address = 255.255.255.255 Re-sending Access-Request of id 236 to 192.168.2.55 port 1812 User-Name = 444 User-Password = 444 NAS-IP-Address = 255.255.255.255 -- Thanks and Regards with cheersSunkara Ravi Prakash (Voip Developer)Hyperion Technologywww.hyperion-tech.com - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Help in Freeradius and openser
Hi to all, I tried to insert the users for testing the server, but small error arrived. That is . a) radiusd.conf[1840] unknown Auth-Type digest in authenticate section. b) radclient: Failed to send packet for ID 162: Unknown attribute NAS-IP-Address c) radtest test test 192.168.2.55 1812 radiustest Sending Access-Request of id 215 to 192.168.2.55 port 1812 User-Name = test User-Password = test NAS-IP-Address = 255.255.255.255 Re-sending Access-Request of id 215 to 192.168.2.55 port 1812 User-Name = test User-Password = test NAS-IP-Address = 255.255.255.255 Please help me in a,b and c issues. what are these issues. Please help me-- Thanks and Regards with cheersSunkara Ravi Prakash (Voip Developer)Hyperion Technology www.hyperion-tech.com - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Regarding on Freeradius in openser.
Hello Everybody, I'm new to openser and also to freeradius. 1)how to insert the users in freeradius server 2) When I test with radiusd - X its show somes errors . The errors are mention below /usr/local/etc/raddb/users[64]: Unexpected trailing comma in check item list for entry test Errors reading /usr/local/etc/raddb/users radiusd.conf[1047]: files: Module instantiation failed. radiusd.conf[1791] Unknown module files. radiusd.conf[1727] Failed to parse authorize section. 3) And also when tested the clients , by using radclient -f digest localhost auth shared_secret . It shows the following error radclient : no respones from server ID 134 4) And also when I tried with radtest test test 192.168.2.55 5060 hyperion its shows me below one Sending Access-Request of id 233 to 192.168.2.55 port 1812 User-Name = test Re-sending Access-Request of id 233 to 192.168.2.55 port 1812 User-Name = test Re-sending Access-Request of id 233 to 192.168.2.55 port 1812 User-Name = test Re-sending Access-Request of id 233 to 192.168.2.55 port 1812 User-Name = test Re-sending Access-Request of id 233 to 192.168.2.55 port 1812 User-Name = test Re-sending Access-Request of id 233 to 192.168.2.55 port 1812 User-Name = test Re-sending Access-Request of id 233 to 192.168.2.55 port 1812 User-Name = test Re-sending Access-Request of id 233 to 192.168.2.55 port 1812 User-Name = test Re-sending Access-Request of id 233 to 192.168.2.55 port 1812 User-Name = test Re-sending Access-Request of id 233 to 192.168.2.55 port 1812 User-Name = test radclient: no response from server for ID 233 5) when i also tried with ps -aux | grep radiusd it show a warning and errors Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.3/FAQ root 13093 0.0 0.1 4276 696 pts/4 S+ 16:41 0:00 grep radiusd Please help me in 5 issues which are mention above. -- Thanks and Regards with cheersSunkara Ravi Prakash (Voip Developer)Hyperion Technologywww.hyperion-tech.com - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html