Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Apr 2013 20:59:31 +0700
From:      Eugene Grosbein <egrosbein@rdtc.ru>
To:        Marcelo Gondim <gondim@bsdinfo.com.br>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Possible DoS in mpd 5.6 pppoe server
Message-ID:  <5173F0C3.2040102@rdtc.ru>
In-Reply-To: <51731FFE.5020304@bsdinfo.com.br>
References:  <5172965A.9080600@bsdinfo.com.br> <5172BDDD.4010509@rdtc.ru> <5172CFB2.3010708@bsdinfo.com.br> <5172D14D.8040009@rdtc.ru> <51731FFE.5020304@bsdinfo.com.br>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5173F0C3.2040102>