pfctl and anchors: few more glitches found

2017-11-23 Thread Alexandr Nedvedicky
Hello, patch below fixes various glitches I've found in pfctl. All issues are related to anchors. I did test the patch using regress/sbin/pfctl. Although all tests have passed, I still would like to ask for testing in field, especially if you use some fancy configuration with 'load anchor'. The

dhcrelay bpf bugs

2017-11-23 Thread David Gwynne
there are two bugs in the bpf code in dhcrelay. they're obviously rare though. the worst one is when skipping a packet, dhcrelay uses the = operator instead of + when summing the bpf header and capture length. the second bug is also in calculating how much space a packet consumes to skip over

Re: macppc: default to MBR for new installs

2017-11-23 Thread Janne Johansson
2017-11-22 23:20 GMT+01:00 Stefan Sperling : > This flips the default response for the macppc disk layout question > from HFS to MBR. > > > Make sure to edit INSTALL.macppc to reflect the new default, the text seems to hint at the old default at various places, of course. -- May

Re: macppc: default to MBR for new installs

2017-11-23 Thread Peter Hessler
OK On 2017 Nov 22 (Wed) at 23:20:46 +0100 (+0100), Stefan Sperling wrote: :This flips the default response for the macppc disk layout question :from HFS to MBR. : :I use an MBR on all my macppc machines. Booting OpenBSD is much simpler :this way. I don't see why I cannot just hit enter for this

Re: race-less nd6_timer

2017-11-23 Thread Alexander Bluhm
On Wed, Nov 22, 2017 at 04:24:22PM +0100, Martin Pieuchot wrote: > Diff below implements 3/ because it seems the simplest approach to > me and reduce differences with ARP a bit further. Yes. > void > -nd6_llinfo_settimer(struct llinfo_nd6 *ln, int secs) > +nd6_llinfo_settimer(struct llinfo_nd6

Re: fuse: vfs create does not map 1:1 to fuse create

2017-11-23 Thread Helg
On Thu, Nov 23, 2017 at 12:09:34PM +, Helg Bredow wrote: > - Forwarded message from Martin Pieuchot - > > Date: Sat, 18 Nov 2017 11:03:49 +0100 > From: Martin Pieuchot > To: Helg Bredow > CC: "tech@openbsd.org" >

Re: Fix segfault on vi(1)

2017-11-23 Thread Martijn van Duren
OK martijn@ On 11/23/17 14:14, Ricardo Mestre wrote: > Index: common/delete.c > === > RCS file: /cvs/src/usr.bin/vi/common/delete.c,v > retrieving revision 1.11 > diff -u -p -u -r1.11 delete.c > --- common/delete.c 6 Jan 2016

isakmpd.8: define "SA" abbreviation before use

2017-11-23 Thread Scott Cheloha
Hi, This makes parts of isakmpd(8) more immediately intelligible to a beginner. -- Scott Cheloha Index: sbin/isakmpd/isakmpd.8 === RCS file: /cvs/src/sbin/isakmpd/isakmpd.8,v retrieving revision 1.118 diff -u -p -r1.118 isakmpd.8

Re: isakmpd.8: define "SA" abbreviation before use

2017-11-23 Thread Jason McIntyre
On Thu, Nov 23, 2017 at 01:19:51PM -0600, Scott Cheloha wrote: > Hi, > > This makes parts of isakmpd(8) more immediately intelligible to > a beginner. > > -- > Scott Cheloha > > Index: sbin/isakmpd/isakmpd.8 > === > RCS file: