Re: build go projects with current: bad system call (core dumped)

2023-06-06 Thread Thomas Huber
VM. Thanks Stuart for helping out again and verifying the build step. On Thu, 1 Jun 2023 at 16:34, Thomas Huber wrote: > On Thu, 1 Jun 2023 at 16:28, Stuart Henderson > wrote: > >> On 2023-06-01, Thomas Huber wrote: >> > Hi @misc, >> > >> > I face a

Re: build go projects with current: bad system call (core dumped)

2023-06-01 Thread Thomas Huber
On Thu, 1 Jun 2023 at 16:28, Stuart Henderson wrote: > On 2023-06-01, Thomas Huber wrote: > > Hi @misc, > > > > I face a problem with -current when building golang projects. > > This worked fine on 7.2 and I think it stopped working with 7.3 release. > > Now I

build go projects with current: bad system call (core dumped)

2023-06-01 Thread Thomas Huber
Hi @misc, I face a problem with -current when building golang projects. This worked fine on 7.2 and I think it stopped working with 7.3 release. Now I try it on -current. I get the following error: "go: error obtaining buildID for go tool compile: signal: bad system call (core dumped)" The

Re: virtual cluster with rdomain(4)

2021-05-10 Thread Thomas Huber
ve this a go with vport(4) interfaces instead of vether(4), and join them all together at layer 2 by adding them to a single veb(4). > > Cheers, > dlg > > > On 10 May 2021, at 03:04, Thomas Huber wrote: > > > > Hi misc, > > > > I wanted to tinker with the clu

virtual cluster with rdomain(4)

2021-05-09 Thread Thomas Huber
Hi misc, I wanted to tinker with the cluster manager sysutils/nomad but unfortunately I´ve no spare cluster for tinkering... So I had the idea of utilizing OpenBSDs outstanding possibilities for network isolation to create a virtual cluster on my VM at openbsd.amsterdam. I had different ideas

Re: relayd(8) Tables and pfctl -T

2019-12-28 Thread Thomas Huber
On Fri, 27 Dec 2019 at 12:17, Stuart Henderson wrote: > On 2019-12-26, Thomas Huber wrote: > > I just tried to get a little deeper into load-balancing and try > > to use relayd(8) in a dynamic (translate to microservices) environment > > where I´l like to add and re

Re: relayd(8) Tables and pfctl -T

2019-12-27 Thread Thomas Huber
On Thu, 26 Dec 2019 at 17:39, Marcus MERIGHI wrote: > Hello Thomas, > > miracu...@gmail.com (Thomas Huber), 2019.12.26 (Thu) 16:42 (CET): > > I just tried to get a little deeper into load-balancing and try > > to use relayd(8) in a dynamic (translate to microservices) envi

relayd(8) Tables and pfctl -T

2019-12-26 Thread Thomas Huber
hi misc, I just tried to get a little deeper into load-balancing and try to use relayd(8) in a dynamic (translate to microservices) environment where I´l like to add and remove hosts on the fly. After some reading I thought I should use tables for this purpose. relayctl(8) only allows to enable

Re: load balancing outgoing traffic with 4 uplinks

2019-03-26 Thread Thomas Huber
I just read some tutorials and (again) the "Book _great_ Book of PF" and simplified my pf.conf and still everthing works fine: int_if = "{ vlan32, vlan64 }" int_lan = "{ 10.10.10.0/24, 10.64.0.0/10}" table { 0.0.0.0/8 10.0.0.0/8 127.0.0.0/8 169.254.0.0/16 \ 172.16.0.0/12

Re: pppoe(4) and vlan(4)

2019-03-25 Thread Thomas Huber
The two mentioned modems work fine for a third ISP (easybell.de). But the two vodafone uplinks don‘t work on OpenBSD. The vodafone pppoe usernames includes a /. Maybe I‘ve to escape this character but I don‘t know how. any idea? Thomas Huber schrieb am Sa. 16. März 2019 um 22:34: > Hi, &g

load balancing outgoing traffic with 4 uplinks

2019-03-23 Thread Thomas Huber
hi misc it´s again about my OpenBSD -stable on a APU2-board as loadbalancer setup: I´ve four ADSL-Uplinks provided by two different ISPs - pppoe0 runs on em0 and is directly connected to a modem and has a static IP-adress from the ISP. - pppoe1 is running over a vlan2 via em1 to a managed switch

Re: pppoe(4) and vlan(4)

2019-03-16 Thread Thomas Huber
in OpenBSD and everything else like VLAN-tagging etc. with the modem in bridge-mode. Thanks again for your help Thomas On Tue, 5 Mar 2019 at 22:22, Thomas Huber wrote: > I hooked two ADSLlinks now with a modem-router (aka. Fritzbox) which do > the pppoe part for now. > I also order

Re: pppoe(4) and vlan(4)

2019-03-05 Thread Thomas Huber
about pf load-blancer configuration... Thanks again for your support. Thomas On Tue, 26 Feb 2019 at 22:13, Thomas Huber wrote: > hmmm just played around and for ADSL-link 1 and 2 which are provided by > the Deutsche Telekom it is not important if it is chap or pap, works both. > >

Re: pppoe(4) and vlan(4)

2019-02-26 Thread Thomas Huber
hmmm just played around and for ADSL-link 1 and 2 which are provided by the Deutsche Telekom it is not important if it is chap or pap, works both. On Tue, 26 Feb 2019 at 16:59, Stuart Henderson wrote: > On 2019/02/26 16:38, Sebastian Benoit wrote: > > Thomas Huber(miracu...@

Re: pppoe(4) and vlan(4)

2019-02-26 Thread Thomas Huber
16 LCP Configure-Request Id=0x27: Magic-Number=98519 Max-Rx-Unit=1492 but no connection esblished. On Tue, 26 Feb 2019 at 13:02, Stuart Henderson wrote: > On 2019/02/26 12:36, Thomas Huber wrote: > > Hi Stuart, > > > > and thanks for your help. > &

Re: pppoe(4) and vlan(4)

2019-02-26 Thread Thomas Huber
x-Rx-Unit=1492 On Tue, 26 Feb 2019 at 01:54, Stuart Henderson wrote: > On 2019-02-25, Markus Hennecke wrote: > > Am 25.02.2019 um 16:30 schrieb Thomas Huber: > >> Hi misc, > >> > >> i got the opportuniy to have 4 ADSL links to my rural site. > >>

Re: pppoe(4) and vlan(4)

2019-02-25 Thread Thomas Huber
:14, Markus Hennecke < markus-henne...@markus-hennecke.de> wrote: > Am 25.02.2019 um 16:30 schrieb Thomas Huber: > > Hi misc, > > > > i got the opportuniy to have 4 ADSL links to my rural site. > > Two links have already been there and OpenBSD -stable running

pppoe(4) and vlan(4)

2019-02-25 Thread Thomas Huber
Hi misc, i got the opportuniy to have 4 ADSL links to my rural site. Two links have already been there and OpenBSD -stable running a APU2 is shaping the traffic between this two links. But now I struggle with setting up the 3rd (pppoe2) link. As far as I know I´ve to go through a vlan(4) with

Re: vmm(4) on apu2c4

2019-01-16 Thread Thomas Huber
> > > > Are you using the -b option to vmctl? That seems to have a problem on AMD > CPUs. > > Try installing from install64.fs/.iso if that's the case. > > You are right, booting form the install64.iso works better than from bsd.rd. Thanks for the hint and your incredible work on vmd. After using

Re: vmm(4) on apu2c4

2019-01-15 Thread Thomas Huber
to the guest? On Sun, 6 Jan 2019 at 20:47, Thomas Huber wrote: > just found the time to update my APU2C4 to 6.4 and tried vmm and yes, it > works great. > > On Mon, 29 Oct 2018 at 16:02, Mike Larkin wrote: > >> On Mon, Oct 29, 2018 at 10:25:41AM +0100, Klemens Nanni wrote

Re: ubnt unfi stable from ports doesn??t start with rcctl but as root

2019-01-09 Thread Thomas Huber
Hi and thanks! On Wed, 9 Jan 2019 at 18:06, Stuart Henderson wrote: > > On 2019-01-08, Bryan Vyhmeister wrote: > > On Tue, Jan 08, 2019 at 03:27:39PM +0100, Thomas Huber wrote: > >> just upgrade the Unifi Controller net/unifi/stable (version 5.8.30) from > >> port

ubnt unfi stable from ports doesn´t start with rcctl but as root

2019-01-08 Thread Thomas Huber
Hi, just upgrade the Unifi Controller net/unifi/stable (version 5.8.30) from ports. The controller service doesn´t start wit rcctl(8) but works fine when running as root. My guess is that _unifi is not allowed to start monogd but don´t have a clue how to fix this... Does it matter if

Re: vmm(4) on apu2c4

2019-01-06 Thread Thomas Huber
just found the time to update my APU2C4 to 6.4 and tried vmm and yes, it works great. On Mon, 29 Oct 2018 at 16:02, Mike Larkin wrote: > On Mon, Oct 29, 2018 at 10:25:41AM +0100, Klemens Nanni wrote: > > On Mon, Oct 29, 2018 at 01:38:18AM -0700, Mike Larkin wrote: > > > does dmesg have a vmm0:

vmm(4) on apu2c4

2018-10-29 Thread Thomas Huber
Hi misc, is vmm(4) working on the PC-Engines APU2 with -release 6.4 ? I thought I've read something like that a view months ago but can not find any further information about which CPU-Feature is needed and how it is named at the AMD. This are the CPU-Specs for the APU2: "AMD Embedded G series

Re: pf - NAT not working after systemboot

2018-07-26 Thread Thomas Huber
Hi Solene, thanks, thats something I had also in mind. But how can I address this ? The system should come up by itself without any manual interaction. --mirac On Thu, 26 Jul 2018 at 12:07, Solene Rapenne wrote: > > Thomas Huber wrote: > > Hi misc, > > > > my cur

pf - NAT not working after systemboot

2018-07-26 Thread Thomas Huber
Hi misc, my current pf setup works fine but I face the problem, that NAT does not work directly after system boot. Only when a do a # pfctl -f /etc/pf.conf after the booting things a working correctly. Note: I don´t make any changes to pf.conf. Anybody any idea? General Setup: Hardware:

Re: Limit CPU usage of a process?

2018-05-27 Thread Thomas Huber
ksh(1) has ulimit comand to limit process in certain way. just search for ulimit on the ksh man-page. On 27 May 2018 at 18:28, Luke A. Call wrote: > I had that problem but turning off javascript (as someone else said), > turning off images most of the time, and bookmarking

Re: attach chroot-jail to switchd(8) ?

2018-05-25 Thread Thomas Huber
rdomain is interessting, wasn´t aware of that. thanks for this input Claudio. On 24 May 2018 at 19:58, trondd <tro...@kagu-tsuchi.com> wrote: > On Thu, May 24, 2018 1:28 pm, Claudio Jeker wrote: > > On Thu, May 24, 2018 at 09:22:32AM -0400, trondd wrote: > >> On Wed, May

Re: attach chroot-jail to switchd(8) ?

2018-05-24 Thread Thomas Huber
t you also get the critical > mass of pre-built images from the docker world. To me that is the real value of > docker anyway. As a containerization system I do not like it, but as a means to > make the OS less of a factor to an install, absolutely. > > Just my thoughts. > > On Thu

Re: attach chroot-jail to switchd(8) ?

2018-05-24 Thread Thomas Huber
uot;orchestrate" this parts. Thomas On 24 May 2018 at 00:35, Reyk Floeter <r...@openbsd.org> wrote: > > switchd is already privsep‘ed with a chroot jail. > > But I don’t quite understand what you mean. > > > Am 23.05.2018 um 10:35 schrieb Thomas Huber <mira

attach chroot-jail to switchd(8) ?

2018-05-23 Thread Thomas Huber
Hi all, I´m just tinkering a little bit and try to mimic some "containerization" on OpenBSD with chroot. Is it somehow possible to attach a chrooted envirionment to swtichd(8) ? Thanks Thomas

Re: ffs mount options or tuning to prevent corrupted fs on power-outage

2018-03-04 Thread Thomas Huber
repair when somthing goes terrible wrong? Thomas On 4 March 2018 at 18:49, Nick Holland <n...@holland-consulting.net> wrote: > On 03/03/18 14:48, Thomas Huber wrote: > > Hi, > > > > can someone give me a recomendations for ffs mount options or further > > tuning

ffs mount options or tuning to prevent corrupted fs on power-outage

2018-03-03 Thread Thomas Huber
Hi, can someone give me a recomendations for ffs mount options or further tuning to prevent file-system corruption on power-outage? I run a PC-Engines APU2c3 with -stable in a rural place where power-outage takes place approx. once a month. Most of the time every things starts fine when power is

Re: NAT for dual-WAN with public and private LAN

2018-02-18 Thread Thomas Huber
One addional question regarding this topic: Basically I tried to follow /faq/pf/pools.html. In the example, there is a addional rule to keep https-traffic on one single connection, which I understand as skipping load-balancing for https completely. The load-balancing itself is done with the