Re: WireGuard, keepalive time doubled?

2021-04-15 Thread Jan Johansson
Alexander Hall wrote: > > Is this to be expected or am I missing something? > > > > Both sides run OpenBSD 6.8 amd64 if that affects anything. > > Just a random thought; are you running on actual hardware or > testing with some sort of virtualization involved? VMM and > friends are known to

How to split (A/B) test landing pages using httpd(8)

2021-04-15 Thread Clint Pachl
Does anyone know if it's possible to rotate/alternate between two files for the same given request path, using just httpd? For example, I want to split test two pages: /test/A & /test/B. I would like to serve half of the traffic to each for the request path /test/. Ideally, I would like to do an

Re: WireGuard, keepalive time doubled?

2021-04-15 Thread Alexander Hall
On Wed, Apr 14, 2021 at 01:14:47PM +0200, Jan Johansson wrote: > Hello! > > I was experimenting with wireguard keepalive and noticed that > keepalive packets seems to be sent on double the time that I have > set which I find a bit unintuitive. > ... > > Is this to be expected or am I missing

Re: TouchPad, right clicking, and cwm

2021-04-15 Thread mgraves
There is probably a better way, but I use the following script run from my .xsession file. This works for almost everything except for Chrome. For Chrome the scrolling is still non-natural. Script XFixMouse.sh - #!/bin/sh #ID Button #- #1

Re: TouchPad, right clicking, and cwm

2021-04-15 Thread Ulf Brosziewski
Could you remove the "ClickPad" option from the configuration file and try two-finger clicks again? The combination of that option with the "ClickFinger" mechanism is broken, and you probably don't need it if you don't use "soft-button areas". Three-finger clicks should work - if your hardware

libedit history size required

2021-04-15 Thread Björn Gohla
hi all, i came across this little problem when using the edit library (https://github.com/openbsd/src/tree/master/lib/libedit): when using the history facility one needs to explicitly set a size, e.g., history(hist, , H_SETSIZE, 100); otherwise history will not work. the man page history(3)

Re: pkg_add fails: 6.9 no such directory

2021-04-15 Thread Stefan Sperling
On Thu, Apr 15, 2021 at 09:25:31PM +0100, Björn Gohla wrote: > > hi all, > > i'm on 6.9 current. installing any package (example below) fails since there > is > apparently no 6.9 release directory. what am i doin wrong? > > thanks for any hints. Try again like this: pkg_add -Dsnap gbc This

pkg_add fails: 6.9 no such directory

2021-04-15 Thread Björn Gohla
hi all, i'm on 6.9 current. installing any package (example below) fails since there is apparently no 6.9 release directory. what am i doin wrong? thanks for any hints. --- titanic# pkg_add gbc https://cdn.openbsd.org/pub/OpenBSD/6.9/packages/amd64/: no such dir Can't find gbc titanic# uname

Re: Another potential awk or xargs bug?

2021-04-15 Thread Otto Moerbeek
On Thu, Apr 15, 2021 at 04:29:17PM +0200, Christian Weisgerber wrote: > Jordan Geoghegan: > > > --- /tmp/bad.txt  Wed Apr 14 21:06:51 2021 > > +++ /tmp/good.txt  Wed Apr 14 21:06:41 2021 > > I'll note that no characters have been lost between the two files. > Only the order is different. > > >

Re: Another potential awk or xargs bug?

2021-04-15 Thread Christian Weisgerber
Jordan Geoghegan: > --- /tmp/bad.txt  Wed Apr 14 21:06:51 2021 > +++ /tmp/good.txt  Wed Apr 14 21:06:41 2021 I'll note that no characters have been lost between the two files. Only the order is different. > The only thing that changed between these runs was me using either xargs -P 1 > or -P

Another potential awk or xargs bug?

2021-04-15 Thread Jordan Geoghegan
Hello, I've found some very interesting behaviour when subjecting various awk implementations to some very specific circumstances. I'm basically looking for a sanity check here to confirm if I'm just wildly flailing, or if I am indeed onto something here. Here's my situation: When parsing

Re: Last shutdown date of old OpenBSD machine

2021-04-15 Thread Otto Moerbeek
On Thu, Apr 15, 2021 at 11:42:14AM +0200, Ales Tepina wrote: > Hi! > > I have a really old machine (it has DIN keyboard connector) with OpenBSD > installed on it that was used as a router and its been sitting > in the basement for quite a few years. I would like to find out the date > when

Re: X11 Freeze and Crash on Lenovo Thinkpad T14 AMD GEN1

2021-04-15 Thread niamkik
> It seems a user with a T14s with similar hardware reported issues with > hibernate. [1] Does your system properly suspend/resume and > hibernate/resume? Yes, without any issue. I was thinking at first it should have been due to suspend/resume, but it's not the case. issue [1] seems not to be

Re: Last shutdown date of old OpenBSD machine

2021-04-15 Thread Tom Smyth
Check dmesg i think that will have the boot time / date in it On Thursday, 15 April 2021, Ales Tepina wrote: > Hi! > > I have a really old machine (it has DIN keyboard connector) with OpenBSD > installed on it that was used as a router and its been sitting > in the basement for quite a few

Re: WireGuard, keepalive time doubled?

2021-04-15 Thread Stuart Henderson
On 2021-04-14, Jan Johansson wrote: > Hello! > > I was experimenting with wireguard keepalive and noticed that > keepalive packets seems to be sent on double the time that I have > set which I find a bit unintuitive. FWIW I'm using wgpka 75 with one peer in one place, and wgpka 50 with several

Last shutdown date of old OpenBSD machine

2021-04-15 Thread Ales Tepina
Hi! I have a really old machine (it has DIN keyboard connector) with OpenBSD installed on it that was used as a router and its been sitting in the basement for quite a few years. I would like to find out the date when the machine was last shutdown. What would be the best way to go about

TouchPad, right clicking, and cwm

2021-04-15 Thread tetrahedra
Hi, I'm trying to get my TouchPad/trackpad to right click. I put the following in my /etc/X11/xorg.conf.d/70-synaptics.conf: Section "InputClass" Identifier "touchpad" Driver "synaptics" MatchIsTouchpad "on" Option "ClickPad" "on" Option "VertEdgeScroll"