|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
Determine packet sizes
Is there any way to determine the size of the packets passing through an interface?
We run a wireless network, and the size of the packets is a big factor in determining the amount of data we can through a wireless link. Cheers Brad |
|
|||
MTU = 1500, so does that mean all packets passing through that interface are 1500 bytes?
|
|
||||
No, that is the maximum.
(Ethernet is limited to 1500 byte packets. See http://en.wikipedia.org/wiki/Maximum_transmission_unit for details.) MTU is not generally considered a "tuning" knob. In general, one reduces it from 1500 downward, in Ethernet networks, in order to manage special purpose network configurations, such as PPPoE. For more guidance on OpenBSD network knobs, please read www.openbsd.net/faq/faq6.html#Tuning |
|
|||
I don't want to modify anything right now, I would just like the ability to see the size of the packets that passing through an interface. I'm looking something to give me a snap shot of packet sizes, or even on average packet size would be ok.
|
|
|||
Perhaps you want to look at netflow records with (for example) pflow and flow-tools. The default flow-report gives you a "Average IP packet size distribution".
Code:
$ flow-cat /var/log/netflow/ | flow-report [some crap removed] Average IP packet size distribution: 1-32 64 96 128 160 192 224 256 288 320 352 384 416 448 480 .000 .193 .261 .138 .117 .058 .025 .016 .010 .011 .010 .008 .004 .004 .005 512 544 576 1024 1536 2048 2560 3072 3584 4096 4608 .004 .006 .005 .068 .055 .000 .000 .000 .000 .000 .000 [more crap removed] |
|
|||
Great thanks...I'll look into that.
Cheers |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
BSD sizes | nero | Other BSD and UNIX/UNIX-like | 25 | 13th December 2009 08:54 PM |
Log ftp packet on PF with ftp-proxy on | frenchviking | OpenBSD Security | 3 | 23rd October 2009 07:01 PM |
vr0: rx packet lost | tutosun | FreeBSD General | 4 | 13th September 2008 10:13 AM |
Sizes of Package files, All & the rest | jaymax | FreeBSD Ports and Packages | 3 | 16th July 2008 08:36 PM |
URL evaluation tools to determine if serving malware | dk_netsvil | Off-Topic | 0 | 30th June 2008 04:55 PM |