Re: OpenBSD alternative setup to ZFS on Linux or FreeBSD

2023-11-25 Thread Stuart Henderson
On 2023-11-24, Stephen Wiley wrote: > I was messing with blueray a couple years ago for archiving. Last I checked > it's pretty marginal in terms of cost when compared with SSDs. SSDs are absolutely not suitable for long term archival. They need to be kept powered to avoid losing data over the me

Re: Auto-install over network using UEFI

2023-11-23 Thread Stuart Henderson
On 2023-11-23, Nick Owens wrote: > On Tue, Nov 21, 2023 at 7:03 PM Chris Narkiewicz wrote: >> >> I'm experimentin with auto-install over network using linux libvirt >> (qemu). >> >> I managed to load pxeboot in BIOS mode and I'm wondering if UEFI >> is supported. >> >> According to this blog, I s

Re: PF Rules for Dual Upstream Gateways

2023-11-23 Thread Stuart Henderson
On 2023-11-22, Ian Timothy wrote: > Hello, > > I have two ISPs where one connection is primary and the other is > low-bandwidth for temporary failover only. ifstated handles the failover by > simply changing the default gateway. But under normal conditions I want to be > able to connect via eit

Re: Auto-install over network using UEFI

2023-11-22 Thread Stuart Henderson
On 2023-11-22, Chris Narkiewicz wrote: > I'm experimentin with auto-install over network using linux libvirt > (qemu). > > I managed to load pxeboot in BIOS mode and I'm wondering if UEFI > is supported. > > According to this blog, I should load BOOTX64.EFI instead of pxeboot. > > https://eradman.

Re: upgrade to latest snapshot failing

2023-11-17 Thread Stuart Henderson
Try booting bsd.rd and downloading a newer snap. -- Sent from a phone, apologies for poor formatting. On 17 November 2023 19:25:03 Sonic wrote: On Fri, Nov 17, 2023 at 2:06 PM Stuart Henderson wrote: Bit old by now, boot bsd.rd and try a newer one? If that fails too: which arch? I&#

Re: upgrade to latest snapshot failing

2023-11-17 Thread Stuart Henderson
On 2023-11-17, Sonic wrote: > Following -current: > OpenBSD 7.4-current (GENERIC.MP) #1447: Wed Nov 15 09:56:54 MST 2023 > Upgrade via "sysupgrade -s" now failing with: > init: single user shell terminated, restarting > init: single user shell terminated, restarting > init: single user shell termi

Re: openbsd.org DNS problems

2023-11-16 Thread Stuart Henderson
On 2023-11-16, tux2bsd wrote: > Stuart Henderson wrote: >> > Convention is either date of last update MMDDNN or, date +%s >> > 1218140044 is neither. >> >> >> Serial can be absolutely anything the admin wants to use as long as they >> follow t

Re: openbsd.org DNS problems

2023-11-16 Thread Stuart Henderson
On 2023-11-16, tux2bsd wrote: It'd be good to sort this, a bit of a meta remote hole... > > Maybe I could have said "remote black hole". > > Otto: >>> The persons capable of fixing this are traveling right now >> (and openbsd.org does have an A record). >> things are fixed now > > You're welc

Re: umb0: open error: FAILURE

2023-11-14 Thread Stuart Henderson
On 2023/11/14 18:12, Samuel Jayden wrote: > > I will try to upgrade the SIMCOM LTE module's firmware. Maybe it can solve  > the problem. While there's a slight chance this might help, I don't think it's very likely. > Also I've got a related question: > How can I connect to (mbim-mode) lte modem

Re: umb0: open error: FAILURE

2023-11-14 Thread Stuart Henderson
On 2023-11-13, Samuel Jayden wrote: > # ifconfig umb0 > umb0: flags=8815 mtu 1500 > index 7 priority 6 llprio 3 > roaming disabled registration unknown > state down cell-class none > SIM not initialized PIN required This "PIN required" can be a red herring - iirc you see the same if the device ne

Re: libc++abi: std::bad_alloc: std::bad_alloc (nodejs)

2023-11-14 Thread Stuart Henderson
On 2023-11-13, 0x1eef <0x1...@protonmail.com> wrote: > Hello > > I have a project that's built with nodejs / webpack. > I have a few other projects that use the same stack, > and are far more complicated. There's no problems > building them on OpenBSD. > > With this particular project, I run into

Re: lilypond PDF builds broken in OpenBSD 7.4 following ghostscript-10.02.0->10.02.1 ?

2023-11-14 Thread Stuart Henderson
On 2023-11-14, Stuart Henderson wrote: > On 2023-11-13, Jeremy Mates wrote: >> Nov 12 19:41:30 gear pkg_add: Added firefox-119.0->119.0.1 >> Nov 12 19:41:55 gear pkg_add: Added ghostscript-10.02.0->10.02.1 >> >> PDF builds fail, can someone confirm

Re: lilypond PDF builds broken in OpenBSD 7.4 following ghostscript-10.02.0->10.02.1 ?

2023-11-13 Thread Stuart Henderson
On 2023-11-13, Jeremy Mates wrote: > Nov 12 19:41:30 gear pkg_add: Added firefox-119.0->119.0.1 > Nov 12 19:41:55 gear pkg_add: Added ghostscript-10.02.0->10.02.1 > > PDF builds fail, can someone confirm this isn't my system being wacky? This was fixed in -current but that hasn't been

Re: Logging daemon message in a specific file

2023-11-12 Thread Stuart Henderson
On 2023-11-12, Rosen Iliev wrote: > Hello, > > man syslog.conf is your friend. > > /!!prog/ causes the subsequent block to abort evaluation when a message > matches, ensuring that only a single set of actions is taken. /!*/ > can be used to ensure that

Re: Pimp my APU

2023-11-11 Thread Stuart Henderson
On 2023/11/11 11:31, Lucas Gabriel Vuotto wrote: > On Sat, Nov 11, 2023 at 10:42:22AM -0000, Stuart Henderson wrote: > > > 3) There is a simple watchdog timer in the NCT5104D that can be > > > connected to the reset line. Would this be implemented? > > > > als

Re: pf logging in ascii and send to remote syslog

2023-11-11 Thread Stuart Henderson
On 2023-11-11, Peter N. M. Hansteen wrote: > On Fri, Nov 10, 2023 at 08:23:54PM +0100, Hrvoje Popovski wrote: >> what would be best way to log pf logs in ascii and sent it to remote >> syslog ? I'm aware of pflow but I need ascii pf logs on remote syslog >> server. > > something like the good old

Re: Pimp my APU

2023-11-11 Thread Stuart Henderson
On 2023-11-10, Anders Andersson wrote: > I'm running OpenBSD on my (recently EOL) APU4 and I'm wondering how > much of the "extra" hardware is expected to work on OpenBSD. > > 1) On the back of the board is a button "S1" and three status LEDs, > The documentation says they are handled by the AMD F

Re: proting hammer2fs

2023-11-11 Thread Stuart Henderson
On 2023-11-11, hammer2_zfs wrote: sigh, not this again There's no point in people pointing at repos where the authors are clearly uninterested in OpenBSD hoping that somebody else (who probably won't have deep knowledge of the code involved on at least one side or the other) will do the work. >

Re: Regression (or misconfig on my side?) after OpenOSPFd upgrade (OpenBSD 7.3 -> 7.4)

2023-11-09 Thread Stuart Henderson
On 2023-11-07, Laurent CARON wrote: > Hi, > > After upgrading a 7.3 to 7.4 OpenBSD box, I noticed OSPF adjacencies > using a password are not coming up with the following in /var/log/messages: > > ospfd[55040]: recv_packet: authentication error, neighbor ID X.X.X.X > interface vlanXX > > After r

Re: Thinkpad Gets Very Hot

2023-11-08 Thread Stuart Henderson
On 2023-11-07, luffy20201 wrote: > Hi, I've been an OpenBSD user for a year now, but I've never been able to > disable Acpitz. I have tried everything, and nothing has worked. I use a > Thinkpad X220, and it gets really hot. I need some help with this, can you > please guys lend a hand? Thank Y

Re: OnLogic Helix 330

2023-11-07 Thread Stuart Henderson
On 2023-11-07, Devin Reade wrote: > I recently acquired an OnLogic Helix 330 (see [1] and [2]) and booted > the 7.4 install image via USB; no installation yet, no serial console > configured yet, no sharable dmesg yet. > > I have the version with the four network interfaces, based on the > J6426.

Re: curl-8.4.0 pulled from 7.3/packages-stable/amd64?

2023-10-28 Thread Stuart Henderson
On 2023-10-27, Bryce Chidester wrote: > Hey all, > Can anyone confirm that curl-8.4.0.tgz was yanked from the > 7.3/packages-stable/amd64? > I'm certain it was there at some point because I have it installed on > some of my 7.3 systems. But it's not there now. I've checked both > cdn.openbsd.org a

Re: apu4 real com0 boot - not working to install 7.4

2023-10-26 Thread Stuart Henderson
On 2023/10/26 11:08, Stuart Henderson wrote: > On 2023/10/26 10:37, Anders Andersson wrote: > > On Thu, Oct 26, 2023 at 10:06 AM Stuart Henderson > > wrote: > > > > > > On 2023-10-26, harold felton wrote: > > > > i have a pcengines apu4 which has been

Re: apu4 real com0 boot - not working to install 7.4

2023-10-26 Thread Stuart Henderson
On 2023/10/26 10:37, Anders Andersson wrote: > On Thu, Oct 26, 2023 at 10:06 AM Stuart Henderson > wrote: > > > > On 2023-10-26, harold felton wrote: > > > i have a pcengines apu4 which has been running 7.1-stable with all updates > > > just fine... i had bee

Re: apu4 real com0 boot - not working to install 7.4

2023-10-26 Thread Stuart Henderson
On 2023-10-26, harold felton wrote: > i have a pcengines apu4 which has been running 7.1-stable with all updates > just fine... i had been avoiding doing an upgrade - so was thinking to > reinstall based on 7.4-release this week... i was unable to do an install > from the bsd.rd (for 7.4) - and

Re: Connecting a wireless keyboard via Bluetooth

2023-10-26 Thread Stuart Henderson
On 2023-10-25, Marcus MERIGHI wrote: > I suppose you need something equivalent to the above solution for audio, > but for keyboards. > > Keyboard <-> Bluetooth <-> Dongle <-> USB-HID <-> OpenBSD In theory they might exist, but I was never able to track one down, the best I came up with w

Re: strlcpy & pointers

2023-10-25 Thread Stuart Henderson
On 2023-10-25, Maria Morisot wrote: > I opened xenocara/lib/libX11/src/xlibi18n/lcPrTxt.c and strcpy operates on a > buffer passed in through a pointer, so I don't think there's a way to > calculate the buffer length. I'm not very good at C, so I don't know what to > do here. Do I just leave st

Re: ftp.openbsd.org: tlsv1 alert protocol version

2023-10-25 Thread Stuart Henderson
On 2023-10-25, Martin Schröder wrote: > Hi, > downloading the latest patches on 7.4 fails with > >> curl --verbose >> https://ftp.openbsd.org/pub/OpenBSD/patches/7.4/common/001_xserver.patch.sig > * Trying [2620:3d:c000:178::81]:443... > * Connected to ftp.openbsd.org (2620:3d:c000:178::81) por

Re: my first patch

2023-10-25 Thread Stuart Henderson
On 2023-10-25, Maria Morisot wrote: > Basically I just changed all instances of strcpy and sprintf to use strlcpy > and snprintf, because the compiler said to. >> >> This sort of change should go upstream rather than in ports. Be careful >> that you're using correct lengths though, it is possibl

Re: CVS checkout

2023-10-25 Thread Stuart Henderson
On 2023-10-25, Maria Morisot wrote: > got it now, thanks. I'll start editing; but I still don't know how to submit > changes. Since I'm new I can't imagine anyone giving me write access; so what > is the process for uploading changes to the source tree for someone just > starting out? There ar

Re: ImageMagick fails on OpenBSD 7.4 fresh install

2023-10-24 Thread Stuart Henderson
On 2023-10-22, Mark wrote: > pkg_add ImageMagick-6.9.12.88p0 gives me; > > (after fetching few libraries) > > "Can't install ImageMagick-6.9.12.88p0: can't resolve > djvulibre-3.5.28p1,libheif-1.16.2p0" > > and then; > "Couldn't install ImageMagick-6.9.12.88p0 djvulibre-3.5.28p1 > libheif-1.16.2p0

Re: my first patch

2023-10-24 Thread Stuart Henderson
On 2023-10-24, Lucretia wrote: > I made my first patch! > > To devel/dwz, I'm not sure how to submit it, or if it's even useful to anyone. > > Basically I just changed all instances of strcpy and sprintf to use strlcpy > and snprintf, because the compiler said to. This sort of change should go u

Re: Default rdomain for CLI commands

2023-10-24 Thread Stuart Henderson
On 2023-10-24, Andy Lemin wrote: > Hi all, > > Just a quick question. > > I have multiple rdomains. My outside rdomain (rdomain 0) has a single default > route to my ISP. And my internal rdomain 9 has multiple default routes > pointing to various pairX interfaces for some funky routing stuff. >

Re: AAAA entry for openbsd.org

2023-10-24 Thread Stuart Henderson
On 2023-10-23, Philip Guenther wrote: > See, this is why being clear about What Fine Problem You're Trying To Solve > is important: AFAICT the installer tries to fetch the mirror list from > ftplist1.openbsd.org and not from openbsd.org. The installer writes out its own /etc/hosts file with the k

Re: SSL issues after upgrading from 7.3 to 7.4

2023-10-22 Thread Stuart Henderson
On 2023-10-21, Theo Buehler wrote: > On Sat, Oct 21, 2023 at 09:23:51AM +0300, Mark wrote: >> So, no idea on this? > > No. OCSP does work for me on 7.4 when enabled, both with httpd and nginx. > With nginx, you need to have accessed the page at least once so it > fetches and caches the staple and

Re: squid replacement

2023-10-21 Thread Stuart Henderson
On 2023-10-20, Lyndon Nerenberg (VE7TFX/VE6BBM) wrote: > We've been running squid on OpenBSD for years, but it seems these > days that any time it tries to proxy a file > 1MB, it just dies. > This makes it impossible to do thinks like mirror the OpenBSD > distributions. > > Does anyone know of ano

Re: Limiting RAM on boot to emulate low-memory situation

2023-10-21 Thread Stuart Henderson
On 2023-10-21, Chris Narkiewicz wrote: > Is it possible to decrease amount of available RAM at boot time? > > I'm about to migrate some VPS system to a significantly cheaper option > that comes with less RAM and I need to evaluate how existing system > will behave. > > Sadly, I can't reconfigure R

Re: $TERM problems with tmux/vim/mutt on latest -current

2023-10-19 Thread Stuart Henderson
You need new packages following the curses update. i386 are ready (faster build than usual due to a few broken ports), amd64 should be soon. On 2023-10-19, Mikhail wrote: > > kern.version=OpenBSD 7.4-current (GENERIC.MP) #1413: Wed Oct 18 22:19:27 MDT > 2023 > dera...@amd64.openbsd.org:/usr/

Re: ldd error with setuid/setgid binaries

2023-10-18 Thread Stuart Henderson
On 2023/10/18 06:35, Theo de Raadt wrote: > ldd around suid programs has a fine history of security holes. > > One idea is for you to just not not do that. > > You don't explain why you need to do this. You just completely skipped that. > You don't justify why you need it to work. Does that mak

Re: ldd error with setuid/setgid binaries

2023-10-18 Thread Stuart Henderson
On 2023-10-18, Yoshihiro Kawamata wrote: > In OpenBSD 7.4, running ldd on a setuid or setgid executable returns > an error. Why is this? ldd started using execpromises, and: /* SUID programs may not be started with execpromises */

Re: Lenovo Thinkpad T14 Gen3 very slow on MP kernel, faster on GENERIC

2023-10-18 Thread Stuart Henderson
organ > > 17 octobre 2023 14:24 "Stuart Henderson" a écrit: > >> On 2023-10-16, Comète wrote: >> >>> Hello, >>> >>> I'm experiencing big slowdowns on a LENOVO Thinkpad T14 Gen3 when using MP >>> kernel (on 7.3 and 7.4) &g

Re: xenodm blank screen

2023-10-18 Thread Stuart Henderson
On 2023-10-18, Ryan England wrote: > Hello everyone, > > I've got an issue when attempting to start xenodm. When it starts, I only see > a blank screen. Looking in Xorg0.log, I see the following: > > wsfb(0): error in WSDISPLAY_SVIDEO Operation not supported > > I have ~/.xsession configured with

Re: Lenovo Thinkpad T14 Gen3 very slow on MP kernel, faster on GENERIC

2023-10-17 Thread Stuart Henderson
On 2023-10-16, Comète wrote: > Hello, > > I'm experiencing big slowdowns on a LENOVO Thinkpad T14 Gen3 when using MP > kernel (on 7.3 and 7.4) but strangely not on GENERIC. > For example, starting LibreOffice on GENERIC takes 7 seconds but 35 seconds > on MP kernel. It's even lagging when typin

Re: Greedy match of traffic in iked between site and hub

2023-10-16 Thread Stuart Henderson
On 2023-10-16, rea...@catastrophe.net wrote: > On Sun, Oct 15, 2023 at 04:56:17PM -0000, Stuart Henderson wrote: >>On 2023-10-15, rea...@catastrophe.net wrote: >>> What is a better way to configure iked on site-obsd so that it does not >>> encapsulate local traffic

Re: Greedy match of traffic in iked between site and hub

2023-10-15 Thread Stuart Henderson
On 2023-10-15, rea...@catastrophe.net wrote: > What is a better way to configure iked on site-obsd so that it does not > encapsulate local traffic on the 10.89.2.0/24 network? Obviously my > understanding is incorrect, so any help is appreciated. You should be able to add a bypass flow in ipsec.c

Re: 7.4 and hostname.pfsync7

2023-10-15 Thread Stuart Henderson
On 2023-10-15, Harald Dunkel wrote: > Hi folks, > > I learned that pfsync has been rewritten for 7.4 and that > > up > syncdev em7 > > doesn't work anymore. What about > > up syncdev em7 > > (one line), as suggested in the current pfsync(4)? Suggest you either use the syntax sho

Re: Starting Homebridge / nodejs daemon at boot

2023-10-15 Thread Stuart Henderson
On 2023-10-14, Manuel Kuklinski wrote: > Thank you again - can you possibly direct me in the correct way to "dump > the environment"? I guess you don't mean `env`? Yes, env - e.g. "(date; env) >> /tmp/env.log

Re: Starting Homebridge / nodejs daemon at boot

2023-10-14 Thread Stuart Henderson
On 2023/10/14 17:58, Manuel Kuklinski wrote: > Am Samstag 14 Oktober 2023 um 15:40:19 -, schrieb Stuart Henderson 1,0K: > > Is it any better if you do > > > > daemon="/usr/local/bin/node" > > daemon_flags="/usr/local/bin/homebridge -T -Q -U /var/hom

Re: Starting Homebridge / nodejs daemon at boot

2023-10-14 Thread Stuart Henderson
On 2023-10-10, Manuel Kuklinski wrote: > Hi! > > I can't get homebridge started at boot - it starts with the following > rc.d script if running as root after logging in, but fails to be present > at boot time: > > # cat /etc/rc.d/homebridge > #!/bin/ksh > > daemon="/usr/local/bin/homebridge" > dae

Re: relayd ssl termination advice

2023-10-10 Thread Stuart Henderson
On 2023-10-10, Courtney wrote: > Maybe I am wrong, but I thought that relayd was not capable of doing > TLS pass through? That would be preferable if it is possible. If you do TLS passthrough (i.e. passing packets directly to the origin rather than doing "back to back" and terminating one TLS con

Re: OpenBSD 7.3 latest snaphots

2023-10-10 Thread Stuart Henderson
On 2023-10-10, jonathon575 wrote: > Hello everyone, > > How to get the latest openbsd 7.3 snapshot?! On the website, the snapshots > are showing for 7.4 beta version. > > Also would the security patches and bugs be integrated in the openbsd 7.3 > latest snapshots. > > Kindly advise. > > Many Tha

Re: syslogd in 7.4 no longer likes self signed certificates for TLS remote logging

2023-10-09 Thread Stuart Henderson
On 2023-10-09, Peter N. M. Hansteen wrote: > On Mon, Oct 09, 2023 at 06:42:02PM +0200, Noth wrote: >> >>   I upgraded to 7.4 via CVS on my VMs but not my routers (yet). The 7.3 >> routers are still able to connect via TLS but the 7.4 VMs can't as they >> don't like the self signed certs. It'd be

Re: Webcam support on Lenovo Thinkpad T14 Gen3 (Intel)

2023-10-07 Thread Stuart Henderson
On 2023-10-07, Peter Hessler wrote: > A lot of the Thinkpad laptops have a physical switch that will > cover/uncover the camera. covers the visible light camera, anyway... not sure about the IR one. though actually the "camera in use LED" no longer lights when that slider is closed on mine. >:v

Re: Webcam support on Lenovo Thinkpad T14 Gen3 (Intel)

2023-10-07 Thread Stuart Henderson
On 2023-10-07, Thomas Frohwein wrote: > Looks like Comte followed the console instructions at [1] to the letter. > It seems to me that jumping right to ffplay recording isn't the best > way for you to check the camera is working. Simplest way to test seems > to me: > > $ video -f /dev/video0 > > A

Re: openFPGAloader successfully built, but can't flash with ftdi error

2023-10-06 Thread Stuart Henderson
On 2023-10-06, S V wrote: >> The software that you're using may need the USB device to be attached to >> ugen rather than uftdi. The simplest way to do this is probably to type >> "boot -c" at the boot loader, "disable uftdi", "quit". > > > Thanks!!! It works!!! good, thanks for confirming. > La

Re: openFPGAloader successfully built, but can't flash with ftdi error

2023-10-06 Thread Stuart Henderson
On 2023-10-06, S V wrote: > Here is description of problem: > > After building software and attaching HW I can successfully scan usb > > found 10 USB device > Bus device vid:pid probe type manufacturer serial product > 000 001 0x:0x xvc-client Generic none xHCI root hub > 001 001 0x:0x

Re: Understanding -current as 7.4 is released

2023-10-06 Thread Stuart Henderson
On 2023-10-05, Ingo Schwarze wrote: > The command "sysctl -n kern.version" tells you what a machine > is currently running: > > OpenBSD X.Y-beta = ongoing development *before* X.Y > OpenBSD X.Y with no suffix = release Either release, or a pre-release snapshot - close to release these a

Re: X11 crashing

2023-10-05 Thread Stuart Henderson
On 2023-10-05, Maria Morisot wrote: > I installed the patch for X11 (October 3rd), then rebooted, > now X is crashing every time I log in on xenodm, > sometimes I get a blue screen with debug messages, If you show what those debug messages are (copy them down and type into an email), also collect

Re: keepassxc-2.7 + Hardware Key

2023-10-02 Thread Stuart Henderson
I don't think the keepassxc-2.7.4p2 package will support any hardware keys. There is a -yubikey flavour (i.e. the keepassxc-2.7.4p2-yubikey package) which might work with a yubikey. Never tried it though. On 2023-10-02, Mike Coddington wrote: > > >> On Oct 2, 2023, at 2:09 PM, m...@phosphorus.co

Re: Bridging em and vlan

2023-10-02 Thread Stuart Henderson
On 2023-10-02, David Higgs wrote: > Related question: It doesn't appear that veb (and bridge) are part of > either amd64 RAMDISK. Does this create any added complexity with > (sys)upgrades or does it somehow Just Work(tm)? sysupgrade downloads to disk so the bsd.rd upgrade run can work without n

Re: sftp activity logging?

2023-09-28 Thread Stuart Henderson
On 2023-09-28, Nick Holland wrote: > On 8/31/23 17:29, myml...@gmx.com wrote: >> Hi All, >> >> I am setting an openbsd 7.3 stable system to serve files via ssh's sftp >> subsystem. >> >> Does openssh have a native way to audit what files were >> downloaded/uploaded with user/timestamp informatio

Re: I nuked my filesystem

2023-09-27 Thread Stuart Henderson
On 2023-09-27, Isaac Meerleo wrote: > Thank you all for your replies. I needed to step away from my > computer last night so I apologize for the terse email. > sd0 is my physical hard disk with full disk encryption. I wrote a 5gb > iso over the beginning of sd1c (my softraid volume). I rebooted

Re: TP-Link WN821N USB wireless NIC on OpenBSD/amd64 7.3

2023-09-27 Thread Stuart Henderson
On 2023-09-27, Anders Jensen-Waud wrote: > On Tue, Sep 26, 2023 at 08:35:29AM +0200, Stefan Sperling wrote: >> On Tue, Sep 26, 2023 at 11:04:21AM +0800, Anders Jensen-Waud wrote: > > >> > Is there a way I can get the NIC to speed up? >> >> Yes, the way is to implement 802.11n support in the driv

Re: I nuked my filesystem

2023-09-27 Thread Stuart Henderson
On 2023-09-27, sprits killshot wrote: > I did the thing. > dd'd a 5gb img to my ssd instead of my usb and I want to die. > > dd if=file.iso of=/dev/sd1c > > I am using a CRYPTO RAID partition and luckily I'm smart enough not to > nuke that. > > My ssd is 2TB so I believe it uses FFS2 by default.

Re: fail to powerdown from installed system

2023-09-27 Thread Stuart Henderson
On 2023-09-27, Dimitrios Moustos wrote: >>Please try -current first. > Indeed, a bad omission. > More editing quality control next time. > > The amd64 machine fails to power down while running: > 7.2 > 7.3 > current (as of 2023-09-20) > > Today (2023-09-27) I installed latest snapshot on a usb sti

Re: fail to powerdown from installed system

2023-09-26 Thread Stuart Henderson
On 2023-09-26, Dimitrios Moustos wrote: > I believe the problem appeared arround openbsd 7.2, or 7.1. I am not sure. > Knowing exactly when the problem appeared might help locate the problem. > In this case I will install some older versions and report back. Please try -current first.

Re: Unclear Memory Leakage since OpenBSD 7.3 upgrade (nginx and MariaDB; Not consistent)

2023-09-26 Thread Stuart Henderson
On 2023-09-25, Tobias Fiebig wrote: > On Mon, 2023-09-25 at 18:15 +0200, Rudolf Leitgeb wrote: >> Either this, or the TLS 1.3 code was always buggy, but now >> it was actually used per default. > Yes, setting up nginx with enabled tlsv1.3 on 7.2 and earlier is also > on the todo. Similarly, disabl

Re: OpenBSD 7.2 fw stack trace on Dell R740

2023-09-25 Thread Stuart Henderson
That might possibly be the one fixed by 7.2 errata 008, so if you don't already have that you at least want to syspatch. On 2023-09-25, Joerg Streckfuss wrote: > This is a cryptographically signed message in MIME format. > > --ms030306090501000403020005 > Content-Type: text/plain; ch

Re: httpd stopping

2023-09-25 Thread Stuart Henderson
On 2023-09-23, Nick Holland wrote: > Hello, > Twice in the last couple weeks, I've had httpd fall over on me. > Only clue I've got is this in /var/log/messages: > > MASTER $ grep httpd daemon > Sep 23 05:24:06 node2 httpd[69989]: logger exiting, pid 69989 > Sep 23 05:24:06 node2 httpd[80972]: pare

Re: OpenBSD disk I/O read and write

2023-09-21 Thread Stuart Henderson
On 2023-09-21, Alessandro Baggi wrote: > Hi list, > I'm trying to read I/O read and write value. Currently I'm using iostat > but I can't understand if the speed in MB/s is relative to write or read > ops. In+out combined. > There is a way to get these 2 values separately? systat io, or it's

Re: OpenBSD Wireguard implementation not copying ToS from inner to outer WG header

2023-09-19 Thread Stuart Henderson
On 2023/09/19 19:36, Andrew Lemin wrote: > > Awesome! Thank you so much Stuart :D > I will test this weekend.. btw if I'm not mistaken I think this will only copy the priority to the mbuf header rather than to the IP header, so will be used internally in OpenBSD but not on the rest of the network

Re: pkg_add -vV slow progression

2023-09-18 Thread Stuart Henderson
On 2023-09-18, Otto Moerbeek wrote: > On Sun, Sep 17, 2023 at 09:17:58PM +0300, Mihai Popescu wrote: > >> Hello, >> >> Is there any recent major change in base packages or pkg_add? >> I ask because the pkg_add -vV is slower than usual at each package, >> most of the time spent in Extracting ... p

Re: pfsync/rdomain broken on -current (works on 7.3)

2023-09-18 Thread Stuart Henderson
On 2023-09-18, Mark Patruck wrote: > i've already wrote to dlg@, but also want to know if others see > the same behavior or at least inform about it. > > pfsync(4) in combination with rdomain(4) doesn't work anymore on > a fresh -current. I see packets on pfsync0, but nothing leaves > the machine,

Re: OpenBSD Wireguard implementation not copying ToS from inner to outer WG header

2023-09-18 Thread Stuart Henderson
On 2023-09-17, Andrew Lemin wrote: > I have been testing the Wireguard implementation on OpenBSD and noticed > that the ToS field is not being copied from the inner unencrypted header to > the outer Wireguard header, resulting in ALL packets going into the same PF > Prio / Queue. > > For example,

Re: PF queue bandwidth limited to 32bit value

2023-09-15 Thread Stuart Henderson
On 2023/09/15 13:40, Andy Lemin wrote: > Hi Stuart, > > Seeing as it seems like everyone is too busy, and my workaround > (not queue some flows on interfaces with queue defined) seems of no > interest, well, it might be, but I'm not sure if it will fit with how queues work.. > and my current hac

Re: Autoinstall + FDE

2023-09-14 Thread Stuart Henderson
On 2023-09-14, prodejna-radian...@icloud.com wrote: > I was able to auto-install OpenBSD/amd64 except full disk encryption > (FDE). Is FDE supported in autoinstall? No, it is not. -- Please keep replies on the mailing list.

Re: Change userland core dump location

2023-09-13 Thread Stuart Henderson
On 2023-09-13, Eric Wong wrote: > Theo de Raadt wrote: >> There isn't a way. And I will argue there shouldn't be a way to do that. >> I don't see a need to invent such a scheme for one user, when half a century >> of Unix has no way to do this. >> Sorry. > > I have a different use case than Johan

Re: No /etc/rpki/arin.tal?

2023-09-13 Thread Stuart Henderson
On 2023-09-13, Stuart Henderson wrote: > On 2023-09-13, Lyndon Nerenberg (VE7TFX/VE6BBM) wrote: >> After some head bashing wondering why rpki-client wasn't >> finding our ROAs I discovered the system doesn't ship with >> ARINs tal file. So great swaths of RPKI da

Re: No /etc/rpki/arin.tal?

2023-09-13 Thread Stuart Henderson
On 2023-09-13, Lyndon Nerenberg (VE7TFX/VE6BBM) wrote: > After some head bashing wondering why rpki-client wasn't > finding our ROAs I discovered the system doesn't ship with > ARINs tal file. So great swaths of RPKI data aren't getting > downloaded. > > Why are those things? See the FILES secti

Re: PF queue bandwidth limited to 32bit value

2023-09-13 Thread Stuart Henderson
On 2023-09-13, Andrew Lemin wrote: > I have noticed another issue while trying to implement a 'prio'-only > workaround (using only prio ordering for inter-VLAN traffic, and HSFC > queuing for internet traffic); > It is not possible to have internal inter-vlan traffic be solely priority > ordered w

Re: PF queue bandwidth limited to 32bit value

2023-09-13 Thread Stuart Henderson
On 2023-09-12, Andrew Lemin wrote: > A, thats clever! Having bandwidth queues up to 34,352M would definitely > provide runway for the next decade :) > > Do you think your idea is worth circulating on tech@ for further > discussion? Queueing at bps resolution is rather redundant nowadays, even

Re: PF queue bandwidth limited to 32bit value

2023-09-12 Thread Stuart Henderson
On 2023-09-12, Andrew Lemin wrote: > Hi all, > Hope this finds you well. > > I have discovered that PF's queueing is still limited to 32bit bandwidth > values. > > I don't know if this is a regression or not. It's not a regression, it has been capped at 32 bits afaik forever (certainly was like t

Re: Correct donation page

2023-09-11 Thread Stuart Henderson
On 2023-09-11, m...@x9p.org wrote: > > On 9/11/23 07:40, Stuart Henderson wrote: >> That page probably just needs updating. Used to be done via >> bitpay, but not any more. (by "that page" I mean the one on www.openbsd.org) > I see coingate being used by a few c

Re: Asterisk on Octeon

2023-09-11 Thread Stuart Henderson
On 2023/09/11 10:39, Alex Frolkin wrote: > Hi all, > > Has anyone had any success running Asterisk on Octeon (in my case, an > EdgeRouter 6P, running OpenBSD 7.3)? > > If I try to build the port, it fails in the same way as the automated > package builds, i.e.: > > > http://build-failures.rha

Re: Correct donation page

2023-09-11 Thread Stuart Henderson
On 2023-09-08, m...@x9p.org wrote: > Hi misc, > > Trying to donate some BTC. In the donation page > "https://www.openbsd.org/donations.html"; > > There is a mention to cryptocurrencies being accepted. > > The OpenBSD Foundation collects donations by Cheque, Bank Draft, PayPal, > PayPal recurring

Re: desire for journaled filesystem

2023-09-06 Thread Stuart Henderson
On 2023-09-05, Ronan Viel wrote: > What about backup? > tar is ready to use. The file formats currently supported by tar/pax don't work for all situations (they can't store all filenames). For a base OS tool for backup, dump is probably a better choice. https://marc.info/?l=openbsd-tech&m=1693

Re: Supporting the OpenBSD Project through a Registered Charity

2023-09-01 Thread Stuart Henderson
On 2023-09-01, Charlie Jones wrote: > > On 2023-08-29 21:14:43 Stuart Henderson > wrote: > >>On 2023-08-29, Katherine Mcmillan wrote: > >>> To clarify, I'm looking for something with a similar structure at the US >>> PostgreSQL >>>

Re: Cannot boot neither use boot -c in computer with Ryzen 9

2023-08-29 Thread Stuart Henderson
On 2023-08-29, vtamara wrote: > Thaks for your answer > >> So .. if you have SATA disks or optical drives (that are not part of >> the boot disk), you could try disconnecting those from the >> motherboard. Since you were able to install without problems, I think >> you may be in this siutation (e

Re: non-hardware 2fa options for openssh

2023-08-29 Thread Stuart Henderson
On 2023-08-29, myml...@gmx.com wrote: > My question is there any recent documentation / information on setting > up an openssh server with non-hardware based two factor authentication?  > This does NOT have to be google authenticator, any similar service will > suffice. if an ssh key is good enou

Re: Supporting the OpenBSD Project through a Registered Charity

2023-08-29 Thread Stuart Henderson
On 2023-08-29, Katherine Mcmillan wrote: > To clarify, I'm looking for something with a similar structure at the US > PostgreSQL Association (which is a registered 501(c)(3) public charitable > entity), but for BSD or OpenBSD. I'm pretty sure there is nothing for OpenBSD like this.

Re: non-hardware 2fa options for openssh

2023-08-29 Thread Stuart Henderson
On 2023-08-29, Daniel Jakots wrote: > You can also want to look at sysutils/login_oath (which I've been using > for years), but maybe for new setups, the login_totp from base makes > more sense. you might be thinking of login_yubikey which is in base, but it has no way to sync the counter between

Re: OT: Github requiring 2FA auth, meaning

2023-08-29 Thread Stuart Henderson
On 2023-08-29, Daniele B. wrote: > Today I received comunication that my Github account "needs" 2FA > authentication before 12th October 2023. you can use a fido key, or you can use totp (which doesn't need any hardware if you don't care about storing the key in an enclave, you can just use oath

Re: Supporting the OpenBSD Project through a Registered Charity

2023-08-29 Thread Stuart Henderson
On 2023-08-29, Janne Johansson wrote: > Den tis 29 aug. 2023 kl 13:45 skrev Katherine Mcmillan : >> I'm wondering if there are any registered charities (in Canada, or frankly, >> any country!) dedicated to promoting/supporting OpenBSD? >> > > https://www.openbsdfoundation.org/ "The OpenBSD Found

Re: Dhcpleased feature request.

2023-08-29 Thread Stuart Henderson
On 2023-08-28, Christopher Sean Hilton wrote: > I'd be fine with > dhcpleased if I can set an option to ask the dhcp server for a > specific lease time. I know that the server need not honor my request > but the dhcp server that I'm using will ho

Re: login.conf doesn't seem to be passing the enviroment variable to rc.d

2023-08-28 Thread Stuart Henderson
On 2023-08-27, Dillon Wreek wrote: > Hello, I will start from the beginning in hope that someone can make some > sense of this. > I have a very simple ruby script that lives in sbin. It sends a get request > every x minutes to ifconfig to check if the pub ip of the machine changed > and sends anot

Re: Cannot boot neither use boot -c in computer with Ryzen 9

2023-08-27 Thread Stuart Henderson
On 2023-08-27, vtamara wrote: > I still cannot use the keyboard in UKC and although I bought a converter > from USB to serial to try remote debugging with "boot> set tty com0" it > didn't work. The BIOS and the booting process of OpenBSD detect that > the board has a com0 port but I don't see

Re: Dokuwiki

2023-08-23 Thread Stuart Henderson
On 2023-08-22, Mike Fischer wrote: > >> 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/

Re: Github has openbsd_hammer2fs

2023-08-22 Thread Stuart Henderson
On 2023-08-22, dues_openbsd wrote: > hi, dears. > recently, I get the email by friends > it says Github has openbsd_hammer2fs and makefs. yes, seen that in january. kusumi (who is working on hammer2 in dragonfly and has accounts there+netbsd) has diffs for *read-only* hammer2 on freebsd/netbsd/op

Re: sed and tab

2023-08-22 Thread Stuart Henderson
On 2023-08-22, kasak wrote: > Hello misc! > > I'm in trouble with sed! > > I need to insert tab in some places, but no luck :( > > in linux it works: > > [kasak@kasakoff ~]$ echo 'one two three' | sed s/two/\\ttwo/ > one     two three > > in OpenBSD it just add t: > > kasak@OpenBSD:~$ echo 'one tw

Re: Why does `pkg_info -m` show quirks?

2023-08-18 Thread Stuart Henderson
On 2023-08-18, l...@ena.re wrote: > Hey, > > according to pkg_info(1) the -m options "shows the names and one-line > comments for all packages tagged as manually installed". However, > executing `pkg_info -m` shows the quirks package, which is clearly not > "manually installed". According to it's

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