Re: RLIMIT_CPU doesn't work reliably on mostly idle systems

2023-08-29 Thread Scott Cheloha
On Tue, Aug 29, 2023 at 07:15:14PM +0200, Claudio Jeker wrote: > On Tue, Aug 29, 2023 at 01:01:10AM +, Eric Wong wrote: > > >Synopsis: RLIMIT_CPU doesn't work reliably on mostly idle systems > > >Category: system > > >Environment: > > System : OpenBSD 7.3 > > Details : OpenBSD

Re: RLIMIT_CPU doesn't work reliably on mostly idle systems

2023-08-29 Thread Mark Kettenis
> Date: Tue, 29 Aug 2023 19:15:14 +0200 > From: Claudio Jeker > > On Tue, Aug 29, 2023 at 01:01:10AM +, Eric Wong wrote: > > >Synopsis: RLIMIT_CPU doesn't work reliably on mostly idle systems > > >Category: system > > >Environment: > > System : OpenBSD 7.3 > > Details :

Re: RLIMIT_CPU doesn't work reliably on mostly idle systems

2023-08-29 Thread Claudio Jeker
On Tue, Aug 29, 2023 at 01:01:10AM +, Eric Wong wrote: > >Synopsis: RLIMIT_CPU doesn't work reliably on mostly idle systems > >Category: system > >Environment: > System : OpenBSD 7.3 > Details : OpenBSD 7.3 (GENERIC.MP) #1242: Sat Mar 25 18:04:31 MDT > 2023 >

Re: pf nat-to doesn't match a crafted packet

2023-08-29 Thread Peter J. Philipp
On Tue, Aug 29, 2023 at 11:11:53AM +0200, Alexandr Nedvedicky wrote: > Hello, > > On Tue, Aug 29, 2023 at 09:48:21AM +0200, Peter J. Philipp wrote: > > On Tue, Aug 29, 2023 at 09:45:24AM +1000, David Gwynne wrote: > > > How are you injecting the crafted packet into the stack? > > > > Via BPF.

Re: pf nat-to doesn't match a crafted packet

2023-08-29 Thread Peter J. Philipp
On Tue, Aug 29, 2023 at 12:35:47PM +0200, Claudio Jeker wrote: > On Tue, Aug 29, 2023 at 12:16:23PM +0200, Peter J. Philipp wrote: > > On Tue, Aug 29, 2023 at 11:11:53AM +0200, Alexandr Nedvedicky wrote: > > > Hello, > > > > > > On Tue, Aug 29, 2023 at 09:48:21AM +0200, Peter J. Philipp wrote: >

Re: pf nat-to doesn't match a crafted packet

2023-08-29 Thread Claudio Jeker
On Tue, Aug 29, 2023 at 12:16:23PM +0200, Peter J. Philipp wrote: > On Tue, Aug 29, 2023 at 11:11:53AM +0200, Alexandr Nedvedicky wrote: > > Hello, > > > > On Tue, Aug 29, 2023 at 09:48:21AM +0200, Peter J. Philipp wrote: > > > On Tue, Aug 29, 2023 at 09:45:24AM +1000, David Gwynne wrote: > > > >

Re: pf nat-to doesn't match a crafted packet

2023-08-29 Thread Peter J. Philipp
On Tue, Aug 29, 2023 at 11:11:53AM +0200, Alexandr Nedvedicky wrote: > Hello, > > On Tue, Aug 29, 2023 at 09:48:21AM +0200, Peter J. Philipp wrote: > > On Tue, Aug 29, 2023 at 09:45:24AM +1000, David Gwynne wrote: > > > How are you injecting the crafted packet into the stack? > > > > Via BPF.

Re: pf nat-to doesn't match a crafted packet

2023-08-29 Thread Alexandr Nedvedicky
Hello, On Tue, Aug 29, 2023 at 09:48:21AM +0200, Peter J. Philipp wrote: > On Tue, Aug 29, 2023 at 09:45:24AM +1000, David Gwynne wrote: > > How are you injecting the crafted packet into the stack? > > Via BPF. It is a spoofing program that I made 23 years ago. While that's > not really a

Re: find(1) with -delete ignores -maxdepth

2023-08-29 Thread Andreas Kusalananda Kähäri
On Tue, Aug 29, 2023 at 09:41:34AM +0200, Marcus MERIGHI wrote: > Hello, > > thanks for taking a look! My reproducer is at the end. > > What I missed to state: this is on amd64, > OpenBSD 7.3-current (GENERIC.MP) #1356: Mon Aug 28 09:35:30 MDT 2023 > > kern...@gmail.com (George Koehler),

Re: pf nat-to doesn't match a crafted packet

2023-08-29 Thread Peter J. Philipp
On Mon, Aug 28, 2023 at 07:13:29PM +0100, Stuart Henderson wrote: > On 2023/08/28 18:30, Peter J. Philipp wrote: > > Here is my icmp rulesets: > > > > root@stern# grep icmp /etc/pf.conf > > a partial pf.conf fragment is hardly ever enough to debug a ruleset > problem. if a packet doesn't match

Re: pf nat-to doesn't match a crafted packet

2023-08-29 Thread Peter J. Philipp
On Tue, Aug 29, 2023 at 09:45:24AM +1000, David Gwynne wrote: > How are you injecting the crafted packet into the stack? Via BPF. It is a spoofing program that I made 23 years ago. While that's not really a great achievement it found at least 5 or so panic conditions on OpenBSD throughout its

Re: find(1) with -delete ignores -maxdepth

2023-08-29 Thread Marcus MERIGHI
Hello, thanks for taking a look! My reproducer is at the end. What I missed to state: this is on amd64, OpenBSD 7.3-current (GENERIC.MP) #1356: Mon Aug 28 09:35:30 MDT 2023 kern...@gmail.com (George Koehler), 2023.08.28 (Mon) 22:01 (CEST): > On Mon, 28 Aug 2023 12:42:39 +0200 > Marcus MERIGHI