Re: guess softraid as default rootdev for install/upgrade

2014-11-26 Thread Stefan Sperling
On Wed, Nov 26, 2014 at 03:05:27AM -0500, Jean-Philippe Ouellet wrote: Hello, Finally found some free time. What would you think of making the Which disk is the root disk? question default to the first softraid device you have configured, if any. The thinking is if you bothered to

Re: guess softraid as default rootdev for install/upgrade

2014-11-26 Thread Stuart Henderson
On 2014/11/26 03:05, Jean-Philippe Ouellet wrote: What would you think of making the Which disk is the root disk? question default to the first softraid device you have configured, if any. softraid isn't the only place where the guessed value is incorrect; if the information can be made

Re: patch: properly check NULL return values

2014-11-26 Thread Tobias Stoeckmann
Hi, turns out that there are a few more bad savestr calls even inside of pch.c. Some of the code pathes are quite obvious that a NULL return value would lead to a null pointer dereference, others would last longer before dereferencing. Carefully reviewing the savestr calls, the rule of thumb

Re: Behavior of changing routes on OpenBSD 5.6

2014-11-26 Thread Martin Pieuchot
Hello Florian, On 26/11/14(Wed) 06:56, Florian Riehm wrote: since OpenBSD 5.6 route change messages can change the interface of a route (rt_ifa) even if a message doesn't seem to require it because of a changed gateway or stuff like that. I would like to ask if it's a regression or if the new

Re: pf(4) and struct route

2014-11-26 Thread Martin Pieuchot
On 25/11/14(Tue) 15:16, Todd C. Miller wrote: On Tue, 25 Nov 2014 16:43:16 +0100, Martin Pieuchot wrote: Diff below removes the non-needed usages of struct route friends in pf.c, any comment or ok? You are missing some initializations of rt to NULL, comments inline. Thanks for the

Re: guess softraid as default rootdev for install/upgrade

2014-11-26 Thread Ingo Schwarze
Hi Jean-Philippe, Jean-Philippe Ouellet wrote on Wed, Nov 26, 2014 at 03:05:27AM -0500: Finally found some free time. What would you think of making the Which disk is the root disk? question default to the first softraid device you have configured, if any. I don't like that. The

Re: Fix AHCI on SUNXI

2014-11-26 Thread Edwin Amsler
It’s getting stuck in a reboot loop. Not enough time to investigate at the moment, but I’ll dig into this soon. It may be my build environment. On Nov 25, 2014, at 5:54 AM, Jonathan Gray j...@jsg.id.au wrote: On Mon, Nov 24, 2014 at 08:12:33PM -0600, Edwin Amsler wrote: Here are the changes

rdomain IPv6 local addresses

2014-11-26 Thread Martin Pieuchot
While debugging the recent route change regression I found various bugs in the code handling IPv6 addresses. The most ugly one, because it leaves you with a null ifp pointer in your routing table, is fixed by the diff below. Basically if you try to remove an address from an interface, by

Re: pf(4) and struct route

2014-11-26 Thread Martin Pieuchot
On 26/11/14(Wed) 13:32, Martin Pieuchot wrote: On 25/11/14(Tue) 15:16, Todd C. Miller wrote: On Tue, 25 Nov 2014 16:43:16 +0100, Martin Pieuchot wrote: Diff below removes the non-needed usages of struct route friends in pf.c, any comment or ok? You are missing some

Re: 64-bit PCI bridge support: testers needed

2014-11-26 Thread sven falempin
HEllo, So i reported a bug with a pci bridge a while ago. On an Apu with a pci to pci bridge over pci express. Dmesg below I use a recent snapshot OpenBSD 5.6-current (GENERIC.MP) #610: Tue Nov 25 06:00:07 MST 2014 and assume the commit was in The situation improved, as i can have the card

Re: 64-bit PCI bridge support: testers needed

2014-11-26 Thread Mark Kettenis
From: sven falempin sven.falem...@gmail.com Date: Wed, 26 Nov 2014 10:10:51 -0500 HEllo, So i reported a bug with a pci bridge a while ago. On an Apu with a pci to pci bridge over pci express. Dmesg below I use a recent snapshot OpenBSD 5.6-current (GENERIC.MP) #610: Tue Nov 25

Re: pf(4) and struct route

2014-11-26 Thread Todd C. Miller
On Wed, 26 Nov 2014 15:21:43 +0100, Martin Pieuchot wrote: And know with the correct diff... Looks good. - todd

Re: tcpdump: Ethernet header is not dumped with -xX if IP header is unaligned

2014-11-26 Thread Mike Belopuhov
On Tue, Nov 25, 2014 at 18:42 +0100, Mike Belopuhov wrote: On Mon, Nov 24, 2014 at 19:04 +0100, Mike Belopuhov wrote: Hi, IP header is not always aligned since bpf copies out the mbuf chain into the contigous buffer provided by the userland. I've seen this with large packet sizes on

operations on nd_prefix list must take rdomain into account

2014-11-26 Thread Mike Belopuhov
More rdomain checks are needed to be able to use the same subnet in a back to back connection between IPv6 rdomains as pointed out by mpi@. OK? diff --git sys/netinet6/nd6.c sys/netinet6/nd6.c index 9616187..d704cd6 100644 --- sys/netinet6/nd6.c +++ sys/netinet6/nd6.c @@ -1264,10 +1264,13 @@

libtls: Secure default cipher list and dtls support

2014-11-26 Thread Manuel Schoelling
Hi, I hope this is the right mailing list for discussing this issue. I could not find any information about a mailing list on libressl.org. It currently looks like the libtls version does not set a list of secure ciphers by default (e.g. that does not include MD5 or SHA-1). Would it be a

Re: httpd: don't send error body with HEAD method

2014-11-26 Thread Bertrand Janin
Bertrand Janin wrote : Philip Guenther wrote : On Mon, Nov 24, 2014 at 11:24 AM, Florian Obser flor...@openbsd.org wrote: ... Since we are probably not supposed to send a Content-Type header I think it makes sense to duplicate the httpmsg generating code in this case; If a GET

future direction of /var/tmp

2014-11-26 Thread thevoid
On Wed, 26 Nov 2014 08:52:30 -0700 (MST) Antoine Jacoutot ajacou...@cvs.openbsd.org wrote: CVSROOT: /cvs Module name: src Changes by: ajacou...@cvs.openbsd.org 2014/11/26 08:52:30 Modified files: usr.sbin/sysmerge: sysmerge.8 sysmerge.sh Log message: Drop

Re: locate(1): ignore paths longer than MAXPATHLEN

2014-11-26 Thread Nicolas Bedos
Last update, with Tobias's help. The following diff - changes MAXPATHLEN from sys/param.h to PATH_MAX from limits.h - adds a missing prototype for sane_count - locate.bigram and locate.code now abort when reading a pathname exceeding PATH_MAX bytes on stdin Index:

Re: locate(1): ignore paths longer than MAXPATHLEN

2014-11-26 Thread Tobias Stoeckmann
On Wed, Nov 26, 2014 at 09:48:15PM +0100, Nicolas Bedos wrote: Last update, with Tobias's help. The following diff - changes MAXPATHLEN from sys/param.h to PATH_MAX from limits.h - adds a missing prototype for sane_count - locate.bigram and locate.code now abort when reading a pathname