make rain(6) use a sane default delay

2011-03-20 Thread Matthieu Herrb
rain(6) is useless. but still it should provide sane defaults ihmo. ok? Index: rain.6 === RCS file: /cvs/OpenBSD/src/games/rain/rain.6,v retrieving revision 1.14 diff -u -r1.14 rain.6 --- rain.6 31 May 2007 19:19:18 - 1.

uvideo(4) diff needs testing

2011-03-20 Thread Jacob Meuser
while working on an update for ffmpeg, I noticed it's ability to record from a video(4) device is now completely broken because video(4) doesn't yet support VIDIOC_{S,G}_PARM. so I added support for the VIDIOC_{S,G}_PARM ioctls to video(4) and uvideo(4). but then ffmpeg still couldn't record from

Re: urndis(4) Frame length validation

2011-03-20 Thread Bryan
On 03/20/11 04:34, Janne Johansson wrote: 2011/3/20 Loganaden Velvindron Hi, this diff also discards packets larger than maximum buffer size. With this patch and doing large scp's, I get a few: urndis0: urndis_decap invalid buffer len 1< minimum header 44 maximum size 1562 urndis0: urndis_

Re: [PATCH] Fix for kernel crash with udav(4) device

2011-03-20 Thread Loganaden Velvindron
With input from mk, we improved the diff. Testing is very much appreciated. mk@ suggests checking total_len right after xfer_status to make sure the header is safe to use. There's a mistake in the DPRINTF() fo RX status, one parameter is missing. This caused another crash when debug mode is enab

Re: [PATCH] frame length validation for USB ethernet adapters

2011-03-20 Thread Fred Crowson
On 03/19/11 18:01, Loganaden Velvindron wrote: Hi, I'm uploading the new diffs for this. It concerns axe(4), aue(4), cdce(4), cue(4), kue(4), mos(4) and url(4). Of these, axe(4) is the most tricky, and I'd appreciate testing on all vaariants of axe(4). Please test both small and large packets (

rdist times out but will not die

2011-03-20 Thread Steven R. Gerber
I want to do local/remote mirror/backup (or should that be local-mirror / offsite-backup). So a two-part question: 1. Even if there is a timeout, shouldn't the job/process exit? ** rdist@thedump: thedump: /mnt/mirror2/

Re: urndis(4) Frame length validation

2011-03-20 Thread Loganaden Velvindron
armani@ pointed out that the checking is already done below, so the diff is useless. //Logan C-x-C-c

Re: urndis(4) Frame length validation

2011-03-20 Thread Janne Johansson
2011/3/20 Loganaden Velvindron > Hi, this diff also discards packets larger than maximum buffer size. > > Please test. > > Index: src/sys/dev/usb/if_urndis.c > === > RCS file: /cvs/src/sys/dev/usb/if_urndis.c,v > retrieving revision

Re: urndis(4) Frame length validation

2011-03-20 Thread Loganaden Velvindron
Here's a less confusing diff. Index: src/sys/dev/usb/if_urndis.c === RCS file: /cvs/src/sys/dev/usb/if_urndis.c,v retrieving revision 1.29 diff -u -p -r1.29 if_urndis.c --- src/sys/dev/usb/if_urndis.c 25 Jan 2011 20:03:35 - 1