Date: Thu, 25 Apr 2002 23:24:44 -0700 From: "Crist J. Clark" <cjc@FreeBSD.ORG> To: Gregory Neil Shapiro <gshapiro@FreeBSD.ORG> Cc: "Rex A. Roof" <rex@gunjin.wccnet.org>, freebsd-ipfw@FreeBSD.ORG Subject: Re: Putting in place an incoming sendmail limit Message-ID: <20020425232444.B34367@blossom.cjclark.org> In-Reply-To: <15560.29198.657946.738003@horsey.gshapiro.net>; from gshapiro@FreeBSD.ORG on Thu, Apr 25, 2002 at 02:15:58PM -0700 References: <200204252052.g3PKqrj0090391@gunjin.wccnet.org> <15560.29198.657946.738003@horsey.gshapiro.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Apr 25, 2002 at 02:15:58PM -0700, Gregory Neil Shapiro wrote: > rex> In order to prevent incoming DoS attacks via multiple sendmail > rex> connections, I've tried adding the following ipfw rule: > > rex> allow tcp from any to any smtp limit src-addr 1 > > rex> This works great, except that when it's triggered I get A LOT > rex> of messages like this: > > rex> OUCH! cannot remove rule, count 1 > rex> drop session, too many entries > > Perhaps it is because that rule matches every packet into of just the TCP > setup packet. You might try using the 'setup' keyword. (Just a guess). That's probably not the problem. Remember 'limit' rules are dynamic rules. What version of FreeBSD are you running? I believe the 'OUCH!' is luigi's way of saying that you shouldn't be seeing that error. It indicates an internal error. -- Crist J. Clark | cjclark@alum.mit.edu | cjclark@jhu.edu http://people.freebsd.org/~cjc/ | cjc@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ipfw" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020425232444.B34367>