From nobody@FreeBSD.org  Sun Jul  1 02:57:37 2001
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP id 1E60537B401
	for <freebsd-gnats-submit@FreeBSD.org>; Sun,  1 Jul 2001 02:57:37 -0700 (PDT)
	(envelope-from nobody@FreeBSD.org)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.3/8.11.3) id f619vbW09470;
	Sun, 1 Jul 2001 02:57:37 -0700 (PDT)
	(envelope-from nobody)
Message-Id: <200107010957.f619vbW09470@freefall.freebsd.org>
Date: Sun, 1 Jul 2001 02:57:37 -0700 (PDT)
From: Igor M Podlesny <poige@morning.ru>
To: freebsd-gnats-submit@FreeBSD.org
Subject: incorrect implemenatition of IPFW's 'me'-keyword
X-Send-Pr-Version: www-1.0

>Number:         28567
>Category:       kern
>Synopsis:       incorrect implemenatition of IPFW's 'me'-keyword
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    ru
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jul 01 03:00:02 PDT 2001
>Closed-Date:    Tue Jul 17 03:50:40 PDT 2001
>Last-Modified:  Tue Jul 17 03:54:44 PDT 2001
>Originator:     Igor M Podlesny
>Release:        4.3
>Organization:
Morning Network Ltd
>Environment:
FreeBSD hop-gw.morning.ru 4.3-STABLE FreeBSD 4.3-STABLE #3: Sat May 19 12:34:21 KRAST 2001     root@hop-w.morning.ru:/usr/src/sys/compile/hop  i386

>Description:
using newly implemented feature 'me' of ipfw has a sideeffect for pointopoint interfaces -- the remote addr. is classified as ours (i.e., matches 'me')
>How-To-Repeat:
should have any PTP-interface and set your firewall up using 'me'.
>Fix:
avoid using INADDR_TO_IFP (/usr/src/sys/netinet/in_var.h) for 'me' feature in ip_fw.c cause it finds the corresponding interface for any kind of addresses without respect to is it remote or local.
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->phk 
Responsible-Changed-By: dwmalone 
Responsible-Changed-When: Sun Jul 1 13:32:31 PDT 2001 
Responsible-Changed-Why:  
phk brought in the 'me' keyword in ipfw. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=28567 
State-Changed-From-To: open->closed 
State-Changed-By: ru 
State-Changed-When: Tue Jul 17 03:50:40 PDT 2001 
State-Changed-Why:  
Fixed in 5.0-CURRENT, sys/netinet/in_var.h,v 1.39. 
Fixed in 4.3-STABLE, sys/netinet/in_var.h,v 1.33.2.2. 


Responsible-Changed-From-To: phk->ru 
Responsible-Changed-By: ru 
Responsible-Changed-When: Tue Jul 17 03:50:40 PDT 2001 
Responsible-Changed-Why:  
phk didn't mind. 

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