Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Aug 2000 12:41:13 -0400 (EDT)
From:      jim@thehousleys.net
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   bin/20506: ip6fw gets an error when ZEROing all rules
Message-ID:  <200008091641.MAA04076@baby.int.thehousleys.net>

next in thread | raw e-mail | index | archive | help

>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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200008091641.MAA04076>