Re: CARP and DHCP

2023-01-05 Thread Christer Solskogen
On Mon, Jan 2, 2023 at 5:14 PM Nick Holland wrote: > hiya. > > Goal: home (i.e., DHCP external network config) redundant > firewalls with CARP and PFSYNC. > > Totally doable. I've been running it like that for the last 7 years at home. My ISP doesn't like it when the two firewalls have

Re: Is CRONTAB(5) random really random ?

2023-01-05 Thread Otto Moerbeek
On Fri, Jan 06, 2023 at 12:58:48AM +0100, Rachel Roch wrote: > > > > 5 Jan 2023, 18:24 by purushar...@gmx.com: > > > Namaste Rachel, Theo(s), > > > >> Sent: Thursday, January 05, 2023 at 5:50 PM > >> From: "Theo de Raadt" > >> To: "Theo Buehler" > >> Cc: "Rachel Roch" , "Misc" > >>

Re: (video) obsd install initial boot process slowed down

2023-01-05 Thread Nick Holland
On 1/5/23 02:22, Sylvain Saboua wrote: https://youtu.be/lzGT1TAGG1Y OpenBSD 7.2 (GENERIC.MP) #758: Tue Sep 27 11:57:54 MDT 2022 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 8449818624 (8058MB) avail mem = 8176320512 (7797MB) random: good seed from

Re: dhcpcd consistently terminates

2023-01-05 Thread Zack Newman
On 2023-01-05, Stuart Henderson wrote: Assuming you don't already have a dhcpcd.core somewhere from a non-suid process, try sysctl.kern.nosuidcoredump=2, mkdir /var/crash/dhcpcd, and see if a $PID.core shows up there. I set the kernel state as specified and made that directory. As mentioned

Re: Is CRONTAB(5) random really random ?

2023-01-05 Thread Rachel Roch
5 Jan 2023, 18:24 by purushar...@gmx.com: > Namaste Rachel, Theo(s), > >> Sent: Thursday, January 05, 2023 at 5:50 PM >> From: "Theo de Raadt" >> To: "Theo Buehler" >> Cc: "Rachel Roch" , "Misc" >> Subject: Re: Is CRONTAB(5) random really random ? >> >> Theo Buehler wrote: >> >> > On Thu,

回复: 回复: 回复: Softraid crypto metadata backup

2023-01-05 Thread Nathan Carruth
  > On 2023-01-05, Nathan Carruth wrote: >> Thank you for your response. >> >> To clarify: I am not asking about backups proper >> (though I appreciate the suggestions). My only >> question is how to make a copy of the crypto metadata. > >dd the start of the partition, it's stored 16 blocks (8k)

Re: Probable error in softraid(4) documentation

2023-01-05 Thread Puru Shartha
Namaste Stuart, Tobias, > Sent: Thursday, January 05, 2023 at 4:58 PM > From: "Tobias Fiebig" > To: misc@openbsd.org > Subject: Re: Probable error in softraid(4) documentation > > Heho, > > On Wed, 2023-01-04 at 00:04 +, Stuart Henderson wrote: > > stacking would refer to creating one

Re: Is CRONTAB(5) random really random ?

2023-01-05 Thread Puru Shartha
Namaste Rachel, Theo(s), > Sent: Thursday, January 05, 2023 at 5:50 PM > From: "Theo de Raadt" > To: "Theo Buehler" > Cc: "Rachel Roch" , "Misc" > Subject: Re: Is CRONTAB(5) random really random ? > > Theo Buehler wrote: > > > On Thu, Jan 05, 2023 at 06:15:43PM +0100, Rachel Roch wrote: > >

Re: Is CRONTAB(5) random really random ?

2023-01-05 Thread Theo de Raadt
Theo Buehler wrote: > On Thu, Jan 05, 2023 at 06:15:43PM +0100, Rachel Roch wrote: > > According to the docs : > > > > > A random value (within the legal range) may be obtained by usingthe > > > ‘~’ character in a field. > > The random numbers are drawn once and then repeated regularly.

Re: Is CRONTAB(5) random really random ?

2023-01-05 Thread Theo Buehler
On Thu, Jan 05, 2023 at 06:15:43PM +0100, Rachel Roch wrote: > According to the docs : > > > A random value (within the legal range) may be obtained by usingthe ‘~’ > > character in a field. The random numbers are drawn once and then repeated regularly. This behavior has always bothered me

Re: BiDi sfp in ix

2023-01-05 Thread Hrvoje Popovski
On 4.1.2023. 14:20, Ivo Chutkin wrote: > On 2.1.2023 г. 16:58 ч., Hrvoje Popovski wrote: >> On 28.12.2022. 20:21, Stuart Henderson wrote: >>> On 2022-12-28, Hrvoje Popovski wrote: Hi all, I don't have much experience with BiDi sfp, so I'm asking you guys, should openbsd ix

Re: [SPAM?] Is CRONTAB(5) random really random ?

2023-01-05 Thread Martin Schröder
Am Do., 5. Jan. 2023 um 18:16 Uhr schrieb Rachel Roch : > Especially given three of my crontab fields are supposed to be random > (minute, hour, day-of-month) I would expect to see at least one of the three > to be different ?!? AFAIK there is only one random value and it's created at startup

Is CRONTAB(5) random really random ?

2023-01-05 Thread Rachel Roch
According to the docs : > A random value (within the legal range) may be obtained by usingthe ‘~’ > character in a field. However I've been running release versions of OpenBSD with the following definition: ~ ~ ~ * * /my/task/goes/here && /usr/bin/logger -t foo

Re: Probable error in softraid(4) documentation

2023-01-05 Thread Tobias Fiebig
Heho, On Wed, 2023-01-04 at 00:04 +, Stuart Henderson wrote: > stacking would refer to creating one softraid (say a raid1 mirror) > and then creating a separate softraid device (say a crypto volume) > using the first softraid disk as a component. Incidentally, if you happen to have a thing

Re: 回复: 回复: Softraid crypto metadata backup

2023-01-05 Thread Stuart Henderson
On 2023-01-05, Nathan Carruth wrote: > Thank you for your response. > > To clarify: I am not asking about backups proper > (though I appreciate the suggestions). My only > question is how to make a copy of the crypto metadata. dd the start of the partition, it's stored 16 blocks (8k) into the

Re: ??????: Softraid crypto metadata backup

2023-01-05 Thread Crystal Kolipe
Hi, Please fix your email client to correctly attribute quotes in list mail that you reply to. On Thu, Jan 05, 2023 at 02:13:53PM +, Nathan Carruth wrote: > Thank you for your response (apologies that I just saw this). > > I will have a look at the file you mentioned. > > I am curious what

回复: Softraid crypto metadata backup

2023-01-05 Thread Nathan Carruth
Thank you for your response (apologies that I just saw this). I will have a look at the file you mentioned. I am curious what you mean by this: “ Backing up, restoring or otherwise messing with the softraid metadata without using the standard tools is an advanced subject” as far as I know

回复: 回复: Softraid crypto metadata backup

2023-01-05 Thread Nathan Carruth
Thank you for your response. To clarify: I am not asking about backups proper (though I appreciate the suggestions). My only question is how to make a copy of the crypto metadata. On 2023-01-03, Nathan Carruth wrote: > I am with you 100% on backups. My real question was, How > does one backup

Re: 回复: Softraid crypto metadata backup

2023-01-05 Thread Stuart Henderson
On 2023-01-03, Nathan Carruth wrote: > I am with you 100% on backups. My real question was, How > does one backup crypto volume metadata? Given that > it can be backed up, clearly it should be, but there is no > information in any of the cited documentation as to where > the metadata is or how to

Re: dhcpcd consistently terminates

2023-01-05 Thread Stuart Henderson
On 2023-01-05, Zack Newman wrote: > For the past 1.5 years or more, I have dealt with consistent > terminations of dhcpcd(8). I "solved" this by having a ksh(1) script > that runs every 30 minutes that starts it anytime it is not running. > > /var/log/daemon shows the following when it

Re: obsd install initial boot process slowed down

2023-01-05 Thread Igor Falcomata'
On Thu, Jan 05, 2023 at 04:25:26AM +0100, Sylvain Saboua wrote: > > Sounds like the -\|/ spinner when the boot loader loads the kernel. > > YES! That's it. I had a similar issue (very slow first part of the boot process, more than 1 min) on my Fujistu Lifebook U937. Following and advice read

Re: Softraid crypto metadata backup

2023-01-05 Thread Crystal Kolipe
On Thu, Jan 05, 2023 at 05:13:05AM +, Nathan Carruth wrote: > Perhaps I should have clarified my use case. I have data which > is potentially legally privileged and which I also cannot afford > to lose. Thus an unencrypted backup is out of the question, and > my first thought was to use

Re: Softraid crypto metadata backup

2023-01-05 Thread Crystal Kolipe
On Thu, Jan 05, 2023 at 05:13:05AM +, Nathan Carruth wrote: > I presume that OpenBSD also writes on-disk metadata of the > same sort somewhere. Where? Look at /usr/src/sys/dev/softraidvar.h. The structures that contain the softraid metadata are defined there. There is general softraid