From nobody@FreeBSD.org  Mon Apr 23 01:13:01 2012
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 17D6E106564A
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 23 Apr 2012 01:13:01 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 00DA68FC0C
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 23 Apr 2012 01:13:01 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q3N1D0OU095581
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 23 Apr 2012 01:13:00 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id q3N1D0n6095572;
	Mon, 23 Apr 2012 01:13:00 GMT
	(envelope-from nobody)
Message-Id: <201204230113.q3N1D0n6095572@red.freebsd.org>
Date: Mon, 23 Apr 2012 01:13:00 GMT
From: Shun-Hsiang Hu <agg2567@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: catch an over 1024 Bytes network packet through libpcap in C
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         167217
>Category:       kern
>Synopsis:       catch an over 1024 Bytes network packet through libpcap in C
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 23 01:20:04 UTC 2012
>Closed-Date:    Mon Apr 23 03:12:52 UTC 2012
>Last-Modified:  Mon Apr 23 03:12:52 UTC 2012
>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:
State-Changed-From-To: open->closed 
State-Changed-By: linimon 
State-Changed-When: Mon Apr 23 03:11:46 UTC 2012 
State-Changed-Why:  
Unfortunately we used GNATS for things that we are sure are bugs. 

You may find more help by asking on forums.freebsd.org.  Thanks. 


Responsible-Changed-From-To: freebsd-i386->freebsd-bugs 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Mon Apr 23 03:11:46 UTC 2012 
Responsible-Changed-Why:  

http://www.freebsd.org/cgi/query-pr.cgi?pr=167217 
>Unformatted:
