Re: [PATCH] Add japanese translation.

2020-02-14 Thread Samuel Holland
On 2/14/20 11:27 PM, Eiji Tanioka wrote: > Hi, Samuel. > > Thank you for your reply! > I re-created patch. Thanks, applied: https://git.zx2c4.com/wireguard-android/commit/?id=822f72df956ecd3aaa6a2b254e059e38ba5122e4 ___ WireGuard mailing list WireGuard@

Re: [PATCH] Add japanese translation.

2020-02-14 Thread Samuel Holland
On 2/13/20 4:31 AM, Eiji Tanioka wrote: > This patch is Japanese translation for wireguard-android. Thank you for the patch! Yes, `git format-patch` and sending to this list is how we're currently accepting contributions to the Android app. Next time, please also include your Signed-off-by: line

Re: CryptoKey Routing Management for Peers

2020-02-14 Thread Derrick Lyndon Pallas
You might also want to check out https://pypi.org/project/wgnlpy/ which is a Wireguard configuration library for python. ~Derrick • iPhone > On Feb 14, 2020, at 3:02 AM, Barrett Strausser wrote: > >  > I don't doubt that it can handle 1M peers. > > My question was more concerned with can an

Re: [PATCH] Implement reading keys from stdin.

2020-02-14 Thread Hristo Venev
On Fri, 2020-02-14 at 12:17 +0100, Jason A. Donenfeld wrote: > Except the command line arguments have length limits you'll hit > anyway. Wouldn't the better way to do this be passing a config file > to > `wg setconf wg0 /dev/stdin`? Yes, they would be better. However each command has slight ineffi

[ANNOUNCE] wireguard-linux-compat v0.0.20200215 released

2020-02-14 Thread Jason A. Donenfeld
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hello, A new version, v0.0.20200215, of the backported WireGuard kernel module for 3.10 <= Linux <= 5.5.y has been tagged in the git repository. Please note that until Linux 5.6 is released, this snapshot is a snapshot rather than a secure final re

[ANNOUNCE] wireguard-linux-compat v0.0.20200214 released

2020-02-14 Thread Jason A. Donenfeld
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hello, A new version, v0.0.20200214, of the backported WireGuard kernel module for 3.10 <= Linux <= 5.5.y has been tagged in the git repository. Please note that until Linux 5.6 is released, this snapshot is a snapshot rather than a secure final re

Re: [PATCH] Implement reading keys from stdin.

2020-02-14 Thread Jason A. Donenfeld
On Sun, Feb 9, 2020 at 1:15 AM Hristo Venev wrote: > > On Sat, 2020-02-08 at 23:20 +0100, Jason A. Donenfeld wrote: > > Trying to get a handle on the use case for this. > > I am working on a program [1] that configures a WireGuard interface by > invoking `wg`. Generally there are multiple peers, a

Re: [PATCH] Implement reading keys from stdin.

2020-02-14 Thread Mantas Mikulėnas
On Sun, Feb 9, 2020 at 12:23 AM Jason A. Donenfeld wrote: > Thank for the patch, and nice hanging with you at FOSDEM. > > Trying to get a handle on the use case for this. Is this so that you > can put the private key and the preshared key in a single file > together? Is there a situation where th

Re: Windows Wireguard with Multiple Endpoints in Different Subnets

2020-02-14 Thread Ingo Naumann
The config file stays the same. The configuration breaks when I define a default gateway in my network settings (in order to have the Windows machine connected to the Internet). From that moment on, the packages destined to the other ethernet port (the one where the default gateway not is) are show

Re: After win2019 server reboot, Wireguard tunnel doesn't start

2020-02-14 Thread Peter Selc
Hello, bellow is another occurance of the bug. At 17:19 server was rebooted because of updates. The process C:\windows\system32\svchost.exe (bserver) has initiated the restart of computer bserver on behalf of user NT AUTHORITY\SYSTEM for the following reason: Operating System: Service pack (Plann

Re: [PATCH] Fix formatting in wg-quick(8)

2020-02-14 Thread Ingo Schwarze
Hi Jason, Jason A. Donenfeld wrote on Thu, Feb 13, 2020 at 05:31:41PM +0100: > On Thu, Feb 13, 2020 at 5:50 AM Stephen Gregoratto > wrote: >> +.TH WG-QUICK 8 "2019-02-13" ZX2C4 "WireGuard" > It's 2020 now, but what would you think of retaining the original > date? Or do you usually bump it on

Re: [PATCH] Change "Deselect All" to "Toggle All" in Excluded apps settings

2020-02-14 Thread Jason A. Donenfeld
Seems reasonable, but please resubmit with your Signed-off-by: line. ___ WireGuard mailing list WireGuard@lists.zx2c4.com https://lists.zx2c4.com/mailman/listinfo/wireguard

Re: CryptoKey Routing Management for Peers

2020-02-14 Thread Barrett Strausser
I don't doubt that it can handle 1M peers. My question was more concerned with can an *Organization *perform the configuration management to handle 1M peers if all configuration is through a static IP. If I have 1M peers and . have no change per day, that still leaves 100 changes or ~4 per ho

Re: wireguard looses internet connection intermittently.

2020-02-14 Thread Kunal Shah
I think I found the problem, there is a typo in my iptable command. While editing with vi, I may have added additional i in the end of MASQUERADE. I removed it and restarted it. Now I am monitoring for issues. On Sun, 9 Feb 2020 at 10:55, Kunal Shah wrote: > Hi Jason, > > Thanks for your respons

Re: wireguard looses internet connection intermittently.

2020-02-14 Thread Kunal Shah
Hi Jason, Thanks for your response. After the changes you suggested, It still gives me the same problem. Now my GCP server wireguard configuration looks like this. [Interface] Address = 192.168.1.1 SaveConfig = true PostUp = iptables -A FORWARD -i %i -j ACCEPT; iptables -A FORWARD -o %i -j ACCEPT

[PATCH] Add japanese translation.

2020-02-14 Thread Eiji Tanioka
This patch is Japanese translation for wireguard-android. --- app/src/main/res/values-ja/strings.xml | 300 - 1 file changed, 150 insertions(+), 150 deletions(-) diff --git a/app/src/main/res/values-ja/strings.xml b/app/src/main/res/values-ja/strings.xml index 336cd4e..2

[PATCH] Change "Deselect All" to "Toggle All" in Excluded apps settings

2020-02-14 Thread sebcbi1
From: sebcbi1 Android : Change functionality in excluded apps dialog for better user experience when user wants only one or few apps to use wireguard Please review italian and russian translation --- .../com/wireguard/android/fragment/AppListDialogFragment.java | 4 ++-- app/src/main/res/value

Re: [PATCH] Implement reading keys from stdin.

2020-02-14 Thread Hristo Venev
On Sat, 2020-02-08 at 23:20 +0100, Jason A. Donenfeld wrote: > Trying to get a handle on the use case for this. I am working on a program [1] that configures a WireGuard interface by invoking `wg`. Generally there are multiple peers, and some of them may have preshared keys. Currently the most re

Japanese Translation for Android app

2020-02-14 Thread Eiji Tanioka
Hello, I recently started to use WireGuard, this is great product. I have Galaxy S9, iPad Pro, MacbookAir, and all of they can use WireGuard Tunnel. It is useful for me. I want to contribute this product, but I can't write code, I don't have build environment, so what can I do? I can translate to

Re: [PATCH net] wireguard: device: provide sane limits for mtu setting

2020-02-14 Thread Quan Zhou
Hi Samir, I didn't realize this. You convinced me on this one. Thanks! On 2/14/20 15:11, Samir Nassar wrote: Hello, from https://github.com/google/syzkaller/blob/master/docs/syzbot.md "syzbot system continuously fuzzes main Linux kernel branches and automatically reports found bugs to kernel

Re: [PATCH net] wireguard: device: provide sane limits for mtu setting

2020-02-14 Thread Jason A. Donenfeld
Hi Eric, On 2/14/20, Eric Dumazet wrote: > If wireguard device mtu is set to zero, a divide by zero > crash happens in calculate_skb_padding(). > > This patch provides dev->min_mtu and dev->max_mtu bounds. Thanks for the patch. However, I solved this slightly differently yesterday afternoon alre