From owner-freebsd-bugs Wed Aug 9 9:50: 7 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id CD80C37BE20 for ; Wed, 9 Aug 2000 09:50:00 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id JAA07798; Wed, 9 Aug 2000 09:50:00 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from thehousleys.net (frenchknot.ne.mediaone.net [24.147.224.201]) by hub.freebsd.org (Postfix) with ESMTP id 4D8E837B55F for ; Wed, 9 Aug 2000 09:41:15 -0700 (PDT) (envelope-from housley@thehousleys.net) Received: from baby.int.thehousleys.net (baby.int.thehousleys.net. [192.168.0.24]) by thehousleys.net (8.9.3/8.9.3) with ESMTP id MAA36306 for ; Wed, 9 Aug 2000 12:41:13 -0400 (EDT) (envelope-from housley@thehousleys.net) Received: (from housley@localhost) by baby.int.thehousleys.net (8.9.3/8.9.3) id MAA04076; Wed, 9 Aug 2000 12:41:13 -0400 (EDT) (envelope-from housley) Message-Id: <200008091641.MAA04076@baby.int.thehousleys.net> Date: Wed, 9 Aug 2000 12:41:13 -0400 (EDT) From: jim@thehousleys.net Reply-To: jim@thehousleys.net To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: bin/20506: ip6fw gets an error when ZEROing all rules Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 20506 >Category: bin >Synopsis: ip6fw gets an error when ZEROing all rules >Confidential: yes >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Aug 09 09:50:00 PDT 2000 >Closed-Date: >Last-Modified: >Originator: James E. Housley >Release: FreeBSD 4.1-STABLE i386 >Organization: The Housleys dot Net >Environment: FreeBSD 4.1-STABLE and 4.0-STABLE >Description: ip6fw zero produces an error and does not zero the counts. I looked briefly about a month or two ago and it seems that an ioctl is missing. I will look more when I get time. >How-To-Repeat: cat# ip6fw show 00100 0 0 count ipv6 from any to any in recv gif0 00200 54 2584 count ipv6 from any to any out xmit gif0 00300 0 0 count ipv6 from any to any in recv gif1 00400 0 0 count ipv6 from any to any out xmit gif1 00500 0 0 count ipv6 from any to any in recv gif2 00600 0 0 count ipv6 from any to any out xmit gif2 00700 0 0 count ipv6 from any to any in recv gif3 00800 6 192 count ipv6 from any to any out xmit gif3 00900 394 21276 count ipv6 from any to any in recv vr0 01000 389 33203 count ipv6 from any to any out xmit vr0 01100 0 0 count ipv6 from any to any in recv vx0 01200 0 0 count ipv6 from any to any out xmit vx0 01300 0 0 allow ipv6 from any to any via lo0 01400 0 0 allow ipv6-icmp from ff02::/16 to :: 01500 1 24 allow ipv6-icmp from :: to ff02::/16 01600 0 0 allow ipv6-icmp from fe80::/10 to fe80::/10 01700 729 40656 allow ipv6-icmp from fe80::/10 to ff02::/16 01800 41 13423 allow tcp from any to any established 01900 0 0 allow udp from fe80::/10 521 to ff02::9 521 65000 104 5200 allow ipv6 from any to any 65535 28 832 allow ipv6 from any to any cat# ip6fw zero ip6fw: setsockopt(IPV6_FW_ZERO): Invalid argument cat# Script done on Wed Aug 9 12:36:36 2000 >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message