Re: syslogd program logging

2023-01-24 Thread Alexis
Steven Shockley writes: My isc_dhcpd logs are kind of chatty, and I'd like to send them to their own log. I tried appending the following to syslogd.conf: !dhcpd *.* /var/log/dhcpd This works, but the dhcpd messages still appear in /var/log/daemon as well. Shouldn't this actually

syslogd program logging

2023-01-24 Thread Steven Shockley
My isc_dhcpd logs are kind of chatty, and I'd like to send them to their own log. I tried appending the following to syslogd.conf: !dhcpd *.* /var/log/dhcpd This works, but the dhcpd messages still appear in /var/log/daemon as well. Is

Re: OpenBSD as a transparent switch filter

2023-01-24 Thread David Gwynne
> On 25 Jan 2023, at 10:03, Martin Schröder wrote: > > Am Mi., 25. Jan. 2023 um 00:45 Uhr schrieb David Gwynne : >> I think you can do this on OpenBSD with https://github.com/eait-itig/commarp >> and just routing on em0. I don’t think any layer 2 things like bridge or veb >> are needed, and

Re: OpenBSD as a transparent switch filter

2023-01-24 Thread Martin Schröder
Am Mi., 25. Jan. 2023 um 00:45 Uhr schrieb David Gwynne : > I think you can do this on OpenBSD with https://github.com/eait-itig/commarp > and just routing on em0. I don’t think any layer 2 things like bridge or veb > are needed, and probably won’t work anyway because as Claudio said, they >

Re: OpenBSD as a transparent switch filter

2023-01-24 Thread David Gwynne
> On 25 Jan 2023, at 09:47, Tom Smyth wrote: > > Hi David is that like a local proxy arp type setup (on typical > networking gear) .. ? I’ve never had a clear idea about what proxy ARP is, and the only time it comes up in converstaion is when people complain about problems it causes. Do you

Re: OpenBSD as a transparent switch filter

2023-01-24 Thread Tom Smyth
Hi David is that like a local proxy arp type setup (on typical networking gear) .. ? On Tue, 24 Jan 2023 at 23:45, David Gwynne wrote: > > I think you can do this on OpenBSD with https://github.com/eait-itig/commarp > and just routing on em0. I don’t think any layer 2 things like bridge or veb

Re: OpenBSD as a transparent switch filter

2023-01-24 Thread David Gwynne
I think you can do this on OpenBSD with https://github.com/eait-itig/commarp and just routing on em0. I don’t think any layer 2 things like bridge or veb are needed, and probably won’t work anyway because as Claudio said, they don’t want to hairpin anyway. That code doesn’t have any manpages

newfs_ext2fs write error with 4TB USB disk drive

2023-01-24 Thread Torben G.
Hi folks, I'm on OpenBSD 7.2 and have run into an issue when formatting my WD Elements 4TB external USB disk drive with ext2fs: > newfs_ext2fs: wtfs: write error for sector -775964770: Invalid \ > argument I can successfully format the disk with FFS, so I don't think it's a hardware issue.

vm with a linux

2023-01-24 Thread Pau A.S.
Dear all, this took me some time. Maybe I can spare somebody else's by posting this here. https://astro-gr.org/openbsd-vm/ There's absolutely nothing that is not documented in the FAQ. But still, maybe you can profit and adapt whatever you like from there. Cheers, Pau

Re: Software RAID5 write performance

2023-01-24 Thread Tobias Fiebig
Heho, > So, do you use RAID5 and how it behaves on your side? Well, you found my reddit post. ;-) Since then, it kind-of became a non-issue (got a somewhat different infrastructure where OpenBSD is mostly in VMs). Still, the yolo-colo raid-10 (don't do that. seriously. At least not if you feel

Re: Software RAID5 write performance

2023-01-24 Thread Tom Smyth
Hi Atanas, in general (not specific to RAID5 Softraid in OpenBSD... ) I would advise the following based on my own experience... Raid5 in hardware raid generally has poor write performance due the number of actual writes to disk per write operation to the raid controller ( parity reads and

Software RAID5 write performance

2023-01-24 Thread Atanas Vladimirov
Hi Guys, I wonder if someone here is using RAID5 with HDD drives and what write performance on such discipline is expected? I have 4x 1T HDDs and can't get more than 10~12 MBps on writing. I found a Reddit post [1] where the user observed a similar write speed, of course, he was using other

Re: Max number of NICs

2023-01-24 Thread Vitaliy Makkoveev
On Mon, Jan 23, 2023 at 11:54:21PM +0100, Lars Bonnesen wrote: > How many physical NICs can you add to an OpenBSD host (vmx) > > I am asking because I am running an OpenBSD on a VMware host but apparently > OpenBSD can only see 8 of them. > > Can I raise the limit somehow? > > Regards, Lars.

Re: sndio and bit perfect playback

2023-01-24 Thread T K
pt., 14 paź 2022, 01:49 użytkownik Andre Smagin napisał: > On Thu, 13 Oct 2022 22:14:33 +0200 > Alexandre Ratchov wrote: > > > On Thu, Oct 13, 2022 at 03:11:50AM +, s...@skolma.com wrote: > > > in summary, audio works.. just not bit-perfectly :) > > > does anyone know if SNDIO supports such

Re: OpenBSD as a transparent switch filter

2023-01-24 Thread Tom Smyth
I agree with Claudio re Hairpin issue... perhaps an alternate setup would be to use 2 vlans on the switch on the uplink of the openbsd box (to avoid the hair pin on a physical interface) but care needs to be taken when bridging between the two vlans as 2x mac table usage will occur ... ie mac

Re: OpenBSD as a transparent switch filter

2023-01-24 Thread Cristian Danila
HI Tom, I am familiar with options you mentioned, veb, bridge and isolated ports. I am having another transparent filter based of veb also I am aware about protected members but my use case is different. Let me try to explain maybe with different words. OpenBSD box is having only one cable

Re: OpenBSD as a transparent switch filter

2023-01-24 Thread Claudio Jeker
On Tue, Jan 24, 2023 at 11:43:08AM +, Tom Smyth wrote: > Hello Cristian, > if you want to filter on layer 2 ... you would need to use Bridge > have a look at man ifconfig(8) > bridge filter rules can be added to ports in the bridge... > you can also tag traffic in bridge filter rules and

Re: OpenBSD as a transparent switch filter

2023-01-24 Thread Tom Smyth
Hello Cristian, if you want to filter on layer 2 ... you would need to use Bridge have a look at man ifconfig(8) bridge filter rules can be added to ports in the bridge... you can also tag traffic in bridge filter rules and then use PF to filter them... but if your objective is to isolate

OpenBSD as a transparent switch filter

2023-01-24 Thread Cristian Danila
Hello I have a more difficult task that I would like to solve with OpenBSD and I would really appreciate any ideas if it is possible to achieve such. I have: - one OpenBSD box with one Ethernet port - one big switch with multiple devices connected All switch ports are isolated by each other

Re: Weirdness with du/df/my brain (latter more likely)

2023-01-24 Thread Stuart Henderson
On 2023-01-23, Steve Fairhead wrote: > On 23/01/2023 01:47, NilsOla Nilsson wrote: >> Possible explanation: if you have several hard links >> pointing to the same file (inode) rsync will expand >> those to separate files, unless you give the option -H > > And you were quite right, and I apologise

Re: Max number of NICs

2023-01-24 Thread Stuart Henderson
On 2023-01-23, Lars Bonnesen wrote: > I am asking because I am running an OpenBSD on a VMware host but apparently > OpenBSD can only see 8 of them. Are you running 7.2? dmesg? -- Please keep replies on the mailing list.

Re: Max number of NICs

2023-01-24 Thread Tom Smyth
Posting dmesg recieved from OP privately in reply For what it is worth different virtual machine versions in vmware have different capabilities... older versions of vmare virtual machines supported only 4 cards if If I recall correctly newer ones 10 and that may have increased again but I have