Re: reposync:host key verification failed

2021-06-10 Thread Avon Robertson
On Thu, Jun 10, 2021 at 11:06:46AM -, Stuart Henderson wrote: > On 2021-06-09, Avon Robertson wrote: > > On Tue, Jun 08, 2021 at 11:11:15AM +1200, Avon Robertson wrote: > >> On Mon, Jun 07, 2021 at 08:21:24PM -, Stuart Henderson wrote: > >> > On 2021-06-07, Avon Robertson wrote: > >> > >

Re: Howto measure pps at forwarding plane

2021-06-10 Thread Valdrin MUJA
Thanks, it's better now. From: owner-m...@openbsd.org on behalf of Claudio Jeker Sent: Thursday, June 10, 2021 12:33 PM To: misc@openbsd.org Subject: Re: Howto measure pps at forwarding plane On Thu, Jun 10, 2021 at 09:23:03AM -, Stuart Henderson wrote: > O

Re: bind dhcpd to IP address

2021-06-10 Thread Valdrin MUJA
Thanks, working like a charm. From: owner-m...@openbsd.org on behalf of Stuart Henderson Sent: Thursday, June 10, 2021 12:15 PM To: misc@openbsd.org Subject: Re: bind dhcpd to IP address On 2021-06-10, Ralf Horstmann wrote: > Hi Valdrin, > > that setup works f

Re: Unconsistent two-level write speed bouncing on softraid RAID1 SSD's

2021-06-10 Thread Kent Watsen
>> The Crucial BX500 SSD uses SMR technology, which is best used for >> infrequent-write applications. >> For general-purpose, and especially NAS, applications, CMR technology should >> be used. > > hmm, does SMR stand for something other than "shingled magnetic recording" > related to sto

Re: Unconsistent two-level write speed bouncing on softraid RAID1 SSD's

2021-06-10 Thread Stuart Henderson
On 2021-06-10, Kent Watsen wrote: > The Crucial BX500 SSD uses SMR technology, which is best used for > infrequent-write applications. > For general-purpose, and especially NAS, applications, CMR technology should > be used. hmm, does SMR stand for something other than "shingled magnetic rec

Re: openbgpd "depend on"

2021-06-10 Thread Stuart Henderson
On 2021-06-10, open...@kene.nu wrote: > Looks like the syntax is not valid and I cannot find any reference in the > man pages either. Maybe am missing the intent of your reply. Is it intended > as pseudo code that would pose as my intent or is it actually already > possible to achieve this? It's

Can lmdb library linked C code be profiled?

2021-06-10 Thread Luke Small
I’ve discovered that C source code only seems to be able to be profiled by gprof profiled with gcc (or egcc from gcc package) and with the “-static” flag to static link the program. But statically linked code which uses lmdb with lmdb.a from the lmdb package will throw compile-time errors. Is there

Re: Unconsistent two-level write speed bouncing on softraid RAID1 SSD's

2021-06-10 Thread Bryan Linton
On 2021-06-10 11:49:59, Xavier Sanchez wrote: > > Read somewhere that issuing a security erase could also help. So I > tried issuing the following: > > # atactl sd0c secsetpass user high > User password: > Retype user password: > atact

Re: Unconsistent two-level write speed bouncing on softraid RAID1 SSD's

2021-06-10 Thread Kent Watsen
The Crucial BX500 SSD uses SMR technology, which is best used for infrequent-write applications. For general-purpose, and especially NAS, applications, CMR technology should be used. K. > On Jun 10, 2021, at 6:20 AM, Xavier Sanchez wrote: > > Hi ! not so surprising news: hardware is the

Re: openbgpd "depend on"

2021-06-10 Thread openbsd
Looks like the syntax is not valid and I cannot find any reference in the man pages either. Maybe am missing the intent of your reply. Is it intended as pseudo code that would pose as my intent or is it actually already possible to achieve this? # bgpd -vn /etc/bgpd.conf:47: syntax error # awk 'N

Re: openbgpd "depend on"

2021-06-10 Thread openbsd
This looks precisely what I am looking for. Will try it out. Thank you! On Wed, Jun 9, 2021 at 10:42 AM Claudio Jeker wrote: > On Wed, Jun 09, 2021 at 09:57:32AM +0200, open...@kene.nu wrote: > > Hello, > > > > Just a question and maybe a suggestion. I am implementing a few DCs that > > use vxla

Re: reposync:host key verification failed

2021-06-10 Thread Stuart Henderson
On 2021-06-09, Avon Robertson wrote: > On Tue, Jun 08, 2021 at 11:11:15AM +1200, Avon Robertson wrote: >> On Mon, Jun 07, 2021 at 08:21:24PM -, Stuart Henderson wrote: >> > On 2021-06-07, Avon Robertson wrote: >> > > $ make obj >> > >===> ssh >> > > /usr/src/usr.bin/ssh/ssh/obj -> /usr/obj/us

Re: Unconsistent two-level write speed bouncing on softraid RAID1 SSD's

2021-06-10 Thread Xavier Sanchez
Hi ! not so surprising news: hardware is the problem I managed to get one of the two disks apart yesterday and I figured out that those disks was in cause. (both of them) Written from my laptop directly to the device and - good and constant read speed - bouncing 7MB/s to high write speed I did

Re: web server security

2021-06-10 Thread Stuart Henderson
On 2021-06-10, Gustavo Rios wrote: > Hi folks! > > I am planning a web serve using openbsd as the os and using php. My > question is: how to avoid any given user from implement an php script that > will read some else file, since everything will run as the web server user > and group ? > > thanks

Re: Howto measure pps at forwarding plane

2021-06-10 Thread Claudio Jeker
On Thu, Jun 10, 2021 at 09:23:03AM -, Stuart Henderson wrote: > On 2021-06-10, Valdrin MUJA wrote: > > Hello, > > > > I'm trying to figure out how much packets are being forwarded on my OpenBSD > > firewall. > > Here a small script i wrote. > > > > > > #!/bin/sh > > > > > > VAL1=`netstat -s |

Re: Howto measure pps at forwarding plane

2021-06-10 Thread Stuart Henderson
On 2021-06-10, Valdrin MUJA wrote: > Hello, > > I'm trying to figure out how much packets are being forwarded on my OpenBSD > firewall. > Here a small script i wrote. > > > #!/bin/sh > > > VAL1=`netstat -s | grep 'packets forwarded' | head -1 | awk -F ' ' '{print > $1}'` > > sleep 1 > > VAL2=`ne

Re: bind dhcpd to IP address

2021-06-10 Thread Stuart Henderson
On 2021-06-10, Ralf Horstmann wrote: > Hi Valdrin, > > that setup works fine. You would use "ip helper-address" on the Ciscos to > forward the DHCP requests to your OpenBSD box. The forwarded requests use the > specified helper address as unicast destination. No need to have the VLANs > present on

Re: disklabel partition auto allocation problem

2021-06-10 Thread Otto Moerbeek
On Wed, Jun 09, 2021 at 12:40:13PM -0400, electronmuontau neutrino wrote: > disklabel in OpenBSD 6.9 doesn't seem to be allocating partition sizes > correctly according to the actual size of my OpenBSD partition. I dual > booted my ThinkPad X1 Carbon 5th gen laptop with Windows 10 and OpenBSD. I

Howto measure pps at forwarding plane

2021-06-10 Thread Valdrin MUJA
Hello, I'm trying to figure out how much packets are being forwarded on my OpenBSD firewall. Here a small script i wrote. #!/bin/sh VAL1=`netstat -s | grep 'packets forwarded' | head -1 | awk -F ' ' '{print $1}'` sleep 1 VAL2=`netstat -s | grep 'packets forwarded' | head -1 | awk -F ' ' '{p

Re: web server security

2021-06-10 Thread Michael Hekeler
Am 10.06.21 01:16 schrieb Gustavo Rios: > Hi folks! > > I am planning a web serve using openbsd as the os and using php. My > question is: how to avoid any given user from implement an php script that > will read some else file, since everything will run as the web server user > and group ? If yo

Ynt: bind dhcpd to IP address

2021-06-10 Thread Valdrin MUJA
Thanks. I'll give a try. Gönderen: Ralf Horstmann Gönderildi: 10 Haziran 2021 Perşembe 08:42 Kime: misc@openbsd.org Bilgi: Valdrin MUJA Konu: Re: bind dhcpd to IP address Hi Valdrin, that setup works fine. You would use "ip helper-address" on the Ciscos to forw