From owner-freebsd-bugs@FreeBSD.ORG Wed Aug 20 07:27:41 2014 Return-Path: Delivered-To: freebsd-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 733C0EFC for ; Wed, 20 Aug 2014 07:27:41 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5AB7E383A for ; Wed, 20 Aug 2014 07:27:41 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id s7K7RfKj042671 for ; Wed, 20 Aug 2014 07:27:41 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 192847] New: ipfilter and bad packets Date: Wed, 20 Aug 2014 07:27:41 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: kabalax@gmail.com X-Bugzilla-Status: Needs Triage X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Aug 2014 07:27:41 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192847 Bug ID: 192847 Summary: ipfilter and bad packets Product: Base System Version: 10.0-STABLE Hardware: amd64 OS: Any Status: Needs Triage Severity: Affects Some People Priority: --- Component: kern Assignee: freebsd-bugs@FreeBSD.org Reporter: kabalax@gmail.com Hello, FreeBSD 10.0-STABLE built from last night. The kernel was compiled with: options IPFILTER options IPFILTER_LOG options IPFILTER_LOOKUP options IPFILTER_DEFAULT_BLOCK # ipf -V ipf: IP Filter: v5.1.2 (608) Kernel: IP Filter: v5.1.2 Running: yes Log Flags: 0 = none set Default: block all, Logging: available Active list: 0 Feature mask: 0x4e Here is the ruleset: # ipfstat -in @1 pass in quick on lo0 from any to any @2 block in quick on vmx0 from any to any with frag @3 block in quick on vmx0 proto tcp from any to any with short @4 block in quick on vmx0 inet from any to any with opt lsrr @5 block in quick on vmx0 inet from any to any with opt ssrr @6 block in log first quick on vmx0 proto tcp from any to any flags FPU/FSRPAU @7 block in quick on vmx0 from any to any with ipopts @8 pass in quick on vmx0 inet proto tcp from 192.168.60.0/24 to 192.168.60.1/32 port = ssh flags S/FSRPAU keep state @9 pass in quick on vmx0 inet proto icmp from 192.168.60.0/24 to 192.168.60.1/32 icmp-type echo keep state @10 block in log quick on vmx0 all # ipfstat -on @1 pass out quick on lo0 from any to any @2 pass out quick on vmx0 proto tcp from any to any port = domain flags S/FSRPAU keep state @3 pass out quick on vmx0 proto udp from any to any port = domain keep state @4 pass out quick on vmx0 proto udp from any to any port = ntp keep state @5 pass out quick on vmx0 inet proto icmp from any to any icmp-type echo keep state @6 block out log quick on vmx0 all I see a lot of BAD packets in the logs while SSH-ing to the box (the transfer speed over SCP is also affected). Aug 19 17:37:26 freebsd-tmpl ipmon[410]: 17:37:26.817761 vmx0 @0:12 b 192.168.60.1,22 -> 192.168.60.21,64962 PR tcp len 20 1532 -AP OUT bad Aug 19 17:37:26 freebsd-tmpl ipmon[410]: 17:37:26.817966 vmx0 @0:12 b 192.168.60.1,22 -> 192.168.60.21,64962 PR tcp len 20 1616 -AP OUT bad # ifconfig -m vmx0: flags=8843 metric 0 mtu 1500 options=39b capabilities=61079b ether 00:50:56:8a:17:21 inet 192.168.60.1 netmask 0xffffff00 broadcast 192.168.60.255 media: Ethernet autoselect status: active supported media: media autoselect I'd be happy to provide any additional information. -- You are receiving this mail because: You are the assignee for the bug.