LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-21-2012, 10:28 AM   #1
qwertyjjj
Senior Member
 
Registered: Jul 2009
Location: UK
Distribution: Cent OS5 with Plesk
Posts: 1,012

Rep: Reputation: 30
monitor bandwidth overnight + user?


How can I log the bandwidth usgae of a VPN user overnight?
We have a block on service overnight and I think someoneis downloading a lot of data but I cannot check who.
 
Old 11-21-2012, 10:58 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
I'd use ntop in the first instance
 
Old 11-21-2012, 11:34 AM   #3
qwertyjjj
Senior Member
 
Registered: Jul 2009
Location: UK
Distribution: Cent OS5 with Plesk
Posts: 1,012

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by acid_kewpie View Post
I'd use ntop in the first instance
I thought ntop was real time only?
Also, how can you link an openvpn user to the IP address displayed in ntop?

Last edited by qwertyjjj; 11-21-2012 at 11:36 AM.
 
Old 11-21-2012, 04:15 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
well you can't necessarily define a "user". what even IS a user relative to traffic passing through a gateway? You'd refer against IP usually.

and no, it's not just realtime. that's why I suggested it. It's not ideal, but it's easy to use and get data out of.
 
1 members found this post helpful.
Old 11-22-2012, 03:13 PM   #5
qwertyjjj
Senior Member
 
Registered: Jul 2009
Location: UK
Distribution: Cent OS5 with Plesk
Posts: 1,012

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by acid_kewpie View Post
well you can't necessarily define a "user". what even IS a user relative to traffic passing through a gateway? You'd refer against IP usually.

and no, it's not just realtime. that's why I suggested it. It's not ideal, but it's easy to use and get data out of.
next option then.
How can I log IP addresses from OpenVPN?
I could match these to an IP in nftop
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Bandwidth used by ftp user abhinav4 Linux - Newbie 5 10-05-2012 03:35 AM
Limiting a user's bandwidth AsadMoeen Linux - Server 2 02-04-2011 09:23 AM
Bandwidth limiting per user? BigS Linux - Server 5 08-30-2010 08:54 AM
User bandwidth monitoring fancylad Linux - Server 2 04-30-2008 06:35 AM
Limiting bandwidth per user v8hadas Linux - Server 1 01-29-2008 07:07 AM


All times are GMT -5. The time now is 06:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration