All of lore.kernel.org
 help / color / mirror / Atom feed
From: Philipp Kolmann <philipp@kolmann.at>
To: linux-ppp@vger.kernel.org
Subject: pppd with radius-plugin seems to have troubles with traffic counter
Date: Tue, 22 Jun 2004 15:46:45 +0000	[thread overview]
Message-ID: <20040622154645.GA12959@kolmann.at> (raw)

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!

             reply	other threads:[~2004-06-22 15:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-22 15:46 Philipp Kolmann [this message]
2004-07-07 11:37 ` pppd with radius-plugin seems to have troubles with traffic counter Philipp Kolmann
2004-07-08  2:52 ` pppd with radius-plugin seems to have troubles with traffic Clive Nicolson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040622154645.GA12959@kolmann.at \
    --to=philipp@kolmann.at \
    --cc=linux-ppp@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.