Dynamic IPv6

2017-07-07 Thread Thomas Smith
My ISP (Cox) supports IPv6 and I have this working on a MikroTik router--it pulls an address and prefix, creates a default route, creates an address pool for internal client, etc. I've been working to configure a similar setup in OpenBSD 6.1 and I've been unable to even get the outside interface

Re: A question of lock usage in OpenBSD kernel code

2017-07-07 Thread Ted Unangst
J Doe wrote: > Ok, thank you for clarifying that for me. I will proceed with development in > C. As an aside - do OpenBSD developers track with the latest standard (C11), > or is another standard preferred ? mostly c89. in particular, don't mix code and declarations.

Re: Libressl issue verifying self-signed certs with tls-auth and Openvpn

2017-07-07 Thread Andy Lemin
Hi Stuart and Joel, Just to confirm for others reading, you are very correct. And patch 014_libcrypto has fixed this :) So just run syspatch (or openup) and you'll be working again. Thanks for the commits ;) PS; good to hear from you again Stuart! Long time.. I'm on this email now rather than

Re: xntp mlockall issue patched yet?

2017-07-07 Thread Kaya Saman
On 07/07/2017 10:11 PM, Allan Streib wrote: Kaya Saman writes: I'm running current (6.1 GENERIC.MP#99 amd64) and keep getting this message when trying to start ntp from @ports: ntpd 4.2.8p10@1.3728-o Fri Jun 2 02:18:56 UTC 2017 (1): Starting mlockall(): Cannot allocate memory fatal out o

Re: A question of lock usage in OpenBSD kernel code

2017-07-07 Thread J Doe
Hi Ingo, Thank you for your reply - I've answered inline, below. > On Jul 5, 2017, at 10:14 AM, Ingo Schwarze wrote: > > The OpenBSD way is to write userland network daemons in C, not in C++. Ok, thank you for clarifying that for me. I will proceed with development in C. As an aside - do Op

Re: xntp mlockall issue patched yet?

2017-07-07 Thread Kaya Saman
On 07/08/2017 12:11 AM, Christian Weisgerber wrote: On 2017-07-07, Kaya Saman wrote: I'm running current (6.1 GENERIC.MP#99 amd64) and keep getting this message when trying to start ntp from @ports: ntpd 4.2.8p10@1.3728-o Fri Jun 2 02:18:56 UTC 2017 (1): Starting mlockall(): Cannot alloca

Re: FTP during install not working

2017-07-07 Thread Thomas Smith
> Is the clock on this system correct? OpenBSD 6.1+"s installer uses https > (at least for architectures which can fit it on the install media) but > doesn"t handle the case where you have an incorrect clock very well > (normally the installer tries to fetch the mirror list over https, which > fail

Re: xntp mlockall issue patched yet?

2017-07-07 Thread Christian Weisgerber
On 2017-07-07, Kaya Saman wrote: > I'm running current (6.1 GENERIC.MP#99 amd64) and keep getting this > message when trying to start ntp from @ports: > > ntpd 4.2.8p10@1.3728-o Fri Jun 2 02:18:56 UTC 2017 (1): Starting > > mlockall(): Cannot allocate memory > > fatal out of memory (32 bytes)

Re: FTP during install not working

2017-07-07 Thread Stuart Henderson
>> Original Message >> Subject: FTP during install not working >> Local Time: July 7, 2017 10:16 AM >> UTC Time: July 7, 2017 5:16 PM >> From: inq...@protonmail.com >> To: misc@openbsd.org >> I'm trying to install OpenBSD 6.1. Selecting the sets location always >> initially fail

Re: FTP during install not working

2017-07-07 Thread Job Snijders
On Fri, 7 Jul 2017 at 21:21, Thomas Smith wrote: > To add one more thing to this... After the install is completes, I get the > following error trying to install a package (any package): > $ doas pkg_add zsh > http://ftp.usa.openbsd.org/pub/OpenBSD/6.1/6.1/packages/amd64/: no such > dir > Can't f

Re: xntp mlockall issue patched yet?

2017-07-07 Thread Allan Streib
Kaya Saman writes: > I'm running current (6.1 GENERIC.MP#99 amd64) and keep getting this > message when trying to start ntp from @ports: > > ntpd 4.2.8p10@1.3728-o Fri Jun 2 02:18:56 UTC 2017 (1): Starting > > mlockall(): Cannot allocate memory > > fatal out of memory (32 bytes) Why not use nt

xntp mlockall issue patched yet?

2017-07-07 Thread Kaya Saman
Hi, found this posting back from 2013 and wondering if there was ever a commit on the proposed patch? http://openbsd-archive.7691.n7.nabble.com/PATCH-mlockall-problem-in-OpenBSD-5-2-td166000.html I'm running current (6.1 GENERIC.MP#99 amd64) and keep getting this message when trying to sta

Re: FTP during install not working

2017-07-07 Thread Thomas Smith
To add one more thing to this... After the install is completes, I get the following error trying to install a package (any package): $ doas pkg_add zsh http://ftp.usa.openbsd.org/pub/OpenBSD/6.1/6.1/packages/amd64/: no such dir Can't find zsh $ cat /etc/installurl http://ftp.usa.openbsd.org/pub/O

FTP during install not working

2017-07-07 Thread Thomas Smith
I'm trying to install OpenBSD 6.1. Selecting the sets location always initially fails with the following: Location of sets? (disk http or 'done') [http] HTTP proxy URL? (e.g. 'http://proxy:8080', or 'none') [none] (Unable to get list from ftp.openbsd.org, but that is OK) HTTP Server? (hostname or

Re: possible xbacklight regression

2017-07-07 Thread Marcus MERIGHI
"Known issue that's being worked on." kettenis@ http://marc.info/?l=openbsd-bugs&m=149919062727474 Marcus li...@ggp2.com (li...@ggp2.com), 2017.07.07 (Fri) 00:57 (CEST): > Hello all > > I've noticed a possible regression on a thinkpad t420 regarding > xbacklight on -current. > > $ xbacklight -s

Re: Limit internet connection by time of day and number of hours

2017-07-07 Thread Stuart Henderson
On 2017-07-06, Maxim Bourmistrov wrote: > > Hey, > I have somewhat similar situation at home. > However, I never found a straight forward setup. > > I can do a manual BLOCK OUT with a script, and probably, if I’d link this > script > to a cron, I’d get some how setup you are after. > > I do depen

Re: Separate VLAN from untagged traffic.

2017-07-07 Thread Stuart Henderson
On 2017-07-07, Per-Olov Sjöholm wrote: > How would I continue with the config I have and expand it to take the > tagged TV VLAN 845 they soon will add incoming to my em3 and bridge that > VLAN tagged TV traffic out on let say em2. The docs aren't that clear > to me. The TV traffic VLAN has no IP I

Re: Separate VLAN from untagged traffic.

2017-07-07 Thread Per-Olov Sjöholm
-- GPG keyID: 9429C093 GPG fingerprint: 5F37 4298 A07F C614 647B 458C A756 5C4E 9429 C093 > On 7 Jul 2017, at 16:07, Kapetanakis Giannis > wrote: > > On 07/07/17 15:35, Per-Olov Sjöholm wrote: >> Hi >> >> I have config like this on an internal interface since 5 year back in time >> that t

Re: Separate VLAN from untagged traffic.

2017-07-07 Thread Kapetanakis Giannis
On 07/07/17 15:35, Per-Olov Sjöholm wrote: > Hi > > I have config like this on an internal interface since 5 year back in time > that together with my VLAN enabled Cisco and Zyxel switches route traffic > around in my network. I run OpenBSD 6.0 AMD64 at the moment. > > cat /etc/hostname.em0 >

ifstated.conf.5 diff

2017-07-07 Thread Rob Pierce
I am not sure that it makes sense to mention implementation details in the man page in this regard (i.e. libevent). If people want to know the details, they can read the source code. In any event, true and false are not reserved words. Regards, Rob Index: ifstated.conf.5 ===

Separate VLAN from untagged traffic.

2017-07-07 Thread Per-Olov Sjöholm
Hi I have config like this on an internal interface since 5 year back in time that together with my VLAN enabled Cisco and Zyxel switches route traffic around in my network. I run OpenBSD 6.0 AMD64 at the moment. cat /etc/hostname.em0 —snip-- up ### VLAN !ifconfig vlan2 inet 192.168.0.1 netmas