Re: gre over carp

2023-12-12 Thread All


>I'd like to add sasyncd in the mix and a 2nd router for higher availability.
Don't do it. sasyncd is known not to work properly in failover scenarios.

>Will gre over carp work?
I think you can just try out in a vm. Don't see the reason why it would not.
But perhaps there are some features that CARP interface doesn't support for gre.



On Tuesday, December 12, 2023 at 09:01:53 p.m. GMT+9, Kapetanakis Giannis 
 wrote: 





I was wondering if anyone runs gre tunnels over carp.

We have an OpenBSD router that does ipsec over gre tunnels with remote location 
routers in order to pass voip traffic.

Routing is done with ospf on top of gre.

I'd like to add sasyncd in the mix and a 2nd router for higher availability.

Will gre over carp work? I'd prefer to use the carped IP in the tunnel and not 
the real IP of each server, so eventually 1 tunnel (active) per remote router.
How will this work when I demote master and go via backup?

Thanks,

G



Re: OBS-Studio 26.1.0 and later

2023-12-12 Thread hammer2_zfs
>OBS-Studio has never been in the ports tree. You must have been using a
>third party build or self-built binaries.

Maybe, OpenBSD 7.1/snapshots packages have OBS-Studio 26.1.0.
https://newreleases.io/project/github/obsproject/obs-studio/release/26.1.0

said "Added OpenBSD support [grayed]".

https://undeadly.org/cgi?action=article;sid=20210113072623

said "OpenBSD developer Vadim Zhukov (

zhukov@

)
has added preliminary OpenBSD support to
[Open Broadcaster Software (

OBS

) Studio](https://obsproject.com)
release
[26.1.0](https://github.com/obsproject/obs-studio/releases/tag/26.1.0)
and later."

When I was tried pkg_mgr and pkg_info -Q obs-studio, pkg_add obs-studio on 2021.
recently. I tried these commands and get a "obs-studio is not found".

[grayed] means [no support]... so sad...


opening files with midnight commander in 7.4

2023-12-12 Thread Robert Alessi
Hi,

Since the upgrade from 7.3 to 7.4, nothing happens when I try to open
files in midnight commander by just pressing the Enter key.  This
applies to most file types as for example .pdf files or .tar.gz
archives.

For some file types, e.g. .pdf, a workaround is to edit mc.ext.ini
(Command -> Edit extension file) and replace `Type=^PDF` with
`Shell=.pdf` in the [pdf] section, which seems to mean that the regex
mechanism doesn't work anymore.  I tried to have mc use `file -b %f`
instead of `file %f` but to no avail.  (More on this mechanism at the
beginning of /etc/mc/mc.ext.ini.)

For other file types, such as .tar.gz, it's much more complicated.

Same behavior on -current.

Can others reproduce this problem?

Thanks,

-- Robert



Re: Relayd - block bad bots

2023-12-12 Thread Michael Hekeler
> Hey
> 
> I'm running a small VM on OpenBSD where my site resides. My stack is
> pf/relayd/httpd.
> 
> I see a significant traffic coming from bad bots, like mj12. I'd love
> to completely block them and Relayd seems like the best place. I tried to
> block by "User-Agent" header, however there is no support for globs
> there.




> Has anyone had any success with achieving something similiar?

block request header "User-Agent" value "curl*"



gre over carp

2023-12-12 Thread Kapetanakis Giannis
I was wondering if anyone runs gre tunnels over carp.

We have an OpenBSD router that does ipsec over gre tunnels with remote location 
routers in order to pass voip traffic.

Routing is done with ospf on top of gre.

I'd like to add sasyncd in the mix and a 2nd router for higher availability.

Will gre over carp work? I'd prefer to use the carped IP in the tunnel and not 
the real IP of each server, so eventually 1 tunnel (active) per remote router.
How will this work when I demote master and go via backup?

Thanks,

G



Re: OBS-Studio 26.1.0 and later

2023-12-12 Thread Stuart Henderson
On 2023-12-12, hammer2_zfs  wrote:
> I am scripts' kitty ;-)
> I was using OBS-Studio 26.1.0 for Streaming by OpenBSD 7.1.
> since 7.1 to now...
>
> recently, My USB device was gone...
> then, I tried install by pkg_add obs-stuido on OpenBSD 7.4...
> but, I couldn't get the OBS-Studio...
>
> I want to use the OBS-Studio...
> Why, close the support for OBS-Studio...

OBS-Studio has never been in the ports tree. You must have been using a
third party build or self-built binaries.

-- 
Please keep replies on the mailing list.



Re: VMs not rebooting

2023-12-12 Thread Stuart Henderson
On 2023-12-12, Steve Litt  wrote:
> I've been told by some that OpenBSD has no hardware-assisted VMs, and

That has been wrong since around 2012 when ldomd was added (on sparc64).
On amd64, vmm(4) was added in ~2015.

(_qemu_ on OpenBSD does not have hw virtualisation support, but that is
not the only way to do VMs).

> others that it does. Without hardware assisted VMs, a very slow
> software emulator is required making the guest seem like it's on a 14.4
> modem.
>
> So my question is, does vmm have hardware assist?

vmm(4) provides kernel support for hardware virtualisation on x86.
That is used (and required) by vmd(8).

-- 
Please keep replies on the mailing list.