Re: ipfw
From: Michael Sharp (msharp@medmail.com)
Date: 05/09/01
- Next message: Nate Williams: "Re: Ip filtering with ipfw"
- Previous message: Michael Sharp: "ipfw"
- Maybe in reply to: William J. Borskey: "ipfw"
- Next in thread: Dag-Erling Smorgrav: "Re: ipfw"
- Reply: Dag-Erling Smorgrav: "Re: ipfw"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: 9 May 2001 13:18:53 -0700 To: FreeBSD-security@FreeBSD.org From: Michael Sharp <msharp@medmail.com>
But I need to block port 113, and allow 1 machine to get to port 113.
HAVING to add ipfw add allow ip from any to any gets process before I would allow my 1 machine to port 113, thus allowing every machine to port 113
On Wed, 09 May 2001, Ron Brogden wrote:
>
> On Wednesday 09 May 2001 20:03, you wrote:
> > and still I cannot get rid of that pesky 65535 DENY everything rule that
> > wont let me do anything unless I add " ipfw add allow ip from any to any "
> > which allows everything despite ANY DENY chains.
>
> Why can't you add the specific deny rules first if that is how you want
> things to work. Just give them a lower precedence than your blanket allow
> rule:
>
> ipfw add 40000 deny something from somewhere to somewhere_else
> ipfw add 50000 deny something from somewhere to somewhere_else
> ipfw add 60000 allow ip from any to any
>
> That said, shouldn't you be allowing specific stuff and then denying by
> default?
>
> Cheers,
>
> Ron
>
-------------------------------------------------------
Get your free, secure email at http://www.medmail.com -
the e-mail service for the medical community
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-security" in the body of the message
- Next message: Nate Williams: "Re: Ip filtering with ipfw"
- Previous message: Michael Sharp: "ipfw"
- Maybe in reply to: William J. Borskey: "ipfw"
- Next in thread: Dag-Erling Smorgrav: "Re: ipfw"
- Reply: Dag-Erling Smorgrav: "Re: ipfw"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|