From owner-freebsd-pf@FreeBSD.ORG Thu Nov 23 19:14:04 2006 Return-Path: X-Original-To: freebsd-pf@freebsd.org Delivered-To: freebsd-pf@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 86B9416A412 for ; Thu, 23 Nov 2006 19:14:04 +0000 (UTC) (envelope-from max@love2party.net) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.186]) by mx1.FreeBSD.org (Postfix) with ESMTP id 730FA43D90 for ; Thu, 23 Nov 2006 19:13:09 +0000 (GMT) (envelope-from max@love2party.net) Received: from [88.66.26.31] (helo=amd64.laiers.local) by mrelayeu.kundenserver.de (node=mrelayeu6) with ESMTP (Nemesis), id 0ML29c-1GnK122Q2R-0008Ur; Thu, 23 Nov 2006 20:13:44 +0100 From: Max Laier Organization: FreeBSD To: freebsd-pf@freebsd.org Date: Thu, 23 Nov 2006 20:13:35 +0100 User-Agent: KMail/1.9.4 References: <499c70c0611231047k84747frf91def08d509cba6@mail.gmail.com> <8eea04080611231059x6e229d09lfd3f25965511d7ee@mail.gmail.com> <499c70c0611231101k68429053l40ec68712ca66263@mail.gmail.com> In-Reply-To: <499c70c0611231101k68429053l40ec68712ca66263@mail.gmail.com> X-Face: ,,8R(x[kmU]tKN@>gtH1yQE4aslGdu+2]; R]*pL,U>^H?)gW@49@wdJ`H<=?utf-8?q?=25=7D*=5FBD=0A=09U=5For=3D=5CmOZf764=26nYj=3DJYbR1PW0ud?=>|!~,,CPC.1-D$FG@0h3#'5"k{V]a~.<=?utf-8?q?mZ=7D44=23Se=7Em=0A=09Fe=7E=5C=5DX5B=5D=5Fxj?=(ykz9QKMw_l0C2AQ]}Ym8)fU MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1911220.46G21WJr83"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200611232013.41558.max@love2party.net> X-Provags-ID: kundenserver.de abuse@kundenserver.de login:61c499deaeeba3ba5be80f48ecc83056 Cc: Subject: Re: rate limit with pf instead of IPFW X-BeenThere: freebsd-pf@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Technical discussion and general questions about packet filter \(pf\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Nov 2006 19:14:04 -0000 --nextPart1911220.46G21WJr83 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Thursday 23 November 2006 20:01, John Smith wrote: > On 11/23/06, Jon Simola wrote: > > On 11/23/06, John Smith wrote: > > > Greetings BPF gurus! > > > > PF? bpf is different and has little to do with firewalling. > > > > > Could someone please give me full example to setup > > > limit {src-addr | src-port | dst-addr | dst-port} to do what IPFW > > > 01000 allow tcp from any to me setup limit src-addr 5 currently > > > does > > > > I use something like this: > > > > pass in on $ext_if proto tcp from any to $ext_if port smtp flags S/SA > > keep state (source-track rule, mac-src-states 5) > > > > -- > > Greetings Jon, > > Could you please post your pf.conf with the rules so I can use it as a > guide? If you are looking for a guide - I suggest reading the pf-faq on the=20 OpenBSD site or Peter's great tutorial, available from:=20 http://home.nuug.no/~peter/pf/ The topic in question, is discussed here:=20 http://home.nuug.no/~peter/pf/en/bruteforce.html =2D-=20 /"\ Best regards, | mlaier@freebsd.org \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | mlaier@EFnet / \ ASCII Ribbon Campaign | Against HTML Mail and News --nextPart1911220.46G21WJr83 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQBFZfLlXyyEoT62BG0RArNAAJ9I0z4VGKkxdMb5uvXKtNp18v0ePwCfUCXA DuAWhaoOYVeS4HImF/V1rd0= =GEvG -----END PGP SIGNATURE----- --nextPart1911220.46G21WJr83--