Re: npppd - problem with simultaneous sessions

2021-01-06 Thread YASUOKA Masahiko
Hi, On Wed, 6 Jan 2021 21:33:49 +0100 Radek wrote: I have a box with relatively fresh install of 68/amd64, fully syspatched. There is a npppd server running on it. The problem is that I can have only one nppp session at one time. If the second vpn user connects the box, the first nppp

Re: help needed with httpd.conf and rewrite directive

2021-01-06 Thread John McGuigan
httpd's regex is based on Lua's, the following site will help you figure it out: https://riptutorial.com/lua/example/20315/lua-pattern-matching Keep in mind that this list isn't really tolerant of those who just want pre-packaged solutions, you'll have to put in some elbow work. On Wed, Jan 6,

Re: help needed with httpd.conf and rewrite directive

2021-01-06 Thread Kevin
Thanks Edgar, Unfortunately, still no dice. Maybe there's a bona fide expert who can chime in and pull my ass from the fire here. :-) Kevin On Wed, Jan 6, 2021 at 3:46 PM Edgar Pettijohn wrote: > On Wed, Jan 06, 2021 at 02:12:40PM -0800, Kevin wrote: > > Hey gang, > > > > I'm trying to setup

Re: msdos partition is too small in arm64/miniroot68.img

2021-01-06 Thread adr
On Wed, Jan 06, 2021 at 03:53:53PM +, tech-lists wrote: > Hi, > > I'm trying to install openbsd 6.8 on a raspberry pi 4/8GB. The files I need > to add to the msdos partition are, in total, too > large to fit (the partition is only 4MB) > > Is there some method of increasing the msdos

Re: help needed with httpd.conf and rewrite directive

2021-01-06 Thread Edgar Pettijohn
On Wed, Jan 06, 2021 at 02:12:40PM -0800, Kevin wrote: > Hey gang, > > I'm trying to setup some rewrites in httpd that are needed to make some > software we just purchased work. > > The vendor's official docs only support nginx and apache, and I'm having a > helluva time understanding how to

Bug in pkgtools version parsing logic?

2021-01-06 Thread Jeremy O'Brien
Hi there, I'm looking through the pkgtools code to determine how the version comparison logic works, and I came across this block of code at /usr/libdata/perl5/OpenBSD/PackageName.pm:385: sub from_string { my ($class, $string) = @_; my $o = bless { deweys => [ split(/\./o,

help needed with httpd.conf and rewrite directive

2021-01-06 Thread Kevin
Hey gang, I'm trying to setup some rewrites in httpd that are needed to make some software we just purchased work. The vendor's official docs only support nginx and apache, and I'm having a helluva time understanding how to make them work in our beloved OpenBSD. Below is the nginx sample they

npppd - problem with simultaneous sessions

2021-01-06 Thread Radek
Hi @misc, I have a box with relatively fresh install of 68/amd64, fully syspatched. There is a npppd server running on it. The problem is that I can have only one nppp session at one time. If the second vpn user connects the box, the first nppp session hangs/drops. I probably have missed

Re: httpd configuration.

2021-01-06 Thread Péter Bertalan Zoltán
consultor [2021-01-06 08:43:16 -0800]: >I did some changes, and it does not work yet! I receive a 404 page Not >Found. We can’t help you based on these wee fragments of information. You receive a 404 for what? What is the request? Does the requested file actually exist where it should? Does the

Re: msdos partition is too small in arm64/miniroot68.img

2021-01-06 Thread Christer Solskogen
On Wed, Jan 6, 2021 at 5:39 PM Theo de Raadt wrote: > The miniroot is 33MB because it contains many install firmwares, and > it is 97% full. > > True, but the miniroot has space available to expand the msdos partition. OP: Search the list, I've described a way to do that after you've written the

Snort for httpd’s https sessions?!

2021-01-06 Thread Luke Small
Is there a way for a hook(?) for snort to read plaintext https sessions in OpenBSD’s httpd?! That’d be SUPER SWEET!-- -Luke

Re: Git Daemon rc Script Not Stopping

2021-01-06 Thread Alexander Hall
It was merely a hunch. Thinking of it, I believe there is some magic to cope with that. Never mind my likely red herring. /Alexander On January 6, 2021 3:49:46 PM GMT+01:00, ben wrote: >>Without looking too far, check what pgrep gives. My first suspicion is >>the initial space in your

Re: httpd configuration.

2021-01-06 Thread consultor
I did some changes, and it does not work yet! I receive a 404 page Not Found. # httpd -n ok # $OpenBSD: httpd.conf,v 1.20 2018/06/13 15:08:24 reyk Exp $ server "example.com" { listen on * port 80 root "/htdocs/example/" location "/.well-known/acme-challenge/*" {

Re: msdos partition is too small in arm64/miniroot68.img

2021-01-06 Thread Theo de Raadt
The miniroot is 33MB because it contains many install firmwares, and it is 97% full. I suggest you find another way of installing. > I'm trying to install openbsd 6.8 on a raspberry pi 4/8GB. The files I > need to add to the msdos partition are, in total, too > large to fit (the partition is

msdos partition is too small in arm64/miniroot68.img

2021-01-06 Thread tech-lists
Hi, I'm trying to install openbsd 6.8 on a raspberry pi 4/8GB. The files I need to add to the msdos partition are, in total, too large to fit (the partition is only 4MB) Is there some method of increasing the msdos partition size of the miniroot.fs image? I'd be doing this from either a

Re: Git Daemon rc Script Not Stopping

2021-01-06 Thread ben
>Without looking too far, check what pgrep gives. My first suspicion is >the initial space in your 'daemon_flags'. Why does daemon_flags not permit spaces? rc.subr(8) has no information on including or lack of whitespace in daemon_flags.

Re: Wireguard config and confusions

2021-01-06 Thread Stuart Henderson
On 2021-01-05, Peter Fraser wrote: > I did get it work, but it took a lot of tries caused by my confusion. > I hope this message speed up other who try to configure wireguard. > I was trying to connect a windows 10 computer to an OpenBsd computer. > The problem was the OpenBSD computer was a 20

Re: osp6d p2p send_ls_update

2021-01-06 Thread Claudio Jeker
On Tue, Dec 29, 2020 at 06:39:36PM +0200, Kapetanakis Giannis wrote: > Hi, > > I've changed today my config from broadcast to p2p for both ipv4 and ipv6. > > In ospf6d I get this quite often: > > Dec 29 17:39:00 ospf6d[40695]: send_packet: error sending packet on interface > vlanX: Network is

Re: httpd configuration.

2021-01-06 Thread Bertalan Zoltán Péter
Hi, consultor [2021-01-05 18:43:26 -0800]: >works correctly with the main domain, but not with the second >server "consultores.ca/ENA" { >server "consultores.ca" { These are not different domains. The domain part is ‘consultores.ca’. If you would like requests made to consultores.ca/ENA/* to

Re: httpd configuration.

2021-01-06 Thread Paco Esteban
On Tue, 05 Jan 2021, consultor wrote: > Hello > > I have a server 6.8 that works correctly with the main domain, but it does > not work with the second. Could you please help? > > httpd.conf > > # $OpenBSD: httpd.conf,v 1.20 2018/06/13 15:08:24 reyk Exp $ > > server "consultores.ca" { >