Re: Resources to learn modern C relevant to OpenBSD

2025-08-02 Thread Christian Schulte
: uiomove(void *cp, size_t n, struct uio *uio) We all know how to read that cp, of course. Stands for (c)annot (p)redict, right? Same for something like softc. Stands for "soft"ware "c"onfusion, right? That's pretty much not the easiest codebase to get a hold on without any experience. -- Christian

Re: cvs

2025-07-25 Thread Christian Schulte
orrectly. In the end, it does not matter if the project is using CVS, SVN, git or whatever, as long as there is an adapter to git like git-svn and such. -- Christian

Re: pppoe connection issue

2025-05-24 Thread Christian Weisgerber
on in hostname pppoe0 doesn't look correct. Note that hostname.if(5) "inet" lines have a different syntax from ifconfig(8). I suggest: ==> hostname.pppoe0 <== inet 0.0.0.0 255.255.255.255 NONE pppoedev vlan40 authproto pap \ authname 'user' authkey '

Re: azalia: Noise right after the driver attaches.

2025-05-18 Thread Christian Schulte
On 5/19/25 05:25, Christian Schulte wrote: > On 5/17/25 05:46, Christian Schulte wrote: >> On 5/8/25 07:06, Jonathan Gray wrote: >>> On Fri, May 09, 2025 at 05:40:23AM +0200, Christian Schulte wrote: >>>> Thanks. Does not make a difference here. Maybe the device i

Re: azalia: Noise right after the driver attaches.

2025-05-18 Thread Christian Schulte
On 5/17/25 05:46, Christian Schulte wrote: > On 5/8/25 07:06, Jonathan Gray wrote: >> On Fri, May 09, 2025 at 05:40:23AM +0200, Christian Schulte wrote: >>> Thanks. Does not make a difference here. Maybe the device id is just a >>> different one here. C

Re: azalia: Noise right after the driver attaches.

2025-05-16 Thread Christian Schulte
On 5/8/25 07:06, Jonathan Gray wrote: > On Fri, May 09, 2025 at 05:40:23AM +0200, Christian Schulte wrote: >> Thanks. Does not make a difference here. Maybe the device id is just a >> different one here. Cannot tell. >> >> Regards, >> -- >> Christi

Re: azalia: Noise right after the driver attaches.

2025-05-07 Thread Christian Schulte
On 5/8/25 07:06, Jonathan Gray wrote: > On Fri, May 09, 2025 at 05:40:23AM +0200, Christian Schulte wrote: >> Thanks. Does not make a difference here. Maybe the device id is just a >> different >> one here. Cannot tell. >> >> Regards, >> -- >> C

Re: azalia: Noise right after the driver attaches.

2025-05-07 Thread Christian Schulte
Thanks. Does not make a difference here. Maybe the device id is just a different one here. Cannot tell. Regards, -- Christian Domain /dev/pci0: 0:0:0: Intel Core 4G Host 0x: Vendor ID: 8086, Product ID: 0a04 0x0004: Command: 0006, Status: 2090 0x0008: Class: 06

azalia: Noise right after the driver attaches.

2025-05-07 Thread Christian Schulte
suppresses that noise in the driver which the azalia driver does not and cannot do, as it is a common driver for many devices? Where to start? Regards, -- Christian OpenBSD 7.7-stable (GENERIC.MP) #18: Mon Apr 28 20:42:34 CEST 2025 schu...@x500.schulte.it:/sys/arch/amd64/compile/GENERIC.MP real mem

Re: wrong hour in Europe/Warsaw timezone?

2025-04-06 Thread Christian Weisgerber
Sun Oct 26 02:59:59 2025 CEST isdst=1 Europe/Warsaw Sun Oct 26 01:00:00 2025 UTC = Sun Oct 26 02:00:00 2025 CET isdst=0 -- Christian "naddy" Weisgerber na...@mips.inka.de

Re: printf portability

2025-03-16 Thread Christian Schulte
On 3/15/25 09:11, Otto Moerbeek wrote: > On Sat, Mar 15, 2025 at 08:55:18AM +0100, Christian Schulte wrote: > >> On 3/15/25 07:37, Otto Moerbeek wrote: >>> On Sat, Mar 15, 2025 at 07:29:39AM +0100, Christian Schulte wrote: >>> >>>> Hi @misc, >>&g

Re: problems with "xz" on 7.6 hppa

2025-03-15 Thread Christian Groessler
On 3/14/25 20:40, Christian Weisgerber wrote: Christian Groessler: I've built "xz" from ports and it doesn't work: hppa$ echo bla | xz > /tmp/bla.xz So it works? Sometimes hppa$ echo bla | xz -9 > /tmp/bla.xz xz: (stdin): Cannot allocate memory The xz(1)

Re: printf portability

2025-03-15 Thread Christian Schulte
(portably) start with a minus-sign, a -- > option must precede it, ala > printf -- -s > > Or, you know, don't get into a habit that created a million printf(2) > vulnerabilities and write > printf %s -s > > instead. > > Philip Guenther > x500$ printf -- %s \\u0041 \u0041x500$ Thanks a lot. -- Christian

Re: printf portability

2025-03-15 Thread Christian Schulte
On 3/15/25 07:37, Otto Moerbeek wrote: > On Sat, Mar 15, 2025 at 07:29:39AM +0100, Christian Schulte wrote: > >> Hi @misc, >> >> I recently stumbled upon an issue with GNU printf(1). I was using >> echo(1) in a testsuite.at on OpenBSD successfully, but that failed

printf portability

2025-03-14 Thread Christian Schulte
: invalid option printf: usage: printf [-v var] format [arguments] Would you rate this a bug in GNU printf(1)? -- Christian

Re: problems with "xz" on 7.6 hppa

2025-03-14 Thread Christian Weisgerber
Christian Groessler: > I've built "xz" from ports and it doesn't work: > > hppa$ echo bla | xz > /tmp/bla.xz So it works? > hppa$ echo bla | xz -9 > /tmp/bla.xz > xz: (stdin): Cannot allocate memory The xz(1) man page has a table that shows how m

problems with "xz" on 7.6 hppa

2025-03-14 Thread Christian Groessler
Hi, I've built "xz" from ports and it doesn't work: hppa$ echo bla | xz > /tmp/bla.xz hppa$ echo bla | xz -9 > /tmp/bla.xz xz: (stdin): Cannot allocate memory hppa$ uname -a OpenBSD hppa.groessler.org 7.6 GENERIC#1132 hppa hppa$ echo bla | xz -9 > /tmp/bla.xz [xz]12853/208633 sp=75820030 i

Re: New file system for OpenBSD?

2025-03-07 Thread Christian Weisgerber
nisp1953: > Will OpenBSD get a new file system sometime in the future? The responses so far have been a bit too smart-alecky, so here's a better one: Nobody in the project is working on a new file system at this time. So there likely won't be one in the forseeable future. -- Chr

Re: Garbage article about OpenSSH at heise.de/iX (German)

2025-02-20 Thread Christian Weisgerber
/2025/3/2500316133559550686 -- Christian "naddy" Weisgerber na...@mips.inka.de

Re: Garbage article about OpenSSH at heise.de/iX (German)

2025-02-20 Thread Christian Weisgerber
requiem.: > Given Heise's reputation under normal circumstances, is it worth > flagging this up with the editor? They might pull the article. I did. And they have pulled the article. -- Christian "naddy" Weisgerber na...@mips.inka.de

Garbage article about OpenSSH at heise.de/iX (German)

2025-02-19 Thread Christian Weisgerber
e OQS-OpenSSH fork with the official OpenSSH releases. I have no idea if that's an April fool's, some sort of test, or if the editors fell victim to a scam. Anyway, I thought I'd put a warning out. -- Christian "naddy" Weisgerber na...@mips.inka.de

libjwt available in ports?

2025-02-06 Thread Christian Schulte
with every new major release every odd month? The application I am building on Debian stable against that library would stop compiling the next dist upgrade. Quite insane for such a trivial task. I can built that library on on OpenBSD myself, of course. [1] <https://libjwt.io/> -- Christian

Re: malloc_trim(3) alternative in OpenBSD?

2025-02-06 Thread Christian Schulte
On 2/7/25 04:56, Daniel Wilkins wrote: > On Fri, Feb 07, 2025 at 03:37:31AM +0100, Christian Schulte wrote: >> Hi @misc, >> >> does OpenBSD provide something equivalent to Linux' malloc_trim(3)[1]? I >> am yet to port an application from Linux to OpenBSD and that

malloc_trim(3) alternative in OpenBSD?

2025-02-06 Thread Christian Schulte
whole application is terminated. [1] <https://man7.org/linux/man-pages/man3/malloc_trim.3.html> [2] <https://man7.org/linux/man-pages/man7/pthreads.7.html> -- Christian

Re: How to parallelization

2024-12-25 Thread Christian Schulte
On 12/23/24 22:23, Geoff Steckel wrote: > On 12/23/24 1:43 PM, Christian Schulte wrote: >> Not criticizing OpenBSD in any way. Let me try to explain a common use >> case. There is a data source capable of providing X bytes per second at >> max. The application needs to be

Re: How to parallelization

2024-12-23 Thread Christian Schulte
On 12/23/24 19:43, Christian Schulte wrote: > On 12/23/24 17:37, Geoff Steckel wrote: >> On 12/23/24 11:20 AM, Gábor LENCSE wrote: >>> Under Linux, one can use the isolcpus kernel command line >>> parameter to exclude certain cores from the scheduler. >>>

Re: How to parallelization

2024-12-23 Thread Christian Schulte
iving part increases, consumer needs to increase compute to not slow down the receiver. Does this make things more clear? -- Christian -- Christian

Re: How to parallelization

2024-12-23 Thread Christian Schulte
igned and will slow down themselves due to "give me more than I will ever need and slow everything down - even me." -- Christian

How to parallelization

2024-12-23 Thread Christian Schulte
CPUs available to size things. I am searching for some kind of system API allowing an application to reserve a certain amount of CPUs exclusively - not shared with any other application - maybe not even the OS. Does this make sense? -- Christian

Re: Need some advice on C semantics.

2024-12-18 Thread Christian Schulte
On 12/18/24 06:46, Geoff Steckel wrote: > On 12/17/24 7:17 PM, Christian Schulte wrote: >> Thank you very much. That's indeed what I was looking for. Those >> undefined behaviour pitfalls. This just does not exist in the Java >> Virtual Machine specification - or - wh

Re: Need some advice on C semantics.

2024-12-17 Thread Christian Schulte
On 12/13/24 12:26, Maxim wrote: > Christian Schulte, 2024-12-12 11:54 +0100: >> is there something specific for OpenBSD like style(9) but for semantics? > > I believe such document doesn't exist. As it's been suggested to you, > reading and learning for the codebase

Re: Need some advice on C semantics.

2024-12-12 Thread Christian Schulte
d a for loop. The first will make the compiler produce something similar to what I would have written in assembly directly. The latter will magically make the compiler start generating SIMD instructions. I may be very wrong about this and things just happened out of luck, but I'll give it a try the next day and report back. Those linker warnings about using questionable functions are of great help already, but this is not what I am heading after. Lets see if I can come up with an example tomorrow. -- Christian

Re: Need some advice on C semantics.

2024-12-12 Thread Christian Schulte
On 12/12/24 12:13, Kirill A. Korinsky wrote: > On Thu, 12 Dec 2024 11:54:29 +0100, > Christian Schulte wrote: >> >> is there something specific for OpenBSD like style(9) but for semantics? >> I understand that style(9) is all about syntax. As a long term Java >> deve

Need some advice on C semantics.

2024-12-12 Thread Christian Schulte
e.g. lack of exceptions and so. I am still failing to find semantic design guidelines or best practices documentation for C which I believe OpenBSD developers adhere to but never documented them somewhere. Could you please point me to some documentation regarding this? Thank you. -- Christian

Re: SMTPD start failed - table-proc: unexpected EOF during handshake

2024-11-21 Thread Christian Schulte
urself a lot of time without needing to post to two different mailing lists. -- Christian

Re: Configuring IPv6 addresses using dhcp6leased(8)

2024-11-05 Thread Christian Schulte
rt 6000:601 block return in on ! lo0 # Port build user does not need network block return out log proto {tcp udp} user _pbuild x500# ^D Script done on Tue Nov 5 09:48:47 2024 -- Christian

Re: Configuring IPv6 addresses using dhcp6leased(8)

2024-11-02 Thread Christian Schulte
On 11/2/24 16:49, Peter Hessler wrote: > > What does the full output of 'slaacctl show interface iwm0', 'ifconfig iwm0', > and 'netstat -rnf inet6' say? Script started on Sat Nov 2 17:52:32 2024 x500$ slaacctl show interface iwm0 iwm0: index: 2 running: yes temporary: yes ll

Re: Configuring IPv6 addresses using dhcp6leased(8)

2024-11-02 Thread Christian Schulte
On 11/2/24 15:32, Brian Conway wrote: > On Sat, Nov 2, 2024, at 7:09 AM, Christian Schulte wrote: >> Hello misc@, >> >> x500$ cat /etc/hostname.iwm0 >> nwid "FLSTR81WHG6DG" wpa wpakey "xyz" >> inet autoconf >> inet6 autoconf >> >&

Configuring IPv6 addresses using dhcp6leased(8)

2024-11-02 Thread Christian Schulte
s my laptop obtain an IPv4 address with dhcpleased(8) from the fritz box. "inet6 autoconf" does not. Is dhcp6leased(8) already supporting this kind of client configuration? Regards, -- Christian

Re: Minimum supported chipsets of amd64

2024-11-01 Thread Christian Schulte
On 10/30/24 23:21, Anon Loli wrote: > On Tue, Oct 29, 2024 at 12:26:54PM +0100, Christian Schulte wrote: >> On 10/28/24 22:53, Anon Loli wrote: >>> On Mon, Oct 28, 2024 at 05:35:47PM +0100, Christian Schulte wrote: >>>> On 10/24/24 03:01, Mike Larkin wrote: >&

Re: Minimum supported chipsets of amd64

2024-10-30 Thread Christian Schulte
On 10/29/24 04:49, Philip Guenther wrote: > On Mon, Oct 28, 2024 at 11:43 AM Christian Schulte wrote: > ... >> I would really like to understand why this architecture stood the test >> of time. Just because it boots in 8 bit CPU mode from the 70ties not >> even c

Re: Minimum supported chipsets of amd64

2024-10-29 Thread Christian Schulte
On 10/28/24 22:53, Anon Loli wrote: > On Mon, Oct 28, 2024 at 05:35:47PM +0100, Christian Schulte wrote: >> On 10/24/24 03:01, Mike Larkin wrote: >>> >>> Every one of us who has worked in this area, at this level, has read those >>> 800+ page documents. Someti

Re: Minimum supported chipsets of amd64

2024-10-29 Thread Christian Schulte
On 10/29/24 04:49, Philip Guenther wrote: > On Mon, Oct 28, 2024 at 11:43 AM Christian Schulte wrote: > ... >> I would really like to understand why this architecture stood the test >> of time. Just because it boots in 8 bit CPU mode from the 70ties not >> even c

Re: Minimum supported chipsets of amd64

2024-10-28 Thread Christian Schulte
endent parts in the kernel really are abstractions of formerly machine dependent parts, understanding the worst case of those - namely x86 and amd64 - will help me understand those. I am still in the process of reading x86/amd64 documentation even if it make me shake my head every so often. Regards, -- Christian

Minimum supported chipsets of amd64

2024-10-23 Thread Christian Schulte
s on what documents to read, given they are around 800 pages long. Thank you. -- Christian

Re: mapping different client and server uid:gid for NFS

2024-10-23 Thread Christian Weisgerber
Divan Santana: > I would expert my NFS client uid 67 to be mapped to the remote NFS > server and presented as 1000 therefore permission should be granted to > write? Did you forget to send SIGHUP to mountd(8) to make it re-read exports(5)? -- Christian "nad

Re: long-running future of OpenBSD

2024-10-22 Thread Christian Schulte
o Linux? If anything would happen to Richard Stallman, he is 71 years old according to wikipedia. What would happen to GNU? You would not ask those questions, would you? -- Christian

Start the kernel under a debugger

2024-10-19 Thread Christian Schulte
. Last time I did something like this was on a Atari Falcon 030 using FreeMINT. So there is a lot I have to catch up with. Any pointers highly appreciated. Thank you. -- Christian

Re: Memory upgrade

2024-10-17 Thread Christian Schulte
On 10/17/24 18:10, Christian Schulte wrote: > On 10/17/24 17:03, Stuart Henderson wrote: >> On 2024-10-17, Christian Schulte wrote: >>> On 10/17/24 09:40, Stuart Henderson wrote: >>>> On 2024-10-16, Christian Schulte wrote: >>>>> >>>>>

Re: Memory upgrade

2024-10-17 Thread Christian Schulte
On 10/17/24 17:03, Stuart Henderson wrote: > On 2024-10-17, Christian Schulte wrote: >> On 10/17/24 09:40, Stuart Henderson wrote: >>> On 2024-10-16, Christian Schulte wrote: >>>> >>>> No. That's what seems to went wrong when going from i386 to am

Re: Memory upgrade

2024-10-17 Thread Christian Schulte
On 10/17/24 09:40, Stuart Henderson wrote: > On 2024-10-16, Christian Schulte wrote: >> >> No. That's what seems to went wrong when going from i386 to amd64. >> The 3GB hard limit of i386 was in the range of available physical >> memory (4GB) without swap. The 128G

Re: Memory upgrade

2024-10-16 Thread Christian Schulte
On 10/16/24 22:37, Thomas Frohwein wrote: > On Tue, 15 Oct 2024 16:08:03 +0200 > Christian Schulte wrote: > >> On 10/15/24 15:09, Claudio Jeker wrote: >>> On Tue, Oct 15, 2024 at 02:35:03PM +0200, Christian Schulte wrote: >>>> On 10/15/24 12:45, Claudio

Re: Memory upgrade

2024-10-16 Thread Christian Schulte
On 10/15/24 20:29, Kirill A. Korinsky wrote: > On Tue, 15 Oct 2024 12:28:20 +0200, > Christian Schulte wrote: >> >> On 10/15/24 12:09, Stuart Henderson wrote: >>> On 2024-10-15, Zé Loff wrote: >>>> On Tue, Oct 15, 2024 at 10:14:42AM +0200, Christian Sch

Re: Memory upgrade

2024-10-16 Thread Christian Schulte
On 10/15/24 18:38, Stefan Sperling wrote: > On Tue, Oct 15, 2024 at 04:08:03PM +0200, Christian Schulte wrote: >> On 10/15/24 15:09, Claudio Jeker wrote: >>> If the problem was trivial it would have been fixed already. >> >> I am not around here for working on things

Re: Memory upgrade

2024-10-15 Thread Christian Schulte
On 10/15/24 15:09, Claudio Jeker wrote: > On Tue, Oct 15, 2024 at 02:35:03PM +0200, Christian Schulte wrote: >> On 10/15/24 12:45, Claudio Jeker wrote: >>> On Tue, Oct 15, 2024 at 12:28:20PM +0200, Christian Schulte wrote: >>>> On 10/15/24 12:09, Stuart Henderson

Re: Memory upgrade

2024-10-15 Thread Christian Schulte
On 10/15/24 12:45, Claudio Jeker wrote: > On Tue, Oct 15, 2024 at 12:28:20PM +0200, Christian Schulte wrote: >> On 10/15/24 12:09, Stuart Henderson wrote: >>> On 2024-10-15, Zé Loff wrote: >>>> On Tue, Oct 15, 2024 at 10:14:42AM +0200, Christian Schulte wrote: >

Re: Memory upgrade

2024-10-15 Thread Christian Schulte
On 10/15/24 12:09, Stuart Henderson wrote: > On 2024-10-15, Zé Loff wrote: >> On Tue, Oct 15, 2024 at 10:14:42AM +0200, Christian Schulte wrote: >>> ulimit -d `ulimit -aH | grep data | awk '{print $2}'` >>> ulimit -n `ulimit -aH | grep nofiles | awk '{p

Re: Memory upgrade

2024-10-15 Thread Christian Schulte
On 10/15/24 09:51, Christian Schulte wrote: > On 10/14/24 15:49, Stuart Henderson wrote: >> On 2024-10-14, Christian Schulte wrote: >>> On 10/14/24 10:33, Stuart Henderson wrote: >>>> On 2024-10-12, Christian Schulte wrote: >>>>> Take i386. Compil

Re: Memory upgrade

2024-10-15 Thread Christian Schulte
On 10/14/24 15:49, Stuart Henderson wrote: > On 2024-10-14, Christian Schulte wrote: >> On 10/14/24 10:33, Stuart Henderson wrote: >>> On 2024-10-12, Christian Schulte wrote: >>>> Take i386. Compile it with something -march=i686 or pentiumpro by >>>&g

Re: Memory upgrade

2024-10-14 Thread Christian Schulte
On 10/14/24 10:33, Stuart Henderson wrote: > On 2024-10-12, Christian Schulte wrote: >> Take i386. Compile it with something -march=i686 or pentiumpro by >> default. That's it. Add support for the various PAE MMU options. > > "That's it". "Add

Re: Memory upgrade

2024-10-13 Thread Christian Schulte
On 10/12/24 18:33, Philip Guenther wrote: > On Sat, Oct 12, 2024 at 3:58 AM Christian Schulte wrote: >> >> On 10/11/24 15:05, Claudio Jeker wrote: >>> On Fri, Oct 11, 2024 at 03:00:23PM +0200, Christian Schulte wrote: >>>> On 10/11/24 13:57, Stuart Hende

Re: Memory upgrade

2024-10-12 Thread Christian Weisgerber
Christian Schulte: > Hmm. Why not give up on i386 and make that i686 instead (Pentium Pro)? > What I mean by this. Rename the current i386 to i686 by compiling it for > i686 "i386" is the name of the architecture. OpenBSD doesn't run any longer on actual 80386 CPUs. I

Re: Memory upgrade

2024-10-12 Thread Christian Schulte
On 10/11/24 15:05, Claudio Jeker wrote: > On Fri, Oct 11, 2024 at 03:00:23PM +0200, Christian Schulte wrote: >> On 10/11/24 13:57, Stuart Henderson wrote: >>> On 2024-10-09, obs...@loopw.com wrote: >>>>> In a second server I have upgraded from 7.5 i386 to 7.6 i38

Re: Memory upgrade

2024-10-11 Thread Christian Schulte
. Rename the current i386 to i686 by compiling it for i686 and update the pmap to support more than 4GB physical RAM (PAE). Supporting i386 is like supporting 68030. -- Christian

Re: Memory upgrade

2024-10-09 Thread Christian Schulte
able of would mean some kind of bank switching to be performed including driver support. I may be wrong about it. As long as you are running i386, 4GB is the maximum limit. No? -- Christian

Re: Bootloader location for encrypted root (softraid)

2024-10-09 Thread Christian Weisgerber
this is actually used. > If I wanted to check the integrity of the bootloaders against what is in > /usr/mdec, how would I go about it? Figure out the relevant offsets and extract the corresponding sectors with dd(1) from the raw disk device. At least that's how I would approach

Re: Building -current incrementally.

2024-09-27 Thread Christian Schulte
On 9/27/24 11:21, Zé Loff wrote: > > On Fri, Sep 27, 2024 at 09:39:07AM +0200, Christian Schulte wrote: >> On 9/26/24 10:43, Stuart Henderson wrote: >>> On 2024-09-26, Christian Schulte wrote: >>>> I am keen on knowing how those snapshots are build. Do they re

Re: Building -current incrementally.

2024-09-27 Thread Christian Schulte
On 9/26/24 10:47, Philip Guenther wrote: > On Thu, Sep 26, 2024 at 12:30 AM Christian Schulte wrote: >> >> On 9/26/24 07:15, Otto Moerbeek wrote: >>> On Thu, Sep 26, 2024 at 06:38:00AM +0200, Christian Schulte wrote: > ... >>>> Accidentally ran make in /u

Re: Building -current incrementally.

2024-09-27 Thread Christian Schulte
On 9/26/24 10:43, Stuart Henderson wrote: > On 2024-09-26, Christian Schulte wrote: >> I am keen on knowing how those snapshots are build. Do they really wipe >> out everything and then do a fresh build - lasting nearly 24h here for >> me. I doubt it. > > That's

Re: Building -current incrementally.

2024-09-25 Thread Christian Schulte
On 9/26/24 07:15, Otto Moerbeek wrote: > On Thu, Sep 26, 2024 at 06:38:00AM +0200, Christian Schulte wrote: > >> So I installed 7.5-stable on a VPS and that kernel panicked during >> installation >> several times. I then grabbed a 7.6-current image and installed the sy

Building -current incrementally.

2024-09-25 Thread Christian Schulte
So I installed 7.5-stable on a VPS and that kernel panicked during installation several times. I then grabbed a 7.6-current image and installed the system using that. That kernel does not panic so I am running -current on that system since then. Checked out /usr/src, build the system from source us

Re: pf.conf(5): How to implement sendmail's connection/rate control features with pf?

2024-09-25 Thread Christian Schulte
-password-gropers-through.html). > > All the best, > Peter > Thank you so much. That's exactly what I was looking for. -- Christian

pf.conf(5): How to implement sendmail's connection/rate control features with pf?

2024-09-25 Thread Christian Schulte
Hello @misc, I am currently searching for a way to implement sendmail's connection control features using pf. In sendmail I am using: dnl # Define connection throttling and window length define(`confCONNECTION_RATE_THROTTLE', `15')dnl define(`confCONNECTION_RATE_WINDOW_SIZE',`10m')dnl dnl # Stop

Re: PAX Formats

2024-09-10 Thread Christian Weisgerber
o the one in 4.4BSD, but they have diverged since. In particular, OpenBSD uses pax as the base for tar and cpio--they're just different frontends for the same program--but FreeBSD doesn't, so pax is a bit neglected there. -- Christian "naddy" Weisgerber na...@mips.inka.de

Re: PAX Formats

2024-09-09 Thread Christian Weisgerber
limitations: "The SVR4 format uses eight-digit hexadecimal values for all header fields. This limits file size to 4GB, and also limits the mtime and other fields to 32 bits." -- Christian "naddy" Weisgerber na...@mips.inka.de

Re: How to add support to OpenSMTPD to distinguish between MTA and MSA operation mode?

2024-09-01 Thread Christian Schulte
On 01.09.24 15:39, Kirill A. Korinsky wrote: > On Sun, 01 Sep 2024 13:12:19 +0200, > Christian Schulte wrote: >> >> I just started to read OpenSMTPD sources. Regarding the latest >> discussions on tech@, there maybe seems to be the need to instruct >> OpenSMTPD l

How to add support to OpenSMTPD to distinguish between MTA and MSA operation mode?

2024-09-01 Thread Christian Schulte
d spending time into this, if there is no interest but I think there really should be a way to configure listeners to specific operation modes like MTA or MSA. [1] <http://man.openbsd.org/smtpd.conf> -- Christian

Re: anyone want to network for OpenBSD/riscv32?

2024-08-31 Thread Christian Groessler
Hello, On 8/11/24 1:13 PM, Peter Philipp wrote: I have a Pine64 Ox64 (64 MB RAM) I also own an Ox64 and would be interested in OpenBSD/riscv32. Don't know how much time I will find, though. regards, chris

Re: Lastest snapshot - all application got a speed increase

2024-08-07 Thread Christian Schulte
relations. For example: Is it one scheduler per N CPUs, or really should that be N schedulers per N CPUs and things like that. Regards, -- Christian

Re: Optimization Advice for High Resource Utilization PostgreSQL Query on OpenBSD

2024-08-03 Thread Christian Schulte
ybe want to partition things? -- Christian

Re: Running OpenBSD on a VPS.

2024-07-15 Thread Christian Schulte
On 13.07.24 07:52, Crystal Kolipe wrote: On Sat, Jul 13, 2024 at 02:16:12AM +0200, Christian Schulte wrote: There is no security with those kind of setups and we all know it. I am just glad I can run OpenBSD there. But if you want to run internet-facing servers without exposing access to

Re: Running OpenBSD on a VPS.

2024-07-15 Thread Christian Schulte
On 13.07.24 11:03, Janne Johansson wrote: address and things like that. Contabo at least offers to setup a VPS with custom iso images providing VLC console access and such. From a I think you mean a VNC console, not the road-cone media player. I could bear the mistake once, but now it looks

Re: Running OpenBSD on a VPS.

2024-07-12 Thread Christian Schulte
On 11.07.24 12:11, Kirill A. Korinsky wrote: On Thu, 11 Jul 2024 03:10:43 +0100, Christian Schulte wrote: Running OpenBSD since then personally. Never had a chance to install it to a server, because the providers did not support it. Now they do. Not all of them. Special in case like

Re: smtpd warn: not enough disk space

2024-07-11 Thread Christian Schulte
On 09.07.24 11:16, Stuart Henderson wrote: On 2024-07-09, Christian Schulte wrote: For example: Just remove the patches in this directory - well a lot of them - and see how those GNU folks have turned into complete idiots. I don't g

Re: smtpd warn: not enough disk space

2024-07-10 Thread Christian Schulte
On 09.07.24 11:18, Stuart Henderson wrote: On 2024-07-09, Christian Schulte wrote: On 07.07.24 03:51, Jeremy Evans wrote: On Fri, Jul 5, 2024 at 9:16 PM Christian Schulte mailto:schulte...@gmail.com>> wrote: Just wondering how the postgresql port is configured. Really

Re: Running OpenBSD on a VPS.

2024-07-10 Thread Christian Schulte
On 11.07.24 03:41, Geoff Steckel wrote: On 7/10/24 20:40, Christian Schulte wrote: Hello misc@,  I understand I will need to setup a different system from scratch and replace various things (e.g. sendmail, milter-greylist, clamav-milter, spamass-milter, http, imap, etc.) with something

Running OpenBSD on a VPS.

2024-07-10 Thread Christian Schulte
take the time to do it. Does OpenBSD support such a host? One fixed IPv4 and IPv6 address? Regards, -- Christian[0.00] Linux version 6.1.0-22-amd64 (debian-ker...@lists.debian.org) (gcc-12 (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #1 SMP PREEMPT_DYNAMIC Debian 6.1

Re: smtpd warn: not enough disk space

2024-07-08 Thread Christian Schulte
On 07.07.24 03:51, Jeremy Evans wrote: On Fri, Jul 5, 2024 at 9:16 PM Christian Schulte <mailto:schulte...@gmail.com>> wrote: Just wondering how the postgresql port is configured. Really should setup quotas automatically when pkg_adding in a way, just to ensure, that no

Re: smtpd warn: not enough disk space

2024-07-08 Thread Christian Schulte
On 07.07.24 03:51, Jeremy Evans wrote: On Fri, Jul 5, 2024 at 9:16 PM Christian Schulte <mailto:schulte...@gmail.com>> wrote: Just wondering how the postgresql port is configured. Really should setup quotas automatically when pkg_adding in a way, just to ensure, that no

Re: vi: How to display German umlauts?

2024-07-08 Thread Christian Weisgerber
n extended with wide character support. -- Christian "naddy" Weisgerber na...@mips.inka.de

Re: smtpd warn: not enough disk space

2024-07-05 Thread Christian Schulte
On 06.07.24 04:08, Eric Pruitt wrote: On Sat, Jul 06, 2024 at 01:49:05AM +0200, Christian Schulte wrote: A database admin would have monitored the system and just enhanced storage when required. Bad thing for me was, that I could not vaccuum the database, because postgresql copies tables to

Re: smtpd warn: not enough disk space

2024-07-05 Thread Christian Schulte
On 05.07.24 13:46, Jeremy Mates wrote: On 2024-07-05 05:19:01 +0200, Christian Schulte wrote: I have never seen an application performing such kind of checks. Sendmail had a knob to refuse mail at a certain CPU load, on the assumption that if a system was "too busy" it's in

Re: smtpd warn: not enough disk space

2024-07-05 Thread Christian Schulte
On 05.07.24 13:50, Souji Thenria wrote: On Fri Jul 5, 2024 at 4:19 AM BST, Christian Schulte wrote: Hello, Hi Christian, What is the reasoning to check for disk space based on percentages? I have never seen an application performing such kind of checks. If there is not enough space

Re: accidentally overwritten wrong drive with DD, please help

2024-07-05 Thread Christian Weisgerber
hen again you can do so. > Does is have anything to do with "i" being > traditionaly a msdos partition? Historically, BSD disklabels had 8 slots, 'a'...'h', so 'i' was clearly not a BSD partition. When OpenBSD extended disklabels to 16 slots, 'a'...'p', things became ambiguous. -- Christian "naddy" Weisgerber na...@mips.inka.de

smtpd warn: not enough disk space

2024-07-04 Thread Christian Schulte
bytes before write would make sense. Checking a percentage value? I don't get it. Not being able to send mail, although 3.2G space is available makes no sense, IMHO. Regards, -- Christian

Re: how to verify OpenBSD CVS repositories from mirrors?

2024-07-04 Thread Christian Weisgerber
Anon Loli: > That doesn't defent againts the mirror host itself being malicious.. like > HELLO > what are we talking about?? The AnonCVS mirror concept dates from a time when people didn't think mirrors would be malicious. It does not provide any guarantee of integrity. -

Re: lcamtuf on the recent xz debacle

2024-04-04 Thread Christian Weisgerber
d. It does not plausibly pass for a typo because no typical editing glitch will leave a '.' character there. I'm not aware of any clearly malicious commit before 2024-02-23. I'll conclude this brain dump by pointing out that much of the emerging narrative about this backdoor th

Re: Entry in the list of UNIX and OpenBSD providers

2024-02-06 Thread Christian Weisgerber
"Theobald, Gerd": > C Germany > P Baden-Wuerttemberg > T Nuremberg > Z D-90411 Nuremberg is not in Baden-Wuerttemberg. -- Christian "naddy" Weisgerber na...@mips.inka.de

Re: cvs revert specific commit

2024-01-18 Thread Christian Weisgerber
Hrvoje Popovski: > I would like to revert only if_em.c rev. 1.369, but would like to leave > TSO stuff if_em.c rev. 1.370 and if_em.h rev 1.81. > > is this somehow possible? $ cd /sys/dev/pci $ cvs diff -kk -r1.369 -r1.368 if_em.c | patch -p0 -- Christian "

Re: time keeping fallback mechanics during reboot on octeon

2024-01-15 Thread Christian Gut
unning anymore, but IIRC, I had a cron > job poking the root fs to"resolve" this. > > Sth like "mkdir /bump && rmdir /bump && sync". > > /Alexander > > On January 12, 2024 2:35:47 PM GMT+01:00, Christian Gut > wrote: >> Hi, &

  1   2   3   4   5   6   7   8   9   10   >