From owner-freebsd-isp@FreeBSD.ORG Tue Jun 17 01:28:25 2003 Return-Path: Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C947E37B401 for ; Tue, 17 Jun 2003 01:28:25 -0700 (PDT) Received: from relay.kiev.sovam.com (relay.kiev.sovam.com [212.109.32.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id B8E8243F3F for ; Tue, 17 Jun 2003 01:28:24 -0700 (PDT) (envelope-from dimitry@al.org.ua) Received: from [212.109.32.116] (helo=svitonline.com) by relay.kiev.sovam.com with esmtp (Exim 3.36 #5) id 19SBpG-0000sv-00 for freebsd-isp@freebsd.org; Tue, 17 Jun 2003 11:28:22 +0300 From: Dmitry Alyabyev To: freebsd-isp@freebsd.org Date: Tue, 17 Jun 2003 11:30:44 +0300 User-Agent: KMail/1.5.2 References: <3EEB1F64.3000706@nlink.com.br> <20030614154521.5fdc98ce.sheepkiller@cultdeadsheep.org> In-Reply-To: <20030614154521.5fdc98ce.sheepkiller@cultdeadsheep.org> X-NCC-RegID: ua.svitonline MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200306171130.44392.dimitry@al.org.ua> Subject: Re: Limit for smtp connection X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: dimitry@al.org.ua List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Jun 2003 08:28:26 -0000 On Saturday 14 June 2003 16:45, Clement Laforet wrote: > On Sat, 14 Jun 2003 10:13:08 -0300 > > Paulo Fragoso wrote: > > Hi, > > Hi Paulo, > > > We have found some SMTP server on the internet which accept no more than > > 5 simultaneusly connection from our SMTP server. How to implement this > > using qmail+tcpserver? > > I used to limit incoming connections via ipfw like this : > > 00050 check-state > 00060 allow tcp from any to me dst-port 25 setup limit src-addr 5 > 00070 deny ip from any to me dst-port 25 IMHO the last line is redundant -- Dimitry