Re: [OpenWrt-Devel] Routes disappearing when ip "ip link set down ethX" and bring it up again

2020-05-01 Thread Hans Dedecker
On Thu, Apr 30, 2020 at 9:32 PM Philip Prindeville < philipp_s...@redfish-solutions.com> wrote: > Hi all, > > I noticed that if eth5 is my “wan” interface and I do: > > # ip link set down dev eth5 > > make some firewall changes, then do: > > # ip link set up dev eth5 > > then my routes don’t get

Re: [OpenWrt-Devel] [18.06][PATCH 2/2] wireguard: bump to 1.0.20200401

2020-05-01 Thread Petr Štetiar
Rosen Penev [2020-04-09 19:15:10]: Hi, > From: "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. I think, that this is a not acceptable for 18.06. -- ynezz

Re: [OpenWrt-Devel] [19.07][PATCH 2/2] wireguard: bump to 1.0.20200401

2020-05-01 Thread Petr Štetiar
[adding Jason to the Cc: loop] Rosen Penev [2020-04-09 19:11:10]: Hi, > From: "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. I'm quite hesitant to bump WireGuard in stable

Re: [OpenWrt-Devel] [PATCH fstools V3 1/2] Revert "block: mount_action: handle mount/umount deps"

2020-05-01 Thread Rafał Miłecki
Sorry for a late reply :| On 02.04.2020 14:35, Jo-Philipp Wich wrote: instead of reverting the hierarchical mount handling, isn't fixing the unintended mounts just a matter of doing a prefix compare during vlist_for_first_to_element() traversal? Assuming that `the_dev` refers to the block we

Re: [OpenWrt-Devel] [PATCH] tools: add autoconf-archive

2020-05-01 Thread Petr Štetiar
Karel Kočí [2020-04-29 12:47:58]: Hi, > Some autotools based build systems are using autoconf-archive scripts > and are expecting them to almost always be available. like for example? I fail to see, why this should be included. Stating "some build systems" is not enough. > Including this adds

Re: [OpenWrt-Devel] [PATCH] tools: add autoconf-archive

2020-05-01 Thread Karel Kočí
Hi On Fri, May 01, 2020 at 09:22:36AM +0200, Petr Štetiar wrote: > Karel Kočí [2020-04-29 12:47:58]: > > Hi, > > > Some autotools based build systems are using autoconf-archive scripts > > and are expecting them to almost always be available. > > like for example? I fail to see, why this

[OpenWrt-Devel] Issues backporting 4-byte opcode support for w25q256 fix to 4.14 kernel and Lima board

2020-05-01 Thread Aleksander Morgado
Hey Mantas, I'm working on porting your 4-byte opcode support fix for the w25q256 (in openwrt git master, 4745969ad7c0cb65f55c8de1f05eba786ca27f71) to the 4.14 kernel used in 19.07 for the Lima board. The port is relatively easy just adding the post-bfpt parsing hook, but I'm stuck much earlier

Re: [OpenWrt-Devel] [PATCH] fstools: block: make extroot mount preparation more robust

2020-05-01 Thread Rafał Miłecki
On 09.04.2019 20:08, Kenneth J. Miller wrote: The extroot mount preparation code for r/w rootfs overlay discovery, and determining the user-defined /etc/config/fstab location within, would only discover overlays residing on JFFS2 or UBIFS MTD storage. This led to attempts at loading the uci

[OpenWrt-Devel] [PATCH] wolfssl: update to 4.4.0-stable

2020-05-01 Thread Eneas U de Queiroz
This version adds many bugfixes, including a couple of security vulnerabilities: - For fast math (enabled by wpa_supplicant option), use a constant time modular inverse when mapping to affine when operation involves a private key - keygen, calc shared secret, sign. - Change constant time

Re: [OpenWrt-Devel] Issues backporting 4-byte opcode support for w25q256 fix to 4.14 kernel and Lima board

2020-05-01 Thread Chuanhong Guo
Hi! On Fri, May 1, 2020 at 9:48 PM Aleksander Morgado wrote: > > Hey Mantas, > > I'm working on porting your 4-byte opcode support fix for the w25q256 > (in openwrt git master, 4745969ad7c0cb65f55c8de1f05eba786ca27f71) to > the 4.14 kernel used in 19.07 for the Lima board. > > The port is

Re: [OpenWrt-Devel] Routes disappearing when ip "ip link set down ethX" and bring it up again

2020-05-01 Thread Philip Prindeville
> > >> On May 1, 2020, at 2:08 AM, Hans Dedecker wrote: >> >> >> On Thu, Apr 30, 2020 at 9:32 PM Philip Prindeville >> wrote: >> Hi all, >> >> I noticed that if eth5 is my “wan” interface and I do: >> >> # ip link set down dev eth5 >> >> make some firewall changes, then do: >> >> # ip

Re: [OpenWrt-Devel] [PATCH netifd] vlandev: support setting ingress/egress QoS mappings

2020-05-01 Thread Hans Dedecker
Hi, On Tue, Apr 28, 2020 at 9:41 AM Pau Espin Pedrol wrote: > From: Pau Espin Pedrol > > It allows setting mappings for instance this way: > """ > config device > option name 'vlan41' > option type '8021q' > option vid '41' > option ifname 'eth1' > list ingress_qos_mapping '1:2' >

[OpenWrt-Devel] [PATCH 1/1] firewall3: add --contiguous to time-based rules where needed

2020-05-01 Thread Philip Prindeville
From: Philip Prindeville If the start_time > stop_time on a rule, then the --contiguous arg should be included in the rule. Signed-off-by: Philip Prindeville --- iptables.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/iptables.c b/iptables.c index

[OpenWrt-Devel] Applying to Season of Docs

2020-05-01 Thread Paul Spooren
Hi all, Google offers a program[0] to stipend people writing technical documentation for open source projects. The stipend is possible for anyone 18+ and not living in a US embargoed country, so unlike the Google Summer of Code project not only for students. Successful writers get a stipend of

Re: [OpenWrt-Devel] building python3 packages outside of lang/python3

2020-05-01 Thread Sven Roederer
Am Freitag, 1. Mai 2020, 20:20:05 CEST schrieb Alexandru Ardelean: > On Fri, May 1, 2020 at 7:04 PM Michael Richardson wrote: > > hi, > > python packages include ../python3-package.mk, and pypi.mk > > > > But I can't do that from my own feed directory. > > I don't want to copy the file!! > > >

Re: [OpenWrt-Devel] building python3 packages outside of lang/python3

2020-05-01 Thread Alexandru Ardelean
On Fri, May 1, 2020 at 7:04 PM Michael Richardson wrote: > > hi, > python packages include ../python3-package.mk, and pypi.mk > > But I can't do that from my own feed directory. > I don't want to copy the file!! > > Is there a relative path that would get me to feeds/packages/lang/python3?

Re: [OpenWrt-Devel] Issues backporting 4-byte opcode support for w25q256 fix to 4.14 kernel and Lima board

2020-05-01 Thread Aleksander Morgado
Hey! > > I'm working on porting your 4-byte opcode support fix for the w25q256 > > (in openwrt git master, 4745969ad7c0cb65f55c8de1f05eba786ca27f71) to > > the 4.14 kernel used in 19.07 for the Lima board. > > > > The port is relatively easy just adding the post-bfpt parsing hook, > > but I'm

[OpenWrt-Devel] building python3 packages outside of lang/python3

2020-05-01 Thread Michael Richardson
hi, python packages include ../python3-package.mk, and pypi.mk But I can't do that from my own feed directory. I don't want to copy the file!! Is there a relative path that would get me to feeds/packages/lang/python3? I tried the whole thing, but that didn't work. I settled on: include