Re: [PATCH] treewide: more portable bash shebangs

2019-07-17 Thread Janne Johansson
Den tis 16 juli 2019 kl 19:34 skrev Jordan Glover < golden_mille...@protonmail.ch>: > > While /usr/bin/env is more or less available on all POSIX systems > > /bin/bash might not be. This is particular the case on NixOS and the BSD > > family (/usr/local/bin/bash). Downstream packagers would often

Re: Speed on Raspberry Pi 4

2019-07-17 Thread Janne Johansson
Den ons 17 juli 2019 kl 22:53 skrev Roman Mamedov : > On Sat, 29 Jun 2019 12:38:01 +0200 > Christopher Bachner wrote: > > In htop I can see that one of the 4 cores is running at 99%. So I assume > > that is the bottleneck. > > Is there a way to improve this? I assume it does not matter which side

Re: Speed on Raspberry Pi 4

2019-07-18 Thread Janne Johansson
Den tors 18 juli 2019 kl 08:56 skrev Roman Mamedov : > On Thu, 18 Jul 2019 08:38:54 +0200 > Janne Johansson wrote: > > > With taskset you should be able to: > > https://www.howtoforge.com/linux-taskset-command/ > > It appears "taskset" only works on

Re: [PATCH] wg-quick: Fix alternate routing table syntax on OpenBSD

2019-08-05 Thread Janne Johansson
According to "man route" on openbsd, the -T is how its supposed to be run: The other commands relating to adding, changing, or deleting routes have the syntax: *route* [*-dnqtv*] [*-T* rtable] *add* [modifiers] destination gateway The manpage for "route" doesn't even contain "

Re: Build fail on OpenBSD 6.5 amd64

2019-09-24 Thread Janne Johansson
Den tis 24 sep. 2019 kl 11:00 skrev Ulrich Kalloch : > Hello @ all > if you have installed firmware remove it if possible. The install Process check that /usr/include/machine is empty. > then check that the directory /usr/include/machine is empty. If not clean it. > I think this part is way off

Re: Build fail on OpenBSD 6.5 amd64

2019-09-25 Thread Janne Johansson
Den ons 25 sep. 2019 kl 10:52 skrev Ulrich Kalloch : > >> if you have installed firmware remove it if possible. > > The install Process check that /usr/include/machine is empty. > >> then check that the directory /usr/include/machine is empty. > > If not clean it. > > I think this part is way off

Re: Build fail on OpenBSD 6.5 amd64

2019-09-25 Thread Janne Johansson
I have no control over that script, but I think having a compiler in place when building stuff is such a reasonable pre-requisite so that the script would not have to look for it. Den ons 25 sep. 2019 kl 16:23 skrev Ulrich Kalloch : > Am 25.09.19 um 13:01 schrieb Janne Johansson: > > D

MacOS and wg 1.0.11 issues (for me)

2020-12-18 Thread Janne Johansson
I waited until 1.0.11 was out to not have to workaround the 1.0.10 issue if you didn't have DNS in the [Interface] section, and got a "reverse" of it. I could not connect tunnels which did have DNS entries in the interface section. As soon as I tried removing DNS = the tunnels worked fine. After M

Re: MacOS and wg 1.0.11 issues (for me)

2020-12-19 Thread Janne Johansson
Den lör 19 dec. 2020 kl 12:56 skrev Finn Behrens : > I see problems regarding DNS resolution when setting a DNS entry into the > config. But pinging my wg hosts via ipv4 addresses in the tunnel works. Did > Janne set a IP address or a hostname for DNS? > Not sure why my system does not work when

Re: How to improve Wireguard speed?

2022-06-01 Thread Janne Johansson
Den ons 1 juni 2022 kl 09:49 skrev Houman : > Hello, > I'm compiling the latest stable Wireguard on Debian 11. > git clone https://git.zx2c4.com/wireguard-tools > make -C wireguard-tools/src -j$(nproc) > sudo make -C wireguard-tools/src install > > However the speed is not that impressive. I have

Re: Source IP selection or multi-home or multi-interface issue - solved with source-based route - was: Re: Wireguard source ip selection issue with multi interfaces

2022-10-21 Thread Janne Johansson
> "How should wireguard know which IP is the correct source IP address?" > > I digged into the source code but couldn't find the part where the source-IP > is selected for outgoing connections (like a simple ping). > I am not a developer but would like to try to understand it. Could someone > giv

Re: Encapsulation support in wireguard-go

2023-02-07 Thread Janne Johansson
Den tis 7 feb. 2023 kl 05:38 skrev Berkant İpek : > Does wireguard-go provide any facility in order to encapsulate and > decapsulate WireGuard packets as they leave for and arrive from the > remote peer? Or, am I just better off to use kernel implementation > with a TUN device to handle en- and dec

Re: Source IP incorrect on multi homed systems

2023-02-19 Thread Janne Johansson
Den sön 19 feb. 2023 kl 18:06 skrev Sebastian Hyrvall : > > You should get into that debate. Proposing firewall workarounds is not a > correct solution so please don't do it. It needs to be fixed. It's an > immature VPN solution that always just proposed a workaround instead of > fixing the problem

Re: Source IP incorrect on multi homed systems

2023-02-20 Thread Janne Johansson
rewriting for the lists, managed to bold some pasted text and hence get blocked due to html-mails not allowed on list. Den sön 19 feb. 2023 kl 21:17 skrev Nico Schottelius : > Janne Johansson writes: > > *) https://en.wiktionary.org/wiki/Chesterton%27s_fence > > I am happy to hav