Networking Forums

Networking Forums > Computer Networking > Linux Networking > Setting disk ratios and monitoring bandwith usage.

Reply
Thread Tools Display Modes

Setting disk ratios and monitoring bandwith usage.

 
 
xm
Guest
Posts: n/a

 
      07-31-2004, 01:37 AM
Hi there,
I have a small project for which I need to create accounts on my
computer and for each accounts, I'll need to set a disk space the
account can use (should give an error like "Disk quota exceeded" if
the user go beyond that limit) and I would like to monitor the usage
of the internet per users.
For the bandwith, I was thinking on setting a simple firewall rule
that would log every packets for a specific IP (each account should
have a diff IP) and there should be a program, reading the firewall
logs, every day and summarise the usage on a daily basis.

Then for the disk, who do we setup quotas for the space?

Also, is it possible to set the /home/ directory to be unreadable?
That the user could only read what is inside /home/user/ for
example...

Thanks a lot!
xm
 
Reply With Quote
 
 
 
 
xm
Guest
Posts: n/a

 
      07-31-2004, 09:38 PM
> For the bandwith, I was thinking on setting a simple firewall rule
> that would log every packets for a specific IP (each account should
> have a diff IP) and there should be a program, reading the firewall
> logs, every day and summarise the usage on a daily basis.


Ok, I check this out and actually, this doesn't seem like a good
solution. After thinking a bit, I figured I might have to drop some
packets to avoid DOS and such, but I'd still need to know how much
trafic goes to a specific IP on my host. I've heard about QoS, but
I'm wondering if that's windows oriented, I'm using Redhat 9 or so...

> Then for the disk, who do we setup quotas for the space?


That's alright, I found the quota Howto! So I'll be able to play with
it a little.

> Also, is it possible to set the /home/ directory to be unreadable?
> That the user could only read what is inside /home/user/ for
> example...


And for this well, I guess what I'm looking for is to make some sort
of Virtual private networking. But I'll do some tests...

Thanks,
xm
 
Reply With Quote
 
Max Nokhrin
Guest
Posts: n/a

 
      07-31-2004, 11:25 PM
xm wrote:

> For the bandwith, I was thinking on setting a simple firewall rule
> that would log every packets for a specific IP (each account should
> have a diff IP) and there should be a program, reading the firewall
> logs, every day and summarise the usage on a daily basis.


If each user is going to have a separate IP, download a program like
mrtg and get it to track the bandwidth statistics for you.

Max
 
Reply With Quote
 
xm
Guest
Posts: n/a

 
      08-07-2004, 04:48 PM
> If each user is going to have a separate IP, download a program like
> mrtg and get it to track the bandwidth statistics for you.


Good, if they do not have different IP addresses, what could be done?

Thankx,
xm
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Reliability of bandwith usage measuring ts Broadband 5 12-17-2008 06:23 AM
Monitoring Layer7 Network Bandwith and Activity Andrea Linux Networking 1 10-20-2008 10:59 AM
How to monitor broadband bandwith usage Ed Broadband 14 11-06-2004 03:42 PM
Tool to determine bandwith usage of a tcp session? Neil Cherry Linux Networking 2 10-22-2004 12:15 PM
Q: Limit client's bandwith-usage of router/gateway? Tom H. Lautenbacher Linux Networking 6 06-03-2004 03:41 PM



1 2 3 4 5 6 7 8 9 10 11