NetBSD Problem Report #48721

From www@NetBSD.org  Sun Apr  6 17:29:51 2014
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	(using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 94F8CA5803
	for <gnats-bugs@gnats.NetBSD.org>; Sun,  6 Apr 2014 17:29:51 +0000 (UTC)
Message-Id: <20140406172950.4AF1EA5814@mollari.NetBSD.org>
Date: Sun,  6 Apr 2014 17:29:50 +0000 (UTC)
From: lars@gustik.eu
Reply-To: lars@gustik.eu
To: gnats-bugs@NetBSD.org
Subject: pflogd ignores snaplen setting on netbsd6 pr
X-Send-Pr-Version: www-1.0

>Number:         48721
>Category:       bin
>Synopsis:       pflogd ignores snaplen setting on netbsd6 pr
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Apr 06 17:30:01 +0000 2014
>Originator:     Lars Schotte
>Release:        NetBSD 6.1.3
>Organization:
>Environment:
NetBSD 6.1.3 (GENERIC) amd64
>Description:
Hi folks,

I have a NetBSD 6.1.3 (GENERIC) amd64 and a problem that pflogd ignores
snaplen setting. It seems to be lower than 116.

I also tried to open it here on FreeBSD to rule out the possibility
that it would be tcpdump's fault, but it is not, here it gives the same
problem with hdr length too small for IPv6 packets. IPv4 works.
There is also no problem when looking at pflog network device directly.

So my conclusion is that there is something wrong with pflogd.
And yes, I tried to rise pflogd -s setting far above 116, it did not
help.

Thanks.
>How-To-Repeat:

>Fix:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.