Re: IPv6 Support for umb(4)

2020-04-30 Thread Gerhard Roth
On 4/30/20 4:03 PM, Theo de Raadt wrote: Is that still the true behaviour? I think it isn't, the "before up" aspect is gone isn't it? That's right for IP configuration via MBIM and I deleted the "before up" from the first sentence. But wasn't sure for the SLAAC case. Will autoconf work if

Re: IPv6 Support for umb(4)

2020-04-30 Thread Gerhard Roth
Hi Theo, is umb really working that differently for a P2P interface? I think it is very similar to ppp(4) and IPv6. The standard way is to obtain the IP address via PPP protocol. Just like this, umb(4) obtains the IP address via MBIM protocol. That's what is implemented with this and former

Re: IPv6 Support for umb(4)

2020-04-30 Thread Theo de Raadt
I don't know the answers. But if umb works differently it will suck. I also feel noone is going to read the manual page, find this piece of text, and understand it. Honestly, I don't understand this piece of text. I'm not going to set the AUTOCONF6 flag. How does one even set it? ifconfig:

iked(8): Add ECDH groups and AEADs to defaults

2020-04-30 Thread Tobias Heider
Hi, I would like to modernize our crypto defaults a bit and add some of the supported ECDH Diffie-Hellman groups to the default IKE crypto proposal. There should be no downside to this, if they are not supported by the other side one of the old MODP groups will be used. The same for AEADs in the

Mention /etc/examples/ in those config files manpages + FILES short description

2020-04-30 Thread clematis
Hello, Following the previous thread about /etc/examples/doas.conf [1] , I've noticed those example files aren't always listed in their respective manpage or without a description. This has been discussed here recently for bgpd.conf [2]. Also noticed updates for some of them like acme-client.conf

Re: IPv6 Support for umb(4)

2020-04-30 Thread Gerhard Roth
On 4/30/20 8:04 PM, Theo de Raadt wrote: I also feel noone is going to read the manual page, find this piece of text, and understand it. Honestly, I don't understand this piece of text. I'm not going to set the AUTOCONF6 flag. How does one even set it? ifconfig: AUTOCONF6: bad value Of

Re: Mention /etc/examples/ in those config files manpages + FILES short description

2020-04-30 Thread Jason McIntyre
On Thu, Apr 30, 2020 at 07:13:16PM +0200, clematis wrote: > Hello, > > Following the previous thread about /etc/examples/doas.conf [1] , > I've noticed those example files aren't always listed in their > respective manpage or without a description. > This has been discussed here recently for

Re: [macppc 6.7-beta] clang backend error: "adde Constant" issue

2020-04-30 Thread George Koehler
On Wed, 29 Apr 2020 21:08:52 +0200 (CEST) Mark Kettenis wrote: > Upstream fixed this issue as well. Apparently only ADDE can't be > legalized (because it is "special") but ADDCARRY can. Do ypu want to > adjust your diff based on that information? > > Either way, ok kettenis@ This adjusted

Re: IPv6 Support for umb(4)

2020-04-30 Thread Theo de Raadt
I'm completely lost. I said it should work as much as a regular device does. I suggested the hardware always come up in software mode. And then, the driver fakes as if it is doing the inet6 stuff at the moment, whereas it is already done. So that the upper level network stack needs nothing

Re: iked(8): Add ECDH groups and AEADs to defaults

2020-04-30 Thread Stuart Henderson
On 2020/04/30 20:11, Tobias Heider wrote: > Hi, > > I would like to modernize our crypto defaults a bit and add some of the > supported ECDH Diffie-Hellman groups to the default IKE crypto proposal. > There should be no downside to this, if they are not supported by the > other side one of the

Re: iked(8): Add ECDH groups and AEADs to defaults

2020-04-30 Thread Stuart Henderson
On 2020/04/30 23:03, Tobias Heider wrote: > On Thu, Apr 30, 2020 at 09:33:28PM +0100, Stuart Henderson wrote: > > On 2020/04/30 20:11, Tobias Heider wrote: > > > Hi, > > > > > > I would like to modernize our crypto defaults a bit and add some of the > > > supported ECDH Diffie-Hellman groups to

Re: [PATCH] sysupgrade

2020-04-30 Thread William Ahern
On Thu, Apr 30, 2020 at 11:19:14AM +, Kevin Chadwick wrote: > I used to avoid installing the X sets and I found that even on e.g. a web > server without X11 running. I would end up installing them in the end as > certain ports would require them. Often there's a no_x11 FLAVOR, but avoiding

Re: [PATCH] sysupgrade

2020-04-30 Thread Kevin Chadwick
>> Struggling to remember why I wanted to do it, to be honest. > >Because until relatively recently X was installed sgid root. But that >was fixed for 6.5: > That wasn't a factor. You could always mount it nosuid, even noexec anyway.

Re: iked(8): Add ECDH groups and AEADs to defaults

2020-04-30 Thread Tobias Heider
On Thu, Apr 30, 2020 at 09:33:28PM +0100, Stuart Henderson wrote: > On 2020/04/30 20:11, Tobias Heider wrote: > > Hi, > > > > I would like to modernize our crypto defaults a bit and add some of the > > supported ECDH Diffie-Hellman groups to the default IKE crypto proposal. > > There should be no

Re: [macppc 6.7-beta] clang backend error: "adde Constant" issue

2020-04-30 Thread Mark Kettenis
> Date: Thu, 30 Apr 2020 12:58:32 -0400 > From: George Koehler > > On Wed, 29 Apr 2020 21:08:52 +0200 (CEST) > Mark Kettenis wrote: > > > Upstream fixed this issue as well. Apparently only ADDE can't be > > legalized (because it is "special") but ADDCARRY can. Do ypu want to > > adjust your

Re: IPv6 Support for umb(4)

2020-04-30 Thread Stuart Henderson
On 2020/04/30 20:32, Gerhard Roth wrote: > Hi Theo, > > is umb really working that differently for a P2P interface? I think it is > very similar to ppp(4) and IPv6. The standard way is to obtain the IP > address via PPP protocol. Just like this, umb(4) obtains the IP address via > MBIM protocol.

Re: IPv6 Support for umb(4)

2020-04-30 Thread Jason McIntyre
On Thu, Apr 30, 2020 at 10:07:14PM +0100, Stuart Henderson wrote: > > On 2020/04/30 20:52, Gerhard Roth wrote: > > It it too much to expect users to read the ifconfig man page? > > Printed, it is 28 pages of A4. > ouch. > Compare with the wifi drivers, you have to look at ifconfig(8) if > you

Re: IPv6 Support for umb(4)

2020-04-30 Thread Stuart Henderson
On 2020/04/30 22:28, Jason McIntyre wrote: > On Thu, Apr 30, 2020 at 10:07:14PM +0100, Stuart Henderson wrote: > > > > On 2020/04/30 20:52, Gerhard Roth wrote: > > > It it too much to expect users to read the ifconfig man page? > > > > Printed, it is 28 pages of A4. > > > > ouch. admittedly

Re: [macppc 6.7-beta] clang backend error: "adde Constant" issue

2020-04-30 Thread Todd Mortimer
On Thu, Apr 30, 2020 at 12:58:32PM -0400, George Koehler wrote: > On Wed, 29 Apr 2020 21:08:52 +0200 (CEST) > Mark Kettenis wrote: > > > Upstream fixed this issue as well. Apparently only ADDE can't be > > legalized (because it is "special") but ADDCARRY can. Do ypu want to > > adjust your

Re: iked(8): Add ECDH groups and AEADs to defaults

2020-04-30 Thread Klemens Nanni
OK kn

Re: IPv6 Support for umb(4)

2020-04-30 Thread Theo de Raadt
Jason McIntyre wrote: > On Thu, Apr 30, 2020 at 10:07:14PM +0100, Stuart Henderson wrote: > > > > On 2020/04/30 20:52, Gerhard Roth wrote: > > > It it too much to expect users to read the ifconfig man page? > > > > Printed, it is 28 pages of A4. > > > > ouch. > > > Compare with the wifi

Re: IPv6 Support for umb(4)

2020-04-30 Thread Jason McIntyre
On Thu, Apr 30, 2020 at 03:33:56PM -0600, Theo de Raadt wrote: > Jason McIntyre wrote: > > > On Thu, Apr 30, 2020 at 10:07:14PM +0100, Stuart Henderson wrote: > > > > > > On 2020/04/30 20:52, Gerhard Roth wrote: > > > > It it too much to expect users to read the ifconfig man page? > > > > > >

Re: Mention /etc/examples/ in those config files manpages + FILES short description

2020-04-30 Thread clematis
On Thu, Apr 30, 2020 at 07:20:04PM +0100, Jason McIntyre wrote: > On Thu, Apr 30, 2020 at 07:13:16PM +0200, clematis wrote: > > Hello, > > > > Following the previous thread about /etc/examples/doas.conf [1] , > > I've noticed those example files aren't always listed in their > > respective

Re: Mention /etc/examples/ in those config files manpages + FILES short description

2020-04-30 Thread Jason McIntyre
On Fri, May 01, 2020 at 12:22:26AM +0200, clematis wrote: > On Thu, Apr 30, 2020 at 07:20:04PM +0100, Jason McIntyre wrote: > > On Thu, Apr 30, 2020 at 07:13:16PM +0200, clematis wrote: > > > Hello, > > > > > > Following the previous thread about /etc/examples/doas.conf [1] , > > > I've noticed

Re: IPv6 Support for umb(4)

2020-04-30 Thread Theo de Raadt
Is that still the true behaviour? I think it isn't, the "before up" aspect is gone isn't it? +.Pp +To use IPv6, configure a link-local address. +If the device is able to connect to the ISP's network but doesn't +show an IPv6 address, setting the +.Sy AUTOCONF6 +flag on the interface before

Re: [PATCH] sysupgrade

2020-04-30 Thread Stuart Henderson
On 2020/04/30 10:07, Anders Andersson wrote: > I recently bought an APU with the smallest disk I could find (16 GB > mSATA), I don't remember the full install of all sets taking more than > 10%. No need to remove stuff. With current auto layouts from the installer it's usually ok, but with ones

Re: [PATCH] sysupgrade

2020-04-30 Thread Anders Andersson
On Thu, Apr 30, 2020 at 6:02 AM James Jerkins wrote: > > Hello, > > This patch adds two new options to sysupgrade. The first option is for small > box systems like an APU system that only has the base and manual sets > installed. The second option is for headless systems without X11 like >

Re: [PATCH] sysupgrade

2020-04-30 Thread Sebastian Benoit
James Jerkins(j...@jamesjerkinscomputer.com) on 2020.04.29 22:28:12 -0500: > Hello, > > This patch adds two new options to sysupgrade. The first option is for > small box systems like an APU system that only has the base and manual We wont add tons of options to this tool for every use case.

Re: IPv6 Support for umb(4)

2020-04-30 Thread Gerhard Roth
On Mon, 27 Apr 2020 16:59:22 +0200 Gerhard Roth wrote: > On 4/27/20 4:53 PM, Theo de Raadt wrote: > > Gerhard Roth wrote: > > > >> Hi Theo, > >> > >> On 4/27/20 4:39 PM, Theo de Raadt wrote: > >>> Is this code in umb_decode_ip_configuration() reached again, if > >>> you do a late ifconfig

Re: [PATCH] sysupgrade

2020-04-30 Thread Otto Moerbeek
On Wed, Apr 29, 2020 at 10:28:12PM -0500, James Jerkins wrote: > Hello, > > This patch adds two new options to sysupgrade. The first option is for small > box systems like an APU system that only has the base and manual sets > installed. The second option is for headless systems without X11

Re: [PATCH] sysupgrade

2020-04-30 Thread Kevin Chadwick
On 2020-04-30 03:28, James Jerkins wrote: > This patch adds two new options to sysupgrade. The first option is for small > box systems like an APU system that only has the base and manual sets > installed. The second option is for headless systems without X11 like servers. I used to avoid