How to break and smash things

2023-10-25 Thread Maria Morisot
Hi, I've been frustrated in trying to find a way to help the project and thanks to several people's replies I've been considering what I like to do with the operating system. My needs are simple, as far as personal usage goes; give me an offline system with vi and hard drive access and I'll

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

2023-10-25 Thread Morgan Aldridge
On Wed, Oct 25, 2023 at 1:35 PM Morgan Aldridge wrote: > On Tue, Oct 24, 2023 at 5:52 AM Crystal Kolipe > wrote: > >> 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

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

2023-10-25 Thread Raul Miller
On Wed, Oct 25, 2023 at 8:16 PM Justin Yates Fletcher wrote: > On Wed, 2023-10-25 at 21:12 +0200, Mike Fischer wrote: > > > > > Am 25.10.2023 um 17:57 schrieb Theo de Raadt : > > > Mike Fischer wrote: > > > > > Am 25.10.2023 um 17:29 schrieb Theo de Raadt > > > We changed a lot of kernel

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

2023-10-25 Thread j
Mike Fischer writes: > > Could this be caused by something on the VMWare host machine? (The > host seems to be operating at limit regarding RAM for example. But the > VM is only using the normal percentage of its allocated RAM — way > below 100% and very constant usage, no swap.) >

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

2023-10-25 Thread Justin Yates Fletcher
On Wed, 2023-10-25 at 21:12 +0200, Mike Fischer wrote: > > > Am 25.10.2023 um 17:57 schrieb Theo de Raadt : > > > > Mike Fischer wrote: > > > > > > Am 25.10.2023 um 17:29 schrieb Theo de Raadt > > > > : > > > > > > > > Mike Fischer wrote: > > > > > > > > > True. But like I said, this was

Re: relayd and large POST requests

2023-10-25 Thread Erwin Geerdink
> before going any deeper in investigating the behaviour I would suggest > to configure this setup with using redirection. > I think you are better with just forwarding on layer 3. > > Or did I miss something? Why did you choose relay here? relayd is used here as tls termination proxy, since

Re: xenodm: Are usernames logged?

2023-10-25 Thread Ampie Niemand
On Wed, Oct 25, 2023 at 03:27:52PM +0200, Johannes Thyssen Tishman wrote: > Hi, > > I was just logging into my system through xenodm and for some reason > I typed my password into the username field... whoops :/ Luckily I > was at home and no one was around. However I'd like to know if these >

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

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

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

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

Re: Connecting a wireless keyboard via Bluetooth

2023-10-25 Thread Ampie Niemand
On Wed, Oct 25, 2023 at 03:24:27PM +0200, Karel Lucas wrote: > Hi all, > > I have a computer with openBSD V7.4 without X11, to which I want to connect > a wireless keyboard via Bluetooth. The keyboard is connected via a separate > USB Bluetooth receiver. What software do I need for this, and how

Re: Parallel PF

2023-10-25 Thread Samuel Jayden
Hello Valdrin, I am also aware that attaching PF to more than one CPU will not be enough, and I think I have been misunderstood; I do not reproach about this. Just a curiosity on my part. As far as I learned from users who wrote me private messages, OpenBSD does not have a public RoadMap. Of

Re: Parallel PF

2023-10-25 Thread Valdrin MUJA
Hello Gábor, Of course, I am aware of OpenBSD's parallel forwarding implementation. The owner of this thread already mentioned this in his e-mail. I can reach 10Gbps speed via speedtest.net. Here my gateway is a Server with OpenBSD 7.3 installed... I also get similar values with Cisco-Trex. I

Re: Sleep induces acpi0 interrupt storm

2023-10-25 Thread Richard Ulmer
Mike Larkin wrote: > check the lists; this was reported lots of times. I think it was some > thunderbolt related thing in the BIOS. Ah, I missed the right threads when searching previously. Apparently I wasn't specific enough. Now I found the message you mentioned:

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

2023-10-25 Thread Morgan Aldridge
On Tue, Oct 24, 2023 at 5:52 AM Crystal Kolipe wrote: > 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

Re: Sleep induces acpi0 interrupt storm

2023-10-25 Thread Mike Larkin
On Wed, Oct 25, 2023 at 07:19:29PM +0200, Richard Ulmer wrote: > Hi all, > I've just set up a new T480 ThinkPad with OpenBSD 7.4. I have noticed > that after sleeping (by closing and opening the lid of the laptop) > my fan turns up and one of my CPU cores is fully loaded. `top -U -S > root` and

AAAA entry appreciation

2023-10-25 Thread Armin Jenewein
I'm not sure if I'm allowed to celebrate (yet), but I just realized we now have entries as well as entirely working IPv6 connectivity for: openbsd.org ftp.openbsd.org ftplist1.openbsd.org and I just want to say that I'm very impressed and thankful. I hope it's not too early to open a beer

Sleep induces acpi0 interrupt storm

2023-10-25 Thread Richard Ulmer
Hi all, I've just set up a new T480 ThinkPad with OpenBSD 7.4. I have noticed that after sleeping (by closing and opening the lid of the laptop) my fan turns up and one of my CPU cores is fully loaded. `top -U -S root` and `systat vmstat` tell me, that acpi0 is generating a lot of interrupts,

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

2023-10-25 Thread Janne Johansson
> > > I process that is started every 5 seconds and exits after 10ms > > computation can cause the load to go up by 1. It just matters if it runs > > during the sampling time or not. This is why the load avarage is not > > accurate, it is an indication and if the value is below the number of >

Re: Parallel PF

2023-10-25 Thread Gábor LENCSE
Hello Valdrin, 10/25/2023 4:18 PM keltezéssel, Valdrin MUJA írta: Hello Sam, I don't have the answer to this question, but I can make a few comments on my own behalf. Maybe it can give you an idea. As far as I observed, it is not PF's turn yet. I guess what needs to be done regarding cloned

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

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

Re: my first patch

2023-10-25 Thread Ingo Schwarze
Hi Maria, Maria Morisot wrote on Wed, Oct 25, 2023 at 09:44:17AM +0600: > because the compiler said to. Never trust a linter blindly. A linter is a tool to automate searching for some kinds of issues. For every candidate, you still need to engage your brains to figure out - whether it's an

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

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

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

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

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

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

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

2023-10-25 Thread Theo de Raadt
Mike Fischer wrote: > True. But like I said, this was noticed because of the sudden increase on the > same (OpenBSD) machine without any obvious reason. The reason is obvious. You installed a completely different system. There is no SLA on keeping the load average code's calculation the

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

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

Re: Delay in starting xterm via ssh after upgrade from 7.3 to 7.4

2023-10-25 Thread Roger Marsh
On 23 Oct 2023 09:32:19 -0600 "Andy Bradford" wrote: > Thus said Roger Marsh on Thu, 19 Oct 2023 17:23:47 -: > > > fixes the delay problem, but was the delay a predictable consequence > > of some change? Or perhaps the entry should never have been expressed > > in the way that led to

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

2023-10-25 Thread Theo de Raadt
Claudio Jeker wrote: > On Wed, Oct 25, 2023 at 11:57:54AM +0200, Mike Fischer wrote: > > I have been observing occasional bouts of high load averages on several > > servers I administer and I am trying to find the cause. (I monitor these > > machines so that I can implement corrective measures

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

2023-10-25 Thread Claudio Jeker
On Wed, Oct 25, 2023 at 11:57:54AM +0200, Mike Fischer wrote: > I have been observing occasional bouts of high load averages on several > servers I administer and I am trying to find the cause. (I monitor these > machines so that I can implement corrective measures in case of any > malicious or

Re: Parallel PF

2023-10-25 Thread Valdrin MUJA
Hello Sam, I don't have the answer to this question, but I can make a few comments on my own behalf. Maybe it can give you an idea. As far as I observed, it is not PF's turn yet. I guess what needs to be done regarding cloned interfaces such as tun and the ethernet layer will be done first. In

Re: Connecting a wireless keyboard via Bluetooth

2023-10-25 Thread Zé Loff
On Wed, Oct 25, 2023 at 03:24:27PM +0200, Karel Lucas wrote: > Hi all, > > I have a computer with openBSD V7.4 without X11, to which I want to connect > a wireless keyboard via Bluetooth. The keyboard is connected via a separate > USB Bluetooth receiver. What software do I need for this, and

Re: Connecting a wireless keyboard via Bluetooth

2023-10-25 Thread Marcus MERIGHI
Hello Karel, cahlu...@planet.nl (Karel Lucas), 2023.10.25 (Wed) 15:24 (CEST): > I have a computer with openBSD V7.4 without X11, to which I want to connect > a wireless keyboard via Bluetooth. The keyboard is connected via a separate > USB Bluetooth receiver. What software do I need for this,

Re: Connecting a wireless keyboard via Bluetooth

2023-10-25 Thread Peter Hessler
On 2023 Oct 25 (Wed) at 15:24:27 +0200 (+0200), Karel Lucas wrote: :Hi all, : :I have a computer with openBSD V7.4 without X11, to which I want to connect a :wireless keyboard via Bluetooth. The keyboard is connected via a separate USB :Bluetooth receiver. What software do I need for this, and how

xenodm: Are usernames logged?

2023-10-25 Thread Johannes Thyssen Tishman
Hi, I was just logging into my system through xenodm and for some reason I typed my password into the username field... whoops :/ Luckily I was at home and no one was around. However I'd like to know if these login attempts are logged somewhere such that someone who knew what I just did, could

Connecting a wireless keyboard via Bluetooth

2023-10-25 Thread Karel Lucas
Hi all, I have a computer with openBSD V7.4 without X11, to which I want to connect a wireless keyboard via Bluetooth. The keyboard is connected via a separate USB Bluetooth receiver. What software do I need for this, and how do I configure it? I hope someone responds to this.

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

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

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

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

Re: xfce

2023-10-25 Thread Janne Johansson
Den ons 25 okt. 2023 kl 13:22 skrev Maria Morisot : > I know for a fact that something is broken in either xenocara or the main > system, I can reproduce a kernel panic by running xfce, I've enountered it > many times. But I don't know how to trap it before it faults in order to > see what is

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

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

xfce

2023-10-25 Thread Maria Morisot
I know for a fact that something is broken in either xenocara or the main system, I can reproduce a kernel panic by running xfce, I've enountered it many times. But I don't know how to trap it before it faults in order to see what is going on. My solution was just to ignore it and run cwm but

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

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)

OpenBSD and firefox 118 bug

2023-10-25 Thread S V
Good day, list! Looks like there is bug in firefox 118 on fresh OS installs or fresh user. FF just doesnt't download mp3s (at least), but download other files. BUT firefox-esr doesnt have this problem How to reproduce: Create new user, login, start ff118, try to download mp3, get "failed" in

ftp.openbsd.org: tlsv1 alert protocol version

2023-10-25 Thread Martin Schröder
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) port 443 * ALPN: curl offers h2,http/1.1 * TLSv1.3

Re: my first patch

2023-10-25 Thread Maria Morisot
I thought xenocara was kind of incorporated into the OpenBSD project. Thanks for responding. I think when I started out a month ago, my main issue was having hangups in the kernel from running xfce. I've since migrated to cwm and am much happier than when using xfce on Linux. I have high

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

strlcpy & pointers

2023-10-25 Thread Maria Morisot
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 strcpy in place or does the calling code need

Re: my first patch

2023-10-25 Thread Alexandre Ratchov
On Tue, Oct 24, 2023 at 10:42:06PM +0200, Jan Stary wrote: > 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,

Re: my first patch

2023-10-25 Thread Alexandre Ratchov
On Tue, Oct 24, 2023 at 11:11:01PM +0600, Maria Morisot wrote: > > Forgive me if I'm dense, but I'm a better artist than I am a > programmer. I'm trying to follow you though. I understand why you > cannot seek in a pipe, but I do not understand why that affects > playback of a MS Wav file through

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

Re: CVS checkout

2023-10-25 Thread Ampie Niemand
On Wed, Oct 25, 2023 at 11:13:44AM +0600, Maria Morisot wrote: > I've been trying now for a month to download source via CVS as per > instructions on openbsd.org; I get operation timed out every time. I get no > ping from anoncvs.ca.openbsd.org > > I want to help work on the project in any way

Re: CVS checkout

2023-10-25 Thread Otto Moerbeek
On Wed, Oct 25, 2023 at 01:04:12PM +0600, 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

Re: my first patch

2023-10-25 Thread Jan Stary
On Oct 25 12:10:07, maria.mori...@icloud.com wrote: > > > SoX's play --ignore-length can play it. > > > SoX's --ignore-length appears in a few formats, as far as the wav format > goes, the code comments suggest it is implemented to handle 32-bit wav files > greater than 2GB. It seems you just

Re: CVS checkout

2023-10-25 Thread Maria Morisot
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? -- Google doesn't need to know every time I fart. >

Re: my first patch

2023-10-25 Thread Maria Morisot
I'll check out SoX's --ignore-length option and see if I can figure out what they are doing there. What I'm more concerned with than the implementation is which behavior seems more correct; to try to play at the specified rate or to just ignore and play at the default settings. -- Google

Re: CVS checkout

2023-10-25 Thread Otto Moerbeek
On Wed, Oct 25, 2023 at 11:13:44AM +0600, Maria Morisot wrote: > I've been trying now for a month to download source via CVS as per > instructions on openbsd.org; I get operation timed out every time. I get no > ping from anoncvs.ca.openbsd.org > > I want to help work on the project in any way

CVS checkout

2023-10-25 Thread Maria Morisot
I've been trying now for a month to download source via CVS as per instructions on openbsd.org; I get operation timed out every time. I get no ping from anoncvs.ca.openbsd.org I want to help work on the project in any way I can; I love OpenBSD. -- Faith in Jesus is like going off a high dive

Re: my first patch

2023-10-25 Thread Maria Morisot
> SoX's play --ignore-length can play it. > SoX's --ignore-length appears in a few formats, as far as the wav format goes, the code comments suggest it is implemented to handle 32-bit wav files greater than 2GB. It seems you just found a happy side effect.