Fwd: [patch] ifconfig.c

2018-08-09 Thread Edgar Pettijohn III
Unfortunantly it wasn't that easy. This version doesn't segfault with bad input :) Also just noticed there is a bunch of stuff going on with ifconfig in current. So I guess this can just be a conversation starter, and perhaps whomever is doing the work can possibly put something like this in.

[patch] ifconfig.c

2018-08-09 Thread Edgar Pettijohn III
I hate to assume, but I'm going to assume that if one wants to scan for ap's for their wifi interface to connect to they don't care about anything else. I also removed what to me is one too many tabs. Index: ifconfig.c === RCS

openssl s_time: refactor benchmark loops

2018-08-09 Thread Scott Cheloha
Hi, s_time -- everyone's perennial pick for favorite openssl app -- has a lot of copy & paste. Here's a first shot at refactoring that away. We can merge the two benchmark loops, the timing stuff, and the report printing, as all of it is nearly identical. I modified as little as possible when

lo(4) automatic ::1 setting and multiple loopbacks

2018-08-09 Thread Stuart Henderson
While looking into something unrelated I found a strange extra ::1 address on lo1 (I usually hang my loopback addresses for IBGP off lo1). lo1: flags=8049 mtu 32768 index 12 priority 0 llprio 3 groups: lo inet xxx.xx.xxx.1 netmask 0x inet6 ::1 prefixlen 128

Re: bgpd: refine source-as matching

2018-08-09 Thread Claudio Jeker
On Thu, Aug 09, 2018 at 10:37:50PM +0200, Sebastian Benoit wrote: > Claudio Jeker(cje...@diehard.n-r-g.com) on 2018.08.09 21:59:16 +0200: > > On Thu, Aug 09, 2018 at 03:10:11PM +0200, Claudio Jeker wrote: > > > Per rfc6472 AS_SET should no longer be used but some AS still do. > > > Until now

Re: bgpd: refine source-as matching

2018-08-09 Thread Sebastian Benoit
Claudio Jeker(cje...@diehard.n-r-g.com) on 2018.08.09 21:59:16 +0200: > On Thu, Aug 09, 2018 at 03:10:11PM +0200, Claudio Jeker wrote: > > Per rfc6472 AS_SET should no longer be used but some AS still do. > > Until now source-as would take the rightmost AS number of an AS_PATH no > > matter if it

Re: bgpd: refine source-as matching

2018-08-09 Thread Claudio Jeker
On Thu, Aug 09, 2018 at 03:10:11PM +0200, Claudio Jeker wrote: > Per rfc6472 AS_SET should no longer be used but some AS still do. > Until now source-as would take the rightmost AS number of an AS_PATH no > matter if it was an AS_SEQUENCE or an AS_SET. Thit is not correct. Also > because AS_SET

Re: Pass more EFI related information from bootloader to kernel

2018-08-09 Thread Mike Larkin
On Mon, Aug 06, 2018 at 11:38:28PM +0200, Mark Kettenis wrote: > I suspect that at some point in the future we'll have to bite the > bullet and call into EFI runtime services on amd64 as well. The diff > below paves the road by passing the necessary information from our > bootloader to the

diff: add USB ANT-m Stick via uscom(4)

2018-08-09 Thread Jan Klemkow
Hi, the following diff adds support for an USB ANT+ receiver which is used to communicate with wireless fitness tracking devices. The USB device appears as a serial interface. I just add the device ID to the existing uscom(4) driver and enabled it in GENERIC. I don't know why it was

Re: bgpd: refine source-as matching

2018-08-09 Thread Job Snijders
On Thu, Aug 09, 2018 at 03:10:11PM +0200, Claudio Jeker wrote: > Per rfc6472 AS_SET should no longer be used but some AS still do. > Until now source-as would take the rightmost AS number of an AS_PATH > no matter if it was an AS_SEQUENCE or an AS_SET. Thit is not correct. Indeed, good find! >

Re: bgpd: refine source-as matching

2018-08-09 Thread Sebastian Benoit
Claudio Jeker(cje...@diehard.n-r-g.com) on 2018.08.09 15:10:11 +0200: > Per rfc6472 AS_SET should no longer be used but some AS still do. > Until now source-as would take the rightmost AS number of an AS_PATH no > matter if it was an AS_SEQUENCE or an AS_SET. Thit is not correct. Also > because

Re: Very strange condition

2018-08-09 Thread sven falempin
On Thu, Aug 9, 2018 at 10:40 AM Mark Kettenis wrote: > > > From: sven falempin > > Date: Thu, 9 Aug 2018 10:10:14 -0400 > > > > In ACPI.c > > > > > > if ((pm1 & ACPI_PM1_SCI_EN) == 0 && sc->sc_fadt->smi_cmd && > > (!sc->sc_fadt->acpi_enable && !sc->sc_fadt->acpi_disable)) { > >

Re: Very strange condition

2018-08-09 Thread Mark Kettenis
> From: sven falempin > Date: Thu, 9 Aug 2018 10:10:14 -0400 > > In ACPI.c > > > if ((pm1 & ACPI_PM1_SCI_EN) == 0 && sc->sc_fadt->smi_cmd && > (!sc->sc_fadt->acpi_enable && !sc->sc_fadt->acpi_disable)) { > printf(", ACPI control unavailable\n"); >

Very strange condition

2018-08-09 Thread sven falempin
In ACPI.c if ((pm1 & ACPI_PM1_SCI_EN) == 0 && sc->sc_fadt->smi_cmd && (!sc->sc_fadt->acpi_enable && !sc->sc_fadt->acpi_disable)) { printf(", ACPI control unavailable\n"); acpi_unmap_pmregs(sc); return; } the condition

bgpd: refine source-as matching

2018-08-09 Thread Claudio Jeker
Per rfc6472 AS_SET should no longer be used but some AS still do. Until now source-as would take the rightmost AS number of an AS_PATH no matter if it was an AS_SEQUENCE or an AS_SET. Thit is not correct. Also because AS_SET are used in aggregation source-as should match against the aggregator AS

Re: pfctl: use mask parameter and zap bits in host_v4()

2018-08-09 Thread Klemens Nanni
On Wed, Aug 01, 2018 at 01:27:48AM +0200, Klemens Nanni wrote: > Updated diff bringing this function in line with its counterparts by > using `mask' the same way. > > If a mask was specified, `mask' would always equal to `bits' as returned > by inet_net_pton(), so avoid the duplicate. > > While

Re: openssl(1) passwd chunck canary corrupted

2018-08-09 Thread Theo Buehler
On Thu, Aug 09, 2018 at 08:45:03AM +0200, Theo Buehler wrote: > On Wed, Aug 08, 2018 at 05:53:56PM +0200, Theo Buehler wrote: > > On Wed, Aug 08, 2018 at 02:45:29PM +0100, Ricardo Mestre wrote: > > > Hi, > > > > > > When openssl(1) passwd is invoked without passing in the `password' as > > >

Re: openssl(1) passwd chunck canary corrupted

2018-08-09 Thread Theo Buehler
On Wed, Aug 08, 2018 at 05:53:56PM +0200, Theo Buehler wrote: > On Wed, Aug 08, 2018 at 02:45:29PM +0100, Ricardo Mestre wrote: > > Hi, > > > > When openssl(1) passwd is invoked without passing in the `password' as > > argument > > , meaning interactively, and if the password is 10 or more