Re: failover trunk does not use the wireless device

2023-05-02 Thread Stuart Henderson
On 2023-05-03, kodcode wrote: > Hello. > > I want to have a failover trunk on a RaspBI 3B+. mue0 (wired) should be the > master device. > Everything works fine using the wired interface. > My problem is, that after unplugging the wired master interface, I can't > even ping my default gateway.

Re: openbsd firewall configuration for extreme hostile environment

2023-05-02 Thread Stuart Henderson
On 2023-04-26, jonathon575 wrote: > The services in the file rc.conf are kept in its default state which is > mostly disabled. the binary files sshd, portmap, ntpd are deleted from the > /bin directory. Other binary files telnet, ssh, scp, sftp are removed to > prevent any file transfer from

Re: openbsd firewall configuration for extreme hostile environment

2023-05-02 Thread Stuart Henderson
On 2023-04-26, jonathon575 wrote: >>> #What firewall was compromised - your OpenBSD based firewall? ... hope you >>> did a fresh >>> install from scratch on this device... >>> >>> Yes, it was OpenBSD based firewall 7.1. Fresh install from scratch didn't >>> help as the attack appeared again.

Re: Booting OpenBSD 7.3's i386 bsd.rd

2023-05-01 Thread Stuart Henderson
On 2023-05-01, Damian McGuckin wrote: > > What is required please? > > I am trying to boot this bsd.rd (which is a file 4Mb big) on an old > NET5500 which has 512MBytes of RAM. On a running system, > > From the > > boot> > > prompt, doing > > boot> boot bsd.rd > > it appears to

Re: sappend .history file

2023-04-29 Thread Stuart Henderson
On 2023-04-29, jonathon575 wrote: > > How to sappnd history? chflags(1), but it's usually more trouble than it's worth.

Re: Minimum install size

2023-04-29 Thread Stuart Henderson
On 2023-04-29, Theo de Raadt wrote: > > The best way to not lie, is to not say anything at all. agreed, this value always gets out of date, and it's no longer the days when one might be deciding whether to buy a 1/2/4GB CF. better to remove than update now I think.

Re: apm doesn't know AC state on APU1C

2023-04-26 Thread Stuart Henderson
On 2023-04-26, Jan Stary wrote: > This is current/amd64 on an APU1C (dmesg below). > While 'sysctl hw' knows hw.power=1, apm doesn't know: > > Battery state: absent, 0% remaining, unknown life estimate > AC adapter state: not known > Performance adjustment mode: auto (1000 MHz) > > Yes, apmd -A

Re: autossh fails after upgrade to 7.3

2023-04-26 Thread Stuart Henderson
On 2023-04-25, rea...@catastrophe.net wrote: > So if ${daemon} is declared as "autossh", using the built-in > pexp="${daemon}:.*" would kill off multiple running autossh > instances. The idea is that pexp should have a bit more of the command line so it only matches the process started by that

Re: autossh fails after upgrade to 7.3

2023-04-25 Thread Stuart Henderson
On 2023-04-25, rea...@catastrophe.net wrote: > On Tue, Apr 25, 2023 at 08:32:35PM +0200, Antoine Jacoutot wrote: >>On Tue, Apr 25, 2023 at 01:16:22PM -0500, rea...@catastrophe.net wrote: >>> On Tue, Apr 25, 2023 at 08:09:46PM +0200, Antoine Jacoutot wrote: >>> >On Tue, Apr 25, 2023 at 12:41:41PM

Re: Increasing the log level for php

2023-04-23 Thread Stuart Henderson
One of the php worker processes is segfaulting. I would first try running php-fpm-8.1 in the foreground (-F flag) and see if that gives any clues as to what's failing. Also you can try error_log = syslog in php-8.1.ini. Did you install any php extensions from outside packages? If so they will

Re: passing environment variables to daemons in rc.d scripts

2023-04-21 Thread Stuart Henderson
On 2023-04-21, Antoine Jacoutot wrote: > Hi. > > You can pas environment variables by creating a login class matching the name > of your rc.d script in login.conf and adding setenv to that class. Or create a new file /etc/login.conf.d/(script_name). If you're writing a port, create

Re: any way to "redo" a botched upgrade?

2023-04-20 Thread Stuart Henderson
On 2023-04-20, Jonathan Thornburg wrote: > > Andrew Hewus Fresh wrote: >> This usually happens when an XS module is installed outside of the >> package ecosystem, often with a CPAN client. >> >> I would guess this error is Term::ReadLine::Gnu >> https://metacpan.org/pod/Term::ReadLine::Gnu > >

Re: veb Interface Max Cache Size Restrict

2023-04-19 Thread Stuart Henderson
On 2023-04-18, Samuel Jayden wrote: > > I want to switch from Cisco device to OpenBSD in a place where there are > more than 8 thousand MAC addresses, but I need to exceed this max cache > size value. I guess it depends on what exactly the traffic is, but software-bridging traffic from a network

Re: [arm64] [sound] simpleaudio, but no audio to attach

2023-04-19 Thread Stuart Henderson
On 2023-04-18, S V wrote: > Hello, misc@! > > I'm using ARM64/current and see that my audio chip got detected by simpleaudio > but OpenBSD can't attach audio to it > > Any suggestions on there to start reading? I'm not developer, > but I tried to read different match/attach functions > in

Re: hardware

2023-04-18 Thread Stuart Henderson
On 2023-04-18, Mischa wrote: > On 2023-04-17 23:37, Mike Larkin wrote: >> On Mon, Apr 17, 2023 at 02:21:14PM -0600, Theo de Raadt wrote: >>> Gustavo Rios wrote: >>> >>> > What is the best supported servers by OpenBSD ? >>> >>> The silver ones work a little bit better than the black ones. >>>

Re: 7.3: speetest doesn't work

2023-04-16 Thread Stuart Henderson
On 2023/04/16 15:42, Martin Schröder wrote: > Am So., 16. Apr. 2023 um 15:38 Uhr schrieb Stuart Henderson > : > > So let's also add "newly created directories" to the list of things > > where umask messes up pkg_add ;) In this case, it will be > > /usr/local/lib/p

Re: 7.3: speetest doesn't work

2023-04-16 Thread Stuart Henderson
On 2023/04/16 15:05, Martin Schröder wrote: > Am So., 16. Apr. 2023 um 14:56 Uhr schrieb lux : > > > > On Sun, 2023-04-16 at 14:41 +0200, Martin Schröder wrote: > > > > > > Fatal Python error: init_fs_encoding: failed to get the Python codec > > > of the filesystem encoding > > > Python runtime

Re: 7.3: outdated mandoc.db lacks mutt(1) entry, run makewhatis /usr/local/man

2023-04-16 Thread Stuart Henderson
On 2023/04/16 15:10, Martin Schröder wrote: > Hi, > after upgrading to 7.3 man is somehow confused: > > > man mutt > man: /usr/local/man/mandoc.db: Permission denied > man: outdated mandoc.db lacks mutt(1) entry, run makewhatis /usr/local/m > > Neither >makewhatis /usr/local/man > nor >

Re: File system is full after using dd

2023-04-16 Thread Stuart Henderson
On 2023-04-15, Nick Holland wrote: > Partition your system. And / should be as small as you can sanely > get away with. That isn't to say it should be super-tiny. But > if you have 1GB to spare, it is probably too big. I disagree on that, around 1GB to spare on / seems pretty comfortable

Re: ixl not seeing SFP+ modules ?

2023-04-15 Thread Stuart Henderson
On 2023-04-14, deich...@placebonol.com wrote: > The Intel 710 only works with Intel brand optics. It is possible you can > find optics which will report as Intel, though I've never tried. > > I do use FlexOptix programmable optics in various network devices. When I > get to the office I'll

Re: ixl not seeing SFP+ modules ?

2023-04-14 Thread Stuart Henderson
On 2023-04-14, Laura Smith wrote: > I have an ixl card (ixl0 at pci1 dev 0 function 0 "Intel X710 SFP+" rev 0x02: > port 3, FW 6.0.48442 API 1.7, msix, 4 queues) on OpenBSD that doesn't seem to > be seeing any of my SFP+ modules. > > > The modules are all MSA coded and from different

Re: pkg_info -Q confusion

2023-04-14 Thread 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 OpenBSD 7.3: > > `pkg_info -Q php` does not list PHP 7.4.33 and related ports which are > clearly

Re: After sysupgrade, computer hangs after efi0

2023-04-14 Thread Stuart Henderson
On 2023-04-13, Jeff Ross wrote: > On 4/12/23 12:22 PM, Jeff Ross wrote: >> >> OpenBSD 7.3 (GENERIC.MP) #1125 Sat Mar 25 10:36:29 MDT 2023 >> dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP >> real mem = 8469549056 (8077MB) >> avail mem = 8193462272 (7813MB) >> random: good

Re: 7.3 php gd.so cannot load

2023-04-13 Thread Stuart Henderson
On 2023-04-12, Kent Watsen wrote: > > >> That should have /usr/X11R6/lib as well. > > This makes me want to mention that I installed xshare73 and xbase73 after the > installer completed, using these commands: > ``` > (curl -s -O https://cdn.openbsd.org/pub/OpenBSD/7.3/amd64/xshare73.tgz && >

Re: coverity running on OpenBSD to scan a port

2023-04-13 Thread Stuart Henderson
On 2023-04-12, Tom Smyth wrote: > does anyone have experience on running coverity on OpenBSD ... > Im trying to scan a port im maintaining at the minute... > there does not seem to be binaries for coverity for OpenBSD I don't think you can - afaik those scans are normally done on linux.

Re: IPv4 to IPv6 mapping

2023-04-12 Thread Stuart Henderson
On 2023-04-12, Gabor LENCSE wrote: > Hi, > > On 4/12/2023 12:09 AM, Nicolas Goy wrote: >> On Fri, 2023-04-07 at 10:30 +, Stuart Henderson wrote: >>> On 2023-04-04, Nicolas Goy wrote: >>> >>> >>> Looking at pf.conf(5) for syntax I just tried

Re: 7.3 php gd.so cannot load

2023-04-12 Thread Stuart Henderson
On 2023/04/12 21:00, Kent Watsen wrote: > > is /usr/X11R6/lib a real directory or have you moved it elsewhere > and replaced with a symlink? > > > No symlink. No mount either. > > > > did you get any errors after "creating runtime link editor directory > cache" at boot?

Re: 7.3 php gd.so cannot load

2023-04-12 Thread Stuart Henderson
is /usr/X11R6/lib a real directory or have you moved it elsewhere and replaced with a symlink? did you get any errors after "creating runtime link editor directory cache" at boot? (check with dmesg -s) how does ldconfig -r look? On 2023/04/12 20:20, Kent Watsen wrote: > [I'm new to PHP, but I

Re: dns priority from different network connections - or disabling?

2023-04-12 Thread Stuart Henderson
On 2023/04/12 13:20, Theo de Raadt wrote: > Stuart Henderson wrote: > > > On 2023-04-11, Theo de Raadt wrote: > > > Kaya Saman wrote: > > > > > >> This somehow is overriding my resolv.conf file; another words the > > >> information is

Re: dns priority from different network connections - or disabling?

2023-04-12 Thread Stuart Henderson
On 2023-04-11, Theo de Raadt wrote: > Kaya Saman wrote: > >> This somehow is overriding my resolv.conf file; another words the >> information is *not* being used from resolv.conf and is instead being >> used from the ipcp negotiation as part of the pppoe kernel module. > > then the pppoe code

Re: All my Rust programs stop working on OpenBSD 7.3

2023-04-12 Thread Stuart Henderson
On 2023-04-12, rsyk...@disroot.org wrote: > (caused by its security features). After the upgrade to 7.3 I saw > similar segfaults as here reported, which made me to > rebuild my program (I use pizauth to cope with the authentication of > mbsync with office365), but that was not sufficient.

Re: Can't login after upgrading to 7.3

2023-04-12 Thread Stuart Henderson
On 2023-04-11, Nathan Gilbert wrote: > I seem to stuck in a double bind, my wm needs to be recompiled, but also my > shell (fish) is not in /etc/shells now and I can’t log in on the text console > either (I changed my root users shell to fish too.) Sounds like you have a self-built fish too

Re: All my Rust programs stop working on OpenBSD 7.3

2023-04-11 Thread Stuart Henderson
On 2023-04-10, Siegfried Levin wrote: > I fixed Cargo by “pkg_add -u rust” Ignoring the rust-specific bits which tb@ and semarie@ have commented on, you should always run straight "pkg_add -u" after an update - rust or not. OpenBSD does not give much consideration for compatibility with old

Re: dns priority from different network connections - or disabling?

2023-04-11 Thread Stuart Henderson
On 2023-04-10, Kaya Saman wrote: > > On 4/10/23 16:24, Daniele B. wrote: >> Apr 10, 2023 12:52:22 Kaya Saman : >> > how do I override OpenBSD's > behavior to explicitly not use the dns servers obtained through ipcp but > instead use the ones form the resolv.conf file? >> My solution

Re: Creating a "multicast bridge"?

2023-04-09 Thread Stuart Henderson
On 2023-04-09, Janne Johansson wrote: >> On Thu, Apr 06, 2023 at 04:17:26PM +0200, Martin Schröder wrote: >> > > I'd like to create a "bridge" between two IP networks which will pass >> > > only multicast info. / traffic. >> The goal is to create a single "multicast domain" between the networks

Re: Cross-compiling with clang

2023-04-08 Thread Stuart Henderson
On 2023-04-08, lorenzo wrote: > Hello, I'm trying to use clang to cross-compile an embedded risc-v project > from my amd64 host. The problem is that it looks like the riscv target isn't > available and I only have targets related to my host gpu and cpu. Is there a > way to add other targets as

Re: Cannot connect to iked, authenticate fails

2023-04-08 Thread Stuart Henderson
On 2023-04-07, m...@phosphorus.com.br wrote: > ikev2 "vpn" passive esp \ > from dynamic to 185.21.22.23/32 \ that should definitely be "from ... to dynamic", though that's not the problem you're running into yet. (that /32 you have will only setup a tunnel to the machine itself, if you

Re: IPv4 to IPv6 mapping

2023-04-07 Thread Stuart Henderson
On 2023-04-04, Nicolas Goy wrote: > On Sun, 2023-04-02 at 15:49 +0000, Stuart Henderson wrote: >> On 2023-04-02, Jared Harper wrote: >> > On Sun, Apr 2, 2023, at 6:56 AM, Nicolas Goy wrote: >> > > Hello, >> > > >> > > Is it possible, wi

Re: Cannot connect to iked, authenticate fails

2023-04-04 Thread Stuart Henderson
On 2023-04-04, m...@phosphorus.com.br wrote: > ikectl ca VPN create > ikectl ca VPN install > ikectl ca VPN certificate 33.33.33.33 create server > ikectl ca VPN certificate 33.33.33.33 install > ikectl ca VPN certificate p6.local create client > ikectl ca VPN certificate p6.local install here

Re: what tools exist to help a beginner debug a hung syscall?

2023-04-03 Thread Stuart Henderson
On 2023-04-01, Paul Tagliamonte wrote: > I've emailed a few lists, but so far everyone either looked the other > way quickly[0], didn't know, or didn't have time to help me out (fair > enough!) I think it's mostly a mix of "don't know anything about it" and "know some things but not enough to

Re: IPv4 to IPv6 mapping

2023-04-02 Thread Stuart Henderson
On 2023-04-02, Jared Harper wrote: > On Sun, Apr 2, 2023, at 6:56 AM, Nicolas Goy wrote: >> Hello, >> >> Is it possible, with pf, to expose an ipv6 server on an ipv4 port? >> >> Something like this: >> >> -req on 1.2.3.4:80->pf->[1:2:3:4::1]:80 >> >> I know this doesn't work: >> >> pass in on any

Re: Command At Startup

2023-04-02 Thread Stuart Henderson
On 2023-04-01, Computer Planet wrote: > Hi Guys, OpenBSD 7.2 > I have no way to get a stupid autorun script to load. Can anyone tell me > where to put this script? > In /etc/rc.local it doesn't work... > The scirtp is located in the path /home/tech > and contains only this: >

Re: Static default route for a subnet

2023-03-28 Thread Stuart Henderson
On 2023-03-28, Kaya Saman wrote: > > Anyway, what I am trying to figure out is how to NAT the rdomain's? > > > At the moment from what I understand one has to put "rtable (n)" at the > end of the NAT rule... That is for _changing_ rtable; if the interfaces involved (the $vpn_net1 interface and

Re: Static default route for a subnet

2023-03-28 Thread Stuart Henderson
On 2023-03-28, Kaya Saman wrote: > On my WAN vlan for what I am going to call ISP-B, as ISP-A is existing > for a long time. What I'm trying to do right now is set this as a > default gateway for a particular subnet. There's no such thing as "default gateway for a subnet". One way to do what

Re: Recovering from as identical as faulty backup disk..

2023-03-25 Thread Stuart Henderson
On 2023-03-25, Jan Stary wrote: >> and there is a problem in OpenBSD caused by the same UID of the two disks. > > 1. Guess what the letters U I D stand for. > 2. Don't use two disk with the same uid. the duid is in the disklabel. if you clone a disk to another, you will clone the duid too. (it

Re: Possible to handle fiber WAN connection with OpenBSD using PCIe card?

2023-03-25 Thread Stuart Henderson
On 2023-03-24, Kaya Saman wrote: > Just responding to this for completeness as I have some more information > on my side > > On 3/24/23 07:21, Stuart Henderson wrote: >> On 2023-03-23, Kaya Saman wrote: >>> Unfortunately I haven't been well for a long time hen

Re: Running Bugzilla in httpd - 'Pg' is not a valid choice for $db_driver in localconfig

2023-03-25 Thread Stuart Henderson
On 2023-03-24, Werner Boninsegna wrote: > Hello, > > fake /dev/random means I created a file with a string of text such as > "1234567890". This was a workaround to get the application running. Yes that's as bad as I thought. While most things in OpenBSD itself don't use /dev/random or

Re: Running Bugzilla in httpd - 'Pg' is not a valid choice for $db_driver in localconfig

2023-03-24 Thread Stuart Henderson
On 2023-03-23, Werner Boninsegna wrote: > Please note that I had to "fake" /dev/random, as I couldn't figure out > how to set such a device in the chroot environment. I have no idea what a "fake" /dev/random looks like but that sounds a lot less safe than running the cgi script outside the

Re: Possible to handle fiber WAN connection with OpenBSD using PCIe card?

2023-03-24 Thread Stuart Henderson
On 2023-03-23, Kaya Saman wrote: > Unfortunately I haven't been well for a long time hence the delay in > upgrade and at first found it a little difficult but the way forward > after a bit of reading around was to go to 7.1-release then 7.2 and > finally jump back to Current which I believe is

Re: NUT can't read my ups (perhaps something is wrong with usb stack)

2023-03-19 Thread Stuart Henderson
On 2023-03-19, Gregory Edigarov wrote: >0.015775 libusb1: Could not open any HID devices: no USB > buses found 0.015784 No supported devices found. Please check > your device availability with 'lsusb' > lbld12# ls -l /dev/ugen0* and /dev/usb*? (the pkg-readme has some hints)

Re: Running Bugzilla in httpd - 'Pg' is not a valid choice for $db_driver in localconfig

2023-03-17 Thread Stuart Henderson
On 2023-03-17, Michael Hekeler wrote: > If you really want to run bugzilla as cgi application with slowcgi(8) > then you have to copy the required perl modules in your chroot. Or use slowcgi -p / to disable chroot. > However since bugzilla is ultimately a cgi application you can deploy it > via

Re: Tor daemon is unable to connect to the Tor network

2023-03-12 Thread Stuart Henderson
On 2023-03-11, Matt Wehowsky wrote: > * Attempted to connect to the Tor network by using obfuscated bridges > as well as by giving snowflake proxy a shot—nothing has changed It doesn't help your problem with obfs4proxy but snowflake_proxy is for providing access to others; you want

Re: Folks are there any tips to improve page load times on smokeping running on OpenBSD

2023-03-10 Thread Stuart Henderson
On 2023-03-10, Tom Smyth wrote: > I think I understand better. Now .. but is there still a security > benefit from having the different services in their own jails ? > (even if the jail cells come with their own metaphorical swimming > pool and armoury ) > > > > or is it that the jails don’t

Re: sftp-server listening port how-to

2023-03-10 Thread Stuart Henderson
On 2023-03-09, Daniele Bonini wrote: > I configured sshd to chroot ftp requests in this way: > > Match User myftpuser > ChrootDirectory /home/of/the/hackers > ForceCommand internal-sftp > > giving the proper permissions to the destination dir, etc. > as from Peter doc too. Do you have

Re: Folks are there any tips to improve page load times on smokeping running on OpenBSD

2023-03-09 Thread Stuart Henderson
On 2023/03/08 10:10, Glen Gunsalus wrote: > > On 3/7/23 15:33, Stuart Henderson wrote: > > On 2023-03-07, Glen Gunsalus wrote: > > > To get this running cp'd perl (/usr/bin/perl) and relevant perl libs > > > (/usr/lib/[libs.so|libm.so|libperl.so] /usr/libexec/ld.s

Re: Folks are there any tips to improve page load times on smokeping running on OpenBSD

2023-03-08 Thread Stuart Henderson
On 2023/03/07 14:38, Tom Smyth wrote: > the config below seems to get rrdcached working with httpd in OpenBSD. ... Thanks, I've added this to the pkg-readme. > the loading of the smokeping detailed graphs still takes a while ... but I > will do further dianostics... Do check to make sure that

Re: Folks are there any tips to improve page load times on smokeping running on OpenBSD

2023-03-07 Thread Stuart Henderson
On 2023/03/07 16:49, Fabio Martins wrote: > On Tuesday, March 7, 2023, Claudio Jeker > > > > > > No need to collect flamegraphs, the issue is massive contention on the > > kernel lock because of high IO load. I see similar behaviour with iogen. > > Currently competing read and write calls clash

Re: Upgrading from 7.2 stable to 7.3 current dig crashes (core-dumped) breaking smokeping

2023-03-07 Thread Stuart Henderson
On 2023-03-07, Peter Hessler wrote: > On 2023 Mar 07 (Tue) at 12:42:33 + (+), Tom Smyth wrote: >:Folks upgrading from 7.2 to 7.3 current snapshot >:dig seems to crash ... >: >: >:/usr/sbin/dig localhost >:Bad system call (core dumped) >: > > dig (et al) moved from /usr/sbin/ to /usr/bin/

Re: Folks are there any tips to improve page load times on smokeping running on OpenBSD

2023-03-07 Thread Stuart Henderson
On 2023/03/07 07:10, Tom Smyth wrote: > I m running smokeping fcgi and rrdcached ontop of OpenbSD, to smokeping > about 150 devces > the page load times can take 30 seconds to 1 minute, > is there any way to speed this up. > > im running 7.2 OpenBSD on amd64 vm on top of an SSD array > > any

Re: Not bootable after successfull fresh install

2023-03-06 Thread Stuart Henderson
On 2023-03-06, Francois Pussault wrote: > using installboot  manually gave answer files are not given so ISO are faulted > > Using / as rootinstalling bootstrap on /dev/rsd2cusing first-stage > /usr/mdec/biosboot, second-stage /usr/mdec/bootinstallboot: > /usr/mdec/biosboot: No such file or

Re: reboot after kernel panic on 7.2

2023-03-05 Thread Stuart Henderson
On 2023-03-05, mabi wrote: > Hello > > Is it possible to have OpenBSD 7.2 automatically reboot after a kernel panic > happens? > > I tried setting: > > ddb.panic=0 > > but it does not reboot automatically. > > As I am affected by the pfsync issue which leads to a kernel panic on OpenBSD > 7.2

Re: Does OpenBSD 7.2 PF support SITT (stateless NAT64)?

2023-03-05 Thread Stuart Henderson
On 2023-03-03, Gabor LENCSE wrote: > Does OpenBSD 7.2 PF support *SIIT* (RFC 7915, also called stateless NAT64)? No, PF's address translation is tied to firewall states.

Re: Questions about man gcc-local

2023-03-02 Thread Stuart Henderson
On 2023-03-02, Stanislav Syekirin wrote: > Hi all, > > is the man page for gcc-local > (https://man.openbsd.org/OpenBSD-7.2/gcc-local) up to date? It > mentions, for example, i386, but OpenBSD 7.2 on i386 doesn't seem to > include gcc. Also, the link to gcc(1) at the bottom of the man page is

Re: openbsd get really hot/warm

2023-03-02 Thread Stuart Henderson
On 2023-03-02, l...@netc.fr wrote: > > hello > > > > unfortunately since a week I was wondering about something : > > on two old hp elitebook, it looks like under win7 and linux/LMDE, that at a > general glance everything looks correct > > > > but on openbsd, something happens, even if CPU is

Re: Using scan_ffs to recover a disklabel

2023-03-02 Thread Stuart Henderson
On 2023-02-21, cho...@jtan.com wrote: > Well the numbers scan_ffs gave me were gibberish. The manual warns > that it only looks for ffs1 partitions, not ffs2, but I ran it > anyway and tried poking variations on the numbers it gave me into > disklabel. That didn't work. Glad you got the data

Re: Recommended place to store static arp entries

2023-03-02 Thread Stuart Henderson
On 2023-03-01, Raimo Niskanen wrote: > On Tue, Feb 28, 2023 at 02:35:18PM +0100, Claudio Jeker wrote: >> On Tue, Feb 28, 2023 at 03:30:18PM +0200, Cristian Danila wrote: >> > Dear Misc, >> > >> > I would really appreciate if more experienced members of you >> > could suggest if there is a

Re: Which assembler does clang on OpenBSD use?

2023-03-01 Thread Stuart Henderson
On 2023-03-01, Stanislav Syekirin wrote: > Hi, > > clang can use its integrated assembler or some other assembler (GNU > as, I presume). How do I find out which one is used by default? The > man page only says: "Whether the integrated assembler is on by default > is target dependent". My

Re: Authentication in OpenIKED

2023-03-01 Thread Stuart Henderson
On 2023/03/01 14:21, Tobias Heider wrote: > On Wed, Mar 01, 2023 at 09:24:50AM -0000, Stuart Henderson wrote: > > On 2023-03-01, J Doe wrote: > > > Hello, > > > > > > I have a question regarding authentication options in OpenIKED on > > > OpenBSD 7.2

Re: Authentication in OpenIKED

2023-03-01 Thread Stuart Henderson
On 2023-03-01, J Doe wrote: > Hello, > > I have a question regarding authentication options in OpenIKED on > OpenBSD 7.2 > > On my test lab I have one OpenBSD 7.2 machine with OpenIKED configured > to use PSK and a macOS 13.2.1 client that can connect to it. > > I read in: man iked.conf that

Re: ikev2_resp_create_child_sa: no proposal chosen

2023-02-24 Thread Stuart Henderson
On 2023/02/24 12:49, Tobias Heider wrote: > On Fri, Feb 24, 2023 at 09:24:29AM -0000, Stuart Henderson wrote: > > On 2023-02-23, Thomas Bohl wrote: > > > I have several OpenBSD 7.2 connected to a commercial VPN-Router (LANCOM > > > 1781EW+) using iked. It works, exc

Re: ikev2_resp_create_child_sa: no proposal chosen

2023-02-24 Thread Stuart Henderson
On 2023-02-23, Thomas Bohl wrote: > I have several OpenBSD 7.2 connected to a commercial VPN-Router (LANCOM > 1781EW+) using iked. It works, except every time the Child SA > negotiation starts, iked answers NO_PROPOSAL_CHOSEN to the router. Which > leads to closed connections and a new IKE SA

Re: Disabling .core file generation

2023-02-24 Thread Stuart Henderson
On 2023-02-24, Daniele Bonini wrote: > And I set login.conf adding the following: > > default:\ > .. > :coredumpsize-max=1M:\ > :coredumpsize-cur=1M: That is in blocks not bytes. -- Please keep replies on the mailing list.

Re: how tail waits for file to appear again?

2023-02-17 Thread Stuart Henderson
On 2023-02-17, Maksim Rodin wrote: >> > I was able to reproduce watching for new data and truncation of the >> > file using "kqueue" but I do not quite understand how the original tail >> > watches when the file appears again after deletion or renaming. > I am sorry that I could not be clear

Re: Ensuring data integrity

2023-02-17 Thread Stuart Henderson
On 2023-02-17, Eric Johnson <726960+openbsd0...@pm.me> wrote: > Ask yourself what happens when someone writes a file to a mirror? > Answer: It means that both drives in the mirror will then contain the > file. If you make a mistake in the file, it means that you have the > issue on both drives and

Re: 7.2: Console Errors

2023-02-15 Thread Stuart Henderson
On 2023-02-15, Daniele Bonini wrote: > > drm:pid80703;intel_pipe_update_start *ERROR* [drm] *ERROR* Potential > atomic update failure on pipe A > > repeated.. > > Can't find the pid in the system.. :D ps -kax -- Please keep replies on the mailing list.

Re: Performance optimizing OpenBSD 7.2

2023-02-15 Thread Stuart Henderson
On 2023-02-15, Lars Bonnesen wrote: > lbo@PLOSLOL2VPN:/etc$ pfctl -s info > Status: Enabled for 0 days 00:06:49 Debug: err > > State Table Total Rate > current entries 149331 > half-open tcp 5333 >

Re: OpenBSD, PHP lifecycle and PHP 8.1 broken compatibility

2023-02-15 Thread Stuart Henderson
On 2023-02-15, Daniele Bonini wrote: > > Let's say like OpenBSD like a PHP dev environment doesn't come > in handy at time. Try to think if for any reason sysupgrade upgrade > my php system version, they days after I will have no launch for a > while. It is not acceptable.. You're probably

Re: Performance optimizing OpenBSD 7.2

2023-02-15 Thread Stuart Henderson
On 2023-02-15, Lars Bonnesen wrote: > One says: > > # pfctl -s info > Status: Enabled for 0 days 10:56:43 Debug: err > > State Table Total Rate > current entries91680 Lots of entries, close to the default: $ doas pfctl -sm

Re: OpenBSD, PHP lifecycle and PHP 8.1 broken compatibility

2023-02-15 Thread Stuart Henderson
On 2023-02-14, Daniele B. wrote: > I'm wondering what are your thoughs on the subject of PHP different versions, > in respect to OpenBSD lifecycle. And, indeed, what is going to happen in > OpenBSD facing this broken compatibility with the past, starting from 8.1. > Are you going to support PHP

Re: Q: Error: mount_mfs: mmap: Cannot allocate memory

2023-02-13 Thread Stuart Henderson
On 2023-02-12, Why 42? The lists account. wrote: > > You're exactly right. With this entry in fstab: >> swap /tmp mfs rw,nodev,nosuid,-s=4194304 0 0 > > I now have this /tmp space: >> mjoelnir:~ 12.02 13:15:07 % df -h >> Filesystem SizeUsed Avail Capacity Mounted on >> /dev/sd1a

Re: Taring a "posix problemozauro"..

2023-02-10 Thread Stuart Henderson
On 2023-02-10, Daniele Bonini wrote: > tar: File name too long for ustar > "go/Pippo/Pluto_Pluto_Pluto_Pluto/pippo/EN/pippo pippo pippo pippo > technical assistance and sale of appliances emergency service > throughout the pippo area pippo pippo superpippopippo.com" > > and these folder and files

Re: athn on a bridge

2023-02-09 Thread Stuart Henderson
On 2023-02-08, Martin Kjær Jørgensen wrote: > > When configuring the athn0 with no IP address, and adding the interface to a > bridge0 interface along with the em1 device and a vether0 device, clients > still connects fine to athn0 SSID but when clients ask for IP over DHCP, > ethernet frames

Re: Error from the PCB program

2023-02-09 Thread Stuart Henderson
On 2023-02-09, Freddy Fisker wrote: > Thanks for your interest. > > I forgot to mention that the problem came after the last time I updated > OpenBSD 7.2 to current. cad/pcb didn't get built in the last set of bulk builds due to a dependency loop in multimedia/frei0r-plugins which has since

Re: Zabbix: Support for PSK was not compiled in

2023-02-08 Thread Stuart Henderson
On 2023-02-08, Lars Bonnesen wrote: > Installed zabbix-agent > > but when doing "./zabbix_agentd -d start", I get: > > ERROR: value of parameter "TLSConnect" requires support of encrypted > connection with PSK but support for PSK was not compiled in > > How do I add support for Preshared key?

Re: Debugging system failure as per crash(8)

2023-02-08 Thread Stuart Henderson
On 2023-02-07, pulsed...@tutanota.com wrote: > Hello, > > How would I solve debugging a kernel issue when ddb(4) will freeze running > "boot crash" and using gdb(1) with "target kvm" will not write to the disk? > Is taking photographs of my computer screen the only option to record trace >

Re: Live stick / cd from official sources

2023-02-08 Thread Stuart Henderson
On 2023-02-08, Michael Hekeler wrote: > Am 04.02.23 17:48 schrieb Daniele B.: >> Sorry if I bother you again with the thread. >> >> The minipc will be on business from tomorrow and I will use it >> together with a little student of mine: it is enough critical that the >> "not configured" hello!

Re: DBeaver or similar db tool

2023-02-08 Thread Stuart Henderson
On 2023-02-08, Michael Hekeler wrote: > Am 07.02.23 15:27 schrieb Daniele B.: >> Hello, >> >> I'm looking around a new "work environment" offering what in terms >> of software and I came across a list of appealing software >> suggested in the category 'db tools' to manage my >> databases. >> >>

Re: LAN slow speed transfer

2023-02-05 Thread Stuart Henderson
On 2023-02-04, vitmau...@gmail.com wrote: > Here are those outputs you guys requested. Those state mismatches on > pfctl caught my attention, but I'm not sure about what they mean > exactly. Thank you for the help. It might help to show pf.conf then. If you're allowing it to create state on

Re: doas.conf example

2023-02-02 Thread Stuart Henderson
On 2023-02-02, Jon Fineman wrote: > I was following the doas.conf example in > > > Specially I added the below: > permit nopass setenv { \ > FTPMODE PKG_CACHE PKG_PATH SM_PATH SSH_AUTH_SOCK \ > DESTDIR DISTDIR FETCH_CMD FLAVOR

Re: LAN slow speed transfer

2023-02-02 Thread Stuart Henderson
On 2023-02-02, vitmau...@gmail.com wrote: > Hello guys, > > I'm having problems trying to improve my transfer speed over LAN. I > can't consistently reach speeds over 10 MBytes/s using iPerf (real > disk writing transfers with scp render basically the same results). > Since both server (OpenBSD)

Re: Yubikey detection by non-root user

2023-02-02 Thread Stuart Henderson
On 2023-02-01, Leonardo Moreno wrote: > Hello, > > I had trouble getting my Yubikey recognized by KeepassXC > as a normal user (staff class, wheel group). > > I compared the ktrace of ykpersonalize between root and this user > and saw that the latter couldn't access /dev/usb0 and /dev/ugen1.00 >

Re: hw.ncpuonline (2 of 2)

2023-02-02 Thread Stuart Henderson
On 2023-02-02, Crystal Kolipe wrote: > On Wed, Feb 01, 2023 at 04:56:17PM -0800, Justin Muir wrote: >> As requested, dmesg output: > > ... > >> cpu0: smt 0, core 0, package 0 >> cpu1: smt 1, core 0, package 0 >> cpu2: smt 0, core 1, package 0 >> cpu3: smt 1, core 1, package 0 > > This CPU

Re: hw.ncpuonline

2023-02-01 Thread Stuart Henderson
On 2023-02-01, Justin Muir wrote: > Hi all, > > I've got an AMD A10 with 4 cores and only 2 are online. I'm not sure how to > enable the other 2. > > hw.ncpufound=4 btw > > Any ideas out there? Assuming the specs I found are correct and they are full cores, there should be no issue using

Re: Live stick / cd from official sources

2023-01-31 Thread Stuart Henderson
On 2023-01-31, daniele bonini wrote: > > Thank you for this one.  > I need to underline that Androd Mail never gave me problems until now, apart > your mlists.So this is the right time to pay check: http://XXX.at/l/dona1 :-) Err, wtf? Can you keep a bit closer to the topic of OpenBSD on this

Re: Live stick / cd from official sources

2023-01-30 Thread Stuart Henderson
On 2023-01-30, daniele bonini wrote: > The interesting news is that in to Aol my sent email are saved correctly.So,  > the "smart" guy seems scanning your Majordomo instance. The mailing list strips text/html attachments, the text/plain part from your original mail probably has some issues.

Re: Live stick / cd from official sources

2023-01-30 Thread Stuart Henderson
On 2023-01-30, my25mb wrote: > b) if there is an unofficial live image around seriously maintained > and that solve the "hardness" quiz of the Team, I think this one or more > of them out there (there are some) could be endorsed in the FAQ, or > whereever by openbsd.org I think I can safely say

Re: Live stick / cd from official sources

2023-01-30 Thread Stuart Henderson
On 2023-01-30, my25mb wrote: > > I'm asking, if someone can grab the hint, if it is "phisible" (btw, 'feasible') > to have an official live stick/cd on openbsd.org to simplify "my" > relationship and existance with these mysterious hardware systems :-). If the vendor is going to be thorough

Re: pkg_info -Q not finding all entries?

2023-01-30 Thread Stuart Henderson
On 2023-01-30, David Demelier wrote: > While searching for sqlite3 I've realized that pkg_info -Q sqlite3 > finds some php packages but not everything available in the remote > repository: This is a consequence of the "first repository of the package search path" limitation of -Q and how -stable

Re: Recent problem when compiling GENERIC.MP

2023-01-29 Thread Stuart Henderson
On 2023-01-29, Leonardo Moreno wrote: > That was it. I used make clean and was able to compile. > > I feel guilty for not doing it before. > > Thanks! > > 2 reasons why I don't use a snapshot. > > 1) When updating to the most recent snapshot, the installer > doesn't seem to recognize the

Re: py-lmdb often gets segmentation faults

2023-01-28 Thread Stuart Henderson
Thanks for the detailed report, thinking about what information might be useful, and including it directly in your email. On 2023-01-28, Roger Marsh wrote: > Package lmdb-0.9.29 was installed; and py-lmdb, as a --user install, from > PyPi so lmdb can be used from Python3.9. py-lmdb bundles its

<    1   2   3   4   5   6   7   8   9   10   >