sqlippool losts Framed-IP-Address
sirmax
sirmax at noname.com.ua
Wed Feb 10 10:49:27 CET 2010
Hi
I use rlm_sqlippool with postgress and see strange
situation: rlm_sql allocate ip but there is no Framed-IP-Addrees
in reply.
(radius 2.1.7)
radiusd -XXXX
Wed Feb 10 11:31:33 2010 : Debug: rlm_sql_postgresql: Status: PGRES_COMMAND_OK
Wed Feb 10 11:31:33 2010 : Debug: rlm_sql_postgresql: query affected rows = 1
Wed Feb 10 11:31:33 2010 : Info: [sqlippool] Allocated IP 95.69.165.245 [f5a5455f]
Wed Feb 10 11:31:33 2010 : Info: [sqlippool] expand: COMMIT -> COMMIT
Wed Feb 10 11:31:33 2010 : Debug: rlm_sql_postgresql: Status: PGRES_COMMAND_OK
Wed Feb 10 11:31:33 2010 : Debug: rlm_sql_postgresql: query affected rows = 0
Wed Feb 10 11:31:33 2010 : Debug: rlm_sql (sql): Released sql socket id: 2
Wed Feb 10 11:31:33 2010 : Info: [sqlippool] expand: Allocated IP: %{reply:Framed-IP-Address} from %{control:Pool-Name} (did %{Called-Station-Id} cli %{Calling-Station-Id} port %{NAS-Port} user %{User-Name}) -> Allocated IP: from main_pool (did cli zeropoint port user art_dz)
Wed Feb 10 11:31:33 2010 : Info: Allocated IP: from main_pool (did cli zeropoint port user art_dz)
Wed Feb 10 11:31:33 2010 : Info: ++[sqlippool] returns ok
And reply packet is: (with out Framed-IP-Address)
Acct-Interim-Interval = 400
Service-Type = Framed-User
Framed-Protocol = PPP
Cisco-AVPair += "lcp:interface-config=rate-limit output 2048000 256000 256000 conform-action transmit exceed-action drop"
Cisco-AVPair += "lcp:interface-config=rate-limit input 2048000 256000 256000 conform-action transmit exceed-action drop"
<skipped>
What I have to check first?
Best regards,
Max.
More information about the Freeradius-Users
mailing list