daily CVS update output

2015-03-13 Thread NetBSD source update
Updating src tree: P src/crypto/external/bsd/openssl/lib/libcrypto/arch/arm/ghash-armv4.S P src/doc/3RDPARTY P src/sys/arch/arm/broadcom/bcm2835_vcaudio.c P src/sys/arch/arm/broadcom/files.bcm2835 P src/sys/arch/arm/omap/if_cpsw.c P src/sys/arch/arm/omap/if_cpswreg.h P src/sys/dev/usb/if_run.c P

Re: DoS attack against TCP services

2015-03-13 Thread Thor Lancelot Simon
On Sat, Mar 14, 2015 at 06:53:51AM +0800, Paul Goyette wrote: On Fri, 13 Mar 2015, Christos Zoulas wrote: On Mar 13, 6:32pm, hann...@eis.cs.tu-bs.de (J. Hannken-Illjes) wrote: -- Subject: Re: DoS attack against TCP services | What about the attached diff. It adds a counter of busy items

Re: DoS attack against TCP services

2015-03-13 Thread Paul Goyette
On Fri, 13 Mar 2015, Christos Zoulas wrote: On Mar 13, 6:32pm, hann...@eis.cs.tu-bs.de (J. Hannken-Illjes) wrote: -- Subject: Re: DoS attack against TCP services | What about the attached diff. It adds a counter of busy items and | stops enqueueing more work if an item is still busy. | |

AsiaBSDCon NetBSD BOF

2015-03-13 Thread Jun Ebihara
https://github.com/ebijun/NetBSD/blob/master/Guide/Place/asiabsdcon.rst starts from 18:30 JST:(40mins later http://2015.asiabsdcon.org/streaming_track2.html NetBSD BOF http://2015.asiabsdcon.org/timetable.html.ja#M4 Day 2: Room E 2015/3/13 18:30-21:00 riastradh, aida, Development

Re: DoS attack against TCP services

2015-03-13 Thread J. Hannken-Illjes
On 12 Mar 2015, at 20:59, Christos Zoulas chris...@zoulas.com wrote: | | Now we have a deadlock, softlck/0 waits for the mutex and therefore | | callouts will no longer be processed and ciss holds the mutex and waits | | for a callout through cv_timedwait. | | Thanks for looking into it!

Re: DoS attack against TCP services

2015-03-13 Thread Christos Zoulas
On Mar 13, 1:00pm, hann...@eis.cs.tu-bs.de (J. Hannken-Illjes) wrote: -- Subject: Re: DoS attack against TCP services | This would be simple, changing dev/ic/ciss.c like: | | sc-sc_sme-sme_name =3D device_xname(sc-sc_dev); | sc-sc_sme-sme_cookie =3D sc; |

Re: DoS attack against TCP services

2015-03-13 Thread Christos Zoulas
On Mar 13, 11:19am, hann...@eis.cs.tu-bs.de (J. Hannken-Illjes) wrote: -- Subject: Re: DoS attack against TCP services | The mutex involved is the sme_mtx protecting the struct sysmon_envsys, so | our problem doesn't come from missing POLL. That's what I thought. | We already have it. If I

Re: DoS attack against TCP services

2015-03-13 Thread J. Hannken-Illjes
On 13 Mar 2015, at 13:03, Christos Zoulas chris...@zoulas.com wrote: On Mar 13, 1:00pm, hann...@eis.cs.tu-bs.de (J. Hannken-Illjes) wrote: -- Subject: Re: DoS attack against TCP services | This would be simple, changing dev/ic/ciss.c like: | | sc-sc_sme-sme_name =3D

Re: DoS attack against TCP services

2015-03-13 Thread J. Hannken-Illjes
On 13 Mar 2015, at 12:53, Christos Zoulas chris...@zoulas.com wrote: On Mar 13, 11:19am, hann...@eis.cs.tu-bs.de (J. Hannken-Illjes) wrote: -- Subject: Re: DoS attack against TCP services | The mutex involved is the sme_mtx protecting the struct sysmon_envsys, so | our problem doesn't come

Re: DoS attack against TCP services

2015-03-13 Thread Christos Zoulas
On Mar 13, 4:12pm, hann...@eis.cs.tu-bs.de (J. Hannken-Illjes) wrote: -- Subject: Re: DoS attack against TCP services | Can't it just try to acquire the lock and if it fails it spams, and | does not deadlock? Or even better, finds the driver that blocks it, | and bumps its timeout? It is

Re: DoS attack against TCP services

2015-03-13 Thread Christos Zoulas
On Mar 13, 1:08pm, hann...@eis.cs.tu-bs.de (J. Hannken-Illjes) wrote: -- Subject: Re: DoS attack against TCP services | This was just an idea ... Maybe | | ...xs..timeout * sc-maxunits + 10 | | and set xs timeout to 1 .. 5 seconds? | | I don't think it is possible to make it self adjusting as