From owner-freebsd-stable@FreeBSD.ORG Sun Apr 21 13:59:46 2013 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id F2925E82 for ; Sun, 21 Apr 2013 13:59:46 +0000 (UTC) (envelope-from egrosbein@rdtc.ru) Received: from eg.sd.rdtc.ru (eg.sd.rdtc.ru [IPv6:2a03:3100:c:13::5]) by mx1.freebsd.org (Postfix) with ESMTP id A40241452 for ; Sun, 21 Apr 2013 13:59:46 +0000 (UTC) Received: from eg.sd.rdtc.ru (localhost [127.0.0.1]) by eg.sd.rdtc.ru (8.14.6/8.14.6) with ESMTP id r3LDxa33016525; Sun, 21 Apr 2013 20:59:37 +0700 (NOVT) (envelope-from egrosbein@rdtc.ru) Message-ID: <5173F0C3.2040102@rdtc.ru> Date: Sun, 21 Apr 2013 20:59:31 +0700 From: Eugene Grosbein User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130415 Thunderbird/17.0.5 MIME-Version: 1.0 To: Marcelo Gondim Subject: Re: Possible DoS in mpd 5.6 pppoe server References: <5172965A.9080600@bsdinfo.com.br> <5172BDDD.4010509@rdtc.ru> <5172CFB2.3010708@bsdinfo.com.br> <5172D14D.8040009@rdtc.ru> <51731FFE.5020304@bsdinfo.com.br> In-Reply-To: <51731FFE.5020304@bsdinfo.com.br> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Apr 2013 13:59:47 -0000 On 21.04.2013 06:08, Marcelo Gondim wrote: > Em 20/04/13 14:33, Eugene Grosbein escreveu: >> On 21.04.2013 00:26, Marcelo Gondim wrote: >> >>>> You seem to use dummynet and the problem is not in mpd/pppoe code, >>>> it's it the dummynet code. Look at http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/162558 >>>> for workarounds. >>> Ok :) I will try this: >>> >>> - net.isr.bindthreads=1 in /boot/loader.conf; >>> - net.isr.direct=1 and net.isr.direct_force=1 in /etc/sysctl.conf >> For 9.x and newer, net.isr.XXX knobs names have changed but defaults are fine - >> if you have not messed them, you should be OK. >> >> >> > Eugene, > > Does FreeBSD 8.3-STABLEis best for this use or this problem also occurs > in 8.x? I have not tried anything newer than 8.x for this task yet. With noted tuning, this problem within dummynet occurs very seldom for me. I had about two or three panics for many months. Another one described here: http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/171711 Perhaps, using ng_car would be even more stable, I have not tried it. Eugene Grosbein