Re: Openrsync and macOS -- Anyone gotten it working with -r option to OpenBSD host?

2025-07-15 Thread Mike Fischer
> Am 15.07.2025 um 22:12 schrieb Peter Nicolai Mathias Hansteen > : > > > >> On 15 Jul 2025, at 21:58, Mike Fischer wrote: >> >> >>> Am 12.07.2025 um 23:55 schrieb Sean Kamath : >>> >>> Seems odd that openrsync (on Apple) ->

Re: Openrsync and macOS -- Anyone gotten it working with -r option to OpenBSD host?

2025-07-15 Thread Mike Fischer
> Am 12.07.2025 um 23:55 schrieb Sean Kamath : > > Seems odd that openrsync (on Apple) -> openrsync (on OpenBSD) wouldn’t work, > but who knows what Apple has done to this under the hood, even though the man > page says: I’m just curious: None of the macOS versions I have checked (Ventura, So

Re: ipv6 prefix maintenance

2025-07-05 Thread Mike Fischer
> Am 05.07.2025 um 08:56 schrieb Geoff Steckel : > > On 7/5/25 12:18 AM, Mike Fischer wrote: >>> Am 04.07.2025 um 22:08 schrieb Geoff Steckel : >>> >>> Can anyone point me at a reference/discussion for ipv6 server addressing? >>> >>> rad

Re: ipv6 prefix maintenance

2025-07-04 Thread Mike Fischer
> Am 05.07.2025 um 07:59 schrieb Crystal Kolipe : > > On Sat, Jul 05, 2025 at 06:18:18AM +0200, Mike Fischer wrote: >> BTW: The correct prefix for ULA is fc00::/7 (RFC 4193, RFC 8190). > > Technically yes, the prefix is specified as fc00::/7, but bit 7 is supposed &

Re: ipv6 prefix maintenance

2025-07-04 Thread Mike Fischer
> Am 04.07.2025 um 22:08 schrieb Geoff Steckel : > > Can anyone point me at a reference/discussion for ipv6 server addressing? > > rad(8) & slaacd(8) work well for clients. > > I have OpenBSD servers with IPv4 addresses including local DNS for them. > I would like to allow naive clients to conne

Re: % in crontab(5)s [Was: /bin/sh and RANDOM documention error?]

2025-05-17 Thread Mike Fischer
OT for this list, as it doesn’t pertain to OpenBSD. So I’m not going to continue that discussion here to avoid boring the rest of the list subscribers ;-) Mike > Am 17.05.2025 um 11:31 schrieb Marcus MERIGHI : > > fischer+o...@lavielle.com (Mike Fischer), 2025.05.16 (Fri) 17:53 (CEST

Re: /bin/sh and RANDOM documention error?

2025-05-16 Thread Mike Fischer
> Am 16.05.2025 um 19:45 schrieb Jan Stary : > The (intended) semantics are slightly different from ~ * * * * /home/username/bin/script.sh The latter calculates the random value once when the crontab is loaded, while the former calculates it each time the crontab entry is tri

Re: /bin/sh and RANDOM documention error?

2025-05-16 Thread Mike Fischer
> Am 16.05.2025 um 17:33 schrieb Jan Stary : > >>> How exactly are you using RANDOM in a crontab, >> >> * * * * * time $((RANDOM % 60));/home/username/bin/script.sh > > That doesn't make any sense: do you mean sleep(1) instead of time(1)? Sorry, yes. sleep is correct. > Show the actual line

Re: /bin/sh and RANDOM documention error?

2025-05-16 Thread Mike Fischer
> Am 16.05.2025 um 15:35 schrieb Jan Stary : > > On May 16 15:10:48, fischer+o...@lavielle.com wrote: >> The sh(1) manage does not mention the RANDOM variable. > > But it mentions that sh(1) is ksh(1) > > This version of sh is actually ksh in disguise. Yes, I mentioned that: >sh(1) does ment

/bin/sh and RANDOM documention error?

2025-05-16 Thread Mike Fischer
The sh(1) manage does not mention the RANDOM variable. However the following script seems to work: ``` #!/bin/sh echo $RANDOM ``` (Same as `$ sh -c 'echo $RANDOM'`.) OTOH using RANDOM in a crontab(5), which has the SHELL=/bin/sh line, does not seem to work. sh(1) does mention that it is based

No port updates on arm64?

2025-02-07 Thread Mike Fischer
Hi! I’m running a UTM arm64 VM on a Mac mini M2 Pro (which works fine). But pkg_add(1) does not update any ports. I have checked several mirrors and the updated ports don’t seem to be present on any of them. The …/pub/OpenBSD/7.6/packages-stable/arm64 directory seems to be missing on all of th

Re: Sizing a server for modest web/mail ?

2024-12-10 Thread Mike Fischer
> Am 10.12.2024 um 21:59 schrieb Implausibility : > > >> On Dec 10, 2024, at 3:40 PM, Mike Fischer wrote: >> >> For a low-traffic site that should be fine. >> >> The actual disk footprint depends on your needs of course. Only you know >>

Re: Sizing a server for modest web/mail ?

2024-12-10 Thread Mike Fischer
> Am 10.12.2024 um 21:09 schrieb Implausibility : > > I'm wonder if there's a way to estimate if the server I have will meet the > needs of these sites -- the stack I'm using is vanilla 7.6 plus MySQL, Nginx, > PHP8.3+FPM, and OpenSMTPd. The hardware is two-cores of Intel CPU @ 3Ghz, > 4GB R

Re: rc.d(8) script for non-daemon?

2024-10-19 Thread Mike Fischer
> Am 19.10.2024 um 16:59 schrieb Antoine Jacoutot : > > On 2024-10-19 16:34, Mike Fischer wrote: >> Perfect! That was it. Many thanks!!! >> Mike >> PS. Where did I miss this in the documentation? > > man rc.subr Right! Thanks. For some reason

Re: rc.d(8) script for non-daemon?

2024-10-19 Thread Mike Fischer
Perfect! That was it. Many thanks!!! Mike PS. Where did I miss this in the documentation? > Am 19.10.2024 um 16:26 schrieb Antoine Jacoutot : > >> • Created the following script and made it executable: >> # cat /etc/rc.d/radicale3 >>

Re: rc.d(8) script for non-daemon?

2024-10-19 Thread Mike Fischer
h seems to be waiting for something. > I believe to have done something like this compiling an old version of php by > myself. Huh? I don’t see any connection to my problem here. > Let me reopen my station and search for the file I produced to do > some more comparisons. > >

rc.d(8) script for non-daemon?

2024-10-19 Thread Mike Fischer
Hi! I’m trying to build an rc.d(8) script for a service that does not daemonize on OpenBSD 7.6 stable amd64. (Actually the service is a Python script, Radicale 3.3.0 to be precise.) Currently everything works but I’m getting a timeout from rcctl start. See section Questions below. Background

Re: ssh datetime display at connection closed

2024-10-14 Thread Mike Fischer
Just use: ssh @;date No need to change OpenSSH for this. (And OpenSSH is a separate project from OpenBSD so requests should go its mailing list / maintainers anyway. See https://openssh.org) HTH Mike > Am 15.10.2024 um 06:27 schrieb Dan : > > Hello, > > I think a fair request having date & t

Re: clever grep..

2024-10-13 Thread Mike Fischer
> Am 14.10.2024 um 04:35 schrieb Dan : > > grep "return 301 $host$request_uri" *.conf The shell will interpret any $… sequences in double quotes as variables. Use single quotes or try to escape the $ characters. HTH Mike

Re: IPv6 static host address inside dynamic network

2024-10-13 Thread Mike Fischer
> Am 14.10.2024 um 04:58 schrieb Chris Ross : > > > >> On Sep 3, 2024, at 16:48, Chris Ross wrote: >>> >>> >>> On Sep 3, 2024, at 10:28, Mike Fischer wrote: >>> >>> There are two parts to this: >>> - The IPv6 pref

Re: unbound(8) + host(1) + AAAA-only issue

2024-09-20 Thread Mike Fischer
not sure that I would agree to this logic, but I can live with it. Thanks for everyones help in clarifying what is going on. Mike > Am 20.09.2024 um 14:26 schrieb Mike Fischer : > > >> Am 20.09.2024 um 13:56 schrieb Stuart Henderson : >> >> On 2024-09-20, Mike F

Re: unbound(8) + host(1) + AAAA-only issue

2024-09-20 Thread Mike Fischer
> Am 20.09.2024 um 14:03 schrieb Stuart Henderson : > > On 2024-09-20, Stuart Henderson wrote: >> On 2024-09-20, Mike Fischer wrote: >>> [snip] >> Well that's interesting. >> >> Querying any of the auth servers directly with host or dig, I d

Re: unbound(8) + host(1) + AAAA-only issue

2024-09-20 Thread Mike Fischer
> Am 20.09.2024 um 13:56 schrieb Stuart Henderson : > > On 2024-09-20, Mike Fischer wrote: >> >>> Am 20.09.2024 um 12:13 schrieb Stuart Henderson : >>> >>>> From what you've shown I can only assume the auth servers are broken >>> a

Re: unbound(8) + host(1) + AAAA-only issue

2024-09-20 Thread Mike Fischer
> Am 20.09.2024 um 13:13 schrieb Peter Hessler : > > On 2024 Sep 20 (Fri) at 12:45:08 +0200 (+0200), Mike Fischer wrote: > : > :> Am 20.09.2024 um 12:13 schrieb Stuart Henderson > : > :> > :>> From what you've shown I can only assume the auth servers

Re: unbound(8) + host(1) + AAAA-only issue

2024-09-20 Thread Mike Fischer
> Am 20.09.2024 um 13:08 schrieb Otto Moerbeek : > > On Fri, Sep 20, 2024 at 12:45:08PM +0200, Mike Fischer wrote: > >> >>> Am 20.09.2024 um 12:13 schrieb Stuart Henderson : >>> >>>> From what you've shown I can only assume the auth server

Re: unbound(8) + host(1) + AAAA-only issue

2024-09-20 Thread Mike Fischer
of figuring out this issue: test.fwml42.v6.rocks $ dig +short test.fwml42.v6.rocks 2001:db8::dead:beaf $ host test.fwml42.v6.rocks Host test.fwml42.v6.rocks not found: 2(SERVFAIL) $ Thanks! Mike > > > On 2024-09-20, Mike Fischer wrote: >> I am seeing a weird result on s

unbound(8) + host(1) + AAAA-only issue

2024-09-20 Thread Mike Fischer
I am seeing a weird result on some OpenBSD 7.5 stable amd64 systems: The servers are running a local unbound(8) and /etc/resolv.conf is configured to use 127.0.0.1. $ cat /etc/resolv.conf

Re: The relationship between pf and yubkey(FIDO2) (About OpenSSH)

2024-09-10 Thread Mike Fischer
The easiest way to test whether pf(4) is interfering with your YubiKey is to temporarily turn off pf(4) (`doas pfctl -d`) and test. If the problem persists then pf(4) is not the cause. Turn pf(4) back on again after your test (`doas pfctl -e` or `doas reboot`). Note: Turning off pf(4) should cau

Re: IPv6 static host address inside dynamic network

2024-09-04 Thread Mike Fischer
> Am 03.09.2024 um 17:45 schrieb Florian Obser : > > route -n monitor -inet6 | fgrep -A2 RTM_NEWADDR Very interesting! Thank you! I looked at the output of `route -n monitor -inet6` as there seems to be no documentation for what that looks like. And my Internet provider obliged me with a sho

Re: IPv6 static host address inside dynamic network

2024-09-03 Thread Mike Fischer
> Am 03.09.2024 um 16:28 schrieb Mike Fischer : > > Just complicate things even more, how do you handle routing? If your host > gets multiple public/routable prefixes, your default route will still point > to only one of the routers. So might need to deal with incoming packets

Re: IPv6 static host address inside dynamic network

2024-09-03 Thread Mike Fischer
> Am 03.09.2024 um 04:51 schrieb Chris Ross : > > > >> On Sep 2, 2024, at 18:30, Mike Fischer wrote: >> >> To my knowledge there is no mechanism or hook to trigger when the public >> IPv6 prefix changes. (It would be nice to have such a mechanism tho

Re: GUI for MariaDB

2024-09-02 Thread Mike Fischer
PHPMyAdmin https://www.phpmyadmin.net/ Available as an OpenBSD port: phpMyAdmin-5.2.1p1 You need to set up a webserver and PHP-FPM to get that running though. HTH Mike > Am 02.09.2024 um 18:23 schrieb nisp1953 : > > I am using: OpenBSD 7.5 AMD 64 > > Can anyone recommend a GUI interface for

Re: IPv6 static host address inside dynamic network

2024-09-02 Thread Mike Fischer
> Am 02.09.2024 um 22:21 schrieb Chris Ross : > > I’m trying to move from a static IPv6 network to a dynamic allocation from an > ISP. The hard part is that some of my hosts have secondary addresses for > specific services to use. I need to find a way to listen to router adverts > but then man

Re: Dokuwiki install.php

2024-08-13 Thread Mike Fischer
> Am 14.08.2024 um 02:06 schrieb lati...@vcn.bc.ca: > > Hello misc > > I have a private Dokuwiki at historia.agroena.org working correctly, but i > would like to have a copy in my Laptop without internet. Copying DokuWiki to another machine is easy. I do that all the time to make functioning

Re: About pf Rule ( pf.conf

2024-08-05 Thread Mike Fischer
> Am 05.08.2024 um 20:22 schrieb WATANABE Takeo : > > Hi,Souji-SAN. > > Thank you so much for your advice. > We will reply to you in due course. > > > on Sun, 04 Aug 2024 19:56:38 +0100 > "Souji Thenria" wrote: > >> On Sun Aug 4, 2024 at 4:36 PM BST, WATANABE Takeo wrote: >>> I am having t

Re: PHP PATH_INFO

2024-07-01 Thread Mike Fischer
> Am 01.07.2024 um 18:56 schrieb F Bax : > > I'm working on migrating a website from very old OpenSBD 4.5 to 7.5 > > I got nginx & php mostly working in chroot environment. The above seems irrelevant to you issue. > browser to mysite.ca/Boards.php works as expected; but when launched with >

Re: nginx + php = system() not working?

2024-05-16 Thread Mike Fischer
> Am 17.05.2024 um 03:58 schrieb F Bax : > > I think I missed something simple? I installed 7.5 release in a VM. I then > installed nginx and PHP 8.3.3; with pkg_add. I then ran these two commands: > # rcctl enable php83_fpm > # rcctl start php83_fpm > I found an issue with php system() functio

Re: Acme-client error getting validation data when updating LetsEncrypt certs on 7.5

2024-04-15 Thread Mike Fischer
The location { … } block in the port 80 server is non-functional because all requests are redirected to HTTPS. Add a `pass` to make it functional. Note: If you do then you don’t need the corresponding location { … } block in the port 443 server any more. Also, instead of: > block return 301 "h

Re: New postfix-3.8.20221007p12 broken TLS for Gmail servers?

2024-02-03 Thread Mike Fischer
> Am 03.02.2024 um 03:44 schrieb Brian Conway : > >> Why do you run such an outdated postfix snapshot? > > That is the latest version that is supported/available in packages-stable: > > https://cdn.openbsd.org/pub/OpenBSD/7.4/packages-stable/amd64/ While we have not encountered the TLS issue

Re: Script doesn't stop opensearch

2024-01-03 Thread Mike Fischer
> Am 04.01.2024 um 00:06 schrieb Mik J : > > However when I want to stop the process > # /etc/rc.d/opensearch stop > Nothing happens try: # rcctl stop opensearch You are not supposed to ever call the /etc/rc.d/* scripts directly. HTH Mike

Re: OpenBSD_one_site_web_hosting_software_recommendation

2023-11-09 Thread Mike Fischer
Yep, WordPress is doable. I’ve never used Joomla, so I can’t say for sure. One thing to note is that OpenBSD httpd does not have the .htaccess mechanism. So sites relying on Apache httpd .htaccess features might need some thought. OTOH there is a port for Apache httpd… HTH Mike > Am 09.11.202

Re: mount softdep — does it improve the situation for unexpected shutdowns?

2023-11-05 Thread Mike Fischer
Thanks! End of discussion ;-) (Except for a potential update of the man page.) Mike > Am 05.11.2023 um 19:39 schrieb Martin Schröder : > > Am So., 5. Nov. 2023 um 19:33 Uhr schrieb Mike Fischer > : >> However the default /etc/fstab does not make use of it. > >>

mount softdep — does it improve the situation for unexpected shutdowns?

2023-11-05 Thread Mike Fischer
OpenBSD 7.4 amd64 I have just noticed that mount(8) has a softdep option for FFS file systems. And I saw this: https://en.wikipedia.org/wiki/Soft_updates where OpenBSD is mentioned. However the default /etc/fstab does not make use of it. We have been discussing how to deal with unexpected syste

Re: What could cause high CPU load averages (no actual CPU usage)?

2023-10-25 Thread Mike Fischer
> Am 25.10.2023 um 17:57 schrieb Theo de Raadt : > > Mike Fischer wrote: > >>> Am 25.10.2023 um 17:29 schrieb Theo de Raadt : >>> >>> Mike Fischer wrote: >>> >>>> True. But like I said, this was noticed because of the sudden incr

Re: What could cause high CPU load averages (no actual CPU usage)?

2023-10-25 Thread Mike Fischer
> Am 25.10.2023 um 19:01 schrieb Janne Johansson : > > > I process that is started every 5 seconds and exits after 10ms > > computation can cause the load to go up by 1. It just matters if it runs > > during the sampling time or not. This is why the load avarage is not > > accurate, it is an in

Re: What could cause high CPU load averages (no actual CPU usage)?

2023-10-25 Thread Mike Fischer
> Am 25.10.2023 um 17:59 schrieb Claudio Jeker : > > I process that is started every 5 seconds and exits after 10ms > computation can cause the load to go up by 1. It just matters if it runs > during the sampling time or not. This is why the load avarage is not > accurate, it is an indication a

Re: What could cause high CPU load averages (no actual CPU usage)?

2023-10-25 Thread Mike Fischer
> Am 25.10.2023 um 17:29 schrieb Theo de Raadt : > > Mike Fischer wrote: > >> True. But like I said, this was noticed because of the sudden increase on >> the same (OpenBSD) machine without any obvious reason. > > The reason is obvious. > > You installe

Re: What could cause high CPU load averages (no actual CPU usage)?

2023-10-25 Thread Mike Fischer
> Am 25.10.2023 um 17:07 schrieb Theo de Raadt : > > Claudio Jeker wrote: > >> On Wed, Oct 25, 2023 at 11:57:54AM +0200, Mike Fischer wrote: >>> I have been observing occasional bouts of high load averages on several >>> servers I administer and I am trying

Re: What could cause high CPU load averages (no actual CPU usage)?

2023-10-25 Thread Mike Fischer
> Am 25.10.2023 um 14:32 schrieb Dave Voutila : > > > Mike Fischer writes: > >> I have been observing occasional bouts of high load averages on >> several servers I administer and I am trying to find the cause. (I >> monitor these machines so that I can

What could cause high CPU load averages (no actual CPU usage)?

2023-10-25 Thread Mike Fischer
I have been observing occasional bouts of high load averages on several servers I administer and I am trying to find the cause. (I monitor these machines so that I can implement corrective measures in case of any malicious or abnormal activity. I think this is benign, but I’d still like to find

Re: Dokuwiki

2023-09-07 Thread Mike Fischer
> Am 08.09.2023 um 00:38 schrieb latin...@vcn.bc.ca: > > Hello > > Does somebody can help? OpenBSD 7.3 Dokuwiki > # ps ax |grep dokuwiki > 27461 p0 S+p 0:00.01 grep dokuwiki DokuWiki is not a process. So the above does not make any sense. > The error.log at /www/log is full of this mes

Re: Dokuwiki

2023-08-23 Thread Mike Fischer
> Am 23.08.2023 um 19:16 schrieb latin...@vcn.bc.ca: > I found the error, it is not OpenBSD, the first page after installation is > in English, but if i change language to es, the link does not go to the > wiki; it goes to the information web page. > > Thanks. Too little information to follow

Re: Dokuwiki

2023-08-22 Thread Mike Fischer
> Am 23.08.2023 um 00:45 schrieb latin...@vcn.bc.ca: > > Hello > > I have installed dokuwiki on OBSD 7.3, but i can not run install.php from > my Browser. > > php 8.1 is running. > > Permissions after installation: > > ls -la /var/www/dokuwiki/ > total 240 > drwxr-xr-x 8 root daemon51

Re: Maintaining multiple PHP-FPM versions on the same host

2023-07-10 Thread Mike Fischer
I’ll answer both of your replies here. But please note that Stuart provided the feedback I needed so from my point of view this issue is closed. > Am 10.07.2023 um 14:30 schrieb Daniele B. : > > However, I passed a small amount of time with 5.6 and 7.3 from source loading > together. > In both

Maintaining multiple PHP-FPM versions on the same host

2023-07-10 Thread Mike Fischer
Hi! I’m trying to figure out the best way to maintain multiple php-fpm setups at the same time and ran into a somewhat annoying issue. I’m not sure how many other users might have a similar situation? If this something too non-standard, let me know and I’ll shut up ;-) Background ==

Re: dhcpleased losing route

2023-05-11 Thread Mike Fischer
it wrote: >> i think that putput does not help mmuch because it does not show the DHCP >> packet contents. >> >> You could write the capture to a file with "-w filename" and then copy the >> file to the OpenBSD box for printing with "-r filename". Or send the raw >> pcap file. >> >> /B. -- Mike Fischer fisc...@lavielle.com

Re: dhcpleased losing route

2023-05-09 Thread Mike Fischer
t;> cnmac2 (lease from x.x.x.1) >>> May 10 12:33:28 openbsd-gateway dhcpleased[77979]: adding nameservers >>> x.x.x.x x.x.x.x (lease from x.x.x.1 on cnmac2) >>> May 10 12:38:28 openbsd-gateway dhcpleased[77979]: deleting nameservers >>> x.x.x.x x.x.x.x (lease from x.x.x.1 on cnmac2) >>> May 10 12:38:28 openbsd-gateway dhcpleased[77979]: deleting x.x.x.30 from >>> cnmac2 (lease from x.x.x.1) >>> May 10 12:38:30 openbsd-gateway dhcpleased[77979]: adding x.x.x.30 to >>> cnmac2 (lease from x.x.x.1) >>> May 10 12:38:30 openbsd-gateway dhcpleased[77979]: adding nameservers >>> x.x.x.x x.x.x.x (lease from x.x.x.1 on cnmac2) >>> >> -- Mike Fischer fisc...@lavielle.com

Re: pkg_info -Q confusion

2023-04-15 Thread Mike Fischer
> Am 15.04.2023 um 23:44 schrieb Antun Matanović : > >> I'm generally interested in what is available for the exact machine I am >> running on. > > You could use `pkg_info -a -Q` which searches all the repositories. >> From the pkg_info man page: > -Q substring > Show the names

Re: pkg_info -Q confusion

2023-04-14 Thread Mike Fischer
> Am 14.04.2023 um 18:24 schrieb Allan Streib : > > On Fri, Apr 14, 2023, at 05:50, Stuart Henderson wrote: >> I never found pkg_info -Q to be a useful tool. >> >> Try pkglocate instead ("pkg_add pkglocatedb" first) which allows >> searching on an index that is built from : - as a >> result it

Re: pkg_info -Q confusion

2023-04-14 Thread Mike Fischer
Inline… > Am 14.04.2023 um 12:50 schrieb Stuart Henderson : > > On 2023-04-14, Mike Fischer wrote: >> Usually when looking for a port to install I use `pkg_info -Q name` to >> search for the the port. >> >> Strangely this does not completely work for PHP on

pkg_info -Q confusion

2023-04-14 Thread Mike Fischer
Usually when looking for a port to install I use `pkg_info -Q name` to search for the the port. Strangely this does not completely work for PHP on OpenBSD 7.3: `pkg_info -Q php` does not list PHP 7.4.33 and related ports which are clearly available. It seems that -Q only finds ports in packag

Re: acme-client fails to renew certificate

2023-04-12 Thread Mike Fischer
Well as long as you always use the sane challenge directory /var/www/acme/ then I would first simplify this by only defining one server block for all port 80 access: server "www.example.com“ { listen on $www_v4 port 80 listen on $www_v6_a port 80 alias "example.com" block return 30

Re: how tail waits for file to appear again?

2023-02-17 Thread Mike Fischer
> Am 17.02.2023 um 06:23 schrieb Maksim Rodin : > > Hello, > Sorry if I chose the wrong place to ask such a question. > I have been learning C for a couple of months and along with reading > "C Primer Plus" by Stephen Prata and doing some exercises from it I took > a hard (for me) task to replic

After upgrade to 7.2 snmpd fails

2023-01-21 Thread Mike Fischer
I have just upgraded a VM from OpenBSD 7.1 to 7.2. Looks good so far except for snmpd which suddenly fails shortly after starting up: >From /var/log/daemon: Jan 21 22:59:56 wo snmpd[86168]: legacy backend: Registering 1.3.6.1.6.3.15.1.1.6.0(instance) context() priority(1) timeout(1.50s) Jan 21 2

Re: After upgrade to 7.2 snmpd fails

2023-01-21 Thread Mike Fischer
Nevermind! # userdel _rtadvd # groupdel _rtadvd # groupadd -g 92 _agentx Solved the problem. Apparently I failed to follow the instructions in https://www.openbsd.org/faq/upgrade64.html when I did that upgrade ;-) Sorry for the noise! Mike > Am 21.01.2023 um 23:59 schrieb Mike Fisc

Re: After upgrade to 7.2 snmpd fails

2023-01-21 Thread Mike Fischer
m) zstd-1.5.2 zstandard fast real-time compression algorithm # Thanks! Mike > Am 21.01.2023 um 23:21 schrieb Mike Fischer : > > I have just upgraded a VM from OpenBSD 7.1 to 7.2. > > Looks good so far except for snmpd which suddenly fails shortly after > starting

Re: Documentation of wsconsctl keyboard.map format?

2022-11-29 Thread Mike Fischer
> Am 27.11.2022 um 19:48 schrieb Vlad Meșco : > > On Fri, Nov 25, 2022 at 03:32:20AM +0100, Mike Fischer wrote: >> >>> Am 24.11.2022 um 15:07 schrieb u...@disroot.org: >>> >>> Hello! >>> >>> I would like to find some supporti

Re: Documentation of wsconsctl keyboard.map format?

2022-11-24 Thread Mike Fischer
> Am 24.11.2022 um 15:07 schrieb u...@disroot.org: > > Hello! > > I would like to find some supporting documentation too, if anything is > available, but for certain other reasons > (https://github.com/letoram/arcan/issues/263). Basically, this "desktop > engine" has problems with figuring o

Re: Documentation of wsconsctl keyboard.map format?

2022-11-23 Thread Mike Fischer
> Am 23.11.2022 um 11:43 schrieb Vlad Meșco : > > On Wed, Nov 23, 2022 at 06:57:17AM +, Jason McIntyre wrote: >> On Wed, Nov 23, 2022 at 12:21:26AM +0100, Mike Fischer wrote: >>> Hi! >>> >>> I???m trying to use a German Apple Mac keyboard with Op

Re: Documentation of wsconsctl keyboard.map format?

2022-11-23 Thread Mike Fischer
> Am 23.11.2022 um 07:57 schrieb Jason McIntyre : > > On Wed, Nov 23, 2022 at 12:21:26AM +0100, Mike Fischer wrote: >> Hi! >> >> I???m trying to use a German Apple Mac keyboard with OpenBSD 7.2 and I???d >> like to match the mapping to that of macOS. >&

Documentation of wsconsctl keyboard.map format?

2022-11-22 Thread Mike Fischer
Hi! I’m trying to use a German Apple Mac keyboard with OpenBSD 7.2 and I’d like to match the mapping to that of macOS. `wsconsctl keyboard.encoding=de` helps, but several mappings are different/missing. For example the pipe character | should be alt-7 but isn’t. Mostly the alt-combinations are

Re: 7.2 and iwm/amdgpu Firmware?

2022-11-11 Thread Mike Fischer
failed to load ucode RLC_RESTORE_LIST_SRM_MEM(0x13) [drm] psp gfx command LOAD_IP_FW(0x6) failed and response status is (0x000F) amdgpu0: RAVEN2 3 CU rev 0x09 amdgpu0: 1024x768, 32bpp wsdisplay0 at amdgpu0 mux 1: console (std, vt100 emulation) wsdisplay0: screen 1-5 added (s

7.2 and iwm/amdgpu Firmware?

2022-11-10 Thread Mike Fischer
On a newly installed Mini PC (NiPoGi AM02) I noticed the following messages in dmesg: iwm0: could not read firmware iwm-7265-17 (error 2) iwm0: failed to load init firmware and: drm:pid0:amdgpu_device_parse_gpu_info_fw *ERROR* Failed to load gpu_info firmware "amdgpu/raven2_gpu_info.bin" drm:pid

Re: PHP not updated on some machines

2022-10-06 Thread Mike Fischer
> Am 06.10.2022 um 21:30 schrieb Stuart Henderson : > > In cases where the CDN or mirror does appear to be all in sync then > we might be looking at a problem with pkg_add or with the packages > themselves. For either of those cases it would help to collect > output from "pkg_add -u -vv" under s

PHP not updated on some machines

2022-10-06 Thread Mike Fischer
I have some local VMs running OpenBSD 7.1 stable, amd64 as well as some remote VMs running the same. When I did pkg_add -u today two of my three local machines updated PHP to versions 7.4.32, 8.0.24 and 8.1.11 as expected. However the remote machines and a very basic local machine, while seeing

Re: httpd error.log

2022-09-02 Thread Mike Fischer
Hi Paul! > Am 02.09.2022 um 14:52 schrieb Paul Pace : > > On 2022-09-01 13:20, Mike Fischer wrote: >>> Am 01.09.2022 um 21:49 schrieb latin...@vcn.bc.ca: >>>>> Am 01.09.2022 um 11:13 schrieb latin...@vcn.bc.ca: >>>>> historia.agroena.org &

Re: httpd error.log

2022-09-01 Thread Mike Fischer
using: tail -f /var/www/logs/error.log /var/www/logs/access.log to see which requests led to these entries. (Having timestamps in error.log would make this so much easier!) Mike > > Mischa > > On 2022-09-01 10:41, Mike Fischer wrote: >> This happens when PHP-FPM can’t find th

Re: httpd error.log

2022-09-01 Thread Mike Fischer
> Am 01.09.2022 um 21:49 schrieb latin...@vcn.bc.ca: > >> >>> Am 01.09.2022 um 11:13 schrieb latin...@vcn.bc.ca: >>> >>> historia.agroena.org >> >> Right, try something like this and watch the error.log: >> >> curl --url 'https://historia.agroena.org/i-dont-exist.php' >/dev/null >> >> HTH >

Re: httpd error.log

2022-09-01 Thread Mike Fischer
> Am 01.09.2022 um 11:13 schrieb latin...@vcn.bc.ca: > > historia.agroena.org Right, try something like this and watch the error.log: curl --url 'https://historia.agroena.org/i-dont-exist.php' >/dev/null HTH Mike

Re: httpd error.log

2022-09-01 Thread Mike Fischer
This happens when PHP-FPM can’t find the script to execute. One reason could be that you fiddled with the settings and let PHP-FPM run without chroot(2), while httpd(8) is running with chroot(2). But it might also be a misconfiguration of in httpd.conf. Not sure about all of the potential reaso

Re: How to compact partitions (disklabel)?

2022-06-13 Thread Mike Fischer
> Am 13.06.2022 um 10:21 schrieb Stuart Henderson : > > On 2022-06-13, Mike Fischer wrote: >> After solving a recent problem on a VM where the /usr/local was full I was >> left with a disklabel that had a hole of unused space in it (see below for >> details). I

How to compact partitions (disklabel)?

2022-06-13 Thread Mike Fischer
Hi! After solving a recent problem on a VM where the /usr/local was full I was left with a disklabel that had a hole of unused space in it (see below for details). I was wondering if there is a way to compact the partitions, i.e. move the partitions following the deleted one up to fill the hole

Re: Running multiple instances of pflogd

2022-06-02 Thread Mike Fischer
> Am 02.06.2022 um 22:42 schrieb Pantelis Roditis : > > Hi everyone, > > I recently started running multiple pflogd instances and noticed that > /etc/rc.d/pflogd killed/restarted every running instance. > The same happened from newsyslog rotations as well. I think the issue is more general. It

Re: Capturing redirected packets?

2022-02-11 Thread Mike Fischer
> Am 10.02.2022 um 19:01 schrieb Stuart Henderson : > > On 2022-02-10, Mike Fischer wrote: >>> The redirection to an address on the local machine is just internal to >>> the machine; those would only show a second time in tcpdump if they were >>> bein

Re: Capturing redirected packets?

2022-02-10 Thread Mike Fischer
> Am 10.02.2022 um 09:55 schrieb Stuart Henderson : > > On 2022-02-08, Mike Fischer wrote: >> Hi! >> >> I have PF rules redirecting packets to an IP on one interface (rdomain 1) to >> the IP of another interface (rdomain 0): >> >> pass in log

Capturing redirected packets?

2022-02-08 Thread Mike Fischer
Hi! I have PF rules redirecting packets to an IP on one interface (rdomain 1) to the IP of another interface (rdomain 0): pass in log on rdomain 1 inet proto tcp to $ipv4b port 80 rdr-to $ipv4a port 8080 rtable 0 pass in log on rdomain 1 inet6 proto tcp to $ipv6b port 80 rdr-to $ipv6a port 808

Re: httpd.conf: 2 interfaces, 2 listen, IPv6, only one server works

2022-02-07 Thread Mike Fischer
HTTPS also sends host header, but SNI is still used to choose correct > certificate. > Am 07.02.2022 um 18:15 schrieb Matthew Ernisse : > > On Mon, Feb 07, 2022 at 05:23:03PM +0100, Mike Fischer said: >> >> Not quite true. I do use DNS and for practical applications I a

Re: httpd.conf: 2 interfaces, 2 listen, IPv6, only one server works

2022-02-07 Thread Mike Fischer
> Am 06.02.2022 um 22:48 schrieb Brian Brombacher : > > At this point I would reconfigure httpd to use two separate ports (80, 81) > for each site, or two local IP addresses (::1, ::2, I wouldn’t personally do > this, I would go multi port), and then use PF rules to forward the (em0) port > 8

Re: httpd.conf: 2 interfaces, 2 listen, IPv6, only one server works

2022-02-06 Thread Mike Fischer
> Am 06.02.2022 um 21:13 schrieb Brian Brombacher : > >>> You can work around it by putting both interfaces in diffrent rdomains, >>> then running two httpd instances, one in rdomain with first IP, second in >>> rdomain with second IP. >> > > This will work. You can use PF rules to cross rd

Re: httpd.conf: 2 interfaces, 2 listen, IPv6, only one server works

2022-02-06 Thread Mike Fischer
Hi Łukasz, > Am 06.02.2022 um 12:08 schrieb Łukasz Moskała : > > W dniu 6.02.2022 o 05:28, Mike Fischer pisze: >> OpenBSD 7.0 stable amf64 >> My host has two ethernet interfaces, em0 and em1. >> Note: The host is a VM with two virtual interfaces. >> Both interf

httpd.conf: 2 interfaces, 2 listen, IPv6, only one server works

2022-02-05 Thread Mike Fischer
OpenBSD 7.0 stable amf64 My host has two ethernet interfaces, em0 and em1. Note: The host is a VM with two virtual interfaces. Both interfaces are configured like this for IPv6 in the /etc/hostname.em0 and /etc/hostname.em1 files: inet6 autoconf -temporary -soii They are connected to the same L

Re: Networking error or bad System configuration.

2022-01-31 Thread Mike Fischer
> Am 31.01.2022 um 23:38 schrieb latin...@vcn.bc.ca: > >> Some things to consider: >> >> - Have you established whether the IPs configured inside your host are >> actually reachable from the outside? (And whether they reach your host and >> not something else?) >> You could check this using SSH

Re: Networking error or bad System configuration.

2022-01-31 Thread Mike Fischer
Some things to consider: - Have you established whether the IPs configured inside your host are actually reachable from the outside? (And whether they reach your host and not something else?) You could check this using SSH which you say is working. Can you connect using both IPv4 and IPv6? - A

Re: OpenSMTPd: Unable to use TLS/SSL over IPv6

2022-01-11 Thread Mike Fischer
Hi Leo, > Am 11.01.2022 um 19:10 schrieb Leo Unglaub : > > Hey friends, > i am running OpenBSD 7.0 with all patches applied. Some weeks ago i noticed a > very strange issue with my OpenSMTPd instance. People are unable to use TLS > when connecting via IPv6. This is not just my observation, some

Re: IPv6 autoconf with static IID?

2021-12-29 Thread Mike Fischer
Ok, ignore my previous mail. The solution is to use -soii: # ifconfig em0 autoconf eui64 -soii lladdr f2:b6:71:e6:11:7e This makes the non temporary public and ULA addresses use the EUI-64 IID based on the lladdr. Thanks! Mike > Am 29.12.2021 um 19:37 schrieb Mike Fischer : > > On

Re: IPv6 autoconf with static IID?

2021-12-29 Thread Mike Fischer
On Tue, Dec 28, 2021, at 21:05, Mike Fischer wrote: >> Am 28.12.2021 um 13:09 schrieb Paul de Weerd : >> Seems like the simplest way, especially using the lladdr option. > Yes, I’ll give that a try. Ok, I have tried the following: Remove my current IPv6 configuration from em0:

Re: IPv6 autoconf with static IID?

2021-12-28 Thread Mike Fischer
Hi Thomas! Am 28.12.2021 um 16:24 schrieb Thomas Bohl : > > Hello, > >> My Internet connection is using dynamic IPv6 prefixes. I want to configure a >> local (OpenBSD) machine so its public IPv6 address adjusts to changes in the >> network prefix but keeps a static Interface Identifier (IID).

Re: IPv6 autoconf with static IID?

2021-12-28 Thread Mike Fischer
e side. Still have to make sure no two interfaces on the same network segment use the same MAC though, but the odds are pretty good. Mike > > G.day > diana > KI5PGJ > > On December 28, 2021 6:05:54 AM MST, Mike Fischer > wrote: >> >>> Am 28.12.2021 um 13:09 schr

Re: IPv6 autoconf with static IID?

2021-12-28 Thread Mike Fischer
> Am 28.12.2021 um 13:09 schrieb Paul de Weerd : > > On Tue, Dec 28, 2021 at 12:35:07PM +0100, Mike Fischer wrote: > | So I guess the only way to get a stable IID with dynamic prefixes is > | to use the eui64 method? (Which is based on the MAC-address and > | leaks infor

Re: IPv6 autoconf with static IID?

2021-12-28 Thread Mike Fischer
Thanks Stuart! > Am 28.12.2021 um 10:01 schrieb Stuart Henderson : > > On 2021-12-27, Mike Fischer wrote: >> After reading man pages for slaacd(8), hostname.if(5) and ifconfig(8) the >> only way to combine a static IID with a dynamic prefix seems to be the eui64 >>

  1   2   >