>Synopsis: catch an over 1024 Bytes network packet through libpcap in C
>Arrival-Date: Mon Apr 23 01:20:04 UTC 2012
>Originator: Shun-Hsiang Hu
National Taiwan University of Taiwan
FreeBSD test.twbbs.org 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 firstname.lastname@example.org:/usr/obj/usr/src/sys/GENERIC i386
I want develop a packet filter by C language, I develop the filter through an library what is libpcap, but i discover a problem.
When I catch a network packet what is over 1024 bytes, the data what is over 1024 bytes will be loss, but the packet's length is true.
I am not sure that is a bug or not, but the same program run on Ubuntu, it is no problem. Thank you