Re: my first patch

2023-10-24 Thread Maria Morisot
> that you're using correct lengths though, it is possible to get things > wrong and break programs. I was careful to look at the buffer lengths being written and to match them in strlcpy and snprintf. I peeked at the source for instances of strcpy and found a lot in xenocara; less in the

Re: my first patch

2023-10-24 Thread Maria Morisot
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 possible to get things > wrong and break programs.

OpenBSD xen and AWS

2023-10-24 Thread All
Hi, There was a time when we could run OpenBSD on AWS. Antoine Jacoutot did a great work to make that possible. These days, xnf0 interface is not being initialized. Xen is being identified as Xen 4.11 (12?) but no xnf interfaces are sowing up after boot. NetBSD has xennet0 being initiated and

Re: Iked between OpenBSD and Linux (raspberry pi)

2023-10-24 Thread readme
On Tue, Oct 24, 2023 at 10:56:40PM +0200, Tobias Heider wrote: >> > > ikev2 "LINUX-CLIENT_INET4_LAN" passive esp \ >> > > from 10.88.0.0/22 to 10.88.12.0/24 \ >> > > from 203.0.113.92 to 10.88.12.0/24 \ >> > > peer any local 203.0.113.92 \ >> > > ikesa enc aes-256-gcm-12 prf hmac-sha2-512

Re: Iked between OpenBSD and Linux (raspberry pi)

2023-10-24 Thread Tobias Heider
> > > ikev2 "LINUX-CLIENT_INET4_LAN" passive esp \ > > > from 10.88.0.0/22 to 10.88.12.0/24 \ > > > from 203.0.113.92 to 10.88.12.0/24 \ > > > peer any local 203.0.113.92 \ > > > ikesa enc aes-256-gcm-12 prf hmac-sha2-512 group ecp521 \ > > >childsa enc aes-256-gcm prf hmac-sha2-512

Re: Iked between OpenBSD and Linux (raspberry pi)

2023-10-24 Thread Tobias Heider
On Tue, Oct 24, 2023 at 10:42:11PM +0200, Tobias Heider wrote: > On Tue, Oct 24, 2023 at 03:35:57PM -0500, rea...@catastrophe.net wrote: > > On Tue, Oct 24, 2023 at 03:06:41PM -0500, rea...@catastrophe.net wrote: > > [..] > > >$ uname -a > > >OpenBSD openbsd-server 7.4 GENERIC#1336 amd64 > > > > >

Re: Iked between OpenBSD and Linux (raspberry pi)

2023-10-24 Thread Tobias Heider
On Tue, Oct 24, 2023 at 03:35:57PM -0500, rea...@catastrophe.net wrote: > On Tue, Oct 24, 2023 at 03:06:41PM -0500, rea...@catastrophe.net wrote: > [..] > >$ uname -a > >OpenBSD openbsd-server 7.4 GENERIC#1336 amd64 > > > >ikev2 "LINUX-CLIENT_INET4_LAN" passive esp \ > > from 10.88.0.0/22 to

Re: my first patch

2023-10-24 Thread Jan Stary
On Oct 24 22:09:02, a...@caoua.org wrote: > faad -w file.m4a | cat >file.wav > results in a file with zero-size data chunk (because faad couldn't > seek to the beginning of the file to fixup the header). aucat, > audacious, audacity and sox can't play it; mpv, and ffplay can SoX's play

Re: Iked between OpenBSD and Linux (raspberry pi)

2023-10-24 Thread readme
On Tue, Oct 24, 2023 at 03:06:41PM -0500, rea...@catastrophe.net wrote: [..] >$ uname -a >OpenBSD openbsd-server 7.4 GENERIC#1336 amd64 > >ikev2 "LINUX-CLIENT_INET4_LAN" passive esp \ > from 10.88.0.0/22 to 10.88.12.0/24 \ > from 203.0.113.92 to 10.88.12.0/24 \ > peer any local

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 >

Re: Iked between OpenBSD and Linux (raspberry pi)

2023-10-24 Thread Tobias Heider
Hi, On Tue, Oct 24, 2023 at 03:06:41PM -0500, rea...@catastrophe.net wrote: > I have a small raspberry pi device that I'd like to connect to a 7.4 > machine with iked(8) and PSK auth, to start. The rpi device is going > to be on a mobile network and behind a small NAT device. > > I haven't had

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

Re: my first patch

2023-10-24 Thread Alexandre Ratchov
On Wed, Oct 25, 2023 at 12:06:05AM +0600, Maria Morisot wrote: > > I don't have a test machine and I'm trying to keep my installation > as simple as possible, but if anyone wants to try piping a wav file > into mplayer or ffplay, I'd be interested in the results. Does it > work? faad -o file.wav

Iked between OpenBSD and Linux (raspberry pi)

2023-10-24 Thread readme
I have a small raspberry pi device that I'd like to connect to a 7.4 machine with iked(8) and PSK auth, to start. The rpi device is going to be on a mobile network and behind a small NAT device. I haven't had any problem with the following configurations between two OpenBSD devices, but the

Re: my first patch

2023-10-24 Thread Maria Morisot
I don't have a test machine and I'm trying to keep my installation as simple as possible, but if anyone wants to try piping a wav file into mplayer or ffplay, I'd be interested in the results. Does it work?

Re: relayd and large POST requests

2023-10-24 Thread Michael Hekeler
> Hi, > > I'm running a setup on OpenBSD 7.3 (amd64, 16GB RAM) with relayd, > varnish, httpd and php-fpm. When uploading a large >2GB file through > ... > > > /etc/relayd.conf: > > table { 127.0.0.1 } > > log connection > > http protocol "https" { > tls keypair "server" >

Re: my first patch

2023-10-24 Thread Maria Morisot
> You're right. The .wav headers require to lseek(2) within the file > which doesn't work on a pipes. It could work on certain files which > headers are placed in a way lseek(2) doesn't need to move the file > pointer. > You could try to modify aucat to skip the lseek(2) calls if it > wouldn't

Re: Question about rdomains/rtables

2023-10-24 Thread tetrosalame
Il 24/10/2023 11:55, Marcus MERIGHI ha scritto: I'm playing with rdomain/rtable on OpenBSD 7.4 and I'm a bit confused about the relation between rdomains and rtables. you do not mention reading rtable(4)/rdomain(4), online here: https://man.openbsd.org/rtable [...] I'm sorry, I

Re: Question about rdomains/rtables

2023-10-24 Thread tetrosalame
Il 24/10/2023 12:22, Claudio Jeker ha scritto: On Mon, Oct 23, 2023 at 06:08:37PM +0200, tetrosalame wrote: Hello misc, I'm playing with rdomain/rtable on OpenBSD 7.4 and I'm a bit confused about the relation between rdomains and rtables. If I got rdomain(4) right, the two facilities are

Re: my first patch

2023-10-24 Thread Alexandre Ratchov
On Tue, Oct 24, 2023 at 09:15:57PM +0600, Maria Morisot wrote: > It is my understanding that wav files contain the headers necessary for a > program to adjust the audio settings for play, or to do the software process > necessary to reformat the input to the audio device. > > It doesn't make

Re: my first patch

2023-10-24 Thread Maria Morisot
It is my understanding that wav files contain the headers necessary for a program to adjust the audio settings for play, or to do the software process necessary to reformat the input to the audio device. It doesn't make sense to have the wav headers if they aren't going to be used. Tell me if

Re: my first patch

2023-10-24 Thread Alexandre Ratchov
On Tue, Oct 24, 2023 at 05:10:53PM +0600, Lucretia wrote: > > a bit off-topic, but: > gethsemane$ faad -w Tori_Amos/The_Beekeeper/03* | aucat -i - -h wav > makes Tori sound like Minnie Mouse. How can I fix this? > you've make faad and aucat use the same data format, ex: faad -d -f2 -w

Re: Parallel PF

2023-10-24 Thread Samuel Jayden
I shared a naive user experience. I didn't mean to be rude. Anyway, thank you for reading and responding. On Tue, Oct 24, 2023 at 5:46 PM Irreverent Monk wrote: > The standard response is - show your code. If you sit down and think > about it, isn't it rude to go to a project to tell them that

Re: Parallel PF

2023-10-24 Thread Irreverent Monk
The standard response is - show your code. If you sit down and think about it, isn't it rude to go to a project to tell them that they must prioritize what they are doing for what you want...? On Tue, Oct 24, 2023 at 6:40 AM Samuel Jayden wrote: > Hello dear OpenBSD team, > > I'm sure that

my first patch

2023-10-24 Thread Lucretia
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 is like crack cocaine to me. a bit off-topic, but: gethsemane$

Re: AAAA entry for openbsd.org

2023-10-24 Thread Tobias Fiebig
Moin, On Mon, 2023-10-23 at 20:52 +0300, Mikhail wrote: > I think ipv6 just expand attack surface for the services for very > little benefit, ... Well,... there is a ton of reasons one may not want to deploy v6; I disagree, but well, my boxes are dual-stack through-and-through; My network, my

Re: support new

2023-10-24 Thread Wesley MOUEDINE ASSABY
Hello Ingo, Parfait, merci beaucoup. Regards, Wesley -Message d'origine- De : Ingo Schwarze Envoyé : mardi 24 octobre 2023 15:35 À : Wesley MOUEDINE ASSABY Cc : misc@openbsd.org Objet : Re: support new Hi Wesley, Wesley MOUEDINE ASSABY wrote on Tue, Oct 24, 2023 at 02:06:47PM

Re: support new

2023-10-24 Thread Ingo Schwarze
Hi Wesley, Wesley MOUEDINE ASSABY wrote on Tue, Oct 24, 2023 at 02:06:47PM +0400: > 0 > C France > P REUNION > T Sainte Clotilde > Z 97490 > O Consultant > I Wesley Mouedine Assaby > M wes...@mouedine.net > U https://www.mouedine.net > N OpenBSD consulting, services

Re: Fwd: install74.iso

2023-10-24 Thread Dan
On Mon, 23 Oct 2023, at 22:33, Theo de Raadt wrote: > In the next few snapshots, an ISO file will start to show up. Thank you. May I ask that the team also start building the bootstrapping cd74.iso, not just the full install74.iso? Regards, Dan >> >> Am 21. Okt. 2023, 16:59, um 16:59,

Re: Question about rdomains/rtables

2023-10-24 Thread Claudio Jeker
On Mon, Oct 23, 2023 at 06:08:37PM +0200, tetrosalame wrote: > Hello misc, > > I'm playing with rdomain/rtable on OpenBSD 7.4 and I'm a bit confused about > the relation between rdomains and rtables. > > If I got rdomain(4) right, the two facilities are designed so that a rdomain > can hold

Parallel PF

2023-10-24 Thread Samuel Jayden
Hello dear OpenBSD team, I'm sure that something like parallel IP forwarding and increasing the number of softnet kernel tasks to 4 is definitely being considered on the PF side too, but I would like to express my concern about timing. Do you have any schedule for this? I think one of the

support update

2023-10-24 Thread Wesley MOUEDINE ASSABY
Please, can you remove my old entry < AISE-INFORMATIQUE > in < France > area. Thank's !

support new

2023-10-24 Thread Wesley MOUEDINE ASSABY
0 C France P REUNION T Sainte Clotilde Z 97490 O Consultant I Wesley Mouedine Assaby M wes...@mouedine.net U https://www.mouedine.net N OpenBSD consulting, services like mailserver, web hosting, firewall and vpn.

Re: Question about rdomains/rtables

2023-10-24 Thread Marcus MERIGHI
Hello f., t...@seiruote.it (tetrosalame), 2023.10.23 (Mon) 18:08 (CEST): > I'm playing with rdomain/rtable on OpenBSD 7.4 and I'm a bit confused about > the relation between rdomains and rtables. you do not mention reading rtable(4)/rdomain(4), online here:

Re: X session doesn't survive zzz

2023-10-24 Thread Ampie Niemand
On Wed, Oct 18, 2023 at 11:11:54AM +0200, Jan Stary wrote: > This is current/amd64 on a PC (dmesg below). > After a resume from zzz inside a running X session, > I am greeted with the xenodm login screen > into which I cannot login: the keyboard does nothing > (is it the USB keyboard not

Re: USB serial local getty terminal re-prompts for login on any input

2023-10-24 Thread Crystal Kolipe
On Mon, Oct 23, 2023 at 11:37:10PM -0400, Morgan Aldridge wrote: > I have experimented with the following with no change in the underlying > issue of the terminal showing the login prompt, but each character input > causing the login prompt to be resent: If you short the tx/rx lines at the DE-9

Re: Default rdomain for CLI commands

2023-10-24 Thread Pierre Emeriaud
Le mar. 24 oct. 2023 à 03:24, Andy Lemin a écrit : > How do I set/override the default rdomain for system level CLI commands? > You can do that at ssh level. From sshd_config(5): RDomain Specifies an explicit routing domain that is applied after authentication

Re: Default rdomain for CLI commands

2023-10-24 Thread Claudio Jeker
On Tue, Oct 24, 2023 at 08:39:33AM -, Stuart Henderson wrote: > 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

Re: Default rdomain for CLI commands

2023-10-24 Thread Claudio Jeker
On Tue, Oct 24, 2023 at 06:56:33PM +1100, Andy Lemin wrote: > Hi Lyndon, > That is a good trick, I will try that. > > But it is more of an unexpected nuisance as I’m expecting the default to > be rdomain 0. No rdomains are inherited. Once a process runs in rdomain X all childs will also be in

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: a2ps error; printing utf8 to a postscipt printer

2023-10-24 Thread rsykora
Jan Stary wrote: > On Oct 23 17:22:37, rsyk...@disroot.org wrote: > > > > Loosely related: What program do you use to print utf8 > > encoded text file to a postscipt printer? (Neither a2ps, nor > > enscript does it. > > u2ps is in ports. Great. It seems to work for me. Thanks. Ruda

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

umb(4): no removal of IP addr after provider based IP renewal

2023-10-24 Thread Stefan Kapfhammer
Hello OpenBSD team & developers, first of all, thank you for release 7.4. I am using the umb(4) interface for a temporary ad-hoc router with a SIM card from Mobile Vikings in Belgium. It works well with pppd(8) / chat(8) and every 24 hours, after the mobile provider changes the IP addr, it gets

Re: a2ps error; printing utf8 to a postscipt printer

2023-10-24 Thread rsykora
Antoine Jacoutot wrote: > On Mon, Oct 23, 2023 at 05:22:37PM +0200, rsyk...@disroot.org wrote: > > Dear list, > > > > > > after upgrading to OpenBSD 7.4 (as far as I can tell), > > a2ps program stopped working: > > > > ;a2ps /home/ruda/mnt/tarkil/SIMUL/acceptance/accept1detE0.ijs > >

Re: Default rdomain for CLI commands

2023-10-24 Thread Andy Lemin
Hi Lyndon, That is a good trick, I will try that. But it is more of an unexpected nuisance as I’m expecting the default to be rdomain 0. It seems to switch to use the rdomain with the most default routes which breaks things unexpectedly - for example many crontab commands break after adding

Re: a2ps error; printing utf8 to a postscipt printer

2023-10-24 Thread Antoine Jacoutot
On Mon, Oct 23, 2023 at 05:22:37PM +0200, rsyk...@disroot.org wrote: > Dear list, > > > after upgrading to OpenBSD 7.4 (as far as I can tell), > a2ps program stopped working: > > ;a2ps /home/ruda/mnt/tarkil/SIMUL/acceptance/accept1detE0.ijs >

Re: X session doesn't survive zzz

2023-10-24 Thread Jan Stary
On Oct 22 17:02:50, guent...@gmail.com wrote: > I would start by removing X from the picture and verify that suspend and > resume are working (or not) when X is not running. Are USB devices failing > to reattach or coming back in some weird mode which isn't working? Can you > ssh in? Without X

Re: AAAA entry for openbsd.org

2023-10-24 Thread Parodper
> If you want to volunteer to host an ipv6 mirror, I think the > licensing already allows that. There are already IPv6-enabled mirrors. The issue is that {ftplist1.,ftplist2.,''}openbsd.org doesn't have IPv6, so it can't fetch a list of them.