Warning "stop packet with zero session length" and the difference between number of Radius requests and responses

Dinh Pham Cong dinhpc at vega.com.vn
Fri Dec 18 11:19:26 CET 2009


Hi all,

I set up a FreeRadius server to receive accounting start/stop packet from
GGSN. Then FreeRadius will save the information into MySQL database.
However, I see that there is a different between the number of received
packets and the Radius response to GGSN

[root at radiusd2 sbin]# ./radmin -e "stats client acct"
        requests        422959
        responses       412155
        dup             0
        invalid         0
        malformed       0
        bad_signature   0
        dropped         0
        unknown_types   0

I understand that if GGSN sends an accounting start packet to Radius, it
should make a corespondent response or GGSN will resend the packet. So I
don't know why there is such a difference. Meanwhile, radius.log is filled
with a lot of messages like those:

Fri Dec 18 16:55:17 2009 : Error: [sql] stop packet with zero session
length. [ip '117.5.55.236', nas '10.0.40.145']
Fri Dec 18 16:55:17 2009 : Error: [sql] stop packet with zero session
length. [ip '117.5.61.79', nas '10.0.40.145']
Fri Dec 18 16:55:19 2009 : Error: [sql] stop packet with zero session
length. [ip '117.5.67.5', nas '10.0.40.146']
Fri Dec 18 16:55:19 2009 : Error: [sql] stop packet with zero session
length. [ip '117.5.93.207', nas '10.0.40.145']
Fri Dec 18 16:55:20 2009 : Error: [sql] stop packet with zero session
length. [ip '117.5.136.106', nas '10.0.40.145']
Fri Dec 18 16:55:20 2009 : Error: [sql] stop packet with zero session
length. [ip '117.5.56.0', nas '10.0.40.145']
Fri Dec 18 16:55:20 2009 : Error: [sql] stop packet with zero session
length. [ip '117.5.81.206', nas '10.0.40.146']
Fri Dec 18 16:55:22 2009 : Error: [sql] stop packet with zero session
length. [ip '117.5.35.166', nas '10.0.40.146']
Fri Dec 18 16:55:23 2009 : Error: [sql] stop packet with zero session
length. [ip '117.5.55.236', nas '10.0.40.145']
Fri Dec 18 16:55:23 2009 : Error: [sql] stop packet with zero session
length. [ip '117.5.61.79', nas '10.0.40.145']
Fri Dec 18 16:55:24 2009 : Error: [sql] stop packet with zero session
length. [ip '117.5.51.252', nas '10.0.40.145']
Fri Dec 18 16:55:25 2009 : Error: [sql] stop packet with zero session
length. [ip '117.5.93.207', nas '10.0.40.145']
Fri Dec 18 16:55:25 2009 : Error: [sql] stop packet with zero session
length. [ip '117.5.67.5', nas '10.0.40.146']
Fri Dec 18 16:55:26 2009 : Error: [sql] stop packet with zero session
length. [ip '117.5.56.0', nas '10.0.40.145']
Fri Dec 18 16:55:28 2009 : Error: [sql] stop packet with zero session
length. [ip '117.5.35.166', nas '10.0.40.146']
Fri Dec 18 16:55:30 2009 : Error: [sql] stop packet with zero session
length. [ip '117.5.51.252', nas '10.0.40.145']
Fri Dec 18 16:55:31 2009 : Error: [sql] stop packet with zero session
length. [ip '117.5.93.207', nas '10.0.40.145']
Fri Dec 18 16:55:32 2009 : Error: [sql] stop packet with zero session
length. [ip '117.5.49.191', nas '10.0.40.146']
Fri Dec 18 16:55:32 2009 : Error: [sql] stop packet with zero session
length. [ip '117.5.56.0', nas '10.0.40.145']
Fri Dec 18 16:55:32 2009 : Error: [sql] stop packet with zero session
length. [ip '117.5.75.195', nas '10.0.40.145']
Fri Dec 18 16:55:35 2009 : Error: [sql] stop packet with zero session
length. [ip '117.5.91.184', nas '10.0.40.146']
Fri Dec 18 16:55:36 2009 : Error: [sql] stop packet with zero session
length. [ip '117.5.113.243', nas '10.0.40.146']
Fri Dec 18 16:55:36 2009 : Error: [sql] stop packet with zero session
length. [ip '117.5.95.3', nas '10.0.40.145']
Fri Dec 18 16:55:37 2009 : Error: [sql] stop packet with zero session
length. [ip '117.5.51.252', nas '10.0.40.145']


Any suggestion would be appreciated.

Regards,


Dinh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20091218/edc97353/attachment.html>


More information about the Freeradius-Users mailing list