All of lore.kernel.org
 help / color / mirror / Atom feed
* pppd with radius-plugin seems to have troubles with traffic counter
@ 2004-06-22 15:46 Philipp Kolmann
  2004-07-07 11:37 ` Philipp Kolmann
  2004-07-08  2:52 ` pppd with radius-plugin seems to have troubles with traffic Clive Nicolson
  0 siblings, 2 replies; 3+ messages in thread
From: Philipp Kolmann @ 2004-06-22 15:46 UTC (permalink / raw)
  To: linux-ppp

Hi!

I seems to have found a bug in pppd 2.4.2. I am running a pptp-pppd VPN
server to authenticate Users coming in with laptops (at my university).

We authenticate the Users using the radius plugin and do also traffic
accounting with radius. Everything seems to be fine, but when a user
reaches over 4GB the traffic goes down to 0 again. I believe that this
could be a problem with an integer value running over.

Here is the relevant part of my mysql log file (I use a radiusd that
logs the acct-requests into a mysql db, interim accounting is done every
10 minutes):

040622 14:30:14   17953 Query       UPDATE calls SET
		acct_session_time\x16203,acct_input_octets’129211,
		acct_output_octetsB58766205,
		framed_ip_address='193.170.XX.XX',timestamp=NOW() 
		WHERE user_name='eXXXXXXX@student.tuwien.ac.at' AND 
		status= 1 AND acct_session_id='40D7E70949C7'
040622 14:40:14   17953 Query       UPDATE calls SET
		acct_session_time\x16803,acct_input_octets•118037,
		acct_output_octets\x110195513,
		framed_ip_address='193.170.XX.XX',timestamp=NOW() 
		WHERE user_name='eXXXXXXX@student.tuwien.ac.at' AND
		status= 1 AND acct_session_id='40D7E70949C7'

As you can see in theis session the acct_output_octets drops from over
4GB to around 100MB within 10 minutes (possible in our local lan).

I hope you can fix this,
thanks in advance
Philipp Kolmann
IT Dept.
Technical University of Vienna



-- 
Life is not fair,
but the root password helps!

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-07-08  2:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-22 15:46 pppd with radius-plugin seems to have troubles with traffic counter Philipp Kolmann
2004-07-07 11:37 ` Philipp Kolmann
2004-07-08  2:52 ` pppd with radius-plugin seems to have troubles with traffic Clive Nicolson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.