From owner-freebsd-hackers@FreeBSD.ORG Thu Feb 3 07:48:43 2005 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D78C416A4CE for ; Thu, 3 Feb 2005 07:48:43 +0000 (GMT) Received: from mailserver.ratelecom.net (h212-5-89-2.rev.domonet.ru [212.5.89.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id B3AE343D45 for ; Thu, 3 Feb 2005 07:48:41 +0000 (GMT) (envelope-from nikolay@domonet.ru) Received: from [194.154.84.44] (account nikolay@domonet.ru) by mailserver.ratelecom.net (CommuniGate Pro WebUser 4.1.8) with HTTP id 1325258 for freebsd-hackers@freebsd.org; Thu, 03 Feb 2005 10:48:39 +0300 From: To: freebsd-hackers@freebsd.org X-Mailer: CommuniGate Pro WebUser Interface v.4.1.8 Date: Thu, 03 Feb 2005 10:48:39 +0300 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="_===1325258====mailserver.ratelecom.net===_" X-Mailman-Approved-At: Thu, 03 Feb 2005 13:01:41 +0000 X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: PPPoEd fork flood patch X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Feb 2005 07:48:44 -0000 This is a multi-part MIME message --_===1325258====mailserver.ratelecom.net===_ Content-Type: text/plain; charset="KOI8-R"; format="flowed" Content-Transfer-Encoding: 8bit Patch for pppoed, what allows you to configure minimum delay between connections to pppoed, and prevent flood attacks. Just apply this patch and recompile pppoed with CONN_LIMIT defined. Use '-c' command line arg to set delay (in seconds) between connections. Tested on 4.10,5.3 with Mustdie XP as client. --_===1325258====mailserver.ratelecom.net===_--