Re: httpd rewrite and REQUEST_URI value

2018-06-24 Thread Ve Telko
Hi Scott. If you or your framework uses REQUEST_URI you don't need request rewrite feature. Using REQUEST_URI and request rewrite feature are two oposite solutions for the same problem. To mimic nginx's try_files do something like this: location match "/hello/.*" { root "/index.php"

Re: How to copy n bytes from stdin to stdout?

2018-06-24 Thread Steve Litt
On Thu, 21 Jun 2018 00:56:04 +0200 Tomasz Rola wrote: > On Thu, Jun 21, 2018 at 12:44:14AM +0200, Tomasz Rola wrote: > [...] > > => (591 60): cat nread > > #!/bin/sh > > > > # nread n - read up to n bytes from stdio, put them on to stdout > > > > N=$1 > > > > dd bs=512 count=$((N / 512))

Re: VMs not booting (was: How to build with VMM_DEBUG)

2018-06-24 Thread Mike Larkin
On Sun, Jun 24, 2018 at 01:41:47AM -0500, Ax0n wrote: > On Sat, Jun 23, 2018 at 3:54 PM, Ax0n wrote: > > > > > FWIW, that patch didn't apply cleanly to a fresh pull of the tree from > > GitHub. I know it's not OFFICIALLY -CURRENT for realsies but it's what I > > have been using on this laptop for

Re: How to build with VMM_DEBUG

2018-06-24 Thread Mike Larkin
On Sat, Jun 23, 2018 at 03:54:40PM -0500, Ax0n wrote: > On Sat, Jun 23, 2018 at 6:10 AM, Stefan Sperling wrote: > > > See https://marc.info/?l=openbsd-bugs&m=152960299009667&w=2 for > > a patch you could test. > > (raw patch: https://marc.info/?l=openbsd-bugs&m=152960299009667&q=raw) > > > > FWI

Re: kernel panic while reproducing video with mpv

2018-06-24 Thread Walter Alejandro Iglesias
Hi Visa, On Sun, Jun 24, 2018 at 05:54:15PM +, Visa Hankala wrote: > On Sun, Jun 24, 2018 at 12:37:45PM +0200, Walter Alejandro Iglesias wrote: > > panic: mtx 0x81c86470: locking against myself > > Stopped at db_enter+0x12: popq%r11 > > TIDPIDUID PRFLAGS P

Re: kernel panic while reproducing video with mpv

2018-06-24 Thread Visa Hankala
On Sun, Jun 24, 2018 at 12:37:45PM +0200, Walter Alejandro Iglesias wrote: > panic: mtx 0x81c86470: locking against myself > Stopped at db_enter+0x12: popq%r11 > TIDPIDUID PRFLAGS PFLAGS CPU COMMAND > 104021 96401 1000 0x3 0x4002 mpv > *

Re: Anybody have any experience with Fujitsu PRIMERGY TX1310 M3?

2018-06-24 Thread Stuart Henderson
On 2018-06-24, John Long wrote: > There are two variants of the Fujitsu PRIMERGY TX1310 M3 available here > for about the same price I was paying for the Lenovo m710q. Does > anybody have any comments about these Fujitsu boxes running OpenBSD? > > Also, I remember there was a section in the FAQ ab

Re: WHere to put certificates for IKEDv2?

2018-06-24 Thread C. L. Martinez
On Sun, Jun 24, 2018 at 12:42:15PM +0200, C. L. Martinez wrote: > On Sun, Jun 24, 2018 at 08:43:32AM +, Stuart Henderson wrote: > > On 2018-06-23, C. L. Martinez wrote: > > > Hi all, > > > > > > I am using Easy-RSA to manage my home's CA (using elliptic curve > > > certificates). I have crea

Anybody have any experience with Fujitsu PRIMERGY TX1310 M3?

2018-06-24 Thread John Long
There are two variants of the Fujitsu PRIMERGY TX1310 M3 available here for about the same price I was paying for the Lenovo m710q. Does anybody have any comments about these Fujitsu boxes running OpenBSD? Also, I remember there was a section in the FAQ about setting up an ftp server on OpenBSD. I

Re: WHere to put certificates for IKEDv2?

2018-06-24 Thread C. L. Martinez
On Sun, Jun 24, 2018 at 08:43:32AM +, Stuart Henderson wrote: > On 2018-06-23, C. L. Martinez wrote: > > Hi all, > > > > I am using Easy-RSA to manage my home's CA (using elliptic curve > > certificates). I have created a certificate for my OpenBSD gw for IKEv2 > > connections (using strong

kernel panic while reproducing video with mpv

2018-06-24 Thread Walter Alejandro Iglesias
Hello, I had a kernel panic while reproducing a video with mpv. It's my first kernel panic with OpenBSD, so I didn't know how to use ddb(4). Since I'm running my http and smtp server in this machine I cannot entertain myself too much reproducing the panic to get more info. That's why I don't inc

Re: Restoring MIPS32 support as a private project

2018-06-24 Thread Stuart Henderson
On 2018-06-22, wrote: > So, I have a mipsel-none-elf32 bare-metal Clang/LLVM cross-compiler (and the > corresponding bare-metal GNU cross-binutils), and the platform-specific code > ('sys/mips/mips' and 'sys/mips/broadcom') from the FreeBSD source tree as a > starting point. > > Are there any oth

Re: hyper-threading...

2018-06-24 Thread Stuart Henderson
On 2018-06-22, Dan Campbell wrote: > Just saw the news about you disabling hyper-threading by default on Intel > CPUs for security reasons, which I agree with. It would be nice to be able > to do this on systems that don't have a toggle for it in the BIOS, as it > increases single-threaded per

Re: WHere to put certificates for IKEDv2?

2018-06-24 Thread Stuart Henderson
On 2018-06-23, C. L. Martinez wrote: > Hi all, > > I am using Easy-RSA to manage my home's CA (using elliptic curve > certificates). I have created a certificate for my OpenBSD gw for IKEv2 > connections (using strongswan mainly). My question is where do I need to put > OpenBSD certs under /et