Re: OpenRCS: fix merge of distrib/set/list files

2019-08-09 Thread Stefan Sperling
On Fri, Aug 09, 2019 at 11:35:46PM +0200, Stefan Sperling wrote: > @@ -496,7 +496,8 @@ ed_patch_lines(struct rcs_lines *dlines, struct rcs_li > if (lp == NULL) > errx(1, "ed_patch_lines"); > > - if

arm64 glass console

2019-08-09 Thread Mark Kettenis
The diff below makes it possible to switch over to the framebuffer console in the bootloader. Currently, we'll use whatever device is designated in the device tree (or the ACPI SPCR table) as the console. With this diff you can use: boot> set tty fb0 to override that default. ok? Index:

Re: talkd(8): use NULL for second gettimeofday(2) argument

2019-08-09 Thread Mark Kettenis
> Date: Fri, 9 Aug 2019 16:28:47 -0500 > From: Scott Cheloha > > The timezone has no utility in this code. > > ok to use NULL? ok kettenis@ > Index: table.c > === > RCS file: /cvs/src/libexec/talkd/table.c,v > retrieving revision

Re: [Patch] man cdce(4) added ZTE MF920V portable LTE WiFi router

2019-08-09 Thread Christoph R. Winter
Thanks. 9. August 2019 23:45, "Jason McIntyre" schrieb: > On Fri, Aug 09, 2019 at 08:10:47PM +, Christoph R. Winter wrote: > >> Hello ! >> >> The ZTE MF920V is a portable LTE WiFi router with a web interface. >> >> Used over weeks with amd64 till today on -current #131 from July 24,

Re: [Patch] man cdce(4) added ZTE MF920V portable LTE WiFi router

2019-08-09 Thread Jason McIntyre
On Fri, Aug 09, 2019 at 08:10:47PM +, Christoph R. Winter wrote: > Hello ! > > The ZTE MF920V is a portable LTE WiFi router with a web interface. > > Used over weeks with amd64 till today on -current #131 from July 24, 2019. > > I am not subscribed to tech@ please keep me in /cc thanks. >

OpenRCS: fix merge of distrib/set/list files

2019-08-09 Thread Stefan Sperling
merge(1) uses an ed script internally to apply changes to merged files, It fails to properly merge files which contain lines starting with a dot, as in the following example: Save these lines as file1: ./etc/signify/openbsd-66-base.pub ./etc/signify/openbsd-66-fw.pub

talkd(8): use NULL for second gettimeofday(2) argument

2019-08-09 Thread Scott Cheloha
The timezone has no utility in this code. ok to use NULL? Index: table.c === RCS file: /cvs/src/libexec/talkd/table.c,v retrieving revision 1.19 diff -u -p -r1.19 table.c --- table.c 26 Aug 2016 08:44:04 - 1.19 +++

[Patch] man cdce(4) added ZTE MF920V portable LTE WiFi router

2019-08-09 Thread Christoph R. Winter
Hello ! The ZTE MF920V is a portable LTE WiFi router with a web interface. Used over weeks with amd64 till today on -current #131 from July 24, 2019. I am not subscribed to tech@ please keep me in /cc thanks. Regards, Christoph Index: share/man/man4/cdce.4

Re: arm64: softraid boot

2019-08-09 Thread sven falempin
On Fri, Aug 2, 2019 at 3:26 PM Patrick Wildt wrote: > > On Fri, Aug 02, 2019 at 03:16:55PM -0400, sven falempin wrote: > > Dear ARM gurus, > > > > I m trying to tftp boot last snaphots on pine64+. > > Not sure if it s possible. > > So far I tried loading minitroot like an idiot and then, a

Re: iked(8): improve logging output

2019-08-09 Thread Reyk Floeter
Hi, I agree that __func__ should be removed from anything except log_debug() messages. I think you should prepend the term sa or spi to explain what the hex numbers mean. otherwise OK reyk > Am 09.08.2019 um 17:31 schrieb Tobias Heider : > > The current log output is not as helpful as i

Re: iked(8): move CERTREQ handler out of parser

2019-08-09 Thread Tobias Heider
Update because I forgot to add OCSP support which needs a bit of extra treatment as it uses an additional CERTREQ payload. Index: iked.h === RCS file: /mount/openbsd/cvs/src/sbin/iked/iked.h,v retrieving revision 1.121 diff -u -p -u

iked(8): improve logging output

2019-08-09 Thread Tobias Heider
The current log output is not as helpful as i would like it to be, so here's a diff to make it better. This unifies the syntax of the send and recv output, uses the same terms as the configuration (peer and local instead of to and from) and prepends the SAs SPI to each line to make it easier to

Re: openrsync --address option

2019-08-09 Thread Stuart Henderson
On 2019/08/09 14:31, Christian Weisgerber wrote: > On 2019-08-08, Stuart Henderson wrote: > > > Works as expected for IPv4. For IPv6 it only works if you use a hostname > > that > > only has a v6 address and not also a v4 address. > > Not sure what scenario you mean exactly. This works fine

Re: openrsync --address option

2019-08-09 Thread Christian Weisgerber
On 2019-08-08, Stuart Henderson wrote: > Works as expected for IPv4. For IPv6 it only works if you use a hostname that > only has a v6 address and not also a v4 address. Not sure what scenario you mean exactly. This works fine for me: openrsync --address=2003:e5:cf15:c101:76dd:6f32:911c:ce5c

iked(8): move CERTREQ handler out of parser

2019-08-09 Thread Tobias Heider
Hi, currently some parts of the iked(8) payload parser act on the SA structure before the message was fully parsed and checked, which is obviously bad for security. The parser should store it's results in a temporary location (e.G. in the iked_message struct) and apply changes only when the

Re: TSC synchronization on MP machines

2019-08-09 Thread Mark Kettenis
> Date: Fri, 9 Aug 2019 14:35:34 +0300 > From: Paul Irofti > > > > I changed cpu_serializing_counter() with tsc_get_timecount() as they > > > were the same function now that msr is gone. Hope that is not too gross. > > > > That doesn't work as tsc_get_timecount() returns a 32-bit integer. > >

Re: TSC synchronization on MP machines

2019-08-09 Thread Paul Irofti
> > I changed cpu_serializing_counter() with tsc_get_timecount() as they > > were the same function now that msr is gone. Hope that is not too gross. > > That doesn't work as tsc_get_timecount() returns a 32-bit integer. > > I can not just rdtsc because that means changing the drift max > > I

Re: rsync be less verbose

2019-08-09 Thread Theo de Raadt
No kidding. Claudio Jeker wrote: > When running rsync against rsync://rpki.ripe.net/repository it will > print the following all the time: > The RIPE NCC Certification Repository is subject to Terms and Conditions > See http://www.ripe.net/lir-services/ncc/legal/certification/repository-tc

rsync be less verbose

2019-08-09 Thread Claudio Jeker
When running rsync against rsync://rpki.ripe.net/repository it will print the following all the time: The RIPE NCC Certification Repository is subject to Terms and Conditions See http://www.ripe.net/lir-services/ncc/legal/certification/repository-tc This is not helpful. I changed the log message

Re: TSC synchronization on MP machines

2019-08-09 Thread Mark Kettenis
> Date: Fri, 9 Aug 2019 10:21:14 +0300 > From: Paul Irofti > > On Wed, Aug 07, 2019 at 02:55:54PM +0200, Mark Kettenis wrote: > > > Date: Tue, 6 Aug 2019 23:29:30 +0300 > > > From: Paul Irofti > > > > > > Hi, > > > > > > Here is a fourth diff addressing all the issues so far, that have been >

Re: rpki-client add option to control bind address

2019-08-09 Thread Sebastian Benoit
Claudio Jeker(cje...@diehard.n-r-g.com) on 2019.08.09 08:58:09 +0200: > Yesterday I added --address support in openrsync, this was done so that > rpki-client can pass a bind address to openrsync since in my case the > default address selection would pick up a non routeable address (IX lan) > for

Re: TSC synchronization on MP machines

2019-08-09 Thread Paul Irofti
On Wed, Aug 07, 2019 at 02:55:54PM +0200, Mark Kettenis wrote: > > Date: Tue, 6 Aug 2019 23:29:30 +0300 > > From: Paul Irofti > > > > Hi, > > > > Here is a fourth diff addressing all the issues so far, that have been > > mainly pointed out by kettenis@, thanks! > > > > Changes: > > - stop

Re: openrsync --address option

2019-08-09 Thread Sebastian Benoit
Claudio Jeker(cje...@diehard.n-r-g.com) on 2019.08.09 00:16:42 +0200: > On Thu, Aug 08, 2019 at 11:06:30PM +0100, Stuart Henderson wrote: > > On 2019/08/08 15:42, Claudio Jeker wrote: > > > I need to be able to control the bind address for openrsync connections. > > > This implements this but it

rpki-client add option to control bind address

2019-08-09 Thread Claudio Jeker
Yesterday I added --address support in openrsync, this was done so that rpki-client can pass a bind address to openrsync since in my case the default address selection would pick up a non routeable address (IX lan) for some connections. This is the diff for rpki-client to pass a bind address down

Re: Removing the kernel timezone: config(8): drop timezone support

2019-08-09 Thread YASUOKA Masahiko
On Thu, 08 Aug 2019 23:36:48 -0600 "Theo de Raadt" wrote: > YASUOKA Masahiko wrote: >> On Wed, 7 Aug 2019 21:41:17 -0500 >> Scott Cheloha wrote: >> > Drop config(8) support for getting/setting the kernel timezone. >> >> I'm using this. Is there any alternative or discussion? >> >> I think