Re: include leap-seconds.list?

2023-11-17 Thread Lorenz (xha)
On Fri, Nov 17, 2023 at 12:40:35PM -0700, Todd C. Miller wrote: > On Fri, 17 Nov 2023 19:23:32 +0100, "Lorenz (xha)" wrote: > > > i am doing a port of the hare programming language[1] to OpenBSD and have > > a question regarding the zoneinfo that is packaged with OpenBSD: can > > leap-seconds.list

Re: Upgrading from 7.3 to 7.4 with sysupgrade

2023-11-17 Thread Daniele B.
Mihai Popescu : > Make it Rust or GTK based, but please include the support for http, it > is more convenient to do it remotely using www. Do OpenBSD running seriously on Ruby, Python, etc, etc and then we discuss about www that appears the only think we can still like to run over it, and sorry f

Re: upgrade to latest snapshot failing

2023-11-17 Thread Ali Farzanrad
Ali Farzanrad wrote: > Hi Stuard, > > Stuart Henderson wrote: > > 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, restar

Re: Upgrading from 7.3 to 7.4 with sysupgrade

2023-11-17 Thread Mihai Popescu
> I still have gsysupgrade lying around somewhere. It's a gtk app. I never > made a port for it because I got sidetracked rewriting it to use qt. > It isn't written in rust? The shame. Make it Rust or GTK based, but please include the support for http, it is more convenient to do it remotely usi

Re: upgrade to latest snapshot failing

2023-11-17 Thread Sonic
On Fri, Nov 17, 2023 at 2:43 PM Stuart Henderson wrote: > > Try booting bsd.rd and downloading a newer snap. The latest bsd.rd is identical to the bsd.upgrade file. The older bsd,rd from yesterday boots fine as the system does recover from the failed upgrade if one has physical access to it to in

Re: upgrade to latest snapshot failing

2023-11-17 Thread Ali Farzanrad
Hi Stuard, Stuart Henderson wrote: > 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 termi

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'm cu

Re: include leap-seconds.list?

2023-11-17 Thread Todd C . Miller
On Fri, 17 Nov 2023 19:23:32 +0100, "Lorenz (xha)" wrote: > i am doing a port of the hare programming language[1] to OpenBSD and have > a question regarding the zoneinfo that is packaged with OpenBSD: can > leap-seconds.list be packged at /usr/share/zoneinfo/leap-seconds.list? > it is a requiremen

Re: upgrade to latest snapshot failing

2023-11-17 Thread Sonic
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'm currently on #1447, amd64, from which I was running "sysupgrade -s". Apparently boots from bsd.upgrade during the process.

Re: upgrade to latest snapshot failing

2023-11-17 Thread Hrvoje Popovski
On 17.11.2023. 20:05, Stuart Henderson wrote: > 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 t

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

upgrade to latest snapshot failing

2023-11-17 Thread Sonic
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 terminated, restarting Chris

Re: Why is BRE still around? (Re: Porting shell scripts from Tiny Tools)

2023-11-17 Thread Christian Weisgerber
Marc Chantreux: > I the same mood: I realized recently that no implementation of awk > seems to implement quantifiers which is really desapointing. Awk uses EREs, so if by quantifiers you mean {n,m}, then awk most certainly supports this. -- Christian "naddy" Weisgerber

include leap-seconds.list?

2023-11-17 Thread Lorenz (xha)
hi misc@, i am doing a port of the hare programming language[1] to OpenBSD and have a question regarding the zoneinfo that is packaged with OpenBSD: can leap-seconds.list be packged at /usr/share/zoneinfo/leap-seconds.list? it is a requirement for the time part of the stdlib to work. [1]: https:/

Re: Firewall Problems

2023-11-17 Thread Peter N. M. Hansteen
On Fri, Nov 17, 2023 at 08:52:19AM -0800, Lewis Ingraham wrote: > Hello i am trying to configure OpenBSD as a firewall but I can't get it to > ping outside the firewall and subsequently unable to reach the internet > with devices behind the firewall. I tried changing my pf.conf to match the > FAQ (

Re: Porting shell scripts from Tiny Tools

2023-11-17 Thread Michael Dinon
On Tuesday, November 14, 2023, Daniele B. wrote: > Hello, > > I got inspired by the Tiny Tools article, by Gerald J. Holzmann, with some > useful shell tools code for coding on Unix-like systems. > > The article is severals years old (jan 2016) and code should be adapted to > OpebBSD. But I'm try

Re: Firewall Problems

2023-11-17 Thread John Brooks
On 11/17/2023 9:52 AM, Lewis Ingraham wrote: Hello i am trying to configure OpenBSD as a firewall but I can't get it to ping outside the firewall and subsequently unable to reach the internet with devices behind the firewall. I tried changing my pf.conf to match the FAQ (as best as i could) and s

Re: Why is BRE still around? (Re: Porting shell scripts from Tiny Tools)

2023-11-17 Thread Marc Chantreux
hello, > but note that BREs are not a strict subset of EREs I have to admit that's the way I saw BRE so thanks a lot for noticing me. I the same mood: I realized recently that no implementation of awk seems to implement quantifiers which is really desapointing. I don't realize those things that

Firewall Problems

2023-11-17 Thread Lewis Ingraham
Hello i am trying to configure OpenBSD as a firewall but I can't get it to ping outside the firewall and subsequently unable to reach the internet with devices behind the firewall. I tried changing my pf.conf to match the FAQ (as best as i could) and still cant get it to work. I am currently trying

Re: Why is BRE still around? (Re: Porting shell scripts from Tiny Tools)

2023-11-17 Thread Christian Weisgerber
Marc Chantreux: > But is there another good reason for BRE to be still alive? > (perfomance, simplicity, or anything else). I think it is mostly for historical reasons, but note that BREs are not a strict subset of EREs: BREs allow back-references, EREs do not. The GNU project turned BREs and ER

Re: Porting shell scripts from Tiny Tools

2023-11-17 Thread Daniele B.
Just made an addition to Tiny Tools for OpenBSD, regextr - a reg expression facilitator for everyone. It is curious because anyone can customize it with its own abstract syntax. Furthermore it can be used yet to compose expressions like: wiz$ echo lol | pcregrep "`./regextr cap capname text /

Re: Upgrading from 7.3 to 7.4 with sysupgrade

2023-11-17 Thread Theo de Raadt
Florian Obser wrote: > On 2023-11-17 16:06 +01, Odd Martin Baanrud wrote: > > Hello Jan, > > > > Thanks for the tip. > > The upgrade went smoothly. > > I ran “sysupgrade -n”, deleted the game set and the X sets and rebooted. > > > > Perhaps sysupgrade should be enhanced, so one could either choo

Re: Upgrading from 7.3 to 7.4 with sysupgrade

2023-11-17 Thread Theo de Raadt
Odd Martin Baanrud wrote: > Perhaps sysupgrade should be enhanced, so one could either choose which sets > should be upgraded, or even beter, the tool could figure out which sets are > installed, and upgrade just those. That will never happen.

Re: Upgrading from 7.3 to 7.4 with sysupgrade

2023-11-17 Thread Florian Obser
On 2023-11-17 16:06 +01, Odd Martin Baanrud wrote: > Hello Jan, > > Thanks for the tip. > The upgrade went smoothly. > I ran “sysupgrade -n”, deleted the game set and the X sets and rebooted. > > Perhaps sysupgrade should be enhanced, so one could either choose > which sets should be upgraded, or

Re: Upgrading from 7.3 to 7.4 with sysupgrade

2023-11-17 Thread Odd Martin Baanrud
Hello Jan, Thanks for the tip. The upgrade went smoothly. I ran “sysupgrade -n”, deleted the game set and the X sets and rebooted. Perhaps sysupgrade should be enhanced, so one could either choose which sets should be upgraded, or even beter, the tool could figure out which sets are installed,

Why is BRE still around? (Re: Porting shell scripts from Tiny Tools)

2023-11-17 Thread Marc Chantreux
hello, > these tools by default use basic regexps (BRE). Out of curiosity: To me, it's just a reason of retrocompat: no people dare breaking everything at some point. I really dislike the fact that it's confusing (for example: + must be protected but not *). But is there another good reason fo

Re: OpenBSD 7.4, iOS 15.8 - sudden defunct of WiFi

2023-11-17 Thread Manuel Kuklinski
Am Donnerstag 16 November 2023 um 15:29:27 +0100, schrieb Manuel Kuklinski 1,7K: > Until yesterday my WiFi on an iPhone 7 (iOS 15.8) was working > flawlessly; the IPv4s are statically assigned by dhcp(8). I disabled MAC > address randomization on the smartphone. As it seems, I can ping, e.g. > goog

Font size and character encoding.

2023-11-17 Thread D.A.
How to increase font size in console? How to set non-UTF character encoding for tty session on OpenBSD 7.4? --

Re: OpenBSD 7.4, iOS 15.8 - sudden defunct of WiFi

2023-11-17 Thread Manuel Kuklinski
Am Donnerstag 16 November 2023 um 20:08:16 +0100, schrieb Manuel Kuklinski 1,0K: > I opened a support ticket with Cupertino, since TCP seems to be clearly > working, according to the mentioned app - just "regular" connections can't > be openend to HTTP, IMAP et al, via TCP in different apps... "Cl

Re: OpenBSD 7.4, iOS 15.8 - sudden defunct of WiFi

2023-11-17 Thread Manuel Kuklinski
Am Freitag 17 November 2023 um 21:31:44 +1100, schrieb jslee 0,5K: > Are you sure your phone isn’t attempting a DNS lookup, failing and deciding > that the WiFi is pointless? As posted in a reply to my e-mail, I tested a TCP connection with "ELX TCP CLient" from the smartphone and captured with t

Re: OpenBSD 7.4, iOS 15.8 - sudden defunct of WiFi

2023-11-17 Thread Manuel Kuklinski
Am Donnerstag 16 November 2023 um 20:27:37 -0700, schrieb David Rinehart 0,7K: > Maybe... Is the clock set to the correct time on the iPhone? Yes, the clock is set to the correct time.

Relayd with 2 interfaces

2023-11-17 Thread Holger Glaess
hi i would to like setup an vm that run relayd with an inbound interfaces and an outbound interface. vm host -> openbsd 7.3 i setup an vm with openbsd 7.3  with 2 interfaces net.ip.inet.forward=0 vio0 inbound vio0 outbound, on this interfaces is also setup the default gw for the vm. both

Re: OpenBSD 7.4, iOS 15.8 - sudden defunct of WiFi

2023-11-17 Thread jslee
On Fri, 17 Nov 2023, at 01:29, Manuel Kuklinski wrote: > Until yesterday my WiFi on an iPhone 7 (iOS 15.8) was working > flawlessly; the IPv4s are statically assigned by dhcp(8). I disabled MAC > address randomization on the smartphone. As it seems, I can ping, e.g. > google.de (both IPv4 and IPv6)

Re: softraid encrypting discipline

2023-11-17 Thread Masanori Ogino
Hi, On Friday, November 17th, 2023 at 08:26, D.A. wrote: > What encryption algorithm does softraid? According to the presentation titled "softraid(4) boot" by Stefan Sperling at EuroBSDCon 2015, AES with 256-bit key(s) in XTS mode. (You can check sys/dev/softraid_crypto.c in sys.tar.gz if desir