Re: relayd redirect not working

2017-03-16 Thread Dave Cohen
Michael, Appreciate you chiming in. I'm a fan of Absolute OpenBSD! I'm having trouble reproducing the settings that I originally wrote about. I've tried to restore /etc/relayd.conf and /etc/pf.conf to what they were when I wrote the email. But right now, neither port 80 nor 443 are

Re: relayd redirect not working

2017-03-12 Thread Dave Cohen
Thanks all, for the several helpful responses in this thread. Here's what I currently have, in /etc/pf.conf. Appears to work. Although, I am rethinking my approach and may terminate TLS at httpd in the future. Still it is nice for me to learn what is possible. match in on egress proto tcp

relayd redirect not working

2017-03-11 Thread Dave Cohen
I'm struggling to figure out why network traffic is not making it to a service I'm running. What I'm trying to do is serve http and https from a non-standard server. (Called `caddy`, if you're curious). I want to run this thing as non-root user. I'm not aware of any way to have the non-root

Re: trouble adding user to a chroot sandbox

2016-11-26 Thread Dave Cohen
On Fri, Nov 25, 2016, at 01:24 PM, trondd wrote: > On Fri, November 25, 2016 2:01 pm, Dave Cohen wrote: > > I'm new to `chroot`. Trying to make sandbox where I can build and run > > untrusted code without affecting the base system. > > > > Following instructions f

trouble adding user to a chroot sandbox

2016-11-25 Thread Dave Cohen
I'm new to `chroot`. Trying to make sandbox where I can build and run untrusted code without affecting the base system. Following instructions from https://www.ibm.com/developerworks/community/blogs/karsten/entry/openbsd_chroot?lang=en, I am at the point where I can `doas chroot

Re: Building electron on OpenBSD

2016-11-03 Thread Dave Cohen
I haven't built those projects specifically, but I've had luck building Go projects on OpenBSD. I recommend building Go from source. It's quite straightforward. On OpenBSD 5.9, you can install Go from ports, then use that to bootstrap the latest 1.7.3 version. I leave the ports version

Re: ksh, ctrl-r followed by arrow key leaves "[D" or "[C" artifacts

2016-08-09 Thread Dave Cohen
I get there, or when the release comes out (which could well happen first). Cheers, -Dave On Tue, Aug 9, 2016, at 05:39 AM, Ingo Schwarze wrote: > Hi, > > Dave Cohen wrote on Sun, Aug 07, 2016 at 04:52:50PM -0700: > > > Problem happens when I navigate command history with ct

ksh, ctrl-r followed by arrow key leaves "[D" or "[C" artifacts

2016-08-07 Thread Dave Cohen
I'll try to describe an annoyance with my ksh setup. Web and man page searching has not provided a solution. I'm relatively new to both ksh and openbsd. I'm on version 5.9 release. Problem happens when I navigate command history with ctrl-r, then use left or right arrow. Hitting left arrow