From owner-freebsd-questions Tue Mar 25 12:27:47 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 267E537B401 for ; Tue, 25 Mar 2003 12:27:45 -0800 (PST) Received: from gs166.sp.cs.cmu.edu (GS166.SP.CS.CMU.EDU [128.2.205.169]) by mx1.FreeBSD.org (Postfix) with SMTP id 91FFE43F3F for ; Tue, 25 Mar 2003 12:27:44 -0800 (PST) (envelope-from dpelleg@gs166.sp.cs.cmu.edu) To: Drew Tomlinson Cc: FreeBSD Questions Subject: Re: IPFW - Why Doesn't This Rule Match? References: <00cc01c2f303$07ec8df0$6e2a6ba5@tagalong> From: Dan Pelleg Date: 25 Mar 2003 15:27:40 -0500 In-Reply-To: <00cc01c2f303$07ec8df0$6e2a6ba5@tagalong> Message-ID: Lines: 24 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Status: No, hits=-32.4 required=5.0 tests=EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES, REPLY_WITH_QUOTES,USER_AGENT_GNUS_UA autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG "Drew Tomlinson" writes: > I am using the following rules to match traffic on my home network with a > FBSD 4.8 firewall. The first rule matches but the second doesn't. Here's > the rules: > > # Match this specific traffic > 00700 288 329708 count ip from 192.168.1.3 8080 to any > > # Match everything else > 00800 0 0 count ip from not 192.168.1.3 8080 to any > > Can anyone tell me what I am missing? > > Thanks, > > Drew Probably because the "not" applies just to the address, and not to the port number. -- Dan Pelleg To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message