Skip site navigation (1)Skip section navigation (2)
Date:      25 Mar 2003 15:27:40 -0500
From:      Dan Pelleg <daniel+bsd@pelleg.org>
To:        Drew Tomlinson <drew@mykitchentable.net>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: IPFW - Why Doesn't This Rule Match?
Message-ID:  <u2s65q7xkcj.fsf@gs166.sp.cs.cmu.edu>
In-Reply-To: <00cc01c2f303$07ec8df0$6e2a6ba5@tagalong>
References:  <00cc01c2f303$07ec8df0$6e2a6ba5@tagalong>

next in thread | previous in thread | raw e-mail | index | archive | help
"Drew Tomlinson" <drew@mykitchentable.net> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?u2s65q7xkcj.fsf>