Network traffic human readable?!

2012-01-21 Thread Tobias Pulm
Hi,

how can I display my network traffic (netstat output) human readable?
Is there a function of the netstat that can do this?

Thanks...

-- 
Mit freundlichen Grüßen / Yours sincerely
Tobias Pulm
 

--
 
Tobias Pulm
Sperberweg 8
58644 Iserlohn
Germany

t...@facility5.org | http://www.facility5.org
t...@tobias-pulm.de| http://www.tobias-pulm.de
 
OpenPGP| 0xF652F1A5
XMPP / Jabber  | t...@xmpp.facility5.org


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Network traffic human readable?!

2012-01-21 Thread Beni Brinckman
2012/1/21 Tobias Pulm t...@facility5.org

 Hi,

 how can I display my network traffic (netstat output) human readable?
 Is there a function of the netstat that can do this?

 Thanks...


 Is this what you need : netstat -i
And then filter out the interfaces you need (netstat -i | grep device)
-- 
Beni Brinckman.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Network traffic human readable?!

2012-01-21 Thread Jason C. Wells

On 01/21/12 07:47, Tobias Pulm wrote:

Hi,

how can I display my network traffic (netstat output) human readable?
Is there a function of the netstat that can do this?


Rather than netstat, perhaps you want 'tcpdump' or 'nc'.

Regards,
Jason C. Wells
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Is there a way to measure how much network traffic particular app generates?

2010-08-17 Thread Yuri

For example skype, or web browser?
I know SysGuard in kde4 shows network traffic per interface at 
particular time. But I am interested in per-application stats.


Yuri
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


RE: Is there a way to measure how much network traffic particular app generates?

2010-08-17 Thread Gary Gatten
nTop plus 100 others I'm sure.  I'm sure even with pf, ipfw, iptables, et al: 
there's a way to permit everything but do accounting.  I use ntop daily, but 
I'm just a novice at others so am just assuming there.

What type of data you want/need vs. how big of footprint/resource requirements 
will drive your decision.

G


-Original Message-
From: owner-freebsd-questi...@freebsd.org 
[mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Yuri
Sent: Tuesday, August 17, 2010 1:38 PM
To: freebsd-questions@freebsd.org
Subject: Is there a way to measure how much network traffic particular app 
generates?

For example skype, or web browser?
I know SysGuard in kde4 shows network traffic per interface at 
particular time. But I am interested in per-application stats.

Yuri
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org





font size=1
div style='border:none;border-bottom:double windowtext 2.25pt;padding:0in 0in 
1.0pt 0in'
/div
This email is intended to be reviewed by only the intended recipient
 and may contain information that is privileged and/or confidential.
 If you are not the intended recipient, you are hereby notified that
 any review, use, dissemination, disclosure or copying of this email
 and its attachments, if any, is strictly prohibited.  If you have
 received this email in error, please immediately notify the sender by
 return email and delete this email from your system.
/font

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Is there a way to measure how much network traffic particular app generates?

2010-08-17 Thread Joshua Isom
If you're wanting something quick and simple to monitor, `systat 
-netstat` would probably be best.  It lists by address and port, but if 
you run sockstat you get a list of which programs hold which sockets.


On 8/17/2010 1:45 PM, Gary Gatten wrote:

nTop plus 100 others I'm sure.  I'm sure even with pf, ipfw, iptables, et al: there's a 
way to permit everything but do accounting.  I use ntop daily, but I'm just a 
novice at others so am just assuming there.

What type of data you want/need vs. how big of footprint/resource requirements 
will drive your decision.

G


-Original Message-
From: owner-freebsd-questi...@freebsd.org 
[mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Yuri
Sent: Tuesday, August 17, 2010 1:38 PM
To: freebsd-questions@freebsd.org
Subject: Is there a way to measure how much network traffic particular app 
generates?

For example skype, or web browser?
I know SysGuard in kde4 shows network traffic per interface at
particular time. But I am interested in per-application stats.

Yuri
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Is there a way to measure how much network traffic particular app generates?

2010-08-17 Thread Mike Tancsa

At 02:37 PM 8/17/2010, Yuri wrote:

For example skype, or web browser?
I know SysGuard in kde4 shows network traffic per interface at 
particular time. But I am interested in per-application stats.


There are a number of tools. Something like ntop presents a nice 
graphical interface and a graphical report. For a CLI type tool, 
Argus is very nice
http://nsmwiki.org/index.php?title=Argushttp://nsmwiki.org/index.php?title=Argus 



---Mike


Yuri
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org



Mike Tancsa,  tel +1 519 651 3400
Sentex Communications,m...@sentex.net
Providing Internet since 1994www.sentex.net
Cambridge, Ontario Canada www.sentex.net/mike

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Is there a way to measure how much network traffic particular app generates?

2010-08-17 Thread Iñigo Ortiz de Urbina
Its not clear if you require real time stats or not so, I would like
to jump in and join the discussion by suggesting to capture the bulk
traffic, then filtering and dumping to another capture. Then use
wireshark/tshark's built-in stats to get the throughput.

Anyway, I would go down the pf+labels+pfctl+pftop road for pseudo-RT

On 8/17/10, Yuri y...@rawbw.com wrote:
 For example skype, or web browser?
 I know SysGuard in kde4 shows network traffic per interface at
 particular time. But I am interested in per-application stats.

 Yuri
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


ipv6 network traffic monitoring -- searching a working probe software

2010-05-25 Thread Reinhard Haller
Hi,

currently I'm monitoring the network traffic with ng_netflow and
nfdump/nfsen is used to collect, display and analyze the network traffic.

I'm reviewing the tools to monitor ipv6. ng_netflow doesn't support ipv6
(is there a schedule to implement the needed protocol version 9?).
I tried it with softflowd, seeing there is a constant offset of
4294959.134 in the duration and the nfsen filtering (in/out  if x)
doesn't work at all.
YAF flows aren't recognized by nfsen.

Any suggestions how to monitor ipv6 traffic?

Thanks
Reinhard

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Network traffic monitoring: BSD monitor verifying encryption

2009-07-08 Thread Daniel Underwood
Hi folks:

(1) I'm only used Wireshark and Ethereal to inspect network traffic,
and I've only used these on several occasion.  Would someone suggest
FreeBSD alternatives (console or xserver based?

(2) I'm testing my connection to a remote server.  The connection is
supposed to be encrypted. What's the easiest way to verify that the
data is in fact being encrypted?  I don't care to validate the
encryption itself; I trust that it is working properly, if it's
working at all.  I just want to know what, if anything, I can look for
in the traffic that will indicate encryption (e.g., is the initiation
of key-exchanges easy to locate?).
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Network traffic monitoring: BSD monitor verifying encryption

2009-07-08 Thread Steve Bertrand
Daniel Underwood wrote:
 Hi folks:
 
 (1) I'm only used Wireshark and Ethereal to inspect network traffic,
 and I've only used these on several occasion.  Would someone suggest
 FreeBSD alternatives (console or xserver based?

tcpdump(1). It can save to a pcap file for later review within Wireshark
if required.

 (2) I'm testing my connection to a remote server.  The connection is
 supposed to be encrypted. What's the easiest way to verify that the
 data is in fact being encrypted?  I don't care to validate the
 encryption itself; I trust that it is working properly, if it's
 working at all.  I just want to know what, if anything, I can look for
 in the traffic that will indicate encryption (e.g., is the initiation
 of key-exchanges easy to locate?).

It depends on the traffic type, and the protocol.

When in doubt, you could always capture the entire packet, dump them
into a file, and then review the data to ensure it isn't in plaintext:

# tcpdump -n -i em5 -s 0 -w /var/log/cap.pcap host x.x.x.x and port 

Then you can read it back in with tcpdump later, or scp the file to a
GUI based workstation and view it in Wireshark (which is my preference).

Wireshark displaying SSH traffic will for instance tell you straight-up
in the Info field that the packet is Encrypted response packet
len=xxx. It does the same for IPSec etc.

Steve


smime.p7s
Description: S/MIME Cryptographic Signature


Re: Network traffic monitoring: BSD monitor verifying encryption

2009-07-08 Thread Matthew Seaman

Daniel Underwood wrote:

Hi folks:

(1) I'm only used Wireshark and Ethereal to inspect network traffic,
and I've only used these on several occasion.  Would someone suggest
FreeBSD alternatives (console or xserver based?


wireshark, formerly known as ethereal works just fine on FreeBSD.  If you
want a console based variant, there's tshark, which is just wireshark without
X11 support.  All in the ports: net/wireshark, net/tshark

As mentioned elsewhere, you can use tcpdump (bundled with the system) to
capture traffic that you can later feed into wireshark for analysis.  Handy
hint: be aware that tcpdump generally only captures the packet headers and
not the full packet content.  To capture everything add '-s 0' to the tcpdump
command line.


(2) I'm testing my connection to a remote server.  The connection is
supposed to be encrypted. What's the easiest way to verify that the
data is in fact being encrypted?  I don't care to validate the
encryption itself; I trust that it is working properly, if it's
working at all.  I just want to know what, if anything, I can look for
in the traffic that will indicate encryption (e.g., is the initiation
of key-exchanges easy to locate?).


There are two possibilities:

(a) capture session traffic over the wire and from that demonstrate the
traffic is encrypted.  Unless the plaintext is obviously ascii or otherwise
readily identifiable, this might be a bit tricky.  Probably the only 100%
certain answer is to be able to decrypt the session traffic.

(b) connect to the remote network port using eg. netcat (see nc(1)),
telnet or 'openssl s_client' -- in the first two cases the idea would be
to check that the server would not permit an unencrypted session; for the
last case the idea is to check that the connection does handle presenting keys
and certs correctly.  Obviously this will depend on knowledge of how your 
particular communications protocol works.


Cheers,

Matthew

--
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
 Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
 Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


Re: Network traffic monitoring: BSD monitor verifying encryption

2009-07-08 Thread Daniel Underwood
Thanks for the help.

I couldn't find any flags/fields in TCP packets indicated whether
encrypted (as in the case of SSH packets).  There isn't any, right?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Network traffic monitoring: BSD monitor verifying encryption

2009-07-08 Thread Steve Bertrand
Daniel Underwood wrote:
 Thanks for the help.
 
 I couldn't find any flags/fields in TCP packets indicated whether
 encrypted (as in the case of SSH packets).  There isn't any, right?

No. TCP (Transport Layer) knows nothing about encryption/encoding, and
hence there is no room (or need) within the headers to signify those
details. TCP provides reliable data transit, and really nothing more.

Encryption happens higher up in the stack, and it is the responsibility
of the application (or some function) to do this work.

TCP provides the connection, in which you can throw any type of data you
please. It does not care what type of data you put into it; it has no
way of inherently finding that out.

To find out the flags/configuration/techniques used by the application
before it stuffs it's data into a packet, you have to read the data
after it's been extracted from the packet all the way up near the
application layer.

Wireshark can 'dissect' each packet for numerous applications and
protocols, hence it has the ability to inform you about encryption as in
my previous SSH example.

That is why I captured the entire packet with tcpdump (via the -s0
flag). If you don't, tcpdump will not capture enough information to
decode the packet.

Steve


smime.p7s
Description: S/MIME Cryptographic Signature


Re: Network traffic monitoring: BSD monitor verifying encryption

2009-07-08 Thread Matthew Seaman

Daniel Underwood wrote:

Thanks for the help.

I couldn't find any flags/fields in TCP packets indicated whether
encrypted (as in the case of SSH packets).  There isn't any, right?


Correct: there isn't anything like that in the TCP headers.  Encryption
on TCP streams is an application level thing that only affects packet
payloads.

There are transport layer encryption protocols -- eg. IPSec, OpenVPN, etc.
-- but those allow tunnelling TCP streams through them and aren't necessarily
TCP themselves.

Cheers,

Matthew

--
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
 Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
 Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


Re: simple network traffic query tool

2008-05-24 Thread Tobias Kirschstein
On Mon, 28 Apr 2008 18:00:46 +
beni [EMAIL PROTECTED] wrote:

 On Thursday 24 April 2008 18:10:40 Tobias Kirschstein wrote:
  hi,
 
  i'm looking for a small tool to query the current network traffic
  (kb IN and OUT) per interface. is there any sysctl or tool which
  gives me a similar output to systat -ifstat:
 
  /0   /1   /2   /3   /4   /5   /6   /7   /8   /9   /10
   Load Average   
 
Interface   Traffic   Peak
  Total lo0  in  0.000 KB/s  0.000 KB/s  226.079
  KB out 0.000 KB/s  0.000 KB/s  226.079 KB
 
 wpi0  in  0.000 KB/s  0.000 KB/s
  164.577 MB out 0.000 KB/s  0.000 KB/s6.205
  MB
 
  the background:
  unfortunately the network monitor build into superkaramba does not
  work for freebsd, os i want to write a widget which uses sysctl or
  any other tool if available got get this information. systat is not
  appropriate to be used because it does not terminate on its own as
  i see.
 
 I'm using a modified version of Superkarambas CompactMonitor. It is
 written for Linux I think, but easily adaptable for freebsd. 
 All I did was moddify the 
 ~/.kde/share/apps/superkaramba/themes/CompactMonitor/CompactMonitor.theme 
 file : 
 
 text  x=435 y=50  sensor=network device=vr0 format=%in KB/s
 decimals=1 text  x=370 y=50  value=Download
 text  x=570 y=50  sensor=program program=netstat -ibh | grep Link#1
 | awk '{print $7}' align=right interval=1000
 
 text  x=435 y=65 sensor=network device=vr0 format=%out KB/s
 decimals=1 text  x=370 y=65 value=Upload
 text  x=570 y=65 sensor=program program=netstat -ibh | grep Link#1 | 
 awk '{print $10}' align=right interval=1000
 
 Add
 graph x=370 y=30  sensor=network device=vr0 format=%out w=200
 h=15 color=255,127,127 interval=1000 max=100
 graph x=370 y=30  sensor=network device=vr0 format=%in  w=200
 h=15 color=127,230,180 interval=1000 max=100
 if you want to add a graphic representation and change the vr0
 according to your (ethernet) device.
 
 It works for me with kde 3.5.8 on 7.0-stable.

thanks a lot! i missed the device=vr0 part in my config... sometimes it
can be so simple ;)


-- 
ciao,
lev
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: simple network traffic query tool

2008-04-28 Thread beni
On Thursday 24 April 2008 18:10:40 Tobias Kirschstein wrote:
 hi,

 i'm looking for a small tool to query the current network traffic (kb
 IN and OUT) per interface. is there any sysctl or tool which gives me a
 similar output to systat -ifstat:

 /0   /1   /2   /3   /4   /5   /6   /7   /8   /9   /10
  Load Average   

   Interface   Traffic   PeakTotal
 lo0  in  0.000 KB/s  0.000 KB/s  226.079 KB
  out 0.000 KB/s  0.000 KB/s  226.079 KB

wpi0  in  0.000 KB/s  0.000 KB/s  164.577 MB
  out 0.000 KB/s  0.000 KB/s6.205 MB

 the background:
 unfortunately the network monitor build into superkaramba does not work
 for freebsd, os i want to write a widget which uses sysctl or any other
 tool if available got get this information. systat is not appropriate
 to be used because it does not terminate on its own as i see.

I'm using a modified version of Superkarambas CompactMonitor. It is written 
for Linux I think, but easily adaptable for freebsd. 
All I did was moddify the 
~/.kde/share/apps/superkaramba/themes/CompactMonitor/CompactMonitor.theme 
file : 

text  x=435 y=50  sensor=network device=vr0 format=%in KB/s  decimals=1
text  x=370 y=50  value=Download
text  x=570 y=50  sensor=program program=netstat -ibh | grep Link#1 | 
awk '{print $7}' align=right interval=1000

text  x=435 y=65 sensor=network device=vr0 format=%out KB/s decimals=1
text  x=370 y=65 value=Upload
text  x=570 y=65 sensor=program program=netstat -ibh | grep Link#1 | 
awk '{print $10}' align=right interval=1000

Add
graph x=370 y=30  sensor=network device=vr0 format=%out w=200 h=15 
color=255,127,127 interval=1000 max=100
graph x=370 y=30  sensor=network device=vr0 format=%in  w=200 h=15 
color=127,230,180 interval=1000 max=100
if you want to add a graphic representation and change the vr0 according to 
your (ethernet) device.

It works for me with kde 3.5.8 on 7.0-stable.
-- 
Beni.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: simple network traffic query tool

2008-04-28 Thread Grant Peel

Take a look at ipa.

-Grant


- Original Message - 
From: beni [EMAIL PROTECTED]

To: freebsd-questions@freebsd.org
Cc: Tobias Kirschstein [EMAIL PROTECTED]
Sent: Monday, April 28, 2008 2:00 PM
Subject: Re: simple network traffic query tool



On Thursday 24 April 2008 18:10:40 Tobias Kirschstein wrote:

hi,

i'm looking for a small tool to query the current network traffic (kb
IN and OUT) per interface. is there any sysctl or tool which gives me a
similar output to systat -ifstat:

/0   /1   /2   /3   /4   /5   /6   /7   /8   /9   /10
 Load Average   

  Interface   Traffic   PeakTotal
lo0  in  0.000 KB/s  0.000 KB/s  226.079 
KB
 out 0.000 KB/s  0.000 KB/s  226.079 
KB


   wpi0  in  0.000 KB/s  0.000 KB/s  164.577 
MB
 out 0.000 KB/s  0.000 KB/s6.205 
MB


the background:
unfortunately the network monitor build into superkaramba does not work
for freebsd, os i want to write a widget which uses sysctl or any other
tool if available got get this information. systat is not appropriate
to be used because it does not terminate on its own as i see.


I'm using a modified version of Superkarambas CompactMonitor. It is 
written

for Linux I think, but easily adaptable for freebsd.
All I did was moddify the
~/.kde/share/apps/superkaramba/themes/CompactMonitor/CompactMonitor.theme
file :

text  x=435 y=50  sensor=network device=vr0 format=%in KB/s 
decimals=1

text  x=370 y=50  value=Download
text  x=570 y=50  sensor=program program=netstat -ibh | grep Link#1 |
awk '{print $7}' align=right interval=1000

text  x=435 y=65 sensor=network device=vr0 format=%out KB/s decimals=1
text  x=370 y=65 value=Upload
text  x=570 y=65 sensor=program program=netstat -ibh | grep Link#1 |
awk '{print $10}' align=right interval=1000

Add
graph x=370 y=30  sensor=network device=vr0 format=%out w=200 h=15
color=255,127,127 interval=1000 max=100
graph x=370 y=30  sensor=network device=vr0 format=%in  w=200 h=15
color=127,230,180 interval=1000 max=100
if you want to add a graphic representation and change the vr0 according 
to

your (ethernet) device.

It works for me with kde 3.5.8 on 7.0-stable.
--
Beni.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]





___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: simple network traffic query tool

2008-04-27 Thread Norberto Meijome
On Sat, 26 Apr 2008 12:08:14 +0200
Zbigniew Szalbot [EMAIL PROTECTED] wrote:

 I hope I am not stealing the thread by asking an additional question. 
 Thanks to this thread I discovered :) systat -ifstat and other switches. 
 Does such data like below survive reboots?
 
   re0  in  8.062 KB/s 13.414 KB/s1.987 GB
   out21.561 KB/s 53.346 KB/s3.043 GB

i don't think so.. and they *may* even wrap around on a server with a long 
uptime and lots of traffic... 

B

_
{Beto|Norberto|Numard} Meijome

Software QA is like cleaning my cat's litter box: Sift out the big chunks. Stir 
in the rest. Hope it doesn't stink.

I speak for myself, not my employer. Contents may be hot. Slippery when wet. 
Reading disclaimers makes you go blind. Writing them is worse. You have been 
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: simple network traffic query tool

2008-04-27 Thread Zbigniew Szalbot

Hi,

Norberto Meijome pisze:


On Sat, 26 Apr 2008 12:08:14 +0200
Zbigniew Szalbot [EMAIL PROTECTED] wrote:

I hope I am not stealing the thread by asking an additional question. 
Thanks to this thread I discovered :) systat -ifstat and other switches. 
Does such data like below survive reboots?


  re0  in  8.062 KB/s 13.414 KB/s1.987 GB
out21.561 KB/s 53.346 KB/s3.043 GB


i don't think so.. and they *may* even wrap around on a server with a long uptime and lots of traffic... 



Due to an unexpected power off, I have it confirmed... ;)


Thanks Norberto!

--
Zbigniew Szalbot
www.lc-words.com


smime.p7s
Description: S/MIME Cryptographic Signature


Re: simple network traffic query tool

2008-04-26 Thread Tobias Kirschstein
On Fri, 25 Apr 2008 22:20:35 +0200
Roger Olofsson [EMAIL PROTECTED] wrote:

 
 
 Tobias Kirschstein skrev:
  hi,
  
  i'm looking for a small tool to query the current network traffic
  (kb IN and OUT) per interface. is there any sysctl or tool which
  gives me a similar output to systat -ifstat:
  
  /0   /1   /2   /3   /4   /5   /6   /7   /8   /9   /10
   Load Average
   
Interface   Traffic   Peak
  Total lo0  in  0.000 KB/s  0.000 KB/s  226.079
  KB out 0.000 KB/s  0.000 KB/s  226.079 KB
  
 wpi0  in  0.000 KB/s  0.000 KB/s
  164.577 MB out 0.000 KB/s  0.000 KB/s6.205
  MB
  
  the background:
  unfortunately the network monitor build into superkaramba does not
  work for freebsd, os i want to write a widget which uses sysctl or
  any other tool if available got get this information. systat is not
  appropriate to be used because it does not terminate on its own as
  i see.
  
  
 
 Hello,
 
 If you want something more of a web service you could install SNMP
 from ports and use Cacti (also from ports). See http://www.cacti.net/
 for a quick glance at what you'll get.

thanks to all for your suggestions. i looked into the tools but
unfortunately none was simple enough so that its output could be easily
parsed and used as a superkaramba sensor. finally i came across
ifstat (also from ports) which seems to be what i was looking for,
but nevertheless thanks for your help :)


-- 
ciao,
lev


pgp3BLJreowJV.pgp
Description: PGP signature


Re: simple network traffic query tool

2008-04-26 Thread Zbigniew Szalbot

Hello,

Tobias Kirschstein pisze:


On Fri, 25 Apr 2008 22:20:35 +0200
Roger Olofsson [EMAIL PROTECTED] wrote:




Tobias Kirschstein skrev:
 hi,
 
 i'm looking for a small tool to query the current network traffic

 (kb IN and OUT) per interface. is there any sysctl or tool which
 gives me a similar output to systat -ifstat:
 
 /0   /1   /2   /3   /4   /5   /6   /7   /8   /9   /10

  Load Average
  
   Interface   Traffic   Peak

 Total lo0  in  0.000 KB/s  0.000 KB/s  226.079
 KB out 0.000 KB/s  0.000 KB/s  226.079 KB
 
wpi0  in  0.000 KB/s  0.000 KB/s

 164.577 MB out 0.000 KB/s  0.000 KB/s6.205
 MB
 
 the background:

 unfortunately the network monitor build into superkaramba does not
 work for freebsd, os i want to write a widget which uses sysctl or
 any other tool if available got get this information. systat is not
 appropriate to be used because it does not terminate on its own as
 i see.
 
 


Hello,

If you want something more of a web service you could install SNMP
from ports and use Cacti (also from ports). See http://www.cacti.net/
for a quick glance at what you'll get.


thanks to all for your suggestions. i looked into the tools but
unfortunately none was simple enough so that its output could be easily
parsed and used as a superkaramba sensor. finally i came across
ifstat (also from ports) which seems to be what i was looking for,
but nevertheless thanks for your help :)



I hope I am not stealing the thread by asking an additional question. 
Thanks to this thread I discovered :) systat -ifstat and other switches. 
Does such data like below survive reboots?


 re0  in  8.062 KB/s 13.414 KB/s1.987 GB
out21.561 KB/s 53.346 KB/s3.043 GB

Thanks!

--
Zbigniew Szalbot
www.lc-words.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: simple network traffic query tool

2008-04-25 Thread Roger Olofsson



Tobias Kirschstein skrev:

hi,

i'm looking for a small tool to query the current network traffic (kb
IN and OUT) per interface. is there any sysctl or tool which gives me a
similar output to systat -ifstat:

/0   /1   /2   /3   /4   /5   /6   /7   /8   /9   /10
 Load Average    
 
  Interface   Traffic   PeakTotal

lo0  in  0.000 KB/s  0.000 KB/s  226.079 KB
 out 0.000 KB/s  0.000 KB/s  226.079 KB

   wpi0  in  0.000 KB/s  0.000 KB/s  164.577 MB
 out 0.000 KB/s  0.000 KB/s6.205 MB

the background:
unfortunately the network monitor build into superkaramba does not work
for freebsd, os i want to write a widget which uses sysctl or any other
tool if available got get this information. systat is not appropriate
to be used because it does not terminate on its own as i see.




Hello,

If you want something more of a web service you could install SNMP from 
ports and use Cacti (also from ports). See http://www.cacti.net/ for a 
quick glance at what you'll get.


Just my nickels worth.

/Roger

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


simple network traffic query tool

2008-04-24 Thread Tobias Kirschstein
hi,

i'm looking for a small tool to query the current network traffic (kb
IN and OUT) per interface. is there any sysctl or tool which gives me a
similar output to systat -ifstat:

/0   /1   /2   /3   /4   /5   /6   /7   /8   /9   /10
 Load Average    
 
  Interface   Traffic   PeakTotal
lo0  in  0.000 KB/s  0.000 KB/s  226.079 KB
 out 0.000 KB/s  0.000 KB/s  226.079 KB

   wpi0  in  0.000 KB/s  0.000 KB/s  164.577 MB
 out 0.000 KB/s  0.000 KB/s6.205 MB

the background:
unfortunately the network monitor build into superkaramba does not work
for freebsd, os i want to write a widget which uses sysctl or any other
tool if available got get this information. systat is not appropriate
to be used because it does not terminate on its own as i see.


-- 
ciao,
lev


pgpn8EMOVQZeM.pgp
Description: PGP signature


Re: simple network traffic query tool

2008-04-24 Thread AngryWolf
Hi,

Perhaps try 'bmon'. It doesn't support displaying peak values though, but 
simple enough.

-- 
AngryWolf
[EMAIL PROTECTED]

On Thursday 24 April 2008 20.10.40 Tobias Kirschstein wrote:
 unfortunately the network monitor build into superkaramba does not work
 for freebsd, os i want to write a widget which uses sysctl or any other
 tool if available got get this information. systat is not appropriate
 to be used because it does not terminate on its own as i see.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: simple network traffic query tool

2008-04-24 Thread Norman Maurer
2008/4/24 AngryWolf [EMAIL PROTECTED]:

 Hi,

 Perhaps try 'bmon'. It doesn't support displaying peak values though, but
 simple enough.

 --
 AngryWolf
 [EMAIL PROTECTED]

 On Thursday 24 April 2008 20.10.40 Tobias Kirschstein wrote:
  unfortunately the network monitor build into superkaramba does not work
  for freebsd, os i want to write a widget which uses sysctl or any other
  tool if available got get this information. systat is not appropriate
  to be used because it does not terminate on its own as i see.


nload should do the job ...

Cheers,
Norman
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: simple network traffic query tool

2008-04-24 Thread Paul Schmehl
--On Thursday, April 24, 2008 20:10:40 +0200 Tobias Kirschstein [EMAIL PROTECTED] 
wrote:



hi,

i'm looking for a small tool to query the current network traffic (kb
IN and OUT) per interface. is there any sysctl or tool which gives me a
similar output to systat -ifstat:

/0   /1   /2   /3   /4   /5   /6   /7   /8   /9   /10
 Load Average   

  Interface   Traffic   PeakTotal
lo0  in  0.000 KB/s  0.000 KB/s  226.079 KB
 out 0.000 KB/s  0.000 KB/s  226.079 KB

   wpi0  in  0.000 KB/s  0.000 KB/s  164.577 MB
 out 0.000 KB/s  0.000 KB/s6.205 MB

the background:
unfortunately the network monitor build into superkaramba does not work
for freebsd, os i want to write a widget which uses sysctl or any other
tool if available got get this information. systat is not appropriate
to be used because it does not terminate on its own as i see.


Perhaps net/ntop?

--
Paul Schmehl ([EMAIL PROTECTED])
Senior Information Security Analyst
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: tools for network traffic accounting

2006-11-06 Thread Niek

Thanks, also to all others who answered this question.
I found out that setting 'set loginterface if' in pf.conf makes it 
possible to get transfer statistics from pfctl -si. Maybe it is of 
interest for other beginners like me.


regds,
Niek



Philip Hallstrom wrote:

I would like to configure a monthly report of the incoming and
outgoing amount of traffic on the network interface of my server, for
instance in the monthly run output.

Can I do this with a built in program of FreeBSD 6.0 or do I need a 
port?


If you just wanted a total count and run ipfw (or any firewall i 
imagine) you could simply add a rule to count all inbound and outbound 
packets then at the end of the month look at them, then zero them.


It could be automated...

Otherwise, there's mrtg, cacti, and tons of others :)


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: tools for network traffic accounting

2006-11-06 Thread Giorgos Keramidas
On 2006-11-06 15:51, Niek [EMAIL PROTECTED] wrote:
 Thanks, also to all others who answered this question.
 I found out that setting 'set loginterface if' in pf.conf makes it 
 possible to get transfer statistics from pfctl -si. Maybe it is of 
 interest for other beginners like me.

There is also `pfctl -vv -s Interface -i ifname', which may be of
interest in gathering per-interface statistics with PF:

% # pfctl -vv -s Interface -i ath0
% Password: 
% No ALTQ support in kernel
% ALTQ related functions disabled
% ath0(instance, attached)
% Cleared: Mon Nov  6 15:51:45 2006
% References:  [ States:  0  Rules: 0  ]
% In4/Pass:[ Packets: 48403  Bytes: 39977970   ]
% In4/Block:   [ Packets: 8600   Bytes: 1280772]
% Out4/Pass:   [ Packets: 44268  Bytes: 3636974]
% Out4/Block:  [ Packets: 0  Bytes: 0  ]
% In6/Pass:[ Packets: 0  Bytes: 0  ]
% In6/Block:   [ Packets: 46 Bytes: 3152   ]
% Out6/Pass:   [ Packets: 0  Bytes: 0  ]
% Out6/Block:  [ Packets: 0  Bytes: 0  ]
% #
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


tools for network traffic accounting

2006-10-05 Thread Niek Dekker

Dear list,

I would like to configure a monthly report of the incoming and
outgoing amount of traffic on the network interface of my server, for
instance in the monthly run output.

Can I do this with a built in program of FreeBSD 6.0 or do I need a port?

Niek
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: tools for network traffic accounting

2006-10-05 Thread Bachilo Dmitry
В сообщении от Четверг 05 октября 2006 17:17 Niek Dekker написал(a):
 Dear list,

 I would like to configure a monthly report of the incoming and
 outgoing amount of traffic on the network interface of my server, for
 instance in the monthly run output.

 Can I do this with a built in program of FreeBSD 6.0 or do I need a port?

 Niek

I advice you to use NeTAMS ports. It's just perfect. Check out www.netams.com

 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]

-- 

С уважением, Бачило Дмитрий
Руководитель отдела системной интеграции
ООО Компания СоЛинк
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: tools for network traffic accounting

2006-10-05 Thread Philip Hallstrom

I would like to configure a monthly report of the incoming and
outgoing amount of traffic on the network interface of my server, for
instance in the monthly run output.

Can I do this with a built in program of FreeBSD 6.0 or do I need a port?


If you just wanted a total count and run ipfw (or any firewall i imagine) 
you could simply add a rule to count all inbound and outbound packets then 
at the end of the month look at them, then zero them.


It could be automated...

Otherwise, there's mrtg, cacti, and tons of others :)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: tools for network traffic accounting

2006-10-05 Thread Joe

Niek Dekker wrote:

Dear list,

I would like to configure a monthly report of the incoming and
outgoing amount of traffic on the network interface of my server, for
instance in the monthly run output.


Try argus.

http://qosient.com/argus/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Heavy internal network traffic seems to upset other network processes

2006-09-17 Thread Jim Keller
I have a FreeBSD 6.1 machine with two em nics, one of which is set up as 
external for the Internet-facing side, the other is internal (100Mbit) 
and is connected to a small switch with a few other machines. 
Occasionally I will transfer large files across the internal link and, 
when doing so, other network related applications seem to grind to a 
halt and the system seems to be working very hard. In fact, mySQL will 
actually stop accepting incoming requests during the file transfer, 
which is the biggest side effect I'm having because of the problem. I'm 
wondering if it's some kind of tuning option I need to set, but I'm 
really not sure where to look. I have maxusers set to 256, nmbclusters 
is 8192 (maybe this should be higher?). Any help would be appreciated. 
Thanks.


-Jim keller
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Network traffic Monitor

2006-04-04 Thread Jason C. Wells

Eric Schuele wrote:

Rodrigo G. Tavares de Souza wrote:

Hi,

   I getting a problem with a DSL connection, and I need a way to 
monitor the network traffic.

   I found a program called Netsaint, could I do it with this one?


It depends on what your monitoring focus is.  If you just want to do 
some quick troubleshooting, ping and traceroute are probably all you need.


If you are looking for intrusion monitoring snort is the leading tool 
for that. (last time I checked)


If you are looking for traffic graphing you might look at RRDTool/MRTG.

It depends on what your specific problem is.

Surf through ports/net and ports/sysutils for all kinds of good tools.

Later,
Jason C. Wells
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Network traffic Monitor

2006-04-03 Thread Rodrigo G. Tavares de Souza

Hi,

   I getting a problem with a DSL connection, and I need a way to 
monitor the network traffic.

   I found a program called Netsaint, could I do it with this one?

Best Regards,
Rodrigo Souza
Sao Paulo - Brazil

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Network traffic Monitor

2006-04-03 Thread Eric Schuele

Rodrigo G. Tavares de Souza wrote:

Hi,

   I getting a problem with a DSL connection, and I need a way to 
monitor the network traffic.

   I found a program called Netsaint, could I do it with this one?



Try Ethereal.
  http://www.ethereal.com/
Its in ports net/ethereal

HTH


Best Regards,
Rodrigo Souza
Sao Paulo - Brazil

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]





--
Regards,
Eric
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Getting the network traffic amount since the interface went up

2005-12-14 Thread Ansar Mohammed
Try netstat -s


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:owner-freebsd-
 [EMAIL PROTECTED] On Behalf Of Parv
 Sent: December 14, 2005 2:23 AM
 To: Chuck Swiger
 Cc: f-q
 Subject: Re: Getting the network traffic amount since the interface went
 up
 
 in message [EMAIL PROTECTED],
 wrote Chuck Swiger thusly...
 
  Parv wrote:
 ...
   Is there a way to find out the amount of traffic (in  out)
   since a network interface has been up (not since the OS has been
   up)?
 
  There are lots of solutions to this problem, it kinda depends on
  what you're trying to do.
 
 Well, actually i want to know the limit(s) (related to amount of
 data and number of connections) at which SMC Barricade 7004ABR
 router allows only the already established connections and refuses
 to allow any new ones.  This is all related to download a large
 torrent via rtorrent.  Rebooting the router solves the problem until
 i decide to restart the download.
 
 
  You might set up an IPFW rule which matches just the traffic you
  care about, and look at ipfw -a l.  You can zero the counters at
  will if you like, too.  From the ipfw manpage:
 
   Per-flow queueing can be useful for a variety of purposes.  A
   very simple one is counting traffic:
 
 Thanks for bringing that to my attention as I mainly use ipf  have
 not paid much of a look to ipfw.
 
 
   - Parv
 
 --
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-
 [EMAIL PROTECTED]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Getting the network traffic amount since the interface went up

2005-12-13 Thread Parv
I am interested to know the total amount of data passed through a
network interface (em0 in my case) since the interface went up.  So
far, i have seen that pload, nload,  netstat -b -I report the
amount since the operating system has been up, not since the new
ethernet connection has been (re)established.

Is there a way to find out the amount of traffic (in  out) since a
network interface has been up (not since the OS has been up)?

  - Parv

-- 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Getting the network traffic amount since the interface went up

2005-12-13 Thread Parv
in message [EMAIL PROTECTED],
wrote Chuck Swiger thusly...

 Parv wrote:
...
  Is there a way to find out the amount of traffic (in  out)
  since a network interface has been up (not since the OS has been
  up)?
 
 There are lots of solutions to this problem, it kinda depends on
 what you're trying to do.

Well, actually i want to know the limit(s) (related to amount of
data and number of connections) at which SMC Barricade 7004ABR
router allows only the already established connections and refuses
to allow any new ones.  This is all related to download a large
torrent via rtorrent.  Rebooting the router solves the problem until
i decide to restart the download.


 You might set up an IPFW rule which matches just the traffic you
 care about, and look at ipfw -a l.  You can zero the counters at
 will if you like, too.  From the ipfw manpage:
 
  Per-flow queueing can be useful for a variety of purposes.  A
  very simple one is counting traffic:

Thanks for bringing that to my attention as I mainly use ipf  have
not paid much of a look to ipfw.


  - Parv

-- 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Simple Network Traffic script

2004-11-12 Thread Tim Traver
Hi all,
ok, this may be a dumb question, but does anyone know where I can find a 
simple script that shows the network traffic to and from your local box ?

using netstat -i 5,  can see the traffic over 5 seconds, but then I need 
to do a bunch of calculations to try and get a reasonable number.

I looked at ntop, but couldn't get it to work...
there must be a simpler way...
Thanks,
Tim.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Simple Network Traffic script

2004-11-12 Thread Josh Paetzel
On Friday 12 November 2004 20:56, Tim Traver wrote:
 Hi all,

 ok, this may be a dumb question, but does anyone know where I can
 find a simple script that shows the network traffic to and from
 your local box ?

 using netstat -i 5,  can see the traffic over 5 seconds, but then I
 need to do a bunch of calculations to try and get a reasonable
 number.

 I looked at ntop, but couldn't get it to work...

 there must be a simpler way...

 Thanks,

 Tim.

Well, there's mrtg in the ports tree, it may or not fit your 
definition of simple.

-- 
Thanks,

Josh Paetzel
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Simple Network Traffic script

2004-11-12 Thread Tim Traver
mrtg is to collect and graph statistics from local and remote hosts...we 
use it for network info on switches, etc. Which means that I can 
ultimately get that info if I go find the switch port its on, and jump 
through some other hoops.

I just want a command line script that shows me how much bandwidth is 
being sent and received in the last x seconds...

Kind of like top for network bandwidth.
it can't be that hard...
t
Josh Paetzel wrote:
On Friday 12 November 2004 20:56, Tim Traver wrote:
 

Hi all,
ok, this may be a dumb question, but does anyone know where I can
find a simple script that shows the network traffic to and from
your local box ?
using netstat -i 5,  can see the traffic over 5 seconds, but then I
need to do a bunch of calculations to try and get a reasonable
number.
I looked at ntop, but couldn't get it to work...
there must be a simpler way...
Thanks,
Tim.
   

Well, there's mrtg in the ports tree, it may or not fit your 
definition of simple.

 

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Simple Network Traffic script

2004-11-12 Thread Michael Clark
 
 Hi all,
 
 ok, this may be a dumb question, but does anyone know where I 
 can find a 
 simple script that shows the network traffic to and from your 
 local box ?
 
 using netstat -i 5,  can see the traffic over 5 seconds, but 
 then I need 
 to do a bunch of calculations to try and get a reasonable number.
 
 I looked at ntop, but couldn't get it to work...
 
 there must be a simpler way...
 
 Thanks,
 
 Tim.

Iftop and trafshow are also in ports.  Both work well.

Michael Clark
Nemschoff Chairs Inc
mclark at nemschoff dot com
CompTIA A+, Network+, Server+, MCP
Voice: (920) 457 7726 x294
Fax:  (920) 453 6594


CONFIDENTIALITY NOTE: This electronic transmission, including all
attachments, is directed in confidence solely to the person(s) to whom it is
addressed, or an authorized recipient, and may not otherwise be distributed,
copied or disclosed. The contents of the transmission may also be subject to
intellectual property rights and all such rights are expressly claimed and
are not waived. If you have received this transmission in error, please
notify the sender immediately by return electronic transmission and then
immediately delete this transmission, including all attachments, without
copying, distributing or disclosing same. 


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Simple Network Traffic script

2004-11-12 Thread Aaron Nichols
On Fri, 12 Nov 2004 12:56:57 -0800, Tim Traver [EMAIL PROTECTED] wrote:
 Hi all,
 
 ok, this may be a dumb question, but does anyone know where I can find a
 simple script that shows the network traffic to and from your local box ?
snip
 there must be a simpler way...

If you are running 5.3-RELEASE there is systat

# systat -ifstat

systat exists in 4.x releases but I don't believe it has the -ifstat
option. It's only realtime - if you want long-term logging I would
suggest either mrtg or better, cacti + rrdtool which is much easier
(IMO) to setup (www.raxnet.net) and gives you the flexibility to
monitor just about anything.

Aaron
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Simple Network Traffic script

2004-11-12 Thread Dan Nelson
In the last episode (Nov 12), Tim Traver said:
 ok, this may be a dumb question, but does anyone know where I can
 find a simple script that shows the network traffic to and from your
 local box ?
 
 using netstat -i 5,  can see the traffic over 5 seconds, but then I
 need to do a bunch of calculations to try and get a reasonable
 number.

If you're not looking for traffic counts over 5-second periods, what
exactly are you looking for?  trafshow is nice for quickly determining
who is eating your bandwidth, if that's your intent.

-- 
Dan Nelson
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Simple Network Traffic script

2004-11-12 Thread Josh Paetzel
On Friday 12 November 2004 21:40, Aaron Nichols wrote:
 On Fri, 12 Nov 2004 12:56:57 -0800, Tim Traver 
[EMAIL PROTECTED] wrote:
  Hi all,
 
  ok, this may be a dumb question, but does anyone know where I can
  find a simple script that shows the network traffic to and from
  your local box ?

 snip

  there must be a simpler way...

 If you are running 5.3-RELEASE there is systat

 # systat -ifstat

Just for kicks I took a look at systat and noticed something 
interesting.  It appears to be able to show the load on 
multiprocessor systems as a per-CPU value
 Load Average

/0   /10  /20  /30  /40  /50  /60  /70  /80  /90  /100
root idle: cpu0  
root idle: cpu1 

-- 
Thanks,

Josh Paetzel
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: network traffic

2004-05-20 Thread B Hansson
[EMAIL PROTECTED] wrote:
That works Great but do you know of anything that works in side the network?
does the same thing but inside the network
Yes, Tptest. Setup a tptest server on your network and use the client to 
connect to your own tptest server.

/BH
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


network traffic

2004-05-19 Thread Buck Jones
any one know were I can get a netwrk testing tool that can sit on a
server and test the speed of a network connection.. I have a small
network ot work and I get computers that just disappear off the
net..different computer at different times. but most of the time they
are on the net and just are so slow. I have check for virus's and adware
and changed the switching hub out..I have even replaced every network
cable in the place  
 
 
I would like two programs that sit on two computer and just talk to each
other and tell what the speed they are talking and if there is a packet
loss
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: network traffic

2004-05-19 Thread B Hansson
Buck Jones wrote:
any one know were I can get a netwrk testing tool that can sit on a
server and test the speed of a network connection.. I have a small
network ot work and I get computers that just disappear off the
net..different computer at different times. but most of the time they
are on the net and just are so slow. I have check for virus's and adware
and changed the switching hub out..I have even replaced every network
cable in the place  
 
 
I would like two programs that sit on two computer and just talk to each
other and tell what the speed they are talking and if there is a packet
loss

Have a look at tp-test.
http://sourceforge.net/projects/tptest/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: network traffic

2004-05-19 Thread Chuck Swiger
Buck Jones wrote:
I would like two programs that sit on two computer and just talk to each
other and tell what the speed they are talking and if there is a packet
loss
ping -f is a pretty good way of stress-testing a LAN.
You can also use time ping -s 1000 -c 1000 -i 0.0001 host or so to send 
approx 1 MB via 1K packets, and divide.  Using ftp or fetch or something that 
provides a speed rate is a little easier, if something running those services 
is handy...

--
-Chuck
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: network traffic

2004-05-19 Thread Buck
That works Great but do you know of anything that works in side the network?
does the same thing but inside the network

-Original Message-
From: B Hansson [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 19, 2004 7:22 AM
To: freebsd questions
Cc: [EMAIL PROTECTED]
Subject: Re: network traffic


Buck Jones wrote:
 any one know were I can get a netwrk testing tool that can sit on a
 server and test the speed of a network connection.. I have a small
 network ot work and I get computers that just disappear off the
 net..different computer at different times. but most of the time they
 are on the net and just are so slow. I have check for virus's and adware
 and changed the switching hub out..I have even replaced every network
 cable in the place


 I would like two programs that sit on two computer and just talk to each
 other and tell what the speed they are talking and if there is a packet
 loss


Have a look at tp-test.

http://sourceforge.net/projects/tptest/



___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: network traffic

2004-05-19 Thread Oscar Ricardo Silva
At 02:41 PM 5/18/2004, you wrote:
any one know were I can get a netwrk testing tool that can sit on a
server and test the speed of a network connection.. I have a small
network ot work and I get computers that just disappear off the
net..different computer at different times. but most of the time they
are on the net and just are so slow. I have check for virus's and adware
and changed the switching hub out..I have even replaced every network
cable in the place
I would like two programs that sit on two computer and just talk to each
other and tell what the speed they are talking and if there is a packet
loss

iperf or netperf?

Oscar
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Viewing Network Traffic

2003-01-08 Thread Denis N. Peplin
On Tuesday 07 January 2003 18:49, Justin P. Michel wrote:
 Greetings,

 I need to be able to view packets that are being sent out, and recieved by
 a machine on my network, running FreeBSD 4.7-Release-p2.  I was wondering
 what utilities are recommended by those in the know.  Any site links where
 I can read up on said utilities are also needed.
tcpdump (base system, show each packet) or trafshow (ports)

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Viewing Network Traffic

2003-01-07 Thread Justin P. Michel
Greetings,

I need to be able to view packets that are being sent out, and recieved by a
machine on my network, running FreeBSD 4.7-Release-p2.  I was wondering what
utilities are recommended by those in the know.  Any site links where I can
read up on said utilities are also needed.

Thanks in advance,

Justin P. Michel



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Viewing Network Traffic

2003-01-07 Thread Matt Smith
tcpdump + tcpshow  -- text mode sniffer + viewer
ethereal -- X11 sniffer
etherape -- shows nice graphical analysis of network traffic.

On Tue, 2003-01-07 at 10:49, Justin P. Michel wrote:
 Greetings,
 
 I need to be able to view packets that are being sent out, and recieved by a
 machine on my network, running FreeBSD 4.7-Release-p2.  I was wondering what
 utilities are recommended by those in the know.  Any site links where I can
 read up on said utilities are also needed.
 
 Thanks in advance,
 
 Justin P. Michel
 
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
-- 
Matt Smith [EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Something like top for network traffic?

2002-12-16 Thread Mxsmanic
Is there a utility like top for network traffic specifically, something that
would let me see the volume of traffic going over network connections on a
second-by-second basis on the console (text mode only)?  It's mainly to see
how much of a load a new Web site is generating.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Something like top for network traffic?

2002-12-16 Thread Simas Cepaitis
Hello,

* Mxsmanic ([EMAIL PROTECTED]) wrote:
 Is there a utility like top for network traffic specifically, something that
 would let me see the volume of traffic going over network connections on a
 second-by-second basis on the console (text mode only)?  It's mainly to see
 how much of a load a new Web site is generating.

  /usr/ports/net/ntop
  /usr/ports/net/trafshow

  Simas Cepaitis
  [EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Something like top for network traffic?

2002-12-16 Thread Denis N. Peplin
On Monday 16 December 2002 14:04, Mxsmanic wrote:
 Is there a utility like top for network traffic specifically, something
 that would let me see the volume of traffic going over network connections
 on a second-by-second basis on the console (text mode only)?  It's mainly
 to see how much of a load a new Web site is generating.
/usr/ports/net/trafshow

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Limit Network Traffic APACHE 1.3

2002-09-23 Thread Jeff Jirsa

On Mon, 23 Sep 2002, Philip Hallstrom wrote:

 There are some apache modules that can do this to various extents, and I
 think you could use ipfw's dummynet as well.


# cat /usr/ports/www/mod_throttle/pkg-descr
This Apache module is intended to reduce the load on your server 
bandwidth generated by popular virtual hosts, directories, locations, or
users accordingto supported polices that decide when to delay or refuse
requests. Also mod_throttle can track and throttle incoming connections by
IP address or by authenticated remote user.

Every request now passes through four levels of throttling, which are: by
client's IP address , by authenticated remote user name (ThrottleRemoteUser),
by local user ID (ThrottleUser), and by directory, location, virtual host,
or server (ThrottlePolicy).

WWW: http://www.snert.com/Software/mod_throttle/

- Jeff

-- 

Jeff Jirsa
[EMAIL PROTECTED]

-- 


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Limit Network Traffic APACHE 1.3

2002-09-23 Thread Christopher J. Umina

Does anybody know of these modules?  The ipfw thing would limit bandwidth
on the whole server unless I have a tun device, which I don't.  I want it
to be fast in the internal network, but not use too much of the speed
serving to the internet.

Thank you.

On Mon, 23 Sep 2002, Philip Hallstrom wrote:

 There are some apache modules that can do this to various extents, and I
 think you could use ipfw's dummynet as well.

 On Mon, 23 Sep 2002, Christopher J. Umina wrote:

  Hey peoples,
 
  How can I limit Apache's use of network traffic?  I want to limit
  it to somewhere around 50 Kb/s because it's a small server on a cable
  connection.  Is that possible?  If so, how can I get it done?
 
 
  Thanks,
  Christopher J. Umina
 
 
  To Unsubscribe: send mail to [EMAIL PROTECTED]
  with unsubscribe freebsd-questions in the body of the message
 




To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Limit Network Traffic APACHE 1.3

2002-09-23 Thread Duncan Anker

On Tue, 2002-09-24 at 09:14, Christopher J. Umina wrote:
 Does anybody know of these modules?  The ipfw thing would limit bandwidth
 on the whole server unless I have a tun device, which I don't.  I want it
 to be fast in the internal network, but not use too much of the speed
 serving to the internet.

Doesn't DummyNet allow you to specify which port to limit?

Anyway, I think the module you want is (drum roll) mod_bandwidth


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Limit Network Traffic APACHE 1.3

2002-09-23 Thread Philip Hallstrom

you might try mod_throttle

http://modules.apache.org/search?id=123

as for dummynet, read the ipfw man page.  I think it's a two part
process.. first passing things off to a pipe and then defining the pipe.
So in the first part you'd specify the port.  Never used it though so I
could be wrong.


On Mon, 23 Sep 2002, Christopher J. Umina wrote:

 hmm..
 mod_bandwidth sounds pretty wierd, and people are saying it doesn't work,
 but nowhere can I find how to set a port in a pipe with dummynet..
 Anybody know how to use it?

 Do I have to rebuild my kernel?


 On 24 Sep 2002, Duncan Anker wrote:

  On Tue, 2002-09-24 at 09:14, Christopher J. Umina wrote:
   Does anybody know of these modules?  The ipfw thing would limit bandwidth
   on the whole server unless I have a tun device, which I don't.  I want it
   to be fast in the internal network, but not use too much of the speed
   serving to the internet.
 
  Doesn't DummyNet allow you to specify which port to limit?
 
  Anyway, I think the module you want is (drum roll) mod_bandwidth
 
 



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message