From nobody@FreeBSD.org  Thu Feb 16 10:48:06 2006
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 0D82A16A422
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 16 Feb 2006 10:48:06 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 79AFB43D48
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 16 Feb 2006 10:48:03 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k1GAm18J031120
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 16 Feb 2006 10:48:01 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id k1GAm1AV031119;
	Thu, 16 Feb 2006 10:48:01 GMT
	(envelope-from nobody)
Message-Id: <200602161048.k1GAm1AV031119@www.freebsd.org>
Date: Thu, 16 Feb 2006 10:48:01 GMT
From: Joo <joao@matik.com.br>
To: freebsd-gnats-submit@FreeBSD.org
Subject: ipfw divert rule 
X-Send-Pr-Version: www-2.3

>Number:         93422
>Category:       kern
>Synopsis:       ipfw divert rule no longer works in 6.0 (regression)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ipfw
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb 16 10:50:03 GMT 2006
>Closed-Date:    Mon Oct 09 10:16:24 GMT 2006
>Last-Modified:  Mon Oct 09 10:16:24 GMT 2006
>Originator:     Joo
>Release:        releng_6
>Organization:
Infomatik
>Environment:
FreeBSD anb.matik.com.br 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #0: Sun Feb 12 19:55:42 BRST 2006     hmm@anb.matik.com.br:/usr/obj/usr/src/sys/anb  i386

>Description:

I guess the following rules should be basicly the same and should work and work on 5.4-R but the former ones do not work on releng_6, the count stays 0

ipfw add 1000 divert 8669 proto ip
01000 divert 8669 ip from any to any proto ip

ipfw add 1000 divert 8669 proto all
01000 divert 8669 ip from any to any

ipfw add 1000 divert 8669 ip from any to any
01000 divert 8669 ip from any to any
 
only this one diverts.
>How-To-Repeat:
              
>Fix:
              
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->freebsd-ipfw 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Sun Feb 19 19:45:39 UTC 2006 
Responsible-Changed-Why:  
Over to maintainer(s). 

http://www.freebsd.org/cgi/query-pr.cgi?pr=93422 

From: Hajimu UMEMOTO <ume@FreeBSD.org>
To: Jo?o <joao@matik.com.br>
Cc: freebsd-gnats-submit@FreeBSD.org, Hajimu UMEMOTO <ume@FreeBSD.org>
Subject: kern/93422: Re: ipfw divert rule 
Date: Mon, 20 Feb 2006 11:55:50 +0900

 Hi,
 
 >>>>> On Thu, 16 Feb 2006 10:48:01 GMT
 >>>>> Jo?o <joao@matik.com.br> said:
 
 joao> I guess the following rules should be basicly the same and should work and work on 5.4-R but the former ones do not work on releng_6, the count stays 0
 
 joao> ipfw add 1000 divert 8669 proto ip
 joao> 01000 divert 8669 ip from any to any proto ip
 
 The ipfw supports an IPv6 on 6.x and later.  It broke a syntax for a
 tunnel.  So, this was changed to mean an IPv4 over IPv4 tunnel on
 6.1-PRERELEASE and later.
 
 http://www.freebsd.org/cgi/cvsweb.cgi/src/sbin/ipfw/ipfw2.c.diff?r1=1.79&r2=1.80
 
 Sincerely,
 
 --
 Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan
 ume@mahoroba.org  ume@{,jp.}FreeBSD.org
 http://www.imasy.org/~ume/
State-Changed-From-To: open->closed 
State-Changed-By: flz 
State-Changed-When: Mon Oct 9 10:15:30 UTC 2006 
State-Changed-Why:  
Semantics changed from RELENG_5 to RELENG_6 as pointed out by ume. 

Spotted by:     astrodog on #freebsd-bugbusters 

http://www.freebsd.org/cgi/query-pr.cgi?pr=93422 
>Unformatted:
