Date: Mon, 23 Apr 2012 01:13:00 GMT From: Shun-Hsiang Hu <agg2567@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: i386/167217: catch an over 1024 Bytes network packet through libpcap in C Message-ID: <201204230113.q3N1D0n6095572@red.freebsd.org> Resent-Message-ID: <201204230120.q3N1K4Sd065107@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 167217 >Category: i386 >Synopsis: catch an over 1024 Bytes network packet through libpcap in C >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-i386 >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Apr 23 01:20:04 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Shun-Hsiang Hu >Release: 7.0-release >Organization: National Taiwan University of Taiwan >Environment: FreeBSD test.twbbs.org 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: 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 >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201204230113.q3N1D0n6095572>