Re: Redraw of terminal change in 6.6?

2019-11-14 Thread Hiltjo Posthuma
On Wed, Nov 13, 2019 at 03:00:05PM +0100, Mischa wrote: > > On 4 Nov 2019, at 16:51, Mischa wrote: > >> On 2 Nov 2019, at 15:19, Hiltjo Posthuma wrote: > >> On Sat, Nov 02, 2019 at 08:32:50AM +0100, Mischa wrote: > >>> Hi All, > >>> > >>&

Re: doas(1) adjustable timeout length

2019-12-19 Thread Hiltjo Posthuma
On Thu, Dec 19, 2019 at 02:03:19PM -0700, andrej wrote: > Hi Ted, > > On the note of accurate documentation; how about adding the actually defined > timeout for persist rather than the "some time"? > > > Cheers, > Andrej > > > > -- > Sent from: http://openbsd-archive.7691.n7.nabble.com/openbs

Re: man to render pure text? (or a pipe in vi macros ?)

2020-03-02 Thread Hiltjo Posthuma
On Mon, Mar 02, 2020 at 06:25:47PM +0100, Ingo Schwarze wrote: > Hi, > > Marc Chantreux wrote on Mon, Mar 02, 2020 at 11:49:31AM +0100: > > > coming from linux, i'm used to read manpages > > in a vi buffer so i can do much more than > > reading the content. > > I have no idea what the "much more

Re: Multi-domain DKIM signature with OpenSMTPd

2020-03-18 Thread Hiltjo Posthuma
On Wed, Mar 18, 2020 at 06:23:30PM +0100, Matthieu wrote: > Hi everybody > I'm looking to use OpenDKIM with OpenSMTPd. Has anyone ever done it before ? > My first intention is to sign mails from different domains on a single mail > server. So the > > OpenDKIM works with a socket and I don't know h

Re: unveil confusion

2020-04-23 Thread Hiltjo Posthuma
On Thu, Apr 23, 2020 at 09:33:51AM +0200, Peter J. Philipp wrote: > Hi, > > From the unveil manpage: > > The first call to unveil() removes visibility of the entire filesystem > from all other filesystem-related system calls (such as open(2), chmod(2) > and rename(2)), except for t

Re: mouse cursor no longer changes over hyperlinks in Firefox on OpenBSD 7.5

2024-06-10 Thread Hiltjo Posthuma
Hi, iirc it can be worked around by setting in about:config: widget.gtk.legacy-cursors.enabled to true On Mon, Jun 10, 2024 at 03:07:24PM -0600, Andy Bradford wrote: > Hello, > > I'm not sure if this is expected behavior or not, but it seems that > after upgrading to OpenBSD 7.5 the mouse

Re: Do you think this computer would run OpenBSD?

2024-09-08 Thread Hiltjo Posthuma
On Sun, Sep 08, 2024 at 11:28:10AM +0200, Benjamin Stürz wrote: > On 9/8/24 1:05 AM, Steve Litt wrote: > > Hi all, > > > > Do you think this computer would run OpenBSD? > > > > https://refurbished.minisforum.com/products/minisforum-mt4ub1-refurbished > > > > SteveT > > > > Steve Litt > > http:/

OpenBSD ftp and libtls: how to use session resumption with -S

2022-05-05 Thread Hiltjo Posthuma
Hi, I have a question how OpenBSD ftp and session resumption works and can be enabled or used using the option -S session=somepath . If I remember correctly this option was added at the time to improve the performance of TLS handshakes for fetching OpenBSD packages from HTTPS mirrors. I'd also li

Re: OpenBSD ftp and libtls: how to use session resumption with -S

2022-05-05 Thread Hiltjo Posthuma
On Thu, May 05, 2022 at 02:32:04PM +0200, Theo Buehler wrote: > On Thu, May 05, 2022 at 10:59:45AM +0200, Hiltjo Posthuma wrote: > > Hi, > > > > I have a question how OpenBSD ftp and session resumption works and can be > > enabled or used using the option -S sessi

Re: OpenBSD ftp and libtls: how to use session resumption with -S

2022-05-08 Thread Hiltjo Posthuma
On Sat, May 07, 2022 at 10:13:40PM +0200, Marc Espie wrote: > On Fri, May 06, 2022 at 08:13:42AM -, Stuart Henderson wrote: > > On 2022-05-06, Theo Buehler wrote: > > > While we could readily make libssl fall back to the legacy stack if > > > SSL_OP_NO_TICKET is disabled, I don't think this op

Re: Searching for OpenBSD feed rss

2023-03-17 Thread Hiltjo Posthuma
On Fri, Mar 17, 2023 at 09:35:07PM +0100, Daniele Bonini wrote: > > Hello, > > I just launched an early version of RSS Duck http://rssduck.com > and wondering if openbsd.org has its own feed rss? > > However, feel free everyone to submit openbsd releated resources by > following the link "Submit

Re: ssh(1) -v gives debug1: pledge: filesystem full

2021-05-19 Thread Hiltjo Posthuma
On Wed, May 19, 2021 at 01:20:34PM +0200, Marcus MERIGHI wrote: > Hello! > > By accident I noticed that > > $ ssh -v $host > > gives me, among many other lines, this > > debug1: pledge: filesystem full > > Tried with multiple hosts. None of the filesystems on the hosts (client

Re: true=1 0=false

2021-10-03 Thread Hiltjo Posthuma
On Sat, Oct 02, 2021 at 09:51:40PM -0600, flint pyrite wrote: > ah said the wiseman, we can negate... > This is incorrect, please read the man page: https://docs.microsoft.com/en-us/dotnet/api/microsoft.visualbasic.tristate?view=net-5.0 -- Kind regards, Hiltjo

Re: mg: how to see trailing whitespace

2021-11-09 Thread Hiltjo Posthuma
On Tue, Nov 09, 2021 at 10:28:56AM +, Sam Lee wrote: > In the mg text editor, is there a way to show trailing whitespace? I'm > wondering if there is something like vi's `set list`, which can reveal > trailing whitespace in the whole file. Is there a similar functionality > in mg? > Hi, Mayb

Re: dd: /dev/rsd1c: device not configured

2021-11-30 Thread Hiltjo Posthuma
On Tue, Nov 30, 2021 at 02:36:22PM +0100, Luca Ferrari wrote: > Hi, > I'm trying to install 7.0 in a virtual box machine using full disk > encryption, following > . I've done it on > real hardware without a problem, but I'm not understanding the erro

Re: sensor value last change time not updated?

2020-08-14 Thread Hiltjo Posthuma
On Fri, Aug 14, 2020 at 01:46:57PM +0200, Paul de Weerd wrote: > Hi all, > > I'm trying to read temperature sensor values from my ugold(4) device. > Seems to work alright (I get the same temperature reading as sysctl(8) > returns for the sensor), but the 'sensor value last change time' > doesn't s

Re: RSS or Atom syndication for security advisories?

2023-05-21 Thread Hiltjo Posthuma
On Sun, May 21, 2023 at 11:34:57AM +, Xavier B. wrote: > Hi, > > I just want to know if there is an RSS or Atom syndication advisories. > > I have several machines with several operaring system in them: GNU/Linux > (alpine and arch), FreeBSD and OpenBSD. > I have a news reader and I'm subscr

Re: RSS or Atom syndication for security advisories?

2023-05-21 Thread Hiltjo Posthuma
you to add RSS security advisories. > Hi, You're welcome, but to be clear: I only posted the link. http://undeadly.org/cgi?action=about > Thanks, > Xavier > > On Sun, 21 May 2023 16:03:54 +0200 > Hiltjo Posthuma ha escrit: > > > On Sun, May 21, 2023

Re: Concise passage in OpenBSD documentation about motivation

2023-07-19 Thread Hiltjo Posthuma
On Wed, Jul 19, 2023 at 11:36:55AM +0900, lain. wrote: > 90% of the developers make bad code, yes. > Either because of their lack of experience, their choice of tools, or > because of requirements set by managers who just follow the latest > trends without having any knowledge of programming themse

Re: malloc leak detection

2023-10-19 Thread Hiltjo Posthuma
On Thu, Oct 19, 2023 at 08:27:37PM +0200, Otto Moerbeek wrote: > Hello, > > I made a small tutorial with some usage notes for the new malloc leak > detection which is available in OpenBSD 7.4: > > https://www.drijf.net/malloc/ > > While I have you attention, I'd like to mention that I can

Re: How to syspatch from a different server?

2017-05-15 Thread Hiltjo Posthuma
On Mon, May 15, 2017 at 09:05:38AM +0200, Federico Giannici wrote: > We use an internal server to speedup the upgrade of OS and packages of all > our internal machines (all amd64). We simply set /etc/installurl in every > machine to point to our server were there are the OS tarballs and packages. >

Re: OpenBSD 6.1 current relayd TLS error "cannot load certificates"

2017-06-03 Thread Hiltjo Posthuma
On Fri, Jun 02, 2017 at 08:38:50PM -0700, Dillon Jay Pena wrote: > I'm not understanding why I'm getting a relayd error. Thanks in advance. > > According to > http://man.openbsd.org/cgi-bin/man.cgi/OpenBSD-current/man5/relayd.conf.5#listen_on, > I just need address.crt and private/address.key to

Re: softraid crypto seem really slower than plain ffs

2017-09-15 Thread Hiltjo Posthuma
On Fri, Sep 15, 2017 at 12:24:32PM +0200, Joel Carnat wrote: > Hi, > > Initially comparing I/O speed between FreeBSD/ZFS/GELI and > OpenBSD/FFS/CRYPTO, I noticed that there were a huge difference between > plain and encrypted filesystem using OpenBSD. I ran the test on a 1 > vCore/1GB RAM Vultr VP

Re: gzip compression and httpd/relayd

2018-01-26 Thread Hiltjo Posthuma
On Thu, Jan 25, 2018 at 09:37:06PM +0100, Michael Hekeler wrote: > Am Thu, 25 Jan 2018 19:47:09 +0100 > schrieb Thuban : > > > I'm very happy with relayd + httpd. > > Relayd deals with headers and httpd serve files. > > > > I know httpd doesn't have gzip compression. > > > > 1. Do you know if it

Re: gzip compression and httpd/relayd

2018-01-28 Thread Hiltjo Posthuma
On Sun, Jan 28, 2018 at 10:18:30AM +0100, Thuban wrote: > > > Yes it's possible. Make sure to set the appriopriate HTTP headers aswell > > with relayd: read "Accept-Encoding" and if it's acceptable set > > "Content-Encoding". > > Indeed, it works. > > relayd.conf : > > match response he

Re: van Sprundel

2018-01-28 Thread Hiltjo Posthuma
On Sun, Jan 28, 2018 at 12:56:26PM +, Andy Lemin wrote: > Really, did he actually post any real vulnerabilities to OpenBSD! > > This article has to be govt propaganda.. > > https://www.csoonline.com/article/3250653/open-source-tools/is-the-bsd-os-dying-some-security-researchers-think-so.amp.h

Re: go get abort trap?

2018-03-07 Thread Hiltjo Posthuma
On Wed, Mar 07, 2018 at 01:46:43PM -0800, jungle Boogie wrote: > Hi All, > > With the latest openbsd snapshot: > OpenBSD 6.3-beta (GENERIC.MP) #40: Wed Mar 7 12:51:00 MST 201 > > It seems I cannot build or update go projects: > > $ go get -u github.com/justwatchcom/gopass > Abort trap (core dum

Re: Missing relayd.conf(5) example

2018-04-21 Thread Hiltjo Posthuma
On Fri, Apr 20, 2018 at 02:55:04PM -0700, Aaron Miller wrote: > Hi all, > > I was able to setup relayd(8) with URL-based redirection to either a > local application server or to httpd(8), both listening on lo0; relayd > also terminates TLS. However, the man pages were not very helpful and I > ende

Re: OT: Temperature sensors suggestions?

2018-05-19 Thread Hiltjo Posthuma
On Fri, May 18, 2018 at 04:42:01PM -0400, Daniel Ouellet wrote: > Does anyone have a decent temperature sensors that can connect to an > OpenBSD server and be reliable and give any decent reading via either > USB or Serial port or even stand alone via Ethernet? > > I asked because yes I can use th

relayd as a reverse-proxy in front of OpenBSD httpd + custom Golang httpd

2015-10-25 Thread Hiltjo Posthuma
Hi folks!, I have a question about how to convert my current setup with nginx + fastcgi to OpenBSD httpd + slowcgi and relayd. The setup is pretty simple, I have the follow subdomains: www.mydomain.org - OpenBSD httpd, static pages. git.mydomain.org - OpenBSD httpd, slowcgi and cgit. som

Re: relayd as a reverse-proxy in front of OpenBSD httpd + custom Golang httpd

2015-10-27 Thread Hiltjo Posthuma
On Sun, Oct 25, 2015 at 7:30 PM, Hiltjo Posthuma wrote: > My /etc/relayd.conf looked something like this: > > table { 127.0.0.1 } > > http protocol "protmyapp" { > return error > > # TODO: forward non-matching traffic to standard

Re: sshfs permission problem

2018-08-10 Thread Hiltjo Posthuma
On Fri, Aug 03, 2018 at 01:44:39PM +0200, Rudolf Sykora wrote: > Hello! > > I run > > doas sshfs syk...@pc109.fzu.cz: /home/ruda/mnt/fzu -o uid=1000 -o gid=1000 > > But then the mount point is owned (after the mounting) by root: > > drwx-- 1 root wheel512 Aug 3 13:22 fzu > > Hence I

Re: sshfs permission problem

2018-08-10 Thread Hiltjo Posthuma
On Fri, Aug 10, 2018 at 10:38:52AM +0200, Hiltjo Posthuma wrote: > On Fri, Aug 03, 2018 at 01:44:39PM +0200, Rudolf Sykora wrote: > > Hello! > > > > I run > > > > doas sshfs syk...@pc109.fzu.cz: /home/ruda/mnt/fzu -o uid=1000 -o gid=1000 > > > >

Re: httpd write file out from within cgi script

2018-08-11 Thread Hiltjo Posthuma
On Sat, Aug 11, 2018 at 07:58:02PM +0200, Toru Okada wrote: > Hi: > > I want to write a file out from within a perl cgi script. This is obviously > not possible in the standard configuration of httpd. The normal output works > perfectly. What is to do? > > #!/usr/bin/perl > > print("Content-Ty

Re: httpd write file out from within cgi script

2018-08-11 Thread Hiltjo Posthuma
/cgi-bin/*" { > fastcgi > root "/" > } > } > > # ls -l /var/www/usr/bin/ > total 20 > -rwxr-xr-x 1 root daemon 9296 Apr 15 11:19 perl > > # ls -l /var/www/usr/lib/ > total 15576 > -r--r--r-- 1 root daemon

Re: Portslist

2018-11-24 Thread Hiltjo Posthuma
On Sat, Nov 24, 2018 at 02:32:02PM +0100, Jan Betlach wrote: > Hi all, > > strange problem. I am running -current. I have downloaded latest ports > tree .tar.gz to /temp, then tar xzf in /usr. > All ports are where they belong (/usr/ports). > However when searching anything (make search key=packag

Re: pkg_add source code modification

2018-12-15 Thread Hiltjo Posthuma
On Sat, Dec 15, 2018 at 07:49:19PM +0200, Mihai Popescu wrote: > Hello, > > I want to modify the char used for pkg_add (and other pkg_ suite) > progress bar from "*" to "|" but i am unable to figure out where is > the actual code for this. I managed to found /usr/sbin/pkg_add but > there are anoth

Re: Httpd unix socket

2018-12-23 Thread Hiltjo Posthuma
On Sun, Dec 23, 2018 at 02:03:25AM +0100, Flipchan wrote: > Hey, > > I have a http server listening on a socket in /var/www/run/listen.sock , with > permissions 0666 and www:www i can curl the socket and it works , but it does > not work when i try to use it with httpd, maybe because httpd only

Re: USB stick recovery after dd with miniroot64.fs

2019-01-03 Thread Hiltjo Posthuma
On Thu, Jan 03, 2019 at 06:19:41PM +0200, Mihai Popescu wrote: > Hello, > > I used a storage USB stick to dd the miniroot64.fs on it. It was the > wrong one with some useful files saved on it and I did the dd > if=miniroot64.fs of=/dev/rsd1c bs=1m and let it write. The USB size is > almost 32Gb, i

Re: doas called multiple times hangs

2019-01-20 Thread Hiltjo Posthuma
On Sun, Jan 20, 2019 at 11:15:38AM +0100, Dariusz Sendkowski wrote: > Hi, > > Calling 'doas' in a loop makes the machine hang. > I guess this is not an expected behavior. > It can be checked by executing the following simple bash script: > > for i in {0..2} > do > doas ls some_dir > done > >

Re: doas called multiple times hangs

2019-01-21 Thread Hiltjo Posthuma
On Mon, Jan 21, 2019 at 11:06:58AM +0100, Dariusz Sendkowski wrote: > I applied this patch, as is, to the stable sources and it works now. > Thanks. > > I've tested this patch too on 6.4 on amd64 and it seems fixed now. Thanks Ted for the patch :) A quick little program to reproduce the issue

Re: Openrsync poll Hangup

2019-06-15 Thread Hiltjo Posthuma
On Sat, Jun 15, 2019 at 02:44:47PM +0100, Kevin Chadwick wrote: > Whilst getting current packages from the leaseweb mirror. I kept getting a > stall > followed by poll:hangup with 6.5 openrsync -v -a --delete > > Eventually all the packages download as it gets further each time. > > I tried buil

Re: Setting charset in Content-Type header with relayd and httpd

2019-10-29 Thread Hiltjo Posthuma
On Tue, Oct 29, 2019 at 08:41:54PM +0100, Bertalan Zoltán Péter wrote: > Hello, > > I have a working httpd server behind a relayd reverse proxy. > > Recently I wanted to host some simple text files in a directory that > contained UTF-8 characters. Unfortunately, I noticed that when opened > from

Re: Redraw of terminal change in 6.6?

2019-11-02 Thread Hiltjo Posthuma
On Sat, Nov 02, 2019 at 08:32:50AM +0100, Mischa wrote: > Hi All, > > Not sure if this is on my side, setting, or if something has changed with > tmux or top redrawing of the terminal. > I am using tmux, over mosh, on one of my jump hosts to connect to other > hosts. In some of the windows I hav

Re: Openup and stable

2017-03-25 Thread Hiltjo Posthuma
On Sat, Mar 25, 2017 at 08:49:22AM +, Andreas Thulin wrote: > Hi all! > Hey!, > I'm running 6.0 -stable using openup for patching. I think it works very > well since it's so convenient. At the same time I realise there are trust > and security concerns with people like myself, who "blindly"

Re: Kernel panic on Dell R210 with OpenBSD 6.0 (relayd related ?)

2017-03-28 Thread Hiltjo Posthuma
On Tue, Mar 28, 2017 at 02:39:44PM +0200, Mathieu BLANC wrote: > On Tue, Mar 28, 2017 at 02:22:28PM +0200, Mathieu BLANC wrote: > > I can reproduce the bug (on the slave firewall) as many times as I want. > > > > I've just read https://www.openbsd.org/ddb.html and saw that you need a trace > for

Re: [relayd] keep origin IP in logs

2017-04-09 Thread Hiltjo Posthuma
On Sat, Apr 08, 2017 at 08:48:43PM +0200, Thuban wrote: > Hello, > I use relayd to deal with HTTP headers as suggested here [1]. > My problem is that in httpd logs, the origin IP is 127.0.0.1 and thats > not very handy to track bruteforce attacks (in example). > > Do you have any advice to keep th

Re: [relayd] keep origin IP in logs

2017-04-09 Thread Hiltjo Posthuma
On Sun, Apr 09, 2017 at 11:51:25AM +0200, Thuban wrote: > * Hiltjo Posthuma le [09-04-2017 11:42:23 +0200]: > > On Sat, Apr 08, 2017 at 08:48:43PM +0200, Thuban wrote: > > > Hello, > > > I use relayd to deal with HTTP headers as suggested here [1]. > > > M

Re: [relayd] keep origin IP in logs

2017-04-09 Thread Hiltjo Posthuma
On Sun, Apr 09, 2017 at 11:30:37AM +, Stuart Henderson wrote: > On 2017-04-09, Thuban wrote: > > * Hiltjo Posthuma le [09-04-2017 11:42:23 +0200]: > >> On Sat, Apr 08, 2017 at 08:48:43PM +0200, Thuban wrote: > >> > Hello, > >> > I use relayd to d

Re: relayd splice timeout

2017-04-28 Thread Hiltjo Posthuma
On Thu, Apr 27, 2017 at 07:11:56PM +0200, Markus Rosjat wrote: > Hi there, > > I was playing arround wit relayd just to get a feeling for it. So I started > with relaying a ssh connection to a machine behind my gateway. > > But it seems there is some kind of config value I miss because after like

Re: OpenBSD 6.1: relayd does not start more than 3 processes

2017-05-05 Thread Hiltjo Posthuma
On Fri, May 05, 2017 at 12:30:56PM +0200, Maxim Bourmistrov wrote: > > Hey, > on OpenBSD 6.0-stable I have following configuration for relayd: > > snip——— > interval 10 > timeout 1200 > prefork 15 > log all > —— > > Respective login.conf to spawn more relayd procs: > >

Re: OpenBSD 6.1: relayd does not start more than 3 processes

2017-05-05 Thread Hiltjo Posthuma
On Fri, May 05, 2017 at 04:33:02PM +0200, Florian Ermisch wrote: > > > Am 5. Mai 2017 16:05:09 MESZ schrieb Maxim Bourmistrov > : > > > >> 5 maj 2017 kl. 15:55 skrev Maxim Bourmistrov > >: > >> > >> > >>> 5 maj 2017 kl. 14:41 skr

Re: Deadlink in current.html

2016-05-08 Thread Hiltjo Posthuma
On Sun, May 08, 2016 at 11:28:33AM +0200, Heiko wrote: > Hello Team, > > there is a deadlink in current.html @ 2016/05/07 - MAJOR ABI BREAK > > "Not Found > The requested URL /faq/r20160319 was not found on this server." > Nice find, I think it was intended to link to the item on the same page

Re: OpenBSD 5.9/amd64 (2-Jun-2016), httpd(40862): [syscall 5 "wpath"] error when attempting to start httpd with ssl

2016-06-13 Thread Hiltjo Posthuma
On Thu, Jun 09, 2016 at 01:19:50PM -0500, Troy Frericks wrote: > ... > > I've spent hours googeling, and found only one mention that this may be a > kernel bug. > I've checked theOpenBSD 5.9 patch list, the OpenBSD 5.9 -current changes > log. > By the way, instead of googeling a nice way to see