From quinot@inf.enst.fr  Wed Jun  6 03:11:25 2001
Return-Path: <quinot@inf.enst.fr>
Received: from infres.enst.fr (infres-192.enst.fr [137.194.192.1])
	by hub.freebsd.org (Postfix) with ESMTP id AAD7437B403
	for <FreeBSD-gnats-submit@freebsd.org>; Wed,  6 Jun 2001 03:11:24 -0700 (PDT)
	(envelope-from quinot@inf.enst.fr)
Received: from shalmaneser.enst.fr (shalmaneser.enst.fr [137.194.160.128])
	by infres.enst.fr (Postfix) with ESMTP id 5048A18C1
	for <FreeBSD-gnats-submit@freebsd.org>; Wed,  6 Jun 2001 12:11:18 +0200 (MET DST)
Received: by shalmaneser.enst.fr (Postfix, from userid 11117)
	id 4F5C21134A; Wed,  6 Jun 2001 12:11:14 +0200 (CEST)
Message-Id: <20010606101114.4F5C21134A@shalmaneser.enst.fr>
Date: Wed,  6 Jun 2001 12:11:14 +0200 (CEST)
From: quinot@inf.enst.fr
Reply-To: quinot@inf.enst.fr
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: ipf unable to insert rule of 'log' is used
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         27905
>Category:       kern
>Synopsis:       ipf unable to insert rule of 'log' is used
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    darrenr
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun 06 03:20:00 PDT 2001
>Closed-Date:    Mon Jul 30 15:56:42 PDT 2001
>Last-Modified:  Mon Jul 30 15:57:15 PDT 2001
>Originator:     Thomas Quinot
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
>Environment:
System: 4.3-RELEASE FreeBSD 4.3-RELEASE #2: Wed Apr 25 12:49:18 CEST 2001


	
>Description:
With the following ipfilter config file:
---------- cut here
# Group 21 is outbound ACL for interface xl0
block out log quick on xl0 from any to any head 21

# Default is deny

#block out from any to any group 21
# This line works

block out log from any to any group 21
# With that line (same + 'log') ipf gets EEXIST when inserting the rule.

# Branch to group 211 for three hosts that require specific processing

skip 3 out from any to 10.10.0.142 group 21
skip 2 out from any to 10.10.0.140 group 21
skip 1 out from any to 10.10.0.154 group 21
skip 1 out from any to any group 21
block out log from any to any head 211 group 21
---------- cut here

when running 'ipf -I -Fa -f the_config_file', the following error
is produced:
  20:ioctl(add/insert rule): File exists

If the 'log' keyword is removed from line 20, then no error is
produced.

This problem is also reproduced with -CURRENT as of May 30th.

>How-To-Repeat:
	Cut/paste the ACL above to a file.
	Run ipf -I -Fa -f the_file
	Swap commenting-out of 'This line works/That line doesn't'
	Run ipf -I -Fa -f the_file again.
>Fix:

None known so far.
>Release-Note:
>Audit-Trail:

From: Thomas Quinot <thomas@cuivre.fr.eu.org>
To: freebsd-gnats-submit@FreeBSD.org
Cc:  
Subject: Re: kern/27905: ipf unable to insert rule of 'log' is used
Date: Mon, 09 Jul 2001 00:08:21 +0200

 A fix for this problem is included in release 3.4.19 of IPfilter.
 
 --
     Thomas.Quinot@Cuivre.FR.EU.ORG
 
 
 
Responsible-Changed-From-To: freebsd-bugs->darrenr 
Responsible-Changed-By: dwmalone 
Responsible-Changed-When: Mon Jul 9 02:38:20 PDT 2001 
Responsible-Changed-Why:  
Give this PR to Darren - it can be closed when 3.4.19 is imported. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=27905 
State-Changed-From-To: open->closed 
State-Changed-By: darrenr 
State-Changed-When: Mon Jul 30 15:56:42 PDT 2001 
State-Changed-Why:  
fixed in latest import (3.4.20) 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=27905 
>Unformatted:
