Re: bandwidth monitoring

2017-03-07 Thread Mihai Popescu
> know what client is occupying the bandwidth

trafshow from ports.

Is systat able to show kb/s realtime?



Re: bandwidth monitoring

2017-03-07 Thread Peter N. M. Hansteen
On Tue, Mar 07, 2017 at 11:28:50AM +0100, Frank White wrote:
> how can I monitor the bandwidth and know what client is occupying the
> bandwidth ?

There are quite a number of options available, depending on whether you're 
mainly 
interested in a 'live' view or collecting data over time.

For live views I see you've got several answers already, and of course
systat offers several views that may fit the bill.

You could also instrument your rule set with labels and use pfctl to extract
data, or you could even use pflow(4) and the netflow collector of your choice.

I've written a few related articles, but the one that has possibly the more
useful info is this one: 
http://bsdly.blogspot.no/2014/02/yes-you-too-can-be-evil-network.html

Also, Michael Lucas' book (referenced in the article) is worth buying and 
digesting if you're at all interested in the subject (this is true about most 
of Michael's books, btw)

-- 
Peter N. M. Hansteen, member of the first RFC 1149 implementation team
http://bsdly.blogspot.com/ http://www.bsdly.net/ http://www.nuug.no/
"Remember to set the evil bit on all malicious network traffic"
delilah spamd[29949]: 85.152.224.147: disconnected after 42673 seconds.



Re: bandwidth monitoring

2017-03-07 Thread Martijn van Duren
On 03/07/17 12:08, thrph.i...@gmail.com wrote:
> http://www.ex-parrot.com/pdw/iftop/

systat(1) states
> 
> On Tue, 7 Mar 2017 11:28:50 +0100
> Frank White  wrote:
> 
>> Hi,
>> how can I monitor the bandwidth and know what client is occupying the
>> bandwidth ?
>> Thank u.



Re: bandwidth monitoring

2017-03-07 Thread thrph.i...@gmail.com
http://www.ex-parrot.com/pdw/iftop/

On Tue, 7 Mar 2017 11:28:50 +0100
Frank White  wrote:

> Hi,
> how can I monitor the bandwidth and know what client is occupying the
> bandwidth ?
> Thank u.
> 


-- 
thrph.i...@gmail.com 



bandwidth monitoring

2017-03-07 Thread Frank White
Hi,
how can I monitor the bandwidth and know what client is occupying the
bandwidth ?
Thank u.



Re: Packets/Bandwidth Monitoring

2006-10-05 Thread tony sarendal
I wrote a stats script for PF that can show bandwidth per label.
http://www.prefixmaster.com/eyeonpf.php

If you can identify your user with rules that match a label it would work.

/Tony

-- 
Tony Sarendal - [EMAIL PROTECTED]
IP/Unix
   -= The scorpion replied,
   I couldn't help it, it's my nature =-



Packets/Bandwidth Monitoring

2006-10-04 Thread kintaro oe
Hi guys,

need some advice..i have a openbsd as my firewall/ntp/dhcp/vpn
server. is ther a package that can i see or monitor on the packets/bandwidth
usage for a user? i've seen ntop. any advice?
 
cheers,

kintaro Oe



Re: Packets/Bandwidth Monitoring

2006-10-04 Thread Stuart Henderson
On 2006/10/04 13:28, kintaro oe wrote:
 Hi guys,
 
 need some advice..i have a openbsd as my firewall/ntp/dhcp/vpn
 server. is ther a package that can i see or monitor on the packets/bandwidth
 usage for a user? i've seen ntop. any advice?

lots...depends what you're looking for. some options:

different PF rules per user, parse the counters (mrtg with custom
monitor, homemade software, something else)

use a managed switch and monitor the stats (mrtg, rtg, others)

use a seperate nic for each user and monitor the stats (netsnmp and 
same software as above)

pcap-based software like http://www.qosient.com/argus/, darkstat,
ntop (as you found), softflowd (and a netflow collector)

pfsync-based software (pfflowd and a netflow collector)



Re: Packets/Bandwidth Monitoring

2006-10-04 Thread Bryan Irvine

On 10/4/06, kintaro oe [EMAIL PROTECTED] wrote:

Hi guys,

need some advice..i have a openbsd as my firewall/ntp/dhcp/vpn
server. is ther a package that can i see or monitor on the packets/bandwidth
usage for a user? i've seen ntop. any advice?


I use cacti.  I've never set it up to monitor traffic for a particular
user, but it uses snmp so you could just use cacti to monitor some
custom rule or something.

--Bryan