[PATCH] urandom-seed: go back to seeding with shell script temporarily

2022-04-11 Thread Jason A. Donenfeld
, but became busy with other things. The points he raised are important enough that we should actually back this out until it's ready to go, and then merge it as a cohesive unit. So let's revert this for now, and come back to it later on. Cc: Etienne Champetier Cc: Petr Štetiar Signed-

Re: [PATCH] urandom-seed: use seedrng for seeding the random number generator

2022-04-04 Thread Jason A. Donenfeld
Hey Etienne, On Tue, Mar 29, 2022 at 7:21 AM Jason A. Donenfeld wrote: > > Hi Etienne, > > On Tue, Mar 29, 2022 at 1:06 AM Etienne Champetier > wrote: > > > Oh that's an interesting set of considerations and it's possible I > > > didn't under

Re: [PATCH] urandom-seed: use seedrng for seeding the random number generator

2022-03-28 Thread Jason A. Donenfeld
#x27;t need to be written to on each boot? > /var is a symlink to /tmp Oh, then in these cleanups, we should change that /tmp/run to /var/run just to be more "correct". > > > Is there a different place for it that would be good? > > Maybe we can leave i

Re: [PATCH] urandom-seed: use seedrng for seeding the random number generator

2022-03-28 Thread Jason A. Donenfeld
Hey Etienne, On Mon, Mar 28, 2022 at 10:19 AM Etienne Champetier wrote: > > Hi All, Jason, > > @Petr Štetiar this merge was a bit too fast to get reviews ... > Some comments inline We can apply fixups on top, no big deal. > When urandom-seed was introduced in 2016 it was dec

[PATCH] urandom-seed: use seedrng for seeding the random number generator

2022-03-27 Thread Jason A. Donenfeld
ting an old one, which means that the amount of entropy might actually regress, due to failing to credit the old seed. Closes: https://github.com/openwrt/openwrt/issues/9570 Signed-off-by: Jason A. Donenfeld --- package/system/urandom-seed/Makefile | 4 +- .../files/etc/init.d/u

[PATCH v2] rockchip: rk3328: fix booting error for nanopi-r2s

2021-07-10 Thread Jason Lee
support booting from ultra high speed microSD card on nanopi-r2s. Signed-off-by: Jason Lee --- Changes for v2: - fix signed-off-by format .../103-nanopi-r2s-support-UHS-card.patch | 43 +++ 1 file changed, 43 insertions(+) create mode 100644 package/boot/uboot-rockchip

Re: [PATCH] kernel-5.4: backport latest patches for wireguard

2021-06-09 Thread Jason A. Donenfeld
Could somebody apply this please? ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Re: [PATCH] kernel-5.4: backport latest patches for wireguard

2021-06-06 Thread Jason A. Donenfeld
up with the MIPS dependency maze, but this patch here _might_ imply something can be simplified or needs changes. Jason ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

[PATCH] kernel-5.4: backport latest patches for wireguard

2021-06-06 Thread Jason A. Donenfeld
These are the latest patches that just landed upstream for 5.13, will be backported by Greg into 5.10 (because of stable@), and are now in the 5.4 backport branch of wireguard: https://git.zx2c4.com/wireguard-linux/log/?h=backport-5.4.y Cc: Ilya Lipnitskiy Signed-off-by: Jason A. Donenfeld

Re: [PATCH v2] netfilter: remove no-op kconfig symbols

2021-04-22 Thread Jason A. Donenfeld
https://git.zx2c4.com/wireguard-linux/commit/?h=backport-5.4.y&id=ac8265d3b26e7c2674e066af6451c5a61d3f2e7a This will be included in the patchset next time I push a refresh of those. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://

Re: OpenWrt 21.02-rc1 (backport request, WireGuard, DSA roaming, iproute2 5.11)

2021-04-07 Thread Jason A. Donenfeld
Re:WireGuard - fine by me. Thanks for doing that. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Re: OpenWrt 21.02-rc1

2021-04-06 Thread Jason A. Donenfeld
On Tue, Apr 6, 2021 at 5:33 PM Ilya Lipnitskiy wrote: > > Hi Hauke, > > On Tue, Apr 6, 2021 at 3:43 PM Hauke Mehrtens wrote: > > > > Hi, > > > > How do we want to go forward with OpenWrt 21.02-rc1? > > > > * I think the base system is ok. > > * The http (original wolfssl) problem reported by jow

[PATCH] kernel-5.10: backport chacha non block size optimizations

2021-03-02 Thread Jason A. Donenfeld
These make a big difference when doing WireGuard with small armv7 routers, and the 5.4 backport already has it. Suggested-by: Ilya Lipnitskiy Cc: David Bauer Cc: Petr Štetiar Signed-off-by: Jason A. Donenfeld --- ...a-neon-optimize-for-non-block-size-m.patch | 272 ++ ...a

Re: [PATCH] kernel-5.4: backport fd16931a2f51 for chacha neon

2021-03-02 Thread Jason A. Donenfeld
On Tue, Mar 2, 2021 at 9:09 AM Petr Štetiar wrote: > > Jason A. Donenfeld [2021-03-02 00:08:56]: > > Hi, > > > 126 files changed, 288 insertions(+), 249 deletions(-) > > this is quite huge diff for such simple update, what about using `git > format-patch --no-n

[PATCH] kernel: backport pending fix to select CPU_MIPS64

2021-02-27 Thread Jason A. Donenfeld
Ilya Lipnitskiy Cc: David Bauer Signed-off-by: Jason A. Donenfeld --- ...CPU_MIPS64-for-remaining-MIPS64-CPUs.patch | 36 ++ ...CPU_MIPS64-for-remaining-MIPS64-CPUs.patch | 37 +++ 2 files changed, 73 insertions(+) create mode 100644 target/linux/generic/pending-5.10/103

Re: [PATCH] kernel: no chacha-mips.ko on mips32 r1 targets

2021-02-26 Thread Jason A. Donenfeld
/ase, ath25 builds. > > Fixes: 06351f1 ("kernel: migrate wireguard into the kernel tree") > Cc: Jason A. Donenfeld > Signed-off-by: Ilya Lipnitskiy > --- > package/kernel/linux/modules/crypto.mk | 7 +-- > 1 file changed, 5 insertions(+), 2 deletions(-) > > d

Re: [PATCH] wireguard-tools: Add dependency on kmod-wireguard

2021-02-19 Thread Jason A. Donenfeld
https://github.com/openwrt/openwrt/pull/3890 Voila -- here's a potentially much, much nicer approach in the long term. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Re: [PATCH] wireguard-tools: Add dependency on kmod-wireguard

2021-02-19 Thread Jason A. Donenfeld
On Fri, Feb 19, 2021 at 5:48 AM Rosen Penev wrote: > > On Thu, Feb 18, 2021 at 8:31 PM Ilya Lipnitskiy > wrote: > > > > Hi, > > On Thu, Feb 18, 2021 at 5:57 PM Jason A. Donenfeld wrote: > > > > > > I've backported WireGuard patch-by patch to 5

Re: [PATCH] wireguard-tools: Add dependency on kmod-wireguard

2021-02-18 Thread Jason A. Donenfeld
lot of the complexity that this discussion is veering toward. How's that sound? Jason ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

[PATCH] wireguard: bump to 1.0.20201112

2020-11-12 Thread Jason A. Donenfeld
SYM_FUNC_{START,END} were backported to 5.4 * qemu: bump default testing version The real motivation for this version bump: 5.4.76 made a change that broke our compat layer. Signed-off-by: Jason A. Donenfeld --- package/network/services/wireguard/Makefile | 4 ++-- 1 file changed, 2 insert

Re: [PATCH] wireguard-tools: bump to 1.0.20200827

2020-09-09 Thread Jason A. Donenfeld
On Tue, Sep 8, 2020 at 6:30 PM Jason A. Donenfeld wrote: > > * ipc: split into separate files per-platform > > This is in preparation for FreeBSD support, which I had hoped to have this > release, but we're still waiting on some tooling fixes, so hopefully next > wg(8) wi

[PATCH] wireguard-tools: bump to 1.0.20200827

2020-09-08 Thread Jason A. Donenfeld
* ipc: split into separate files per-platform This is in preparation for FreeBSD support, which I had hoped to have this release, but we're still waiting on some tooling fixes, so hopefully next wg(8) will support that. Either way, the code base is now a lot more amenable to adding more kernel pla

[PATCH] wireguard: bump to 1.0.20200908

2020-09-08 Thread Jason A. Donenfeld
for a race condition caught by syzkaller. Signed-off-by: Jason A. Donenfeld --- package/network/services/wireguard/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/network/services/wireguard/Makefile b/package/network/services/wireguard/Makefile index

[PATCH] wireguard: bump to 1.0.20200729

2020-08-03 Thread Jason A. Donenfeld
g by setting the DEPMODBASEDIR environment variable. * compat: add missing headers for ip_tunnel_parse_protocol This fixes compilation with some unusual configurations. Signed-off-by: Jason A. Donenfeld --- package/network/services/wireguard/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 de

Re: [PATCH] wireguard-tools: allow compiling with MIPS16 instructions

2020-07-24 Thread Jason A. Donenfeld
On Fri, Jul 24, 2020 at 11:05 AM Rui Salvaterra wrote: > > On Fri, 24 Jul 2020 at 09:53, Jason A. Donenfeld wrote: > > > > Testing the process once like that isn't a good testing methodology > > representative of anything at all. > > I completely agree, this

Re: [PATCH] wireguard-tools: allow compiling with MIPS16 instructions

2020-07-24 Thread Jason A. Donenfeld
On Fri, Jul 24, 2020 at 10:39 AM Rui Salvaterra wrote: > > Well… > > On Fri, 24 Jul 2020 at 09:32, Rosen Penev wrote: > > > > > On Jul 24, 2020, at 1:14 AM, Jason A. Donenfeld wrote: > > > > > > Seems probably fine to me, but would you let me know if

Re: [PATCH] wireguard-tools: allow compiling with MIPS16 instructions

2020-07-24 Thread Jason A. Donenfeld
w if the performance of `wg pubkey` suffers as a result? I'm far from home at the moment without any access to MIPS hardware to test myself. Jason ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

[PATCH] wireguard: bump to 1.0.20200712

2020-07-12 Thread Jason A. Donenfeld
_examine_packet_protocol and simply use the new ip_tunnel_parse_protocol function directly. * compat: backport ip_tunnel_parse_protocol and ip_tunnel_header_ops These are required for moving wg_examine_packet_protocol out of wireguard and into upstream. Signed-off-by: Jason A. Donenfeld --- pack

[PATCH] wireguard: bump to 1.0.20200623

2020-06-23 Thread Jason A. Donenfeld
5.2.y series. Signed-off-by: Jason A. Donenfeld --- package/network/services/wireguard/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/network/services/wireguard/Makefile b/package/network/services/wireguard/Makefile index ce91fbe..b7adf27 100644 --- a/p

Re: [OpenWrt-Devel] Any progress on R_ARM_THM_JUMP11 issues?

2020-06-18 Thread Jason A. Donenfeld
Looks as though in the end this is a binutils bug with -fvisibility=hidden. Details on https://sourceware.org/bugzilla/show_bug.cgi?id=12532#c9 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/open

Re: [OpenWrt-Devel] wireguard: unknown relocation: 102 [ARMv7 Thumb-2]

2020-06-18 Thread Jason A. Donenfeld
n the next compat release. Jason ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

[OpenWrt-Devel] Any progress on R_ARM_THM_JUMP11 issues?

2020-06-17 Thread Jason A. Donenfeld
care much about 32-bit ARM these days so it's just fallen by the wayside and CONFIG_THUMB2_AVOID_R_ARM_THM_JUMP11=y is the best we've got? Or something else? Jason On Wed, Jun 17, 2020 at 2:54 PM Jason A. Donenfeld wrote: > > On Wed, Jun 17, 2020 at 02:45:12PM -0600, Jason A. Donen

Re: [OpenWrt-Devel] wireguard: unknown relocation: 102 [ARMv7 Thumb-2]

2020-06-17 Thread Jason A. Donenfeld
On Wed, Jun 17, 2020 at 02:45:12PM -0600, Jason A. Donenfeld wrote: > Looks like my explanation there wasn't 100% accurate, but it does seem > like the issue occurs when gcc sees a clear tail call that it can > optimize into a B instruction instead of a BL instruction. > > Th

Re: [OpenWrt-Devel] wireguard: unknown relocation: 102 [ARMv7 Thumb-2]

2020-06-17 Thread Jason A. Donenfeld
On Wed, Jun 17, 2020 at 02:33:49PM -0600, Jason A. Donenfeld wrote: > So, some more research: it looks like the R_ARM_THM_JUMP11 symbol is > actually wg_packet_send_staged_packets, a boring C function with > nothing fancy about it. That github issue you pointed to suggested > that i

Re: [OpenWrt-Devel] wireguard: unknown relocation: 102 [ARMv7 Thumb-2]

2020-06-17 Thread Jason A. Donenfeld
So, some more research: it looks like the R_ARM_THM_JUMP11 symbol is actually wg_packet_send_staged_packets, a boring C function with nothing fancy about it. That github issue you pointed to suggested that it might have something to do with complex crypto functions, but it looks like that's not the

Re: [OpenWrt-Devel] wireguard: unknown relocation: 102 [ARMv7 Thumb-2]

2020-06-17 Thread Jason A. Donenfeld
Hi Rui, On Wed, Jun 17, 2020 at 7:19 AM Rui Salvaterra wrote: > After a bit more digging [1], I believe I've narrowed it down. > CONFIG_THUMB2_AVOID_R_ARM_THM_JUMP11=y is required in order to avoid > the emission of R_ARM_THM_JUMP11 relocations in the WireGuard module. > I'm now wondering why the

Re: [OpenWrt-Devel] wireguard: unknown relocation: 102 [ARMv7 Thumb-2]

2020-06-10 Thread Jason A. Donenfeld
On Wed, Jun 10, 2020 at 4:05 AM Rui Salvaterra wrote: > > Hi, Jason, > > On Wed, 10 Jun 2020 at 10:31, Rui Salvaterra wrote: > > > > Good question. :) You're testing in QEMU (which I personally never > > used), right? I don't know how familiar you are wit

Re: [OpenWrt-Devel] wireguard: unknown relocation: 102 [ARMv7 Thumb-2]

2020-06-10 Thread Jason A. Donenfeld
NEL=y ...] $ ARCH=arm make -C wireguard-linux-compat/src test-qemu -j$(nproc) [... big test suite ...] Is there some config combination you can stick into the test harness to repro what you're seeing? Jason ___ openwrt-devel mailing list ope

[OpenWrt-Devel] [PATCH] wireguard: bump to 1.0.20200520

2020-05-20 Thread Jason A. Donenfeld
sing this now: three stable kernels were released at the same time, with a patch that necessitated updating in our compat layer. Signed-off-by: Jason A. Donenfeld --- package/network/services/wireguard/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/net

[OpenWrt-Devel] [PATCH] wireguard-tools: bump to 1.0.20200513

2020-05-19 Thread Jason A. Donenfeld
can now have an application whitelist instead of application blacklist. * systemd: add wg-quick.target This enables all wg-quick at .services to be restarted or managed as a unit via wg-quick.target. * Makefile: remember to install all systemd units Signed-off-by: Jason A. Donenfeld --- packag

Re: [OpenWrt-Devel] [PATCH v3] wireguard-tools: fix version indicator

2020-05-12 Thread Jason A. Donenfeld
Is this a patch you'd like to send upstream to wiregu...@lists.zx2c4.com? ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

[OpenWrt-Devel] [PATCH] wireguard: bump to 1.0.20200506

2020-05-06 Thread Jason A. Donenfeld
d_relax, which already includes a call to schedule in preempt_enable. * selftests: initalize ipv6 members to NULL to squelch clang warning This fixes a worthless warning from clang. * send/receive: use explicit unlikely branch instead of implicit coalescing Some code readibility cleanups. Signed-off-

[OpenWrt-Devel] [PATCH] wireguard: bump to 1.0.20200429

2020-04-29 Thread Jason A. Donenfeld
s in-tree Now that we're upstream, there's no need to set the taint flag. * receive: use tunnel helpers for decapsulating ECN markings ECN markings are now decapsulated using RFC6040 instead of the old RFC3168. Signed-off-by: Jason A. Donenfeld --- package/network/services/wireguard/M

[OpenWrt-Devel] [PATCH] wireguard: bump to 1.0.20200401

2020-04-01 Thread Jason A. Donenfeld
Recent backports to 5.5 and 5.4 broke our compat layer. This release is to keep things running with the latest upstream stable kernels. Signed-off-by: Jason A. Donenfeld --- package/network/services/wireguard/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a

[OpenWrt-Devel] [PATCH] wireguard: bump to 1.0.20200330

2020-03-30 Thread Jason A. Donenfeld
number on the backport compat codebase. When OpenWRT bumps to Linux 5.6, we'll be able to drop this package entirely, which I look forward to seeing. [1] https://lists.zx2c4.com/pipermail/wireguard/2020-March/005206.html Signed-off-by: Jason A. Donenfeld --- package/network/services/wire

[OpenWrt-Devel] [PATCH] wireguard-tools: bump to 1.0.20200319

2020-03-20 Thread Jason A. Donenfeld
pages in mdocml at some point soon. Signed-off-by: Jason A. Donenfeld --- package/network/utils/wireguard-tools/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/network/utils/wireguard-tools/Makefile b/package/network/utils/wireguard-tools/Makefile index

[OpenWrt-Devel] [PATCH] wireguard: bump to 0.0.20200318

2020-03-20 Thread Jason A. Donenfeld
handshake just won't complete if they're being used anywhere. * send: use normaler alignment formula from upstream We're trying to keep a minimal delta with upstream for the compat backport. Signed-off-by: Jason A. Donenfeld --- package/network/services/wireguard/Makefile | 4 ++--

[OpenWrt-Devel] [PATCH] wireguard: bump to 0.0.20200215

2020-02-14 Thread Jason A. Donenfeld
* send: cleanup skb padding calculation * socket: remove useless synchronize_net Sorry for the back-to-back releases. This fixes a regression spotted by Eric Dumazet. Signed-off-by: Jason A. Donenfeld --- package/network/services/wireguard/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2

[OpenWrt-Devel] [PATCH] wireguard: bump to 0.0.20200214

2020-02-14 Thread Jason A. Donenfeld
ssues related to setting the MTU of a device to zero. Signed-off-by: Jason A. Donenfeld --- package/network/services/wireguard/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/network/services/wireguard/Makefile b/package/network/services/wireguard/Makefile

[OpenWrt-Devel] [PATCH] wireguard-tools: bump to 1.0.20200206

2020-02-07 Thread Jason A. Donenfeld
kage depend on libmnl. * embeddable-wg-library: use newer string_list * netlink: don't pretend that sysconf isn't a function Small cleanups. Signed-off-by: Jason A. Donenfeld --- package/network/utils/wireguard-tools/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) dif

[OpenWrt-Devel] [PATCH] wireguard: bump to 0.0.20200205

2020-02-05 Thread Jason A. Donenfeld
ation * netns: tie socket waiting to target pid An added test to our test suite for the above and a small fix for high-load CI scenarios. Signed-off-by: Jason A. Donenfeld --- package/network/services/wireguard/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pa

[OpenWrt-Devel] [PATCH] wireguard: bump to 0.0.20200128

2020-01-28 Thread Jason A. Donenfeld
This fixes a few small oversights for the 5.5 compat layer. Signed-off-by: Jason A. Donenfeld --- package/network/services/wireguard/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/network/services/wireguard/Makefile b/package/network/services/wireguard

[OpenWrt-Devel] [PATCH 1/2] wireguard: bump to 0.0.20200121

2020-01-21 Thread Jason A. Donenfeld
verest: 114656 cycles per call Achieving these kind of results with formally verified code is quite remarkable, especialy considering that performance is favorable for newer chips. Signed-off-by: Jason A. Donenfeld --- package/network/services/wireguard/Makefile | 4 ++-- 1 file changed, 2 insertions(+)

[OpenWrt-Devel] [PATCH 2/2] wireguard-tools: bump to 1.0.20200121

2020-01-21 Thread Jason A. Donenfeld
3), resulting in the linker receiving its inputs in a filesystem-dependent order. This screwed up reproducible builds. Signed-off-by: Jason A. Donenfeld --- package/network/utils/wireguard-tools/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/network/u

[OpenWrt-Devel] [PATCH 2/2] wireguard-tools: bump to 1.0.20200102

2020-01-08 Thread Jason A. Donenfeld
t(8). * fuzz: find bugs in the config syntax parser * fuzz: find bugs when parsing uapi input These are two fuzzers that have been laying around without a repo for a while. Perhaps somebody with enough compute power will find bugs with them. Signed-off-by: Jason A. Donenfeld --- package/network/ut

[OpenWrt-Devel] [PATCH 1/2] wireguard: bump to 0.0.20200105

2020-01-08 Thread Jason A. Donenfeld
possibly other Qualcomm 4.14 devices. But I fear that it could lead to issues on other drivers on weird OpenWRT routers. This commit is upstream in net-next as: https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git/commit/?id=736775d06bac60d7a353e405398b48b2bd8b1e54 Signed-off-by: Jas

[OpenWrt-Devel] [PATCH] wireguard: bump to 20191226

2019-12-27 Thread Jason A. Donenfeld
, we'll drop the original module package, leaving only the tools. So this commit shuffles the build definition around a bit but is basically the same idea as before. Signed-off-by: Jason A. Donenfeld --- package/network/services/wireguard/Makefile | 41 +++--- .../network/utils/wire

[OpenWrt-Devel] [PATCH] wireguard: bump to 0.0.20191205

2019-12-05 Thread Jason A. Donenfeld
LKML. * ipc: make sure userspace communication frees wgdevice Free things properly on error paths. Signed-off-by: Jason A. Donenfeld --- package/network/services/wireguard/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/network/services/wireguard/Make

[OpenWrt-Devel] [PATCH] wireguard: bump to 0.0.20191127

2019-11-27 Thread Jason A. Donenfeld
* messages: recalculate rekey max based on a one minute flood * allowedips: safely dereference rcu roots * socket: remove redundant check of new4 * allowedips: avoid double lock in selftest error case * tools: add syncconf command Signed-off-by: Jason A. Donenfeld --- package/network/services

[OpenWrt-Devel] [PATCH] wireguard: bump to 0.0.20190702

2019-07-02 Thread Jason A. Donenfeld
helan of Axatrax was kind enough to mail me. Signed-off-by: Jason A. Donenfeld --- package/network/services/wireguard/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/network/services/wireguard/Makefile b/package/network/services/wireguard/Makefile index

[OpenWrt-Devel] [PATCH] wireguard: bump to 0.0.20190601

2019-06-01 Thread Jason A. Donenfeld
s somewhat tricky to support 33 different kernel versions (3.10+), plus weird distro frankenkernels. If OpenWRT doesn't support < 4.2, you probably don't need to apply this. But it also can't hurt, and probably best to stay updated. Signed-off-by: Jason A. Donenfeld --- packag

[OpenWrt-Devel] [PATCH] wireguard: bump to 0.0.20190531

2019-05-31 Thread Jason A. Donenfeld
NDPOINT_RESOLUTION_RETRIES=infinity when building wg(8)-based init scripts and services, or 0, or any other integer. Signed-off-by: Jason A. Donenfeld --- package/network/services/wireguard/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/network/servic

[OpenWrt-Devel] [PATCH] wireguard: bump to 0.0.20190406

2019-04-06 Thread Jason A. Donenfeld
compat fixes for Linux 5.1. Signed-off-by: Jason A. Donenfeld --- package/network/services/wireguard/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/network/services/wireguard/Makefile b/package/network/services/wireguard/Makefile index aab3e59..c0476

[OpenWrt-Devel] [PATCH] wireguard: bump to 0.0.20190227

2019-02-27 Thread Jason A. Donenfeld
dition and clearing is several orders of magnitude faster now. Signed-off-by: Jason A. Donenfeld --- package/network/services/wireguard/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/network/services/wireguard/Makefile b/package/network/services/wi

[OpenWrt-Devel] [PATCH] wireguard: bump to 0.0.20190123

2019-01-23 Thread Jason A. Donenfeld
7;s included here as a contrib example, so that others can paste it into their own GUI clients for having the same strictly validating highlighting. * netlink: use __kernel_timespec for handshake time This readies us for Y2038. See https://lwn.net/Articles/776435/ for more info. Signed-off-by: Ja

[OpenWrt-Devel] [PATCH] wireguard: bump to 0.0.20181119

2018-11-19 Thread Jason A. Donenfeld
we're trying to port to using Andy Polyakov's original perlasm files, and this means quite a lot of work to re-do that had stableized in our old .S. Signed-off-by: Jason A. Donenfeld --- package/network/services/wireguard/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-

[OpenWrt-Devel] [PATCH] wireguard: bump to 0.0.20181115

2018-11-15 Thread Jason A. Donenfeld
skb_checksum_setup check. * wg.8: specify that wg(8) shows runtime info too * wg.8: AllowedIPs isn't actually required * keygen-html: add missing glue macro * wg-quick: android: do not choke on empty allowed-ips Signed-off-by: Jason A. Donenfeld --- package/network/services/wireguard/Makefil

[OpenWrt-Devel] [PATCH] wireguard: bump to 0.0.20181018

2018-10-17 Thread Jason A. Donenfeld
Signed-off-by: Jason A. Donenfeld --- package/network/services/wireguard/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/network/services/wireguard/Makefile b/package/network/services/wireguard/Makefile index dad430b..8a71ce2 100644 --- a/package/network

[OpenWrt-Devel] [PATCH] wireguard: bump to 0.0.20181006

2018-10-05 Thread Jason A. Donenfeld
they prefer to instead name the files with a .c instead of a .h, so we now follow the convention. * Support many more platforms in QEMU, especially big endian ones. * Kernels < 3.17 don't have read_cpuid_part, so fix building there. Signed-off-by: Jason A. Donenfeld --- package/netw

[OpenWrt-Devel] [PATCH] wireguard: bump to 0.0.20180918

2018-09-18 Thread Jason A. Donenfeld
or not to inline certain functions, while still manually choosing so for a few performance-critical sections. Signed-off-by: Jason A. Donenfeld --- package/network/services/wireguard/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/network/services/wireguard/M

[OpenWrt-Devel] [PATCH] wireguard: bump to 0.0.20180910

2018-09-10 Thread Jason A. Donenfeld
s. It also sets the stage for moving to a HACL* implementation when that's ready. Signed-off-by: Jason A. Donenfeld --- package/network/services/wireguard/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/network/services/wireguard/Makefile b/packa

[OpenWrt-Devel] [PATCH] wireguard: bump to 0.0.20180904

2018-09-04 Thread Jason A. Donenfeld
ary prolog and epilogue * curve25519-arm: do not waste 32 bytes of stack * curve25519-arm: prefix immediates with # This incorporates ASM nits from upstream review. Signed-off-by: Jason A. Donenfeld --- package/network/services/wireguard/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2

[OpenWrt-Devel] [PATCH] wireguard: bump to 0.0.20180809

2018-08-12 Thread Jason A. Donenfeld
t allowedips Matt Layher found a bug where a netlink dump of peers would never terminate in some circumstances, causing wg(8) to keep trying forever. We now have a fix as well as a unit test to mitigate this, and we'll be looking to create a fuzzer out of Matt's nice library.

[OpenWrt-Devel] [PATCH] wireguard: bump to 0.0.20180802

2018-08-03 Thread Jason A. Donenfeld
Signed-off-by: Jason A. Donenfeld --- package/network/services/wireguard/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/network/services/wireguard/Makefile b/package/network/services/wireguard/Makefile index a88dca1..d314cd5 100644 --- a/package/network

[OpenWrt-Devel] [PATCH] wireguard: bump to 0.0.20180718

2018-07-18 Thread Jason A. Donenfeld
Signed-off-by: Jason A. Donenfeld --- package/network/services/wireguard/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/network/services/wireguard/Makefile b/package/network/services/wireguard/Makefile index 90ecae3..9965002 100644 --- a/package/network

[OpenWrt-Devel] [PATCH] wireguard: bump to 0.0.20180708

2018-07-10 Thread Jason A. Donenfeld
performance on most systems by using NAPI. The main purpose of this snapshot is to test out this technique. Signed-off-by: Jason A. Donenfeld --- package/network/services/wireguard/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/network/services/wireguard

Re: [OpenWrt-Devel] Wireguard & hw flow offload incompatibility

2018-05-30 Thread Jason A. Donenfeld
Hi Jaap, This should now be taken care of by http://lists.infradead.org/pipermail/openwrt-devel/2018-May/012675.html . Thanks for the useful bug report. Jason ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org

[OpenWrt-Devel] [PATCH] wireguard: bump to 0.0.20180531 to fix flow offloading

2018-05-30 Thread Jason A. Donenfeld
This version bump was made upstream mostly for OpenWRT, and should fix an issue with a null dst when on the flow offloading path. While we're at it, Kevin and I are the only people actually taking care of this package, so trim the maintainer list a bit. Signed-off-by: Jason A. Done

Re: [OpenWrt-Devel] Missing skb->dst with flow offloading

2018-05-30 Thread Jason A. Donenfeld
On Wed, May 30, 2018 at 8:24 PM, Pablo Neira Ayuso wrote: > May it crash the kernel because it's assuming is set? If so, then > I'd appreciate if you send us a patch to I suspect it won't crash, but the pmtu might wind up wrong / not calculated. > Please, use the nf-next.git tree to patch nf_flo

Re: [OpenWrt-Devel] Missing skb->dst with flow offloading

2018-05-30 Thread Jason A. Donenfeld
penWRT is to be expected with the current state of events, and that I should patch my driver accordingly? As one example of this in tree, take a look at vxlan -- it's using it for the mtu/pmtu exactly as WireGuard does. Regards, Jason ___ op

[OpenWrt-Devel] Missing skb->dst with flow offloading

2018-05-29 Thread Jason A. Donenfeld
ew flow offloading code? I'd appreciate your input, so that I can make the appropriate change -- or not -- to my code. Regards, Jason ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/listinfo/openwrt-devel

Re: [OpenWrt-Devel] Wireguard & hw flow offload incompatibility

2018-05-29 Thread Jason A. Donenfeld
ng in on one of these hardware accelerated NICs and then being forwarded to the wireguard interface, which expects the dst. I found your ndo_flow_offload patchset, and I suspect that might have something to do with this. Any insights on dsts disappearing in skbs? Thanks, Jason On Tue, May 29, 2018 at

Re: [OpenWrt-Devel] Wireguard & hw flow offload incompatibility

2018-05-29 Thread Jason A. Donenfeld
source of these boxes? I'd like to see what exactly the vendor is doing. And if you could try [2] and see if that still crashes, this would be most appreciated. Thanks, Jason [1] https://data.zx2c4.com/openwrt-mips-offloading-bug.png [2] https://א.cc/Am4tZ0n8 On Tue, May 29, 2018 at 1:59 P

[OpenWrt-Devel] [PATCH] wireguard: bump to 20180519

2018-05-18 Thread Jason A. Donenfeld
fix errno propagation and messages Error messages are now more coherent. * device: remove allowedips before individual peers This avoids an O(n^2) traversal in favor of an O(n) one. Before systems with many peers would grind when deleting the interface. Signed-off-by: Jason A. Donenfeld --- packa

[OpenWrt-Devel] [PATCH] zynq: Add Zybo device support

2016-04-20 Thread Jason Wu
Signed-off-by: Jason Wu diff --git a/package/boot/uboot-zynq/Makefile b/package/boot/uboot-zynq/Makefile index 2053e8d..412415b 100644 --- a/package/boot/uboot-zynq/Makefile +++ b/package/boot/uboot-zynq/Makefile @@ -41,9 +41,14 @@ define uboot/zed TITLE:=U-Boot $(PKG_VERSION) for Avnet

[OpenWrt-Devel] [PATCH] Zynq: Add Zedboard device support

2016-04-20 Thread Jason Wu
Tested-by: Joe Zhang Signed-off-by: Jason Wu diff --git a/package/boot/uboot-zynq/Makefile b/package/boot/uboot-zynq/Makefile index 3a17f7f..2053e8d 100644 --- a/package/boot/uboot-zynq/Makefile +++ b/package/boot/uboot-zynq/Makefile @@ -37,8 +37,13 @@ define uboot/zc706 TITLE:=U-Boot

[OpenWrt-Devel] [RFC v2] zynq: Re-implement mkits.sh and use it

2016-04-20 Thread Jason Wu
provide different features. E.g. system boot with ramdisk or sdroot or nfsroot and etc. Signed-off-by: Jason Wu --- v2: - Fix -D use before -c options - add additional array checking to prevent undeclared array diff --git a/target/linux/zynq/image/Makefile b/target/linux/zynq/image/Makefile

[OpenWrt-Devel] [PATCH] zynq: Remove rdinit patch

2016-04-20 Thread Jason Wu
This is not required as long as CONFIG_TARGET_INIT_CMD is correctly configured. Signed-off-by: Jason Wu diff --git a/target/linux/zynq/patches-4.4/0001-arm-dts-zynq-zc702.dts-Set-default-rdinit-to-sbin-in.patch b/target/linux/zynq/patches-4.4/0001-arm-dts-zynq-zc702.dts-Set-default-rdinit-to

Re: [OpenWrt-Devel] [PATCH] zynq: Re-implement mkits.sh and use it

2016-03-29 Thread Jason Wu
On 18/03/2016 11:19 PM, Jason Wu wrote: The new mkits.sh is a complete new implementation to support: - multi-configuration (upto 10 with -c option). First -c used defines the default conf used. - multi-image support - multiple kernel/fdt/ramdsik image (upto 50 images) - per image

[OpenWrt-Devel] [OpenWrt] [PATCH] zynq: Remove rdinit patch

2016-03-21 Thread Jason Wu
This is not required as long as CONFIG_TARGET_INIT_CMD is correctly configured. Signed-off-by: Jason Wu diff --git a/target/linux/zynq/patches-4.4/0001-arm-dts-zynq-zc702.dts-Set-default-rdinit-to-sbin-in.patch b/target/linux/zynq/patches-4.4/0001-arm-dts-zynq-zc702.dts-Set-default-rdinit-to

[OpenWrt-Devel] [PATCH] package:boot:uboot-zynq: Update to U-Boot 2016.03 release

2016-03-20 Thread Jason Wu
Signed-off-by: Jason Wu --- git.openwrt.org () openwrt.git master diff --git a/package/boot/uboot-zynq/Makefile b/package/boot/uboot-zynq/Makefile index 7e502b6..3a17f7f 100644 --- a/package/boot/uboot-zynq/Makefile +++ b/package/boot/uboot-zynq/Makefile @@ -8,13 +8,13 @@ include $(TOPDIR

[OpenWrt-Devel] [PATCH] zynq: Re-implement mkits.sh and use it

2016-03-19 Thread Jason Wu
provide different features. E.g. system boot with ramdisk or sdroot or nfsroot and etc. Signed-off-by: Jason Wu diff --git a/target/linux/zynq/image/Makefile b/target/linux/zynq/image/Makefile index 99293a6..bb60222 100644 --- a/target/linux/zynq/image/Makefile +++ b/target/linux/zynq/image

[OpenWrt-Devel] [PATCH] zynq:image: Simplify boot-img build

2016-03-19 Thread Jason Wu
by adding Device/DefaultConfig macro to define the dts and device in lower case. Signed-off-by: Jason Wu diff --git a/target/linux/zynq/image/Makefile b/target/linux/zynq/image/Makefile index 2924a5d..99293a6 100644 --- a/target/linux/zynq/image/Makefile +++ b/target/linux/zynq/image/Makefile

[OpenWrt-Devel] ★ OpenWrt Development List, Jason left a message for you

2016-03-15 Thread Jason
Title: OpenWrt Development List, Jason left a message for you See this email in English, Deutsch, Français, Italiano, Español, Português or 36 other languages

[OpenWrt-Devel] ★ OpenWrt Development List, Jason left a message for you

2016-03-15 Thread Jason
Title: OpenWrt Development List, Jason left a message for you See this email in English, Deutsch, Français, Italiano, Español, Português or 36 other languages

Re: [OpenWrt-Devel] Question regarding call python script

2016-03-14 Thread Jason Wu
On 14/03/2016 5:20 PM, John Crispin wrote: On 14/03/2016 03:55, Jason Wu wrote: On 13/03/2016 8:41 PM, Bastian Bittorf wrote: Using n-dimensional arrays in build scripts is a rare usecase. you can easily switch to AWK if this fits more. But using Perl or Python should be avoided, because

Re: [OpenWrt-Devel] Question regarding call python script

2016-03-13 Thread Jason Wu
version 3.x which does not support associated array. Sometimes some of the dependency can be avoid and best to avoid from maintainers point of view. Jason ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin

Re: [OpenWrt-Devel] Question regarding call python script

2016-03-11 Thread Jason Wu
ther it's ok to require bash >= 4 for OpenWrt build scripts or not. what exactly do you need them for and can you solve it in a different way ? ideally we run on as many distros as possible. I can use indexed array instead of associative

Re: [OpenWrt-Devel] Question regarding call python script

2016-03-11 Thread Jason Wu
basing my opinion more on terms of consistency. John Sorry about the top post. :) sounds good to me. I will try to implemented it in shell instead of python. I am totally agree you from the consistency and dependency point of view. Best regards, jason

Re: [OpenWrt-Devel] Question regarding call python script

2016-03-10 Thread Jason Wu
HiJo and Alexandru, Thanks for the input. Cheers, jason On 11/03/2016 7:11 AM, Alexandru Ardelean wrote: On Thu, Mar 10, 2016 at 6:38 PM, Jo-Philipp Wich mailto:j...@openwrt.org>> wrote: Hi Jason, no reason against it per se but it would introduce a new build prereq I s

  1   2   >