Radacct isn´t registering FramedIpAdress (sometimes)!
Sometimes, and it's happening without reason, The RadAcct put 0.0.0.0 in FramedIpAdress field. I don't know why it's happening, i have others Radius servers with the same configuration, but this error occur just in this server. It's a 1.1.7 radius server. My clients are all Mikrotiks, with 3.13 version.
Post the debug of one accounting packet when such error happens. And don't use HTML email. Ivan Kalik Kalik Informatika ISP
Maybe your IP pool in NAS config. is to small to accept all connection attempts ... t_rider wrote:
Hello,
It's my first time here and i'm trying to solve a big problem in my Radius server.
Sometimes, and it's happening without reason, The RadAcct put 0.0.0.0 in FramedIpAdress field.
I don't know why it's happening, i have others Radius servers with the same configuration, but this error occur just in this server.
It's a 1.1.7 radius server. My clients are all Mikrotiks, with 3.13 version.
Can anyone help me??
Thanks,
Alexandre
------------------------------------------------------------------------
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
No, no problem with the pool. However, the pools are on Mikrotik, Radius just send a FramedPool. Iḿ trying to get the error with Radius -X, but it's difficult. When i get this information i'll post here. Thanks Em 27/10/2009 22:58, Marinko Tarlac < mangia81@gmail.com > escreveu: Maybe your IP pool in NAS config. is to small to accept all connection attempts ... t_rider wrote:
Hello,
It's my first time here and i'm trying to solve a big problem in my Radius server.
Sometimes, and it's happening without reason, The RadAcct put 0.0.0.0 in FramedIpAdress field.
I don't know why it's happening, i have others Radius servers with the same configuration, but this error occur just in this server.
It's a 1.1.7 radius server. My clients are all Mikrotiks, with 3.13 version.
Can anyone help me??
Thanks,
Alexandre
------------------------------------------------------------------------
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Finally, i got the debug register: Going to the next request --- Walking the entire request list --- Waking up in 6 seconds... rad_recv: Accounting-Request packet from host XXX.XXX.236.1:59561, id=48, length=252 Service-Type = Framed-User Framed-Protocol = PPP NAS-Port = 1557370 NAS-Port-Type = Ethernet User-Name = "test@test.com" Calling-Station-Id = "00:10:10:AD:F7:7B" Called-Station-Id = "PPPoE-Camping" NAS-Port-Id = "EoIP->Camping" MS-CHAP-Domain = "test.com" Acct-Session-Id = "811025bf" Framed-IP-Address = 192.168.101.249 Acct-Authentic = RADIUS Event-Timestamp = "Oct 29 2009 18:33:36 AMST" Acct-Session-Time = 95216 Acct-Input-Octets = 34048624 Acct-Input-Gigawords = 0 Acct-Input-Packets = 165487 Acct-Output-Octets = 190022963 Acct-Output-Gigawords = 0 Acct-Output-Packets = 214677 Acct-Status-Type = Stop Acct-Terminate-Cause = User-Request NAS-Identifier = "lalala" NAS-IP-Address = XXX.XXX.236.1 Acct-Delay-Time = 0 Mikrotik-Realm = "test.com" Processing the preacct section of radiusd.conf modcall: entering group preacct for request 399 modcall[preacct]: module "preprocess" returns noop for request 399 rlm_acct_unique: Hashing 'NAS-Port = 1557370,Client-IP-Address = XXX.XXX.236.1,NAS-IP-Address = XXX.XXX.236.1,Acct-Session-Id = "811025bf",User-Name = "test@test.com"' rlm_acct_unique: Acct-Unique-Session-ID = "38a543632a983ade". modcall[preacct]: module "acct_unique" returns ok for request 399 rlm_realm: Looking up realm "evo.net.br" for User-Name = "test@test.com" rlm_realm: No such realm "test.com" modcall[preacct]: module "suffix" returns noop for request 399 modcall: leaving group preacct (returns ok) for request 399 Processing the accounting section of radiusd.conf modcall: entering group accounting for request 399 radius_xlat: 'test@test.com' rlm_sql (sql): sql_set_user escaped user --> 'test@test.com' radius_xlat: ' UPDATE radacct SET AcctStopTime = '2009-10-29 18:33:36', AcctSessionTime = '95216', AcctInputOctets = '0' << 32 | '34048624', AcctOutputOctets = '0' << 32 | '190022963', AcctTerminateCause = 'User-Request', AcctStopDelay = '0', ConnectInfo_stop = '' WHERE AcctSessionId = '811025bf' AND UserName = 'test@test.com' AND NASIPAddress = 'XXX.XXX.236.1'' rlm_sql (sql): Reserving sql socket id: 2 rlm_sql (sql): Released sql socket id: 2 modcall[accounting]: module "sql" returns ok for request 399 modcall[accounting]: module "advertise" returns ok for request 399 modcall: leaving group accounting (returns ok) for request 399 Sending Accounting-Response of id 48 to XXX.XXX.236.1 port 59561 Finished request 399 Radacct: | 453321 | 811025bf | 7b21431a8e07e896 | test@test.com | | XXX.XXX.236.1 | 1557829 | Ethernet | 2009-06-30 15:54:46 | 2009-10-29 18:33:36 | 95216 | RADIUS | | | 34048624 | 190022963 | PPPoE-Camping | 00:10:10:AD:F7:7B | User-Request | Framed-User | PPP | 0.0.0.0 | 0 | 0 | | Em 28/10/2009 09:31, t_rider < t_rider@bol.com.br > escreveu: No, no problem with the pool. However, the pools are on Mikrotik, Radius just send a FramedPool. Iḿ trying to get the error with Radius -X, but it's difficult. When i get this information i'll post here. Thanks Em 27/10/2009 22:58, Marinko Tarlac < mangia81@gmail.com > escreveu: Maybe your IP pool in NAS config. is to small to accept all connection attempts ... t_rider wrote:
Hello,
It's my first time here and i'm trying to solve a big problem in my Radius server.
Sometimes, and it's happening without reason, The RadAcct put 0.0.0.0 in FramedIpAdress field.
I don't know why it's happening, i have others Radius servers with the same configuration, but this error occur just in this server.
It's a 1.1.7 radius server. My clients are all Mikrotiks, with 3.13 version.
Can anyone help me??
Thanks,
Alexandre
------------------------------------------------------------------------
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Finally, i got the debug register:
Going to the next request --- Walking the entire request list --- Waking up in 6 seconds... rad_recv: Accounting-Request packet from host XXX.XXX.236.1:59561, id=48, length=252 Service-Type = Framed-User Framed-Protocol = PPP NAS-Port = 1557370 NAS-Port-Type = Ethernet User-Name = "test@test.com" Calling-Station-Id = "00:10:10:AD:F7:7B" Called-Station-Id = "PPPoE-Camping" NAS-Port-Id = "EoIP->Camping" MS-CHAP-Domain = "test.com" Acct-Session-Id = "811025bf" Framed-IP-Address = 192.168.101.249 Acct-Authentic = RADIUS Event-Timestamp = "Oct 29 2009 18:33:36 AMST" Acct-Session-Time = 95216 Acct-Input-Octets = 34048624 Acct-Input-Gigawords = 0 Acct-Input-Packets = 165487 Acct-Output-Octets = 190022963 Acct-Output-Gigawords = 0 Acct-Output-Packets = 214677 Acct-Status-Type = Stop Acct-Terminate-Cause = User-Request NAS-Identifier = "lalala" NAS-IP-Address = XXX.XXX.236.1 Acct-Delay-Time = 0 Mikrotik-Realm = "test.com" Processing the preacct section of radiusd.conf modcall: entering group preacct for request 399 modcall[preacct]: module "preprocess" returns noop for request 399 rlm_acct_unique: Hashing 'NAS-Port = 1557370,Client-IP-Address = XXX.XXX.236.1,NAS-IP-Address = XXX.XXX.236.1,Acct-Session-Id = "811025bf",User-Name = "test@test.com"' rlm_acct_unique: Acct-Unique-Session-ID = "38a543632a983ade". modcall[preacct]: module "acct_unique" returns ok for request 399 rlm_realm: Looking up realm "evo.net.br" for User-Name = "test@test.com" rlm_realm: No such realm "test.com" modcall[preacct]: module "suffix" returns noop for request 399 modcall: leaving group preacct (returns ok) for request 399 Processing the accounting section of radiusd.conf modcall: entering group accounting for request 399 radius_xlat: 'test@test.com' rlm_sql (sql): sql_set_user escaped user --> 'test@test.com' radius_xlat: ' UPDATE radacct SET AcctStopTime = '2009-10-29 18:33:36', AcctSessionTime = '95216', AcctInputOctets = '0' << 32 | '34048624', AcctOutputOctets = '0' << 32 | '190022963', AcctTerminateCause = 'User-Request', AcctStopDelay = '0', ConnectInfo_stop = '' WHERE AcctSessionId = '811025bf' AND UserName = 'test@test.com' AND NASIPAddress = 'XXX.XXX.236.1'' rlm_sql (sql): Reserving sql socket id: 2 rlm_sql (sql): Released sql socket id: 2 modcall[accounting]: module "sql" returns ok for request 399 modcall[accounting]: module "advertise" returns ok for request 399 modcall: leaving group accounting (returns ok) for request 399 Sending Accounting-Response of id 48 to XXX.XXX.236.1 port 59561 Finished request 399
Radacct: | 453321 | 811025bf | 7b21431a8e07e896 | test@test.com | | XXX.XXX.236.1 | 1557829 | Ethernet | 2009-06-30 15:54:46 | 2009-10-29 18:33:36 | 95216 | RADIUS | | | 34048624 | 190022963 | PPPoE-Camping | 00:10:10:AD:F7:7B | User-Request | Framed-User | PPP | 0.0.0.0 | 0 | 0 | |
Now find the start record for that session and see what happened to the Framed-IP-Address there. Stop record doesn't update IP. Start and updates do. Ivan Kalik Kalik Informatika ISP
participants (3)
-
Ivan Kalik -
Marinko Tarlac -
t_rider