From nobody@FreeBSD.org  Fri Feb 15 11:01:30 2002
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 2384B37B400
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 15 Feb 2002 11:01:30 -0800 (PST)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.6/8.11.6) id g1FJ1Uk13047;
	Fri, 15 Feb 2002 11:01:30 -0800 (PST)
	(envelope-from nobody)
Message-Id: <200202151901.g1FJ1Uk13047@freefall.freebsd.org>
Date: Fri, 15 Feb 2002 11:01:30 -0800 (PST)
From: Han Hwei Woo <hhw@pce-net.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: IPFW UID/GID Based Filtering doesn't work in 4.5
X-Send-Pr-Version: www-1.0

>Number:         34977
>Category:       i386
>Synopsis:       IPFW UID/GID Based Filtering doesn't work in 4.5
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Feb 15 11:10:01 PST 2002
>Closed-Date:    Sat Jul 13 14:43:21 PDT 2002
>Last-Modified:  Sat Jul 13 14:43:21 PDT 2002
>Originator:     Han Hwei Woo
>Release:        4.5-STABLE
>Organization:
Premium Canadian Enterprises, Inc.
>Environment:
FreeBSD gatts.pce-net.com 4.5-STABLE FreeBSD 4.5-STABLE #1: Tue Feb 12 17:18:51 PST 2002     hhw@gatts.pce-net.com:/usr/obj/usr/src/sys/CUSTOM  i386
>Description:
Since I updated my source/rebuilt the system from 4.4-STABLE to 4.5-STABLE, any rules in IPFW with UID/GID based filtering have no effect.
Here are the rules:
20100 allow tcp from any to 216.18.3.69 in
20200 allow tcp from 216.18.3.69 to any uid hhw out
20900 deny tcp from 216.18.3.69 to any
I am certain it has to do with the UID part, since if I add an additional rule:
20300 allow tcp from 216.18.3.69 to any out
Packets are able to get through.
>How-To-Repeat:

>Fix:
      
>Release-Note:
>Audit-Trail:

From: Ruslan Ermilov <ru@FreeBSD.org>
To: Han Hwei Woo <hhw@pce-net.com>
Cc: bug-followup@FreeBSD.org
Subject: Re: i386/34977: IPFW UID/GID Based Filtering doesn't work in 4.5
Date: Wed, 27 Feb 2002 14:27:53 +0200

 On Fri, Feb 15, 2002 at 11:01:30AM -0800, Han Hwei Woo wrote:
 > 
 > Since I updated my source/rebuilt the system from 4.4-STABLE to
 > 4.5-STABLE, any rules in IPFW with UID/GID based filtering have no
 > effect.
 > Here are the rules:
 > 20100 allow tcp from any to 216.18.3.69 in
 > 20200 allow tcp from 216.18.3.69 to any uid hhw out
 > 20900 deny tcp from 216.18.3.69 to any
 > I am certain it has to do with the UID part, since if I add an additional rule:
 > 20300 allow tcp from 216.18.3.69 to any out
 > Packets are able to get through.
 > 
 Seems to work OK here.
 
 
 Cheers,
 -- 
 Ruslan Ermilov		Sysadmin and DBA,
 ru@sunbay.com		Sunbay Software AG,
 ru@FreeBSD.org		FreeBSD committer,
 +380.652.512.251	Simferopol, Ukraine
 
 http://www.FreeBSD.org	The Power To Serve
 http://www.oracle.com	Enabling The Information Age
State-Changed-From-To: open->closed 
State-Changed-By: luigi 
State-Changed-When: Sat Jul 13 14:42:43 PDT 2002 
State-Changed-Why:  
looks like there is no bug. 


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