Re: [Bridge] [RFC PATCH net-next] bridge: Implement MLD Querier wake-up calls / Android bug workaround

2020-08-23 Thread Linus Lüssing
On Sun, Aug 16, 2020 at 03:08:13PM -0700, Stephen Hemminger wrote: > Rather than adding yet another feature to the bridge, could this hack be done > by > having a BPF hook? or netfilter module? Hi Stephen, Thanks for the constructive feedback and suggestions! The netfilter approach sounds tempt

[RFC PATCH net-next] bridge: Implement MLD Querier wake-up calls / Android bug workaround

2020-08-16 Thread Linus Lüssing
the specific host(s). Link: https://issuetracker.google.com/issues/149630944 Link: https://github.com/freifunk-gluon/gluon/issues/1832 Signed-off-by: Linus Lüssing --- A version of this patch rebased to Linux 4.14 is currently applied on a 400 nodes mesh network (Freifunk Vogtland). I'm aware

Re: [OpenWrt-Devel] [PATCH] layerscape: kernel: cma: increase CMA buffer size from 16 to 32MB

2020-05-25 Thread Linus Lüssing
On 25/05/2020 11:25, m...@adrianschmutzler.de wrote: [...] Despite, armv7 uses 64 MB ? Hm, you're right. Not sure, I wouldn't increase the CMA buffer more as needed though, as any unused CMA space is basically wasted, it can't be used for caches etc right now. But I can increase it to 64 MB

[OpenWrt-Devel] [PATCH] layerscape: kernel: cma: increase CMA buffer size from 16 to 32MB

2020-05-25 Thread Linus Lüssing
From: Linus Lüssing 16MB are not enough for ath10k to initialize three 4x4 AC Wave 2 PCIe cards (168c:0046: Qualcomm Atheros QCA9984 802.11ac Wave 2 Wireless Network Adapter). This leads to the following error when trying to initialize the third one: [ 16.742475] ath10k_pci 0002:01:00.0: pci

[OpenWrt-Devel] [PATCH v2] imx6: Adding Ka-Ro electronics TX6U-8033 Module on MB7 baseboard support

2019-12-04 Thread Linus Lüssing
From: Linus Lüssing This adds support for the Ka-Ro MB7 board with a TX6U-8033 module. Specification, according to Linux DTS commit: TX6U-8033: ProcessorFreescale i.MX 6 Dual Lite, 800MHz RAM 1GiB DDR3 SDRAM ROM 4GiB eMMC Power supply Single 3.1V to

[OpenWrt-Devel] [PATCH] imx6: Adding Ka-Ro electronics TX6U-8033 Module on MB7 baseboard support

2019-11-28 Thread Linus Lüssing
From: Linus Lüssing This adds support for the Ka-Ro MB7 board with a TX6U-8033 module. Specification, according to Linux DTS commit: TX6U-8033: ProcessorFreescale i.MX 6 Dual Lite, 800MHz RAM 1GiB DDR3 SDRAM ROM 4GiB eMMC Power supply Single 3.1V to

Re: [OpenWrt-Devel] [LEDE-DEV] NETSHe mac80211 GPL sources

2017-02-02 Thread Linus Lüssing
On Fri, Feb 03, 2017 at 09:35:30AM +0300, Stanislav V. Korsakov wrote: > Please check this article http://netshe.ru/wirelessstack to understand > layering of our modifications in Linux wireless stack. "this module is a proprietary module broker" Wow, that's a fancy name for it :D. __

[OpenWrt-Devel] [PATCH netifd] bridge: make learning and unicast-flood configurable per bridge port

2016-05-22 Thread Linus Lüssing
keeping redundant databases (e.g. with the batman-adv translation table). Signed-off-by: Linus Lüssing --- device.c | 18 ++ device.h |6 ++ system-linux.c | 18 ++ 3 files changed, 42 insertions(+) diff --git a/device.c b/device.c index

[OpenWrt-Devel] [PATCH netifd] bridge: multicast: Export some parameters RFCs suggest to be tunable

2016-03-05 Thread Linus Lüssing
, as they can be indirectly tuned via the given, exported four parameters, too. Signed-off-by: Linus Lüssing --- bridge.c | 32 ++ system-linux.c | 131 ++-- system.h | 16 +-- 3 files changed, 163 insertions

Re: [OpenWrt-Devel] Request for Feedback - prplwrt Software Support Program - initial draft

2016-03-05 Thread Linus Lüssing
On Thu, Mar 03, 2016 at 03:07:22PM -0600, Eric Schultz wrote: > * prpl and its members, as funders, would set initial themes that all > projects would be expected to fit into. Could you clarify what you mean with "initial themes", maybe some examples? What would happen if the OpenWRT community we

Re: [OpenWrt-Devel] [PATCH] ar8327: add IGMP Snooping support

2016-01-08 Thread Linus Lüssing
On Tue, Jan 05, 2016 at 08:40:37PM +0100, Álvaro Fernández Rojas wrote: > This add support for IGMP Snooping on atheros switches (enabled by default), > which avoids flooding the network with multicast data. > > Tested on TL-WDR4300: disabling IGMP Snooping results in multicast flooding > on each

Re: [OpenWrt-Devel] [Battlemesh] the cerowrt project's letter to the fcc about the wifi lockdown is nearly final

2015-10-06 Thread Linus Lüssing
On Tue, Oct 06, 2015 at 04:21:38PM +0200, Benjamin Henrion wrote: > On Tue, Oct 6, 2015 at 3:49 PM, Linus Lüssing > wrote: > > On Tue, Oct 06, 2015 at 02:13:36AM +0200, Dave Taht wrote: > >> Comment away! > > > > There are many good points made in this text. >

Re: [OpenWrt-Devel] the cerowrt project's letter to the fcc about the wifi lockdown is nearly final

2015-10-06 Thread Linus Lüssing
On Tue, Oct 06, 2015 at 02:13:36AM +0200, Dave Taht wrote: > Comment away! There are many good points made in this text. I like the Volkswagen example and the suggestion to require opening up the firmware. For the latter, had been thinking about that before briefly, but kind of dismissed it earl

Re: [OpenWrt-Devel] [PATCH][netifd] Bridge hairpin mode must be off by default

2015-09-10 Thread Linus Lüssing
Hi Dmitry, On Thu, Sep 10, 2015 at 04:00:39PM +0300, Dmitry Ivanov wrote: > [...] Enabling this mode leads to broadcast frames such as ARP and DHCP > being retransmitted back to AP in WDS configurations. Could you eloborate a little more on this? For a normal bridge-on-AP setting this should be f

[OpenWrt-Devel] [PATCH] kernel: bridge, multicast-to-unicast: fix echoes on STA

2015-09-01 Thread Linus Lüssing
ddress and use IPv6 in general. Mac80211 unfortunately only prevents the echoes for us for multicast frames. For the multicast frames cast to a unicast destination we'll need to take care of excluding the originator ourselves. Signed-off-by: Linus Lüssing --- .../645-bridge_multicast_t

Re: [OpenWrt-Devel] [PATCHv3 openwrt 1/2] Revert "kernel: disable multicast-to-unicast translation for ipv6 neighbor solicitation (#17625)"

2015-08-31 Thread Linus Lüssing
On Mon, Aug 31, 2015 at 12:19:44PM +0200, Linus Lüssing wrote: > I had somehow expected that mac80211 would exclude it. But looks like it > doesn't. Looks like mac80211 on an STA does that for frames with a multicast destination (to prevent getting the own multicast packets echo'

Re: [OpenWrt-Devel] [PATCHv3 openwrt 1/2] Revert "kernel: disable multicast-to-unicast translation for ipv6 neighbor solicitation (#17625)"

2015-08-31 Thread Linus Lüssing
On Mon, Aug 31, 2015 at 11:29:45AM +0200, Steven Barth wrote: > > > > >Ok, I was able to easily reproduce the issue here. Looking at the > >tcpdump the wifi client receives its own Neighbor Solicitation > >again, reflected through the bridge-hairpin option. > > Why are we reflecting packets bac

Re: [OpenWrt-Devel] [PATCHv3 openwrt 1/2] Revert "kernel: disable multicast-to-unicast translation for ipv6 neighbor solicitation (#17625)"

2015-08-30 Thread Linus Lüssing
PS: Out of curiousity, can someone with deeper knowledge into 802.11 tell me, when an STA sends a multicast packet to its master which then rebroadcasts it at e.g. 1MBit/s, how does the originating STA know that its a rebroadcast of its own frame and refrain from forwarding it internally? _

Re: [OpenWrt-Devel] [PATCHv3 openwrt 1/2] Revert "kernel: disable multicast-to-unicast translation for ipv6 neighbor solicitation (#17625)"

2015-08-30 Thread Linus Lüssing
On Sun, Aug 30, 2015 at 03:49:50PM +0200, Linus Lüssing wrote: > Hi Steven, > > Thanks for the feedback. > > On Sat, Aug 29, 2015 at 04:21:50PM +0200, Steven Barth wrote: > > Let me know if you need more info. > > Could you make a tcpdump for ICMPv6 on the wifi of th

Re: [OpenWrt-Devel] [PATCHv3 openwrt 1/2] Revert "kernel: disable multicast-to-unicast translation for ipv6 neighbor solicitation (#17625)"

2015-08-30 Thread Linus Lüssing
Hi Steven, Thanks for the feedback. On Sat, Aug 29, 2015 at 04:21:50PM +0200, Steven Barth wrote: > Let me know if you need more info. Could you make a tcpdump for ICMPv6 on the wifi of the client? Please start it before connecting and let it run for about three minutes after connecting to the w

[OpenWrt-Devel] [PATCHv3 openwrt 2/2] kernel: bridge, multicast-to-unicast: assign src after pskb_may_pull()

2015-08-23 Thread Linus Lüssing
A call to pskb_may_pull() might reallocate skb->data. Therefore we should only assign the src-pointer after any potential reallocations. Signed-off-by: Linus Lüssing --- .../645-bridge_multicast_to_unicast.patch | 45 +++- 1 file changed, 26 insertions(+),

[OpenWrt-Devel] [PATCHv3 openwrt 1/2] Revert "kernel: disable multicast-to-unicast translation for ipv6 neighbor solicitation (#17625)"

2015-08-23 Thread Linus Lüssing
utilizing AP-isolation and bridge-hairpinning should have fixed this. It is perfectly fine to apply multicast-to-unicast to IPv6 Neighbor Solicitations, too (once that feature is configured correctly). Signed-off-by: Linus Lüssing --- .../645-bridge_multicast_to_unicast.patch | 37

[OpenWrt-Devel] [PATCHv3 netifd 3/3] bridge: Allow setting multicast_router option

2015-08-23 Thread Linus Lüssing
ght need a manual configuration option like the "multicast_router" option. Other scenarios where this can be useful are for instance: * Segmentation of IGMP/MLD domains together with ebtables * Dedicated bridge port for monitoring/debugging purposes Signed-off-by: Linus Lüssing --- d

[OpenWrt-Devel] [PATCHv3 netifd 2/3] bridge: Allow setting multicast_to_unicast option

2015-08-23 Thread Linus Lüssing
enable or disable ap-isolation, for instance. Signed-off-by: Linus Lüssing --- device.c |9 + device.h |3 +++ scripts/netifd-wireless.sh |1 + system-linux.c | 13 + wireless.c |4 5 files

[OpenWrt-Devel] [PATCHv3 netifd 1/3] bridge: Fix multicast_to_unicast feature by hairpin+isolate

2015-08-23 Thread Linus Lüssing
irpin is kept disabled. Signed-off-by: Linus Lüssing --- device.h |1 + scripts/netifd-wireless.sh | 15 +++ system-linux.c | 26 -- wireless.c | 12 +++- wireless.h |1 + 5

[OpenWrt-Devel] [PATCHv3] Fixes regarding bridge multicast-to-unicast feature

2015-08-23 Thread Linus Lüssing
Hi, Here are a few patches to fix the issues the multicast-to-unicast feature of the bridge has: IGMP/MLD report suppression could lead to multicast packet loss. Also see ticket #17625 [0]. As previously discussed on this mailing list, AP-isolation together with bridge-hairpinning is a way to mak

Re: [OpenWrt-Devel] [PATCHv2 netifd 2/3] bridge: Allow setting multicast_to_unicast option

2015-08-07 Thread Linus Lüssing
On Thu, Aug 06, 2015 at 11:09:02PM +0200, Felix Fietkau wrote: > On 2015-08-06 22:10, Linus Lüssing wrote: > > On Wed, Aug 05, 2015 at 01:38:28PM +0200, Felix Fietkau wrote: > >> On 2015-08-05 01:00, Linus Lüssing wrote: > >> > With this patch the multicast_to_unica

Re: [OpenWrt-Devel] [PATCHv2 netifd 2/3] bridge: Allow setting multicast_to_unicast option

2015-08-06 Thread Linus Lüssing
On Wed, Aug 05, 2015 at 01:38:28PM +0200, Felix Fietkau wrote: > On 2015-08-05 01:00, Linus Lüssing wrote: > > With this patch the multicast_to_unicast feature can be disabled for all > > wireless interfaces via an according option on the uci bridge interface. > > > >

Re: [OpenWrt-Devel] [PATCHv2 netifd 1/3] bridge: Fix multicast_to_unicast feature by hairpin+isolate

2015-08-06 Thread Linus Lüssing
On Wed, Aug 05, 2015 at 01:28:23PM +0200, Felix Fietkau wrote: > This patch turns on hairpin mode and assumes that the driver script > checks the multicast_to_unicast flag. > This is somewhat broken, since you only consider the hostapd.sh script, > but there are other driver implementations out the

[OpenWrt-Devel] [PATCHv2 openwrt 3/3] kernel: bridge, multicast-to-unicast: assign src after pskb_may_pull()

2015-08-04 Thread Linus Lüssing
A call to pskb_may_pull() might reallocate skb->data. Therefore we should only assign the src-pointer after any potential reallocations. Signed-off-by: Linus Lüssing --- .../645-bridge_multicast_to_unicast.patch | 45 +++- 1 file changed, 26 insertions(+),

[OpenWrt-Devel] [PATCHv2 openwrt 1/3] hostapd: Always isolate if brport->multicast_to_unicast is enabled

2015-08-04 Thread Linus Lüssing
. Signed-off-by: Linus Lüssing --- package/network/services/hostapd/files/netifd.sh |9 + 1 file changed, 9 insertions(+) diff --git a/package/network/services/hostapd/files/netifd.sh b/package/network/services/hostapd/files/netifd.sh index a3ffd93..b987a63 100644 --- a/package

[OpenWrt-Devel] [PATCHv2 openwrt 2/3] Revert "kernel: disable multicast-to-unicast translation for ipv6 neighbor solicitation (#17625)"

2015-08-04 Thread Linus Lüssing
utilizing AP-isolation and bridge-hairpinning should have fixed this. It is perfectly fine to apply multicast-to-unicast to IPv6 Neighbor Solicitations, too (once that feature is configured correctly). Signed-off-by: Linus Lüssing --- .../645-bridge_multicast_to_unicast.patch | 37

[OpenWrt-Devel] [PATCHv2 netifd 3/3] bridge: Allow setting multicast_router option

2015-08-04 Thread Linus Lüssing
ght need a manual configuration option like the "multicast_router" option. Other scenarios where this can be useful are for instance: * Segmentation of IGMP/MLD domains together with ebtables * Dedicated bridge port for monitoring/debugging purposes Signed-off-by: Linus Lüssing --- d

[OpenWrt-Devel] [PATCHv2 netifd 2/3] bridge: Allow setting multicast_to_unicast option

2015-08-04 Thread Linus Lüssing
enable or disable ap-isolation, for instance. Signed-off-by: Linus Lüssing --- device.c |9 + device.h |3 +++ scripts/netifd-wireless.sh |1 + system-linux.c | 13 + wireless.c |4 5 files

[OpenWrt-Devel] [PATCHv2 netifd 1/3] bridge: Fix multicast_to_unicast feature by hairpin+isolate

2015-08-04 Thread Linus Lüssing
irpin is kept disabled. Signed-off-by: Linus Lüssing --- device.h |1 + system-linux.c | 26 -- wireless.c | 12 +++- wireless.h |1 + 4 files changed, 33 insertions(+), 7 deletions(-) diff --git a/device.h b/device.h index ce135ba..37

[OpenWrt-Devel] [PATCHv2] Fixes regarding bridge multicast-to-unicast feature

2015-08-04 Thread Linus Lüssing
Hi, Here are a few patches to fix the issues the multicast-to-unicast feature of the bridge has: IGMP/MLD report suppression could lead to multicast packet loss. Also see ticket #17625 [0]. As previously discussed on this mailing list, AP-isolation together with bridge-hairpinning is a way to mak

Re: [OpenWrt-Devel] [PATCH openwrt 1/3] hostapd: Always isolate if brport->multicast_to_unicast is enabled

2015-07-12 Thread Linus Lüssing
On Wed, Jul 08, 2015 at 02:31:03PM +0200, Felix Fietkau wrote: > I really don't like the use of uci here. I think the information of > whether ap_isolate needs to be enabled should be passed from netifd to > this script in the json data. Could you give me some pointers where in the netifd code tha

Re: [OpenWrt-Devel] [PATCH] Fixes regarding bridge multicast-to-unicast feature

2015-07-04 Thread Linus Lüssing
On Thu, Jun 18, 2015 at 05:22:58PM +0200, Linus Lüssing wrote: > Hi, > > Here are a few patches to fix the issues the multicast-to-unicast > feature of the bridge has: IGMP/MLD report suppression could lead > to multicast packet loss. > [...] Any news / thought

Re: [OpenWrt-Devel] [PATCH] Improve wifi speed up to 2 times in AP mode.

2015-06-28 Thread Linus Lüssing
On Sun, Jun 28, 2015 at 09:16:58PM +0300, N.Leiten wrote: > As a result I got full 100Mbit/s on AR71XX platform and 70-80Mbit on > Ralink. I think it is good performance improvement at this moment. Interesting, thanks for sharing your results! If these settings are generally diserable, maybe it m

[OpenWrt-Devel] [PATCH openwrt 2/3] Revert "kernel: disable multicast-to-unicast translation for ipv6 neighbor solicitation (#17625)"

2015-06-18 Thread Linus Lüssing
utilizing AP-isolation and bridge-hairpinning should have fixed this. It is perfectly fine to apply multicast-to-unicast to IPv6 Neighbor Solicitations, too (once that feature is configured correctly). Signed-off-by: Linus Lüssing --- .../645-bridge_multicast_to_unicast.patch | 37

[OpenWrt-Devel] [PATCH openwrt 3/3] kernel: bridge, multicast-to-unicast: assign src after pskb_may_pull()

2015-06-18 Thread Linus Lüssing
A call to pskb_may_pull() might reallocate skb->data. Therefore we should only assign the src-pointer after any potential reallocations. Signed-off-by: Linus Lüssing --- .../645-bridge_multicast_to_unicast.patch | 45 +++- .../645-bridge_multicast_to_unicast.pa

[OpenWrt-Devel] [PATCH openwrt 1/3] hostapd: Always isolate if brport->multicast_to_unicast is enabled

2015-06-18 Thread Linus Lüssing
. Signed-off-by: Linus Lüssing --- package/network/services/hostapd/files/netifd.sh | 15 +++ 1 file changed, 15 insertions(+) diff --git a/package/network/services/hostapd/files/netifd.sh b/package/network/services/hostapd/files/netifd.sh index 23d2e7e..74b2d02 100644 --- a

[OpenWrt-Devel] [PATCH netifd 2/2] bridge: Allow setting multicast_router option

2015-06-18 Thread Linus Lüssing
ght need a manual configuration option like the "multicast_router" option. Other scenarios where this can be useful are for instance: * Segmentation of IGMP/MLD domains together with ebtables * Dedicated bridge port for monitoring/debugging purposes Signed-off-by: Linus Lüssing --- d

[OpenWrt-Devel] [PATCH] Fixes regarding bridge multicast-to-unicast feature

2015-06-18 Thread Linus Lüssing
Hi, Here are a few patches to fix the issues the multicast-to-unicast feature of the bridge has: IGMP/MLD report suppression could lead to multicast packet loss. Also see ticket #17625 [0]. As previously discussed on this mailing list, AP-isolation together with bridge-hairpinning is a way to mak

[OpenWrt-Devel] [PATCH netifd 1/2] bridge: Fix multicast_to_unicast feature by hairpin+isolate

2015-06-18 Thread Linus Lüssing
irpin is kept disabled. Signed-off-by: Linus Lüssing --- device.c |9 + device.h |4 system-linux.c | 31 +-- wireless.c | 12 +++- wireless.h |1 + 5 files changed, 50 insertions(+), 7 deletions(-) diff --

Re: [OpenWrt-Devel] Regarding bridge multicast-to-unicast patch

2015-06-03 Thread Linus Lüssing
On Wed, Jun 03, 2015 at 07:25:32PM +0200, Steven Barth wrote: > > > > >Steven, could you elaborate a little more on the scenario and > >explain why it is a must to shut up automatically when having a > >local user-space querier? If people are able to manually install and > >configure a complex m

Re: [OpenWrt-Devel] Regarding bridge multicast-to-unicast patch

2015-06-03 Thread Linus Lüssing
On Wed, Jun 03, 2015 at 09:56:41AM +0200, Hans Dedecker wrote: > On Wed, Jun 3, 2015 at 8:50 AM, Steven Barth wrote: > > Thanks for the quick reply. > > > > > > On 03.06.2015 08:26, Linus Lüssing wrote: > >> For IPv6 and a non-zero IPv4 source address it

Re: [OpenWrt-Devel] Regarding bridge multicast-to-unicast patch

2015-06-02 Thread Linus Lüssing
On Wed, Jun 03, 2015 at 07:47:49AM +0200, Steven Barth wrote: > Do you by chance remember what was the behavior of the Linux kernel's > intenral querier was. > > I mean does it use the usual L3-address of the bridge as source? For IPv4 it uses 0.0.0.0 by default and there's an option to use the I

Re: [OpenWrt-Devel] Regarding bridge multicast-to-unicast patch

2015-06-02 Thread Linus Lüssing
On Fri, Oct 24, 2014 at 06:35:27PM +0200, Felix Fietkau wrote: > I'd like to get back to suppressing forwarding IGMPv2/MLDv1 reports: > I just learned that we can avoid changing mac80211 at all for this. > If we disable forwarding between stations in mac80211 and enable hairpin > mode on the bridge

[OpenWrt-Devel] [PATCH netifd] bridge: allow setting hash_max value

2015-05-26 Thread Linus Lüssing
-by: Linus Lüssing --- bridge.c |6 ++ system-linux.c |5 + system.h |1 + 3 files changed, 12 insertions(+) diff --git a/bridge.c b/bridge.c index fd553dc..9da5314 100644 --- a/bridge.c +++ b/bridge.c @@ -33,6 +33,7 @@ enum { BRIDGE_ATTR_MAX_AGE

[OpenWrt-Devel] [PATCH] kernel: bridge: backport two snooping related patches

2015-05-26 Thread Linus Lüssing
which is needed to make the hash_max and multicast_router attributes configurable through netifd. Signed-off-by: Linus Lüssing --- ...51-01-bridge-fix-parsing-of-MLDv2-reports.patch | 58 ...w-setting-hash_max-multicast_router-if-in.patch | 99 .../645

[OpenWrt-Devel] [PATCH] firewall: Allow IGMP and MLD input on WAN

2015-05-03 Thread Linus Lüssing
The WAN port should at least respond to IGMP and MLD queries as otherwise a snooping bridge/switch might drop traffic. RFC4890 recommends to leave IGMP and MLD unfiltered as they are always link-scoped anyways. Signed-off-by: Linus Lüssing --- v2 of "[PATCH] firewall: Allow MLD input o

Re: [OpenWrt-Devel] [PATCH] firewall: Allow MLD input on WAN

2015-05-03 Thread Linus Lüssing
Hi Steven, On Sun, May 03, 2015 at 04:43:24PM +0200, Steven Barth wrote: > Hello Linus, > > thanks for the patch. I have two questions here. > > #1 Why should this be done for v6 but not for v4? woops, sorry, had the IGMP part for v4 in my test setup but forgot to add it to the patch. Going to

[OpenWrt-Devel] [PATCH] firewall: Allow MLD input on WAN

2015-05-02 Thread Linus Lüssing
The WAN port should at least respond to MLD queries as otherwise a snooping bridge/switch might drop traffic. Signed-off-by: Linus Lüssing --- package/network/config/firewall/files/firewall.config | 12 1 file changed, 12 insertions(+) diff --git a/package/network/config

Re: [OpenWrt-Devel] [PATCH] kernel: bridge: multicast: backport a few more fixes for 3.10

2015-01-18 Thread Linus Lüssing
On Wed, Jan 14, 2015 at 12:12:33AM +0100, Linus Lüssing wrote: > On Tue, Dec 30, 2014 at 04:10:56AM +0100, Linus Lüssing wrote: > > The following patches unfortunately didn't hit the kernel stable > > branches yet, therefore cherrypicking them for OpenWRT here: > > &

Re: [OpenWrt-Devel] [PATCH] kernel: bridge: multicast: backport a few more fixes for 3.10

2015-01-13 Thread Linus Lüssing
On Tue, Dec 30, 2014 at 04:10:56AM +0100, Linus Lüssing wrote: > The following patches unfortunately didn't hit the kernel stable > branches yet, therefore cherrypicking them for OpenWRT here: > > * bridge: fix netfilter/NF_BR_LOCAL_OUT for own, locally generated queries >

[OpenWrt-Devel] [PATCH] kernel: bridge: multicast: backport a few more fixes for 3.10

2014-12-29 Thread Linus Lüssing
anity check for general query destination Signed-off-by: Linus Lüssing --- .../patches-3.10/070-net_bridge_backports.patch| 193 .../644-bridge_optimize_netfilter_hooks.patch |6 +- 2 files changed, 162 insertions(+), 37 deletions(-) diff --git a/target/linux/ge

Re: [OpenWrt-Devel] Multicast packets being lost (3.10 stable)

2014-12-10 Thread Linus Lüssing
cally generated queries -> f0b4eeced (since 3.18) If there's anything unclear, just let me know. Thanks :)! Cheers, Linus On Wed, Sep 10, 2014 at 03:33:41PM +0200, Linus Lüssing wrote: > I just got a complaint about bridges, multicast and a > 3.10 kernel again. Seems like nobody had a

Re: [OpenWrt-Devel] Regarding bridge multicast-to-unicast patch

2014-10-24 Thread Linus Lüssing
On Fri, Oct 24, 2014 at 06:35:27PM +0200, Felix Fietkau wrote: > On 2014-09-11 16:28, Linus Lüssing wrote: > > On Wed, Sep 10, 2014 at 04:31:37PM +0200, Linus Lüssing wrote: > >> Another approach would be > >> to add a feature to mac80211 to disable the forwarding of &

Re: [OpenWrt-Devel] Regarding bridge multicast-to-unicast patch

2014-10-24 Thread Linus Lüssing
PS: Also found another, small potential bug in your unicasting patch: The 'src = eth_hdr(skb)->h_source's you added can break because after this assignment but before the usage of 'src' there are calls to "pskb_may_pull(skb)". pskb_may_pull(skb) can reallocate the skb->data, potentially leading to

Re: [OpenWrt-Devel] Regarding bridge multicast-to-unicast patch

2014-09-11 Thread Linus Lüssing
On Thu, Sep 11, 2014 at 05:42:18PM +0200, Steven Barth wrote: > Well it seems to be still somewhat used in embedded stuff, e.g. my > 5-year old HP ethernet/802.11g printer/scanner/whatever still uses > MLDv1 / IGMPv2 to do its MDNS / SSDP business. Yeah, that's probably because IGMPv2/MLDv1 is way

Re: [OpenWrt-Devel] Regarding bridge multicast-to-unicast patch

2014-09-11 Thread Linus Lüssing
On Thu, Sep 11, 2014 at 04:51:41PM +0200, Felix Fietkau wrote: > On 2014-09-11 16:28, Linus Lüssing wrote: > > On Wed, Sep 10, 2014 at 04:31:37PM +0200, Linus Lüssing wrote: > >> Another approach would be > >> to add a feature to mac80211 to disable the forwarding of &

Re: [OpenWrt-Devel] Regarding bridge multicast-to-unicast patch

2014-09-11 Thread Linus Lüssing
On Wed, Sep 10, 2014 at 04:31:37PM +0200, Linus Lüssing wrote: > Another approach would be > to add a feature to mac80211 to disable the forwarding of > IGMPv2/MLDv1 reports to other STAs, only forwarding it on the own > AP interface so that the bridge would see all reports. Hrm,

Re: [OpenWrt-Devel] Regarding bridge multicast-to-unicast patch

2014-09-11 Thread Linus Lüssing
On Wed, Sep 10, 2014 at 05:02:04PM +0200, Felix Fietkau wrote: > I intentionally wanted to keep the implementation outside of mac80211, > because there are other scenarios where this could be useful. > I might have a dumb AP with no IGMP snooping capabilities connected to > an Ethernet interface, a

Re: [OpenWrt-Devel] Regarding bridge multicast-to-unicast patch

2014-09-10 Thread Linus Lüssing
On Wed, Sep 10, 2014 at 04:31:37PM +0200, Linus Lüssing wrote: > One more thing/optimization I was thinking of is, instead > of modifying the destination address of the frame whether the > 802.11 receiver address could be modified. For instance by letting > the bridge forward the des

Re: [OpenWrt-Devel] Regarding bridge multicast-to-unicast patch

2014-09-10 Thread Linus Lüssing
On Wed, Sep 10, 2014 at 03:49:18PM +0200, Felix Fietkau wrote: > On 2014-09-10 05:41, Linus Lüssing wrote: > > Hi Felix, > > > > Matthias just told me about the work you have done on the bridge > > code which can be found as 645-bridge_multicast_to_unicast.patch &g

Re: [OpenWrt-Devel] Multicast packets being lost (3.10 stable)

2014-09-10 Thread Linus Lüssing
nt since 3.14) 7) bridge: multicast: enable snooping on general queries only -> 20a599bec (present since 3.14) Let me know what you'd think about that or if there's any trouble applying them to older kernels. Cheers, Linus On Tue, Mar 25, 2014 at 02:06:07PM +0100, Linus Lüssing wrote:

[OpenWrt-Devel] Regarding bridge multicast-to-unicast patch

2014-09-09 Thread Linus Lüssing
Hi Felix, Matthias just told me about the work you have done on the bridge code which can be found as 645-bridge_multicast_to_unicast.patch in the OpenWRT repositord. I really like the idea of unicasting multicast packets to STAs. Especially as that would fit nicely with the work done on batman-a

[OpenWrt-Devel] [PATCH] scripts: Add git submodule support for within env profiles

2012-01-05 Thread Linus Lüssing
If one or more directories of an env profile consist of a git submodule, they will be checked out automatically now when switching to the according profile with 'scripts/env switch'. Signed-off-by: Linus Lüssing --- scripts/env |1 + 1 files changed, 1 insertions(+), 0 deletion

Re: [OpenWrt-Devel] [PATCH 1/2] dnsmasq: direct address return option for uci config

2012-01-05 Thread Linus Lüssing
On Mon, May 09, 2011 at 10:51:50PM +0200, John Crispin wrote: > On 09/04/11 07:00, Linus Lüssing wrote: > > hi, > > you should simply symlink /etc/resolv.conf to /tmp/resolv.conf.auto in > this case > > thx, > John Hi John, Ah, yes, you're right, that'

[OpenWrt-Devel] [PATCH] dnsmasq: direct address return option for uci config

2012-01-05 Thread Linus Lüssing
With this commit the --address option of dnsmasq, directly returning ip addresses for certain domains instead of querying the dns server, can be configured in the dhcp uci configuration file. See the dnsmasq manpage for further details of this option. Signed-off-by: Linus Lüssing --- package

[OpenWrt-Devel] [PATCH 1/2] [package] uhttpd: Fix wrong certificate options with multiple words

2011-11-06 Thread Linus Lüssing
For instance two word city names will result in weird certificates. Therefore adding the missing quotations. Signed-off-by: Linus Lüssing --- package/uhttpd/files/uhttpd.init |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/package/uhttpd/files/uhttpd.init b/package

Re: [OpenWrt-Devel] [PATCH 1/2] [package] uhttpd: Fix wrong certificate options with multiple words

2011-11-06 Thread Linus Lüssing
Don't wait for a [PATCH 2/2], it doesn't exist (my mistake in git-format-patch handling). ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

[OpenWrt-Devel] [PATCH] tinc: Add uci config and init files

2011-11-06 Thread Linus Lüssing
ards (the user needs to take care to not specify non-list parameters in both uci and native config). Signed-off-by: Linus Lüssing --- net/tinc/Makefile |7 ++ net/tinc/files/tinc.config | 54 ++ net/tinc/files/tinc.init| 227 +++

Re: [OpenWrt-Devel] [PATCH] Add tinc init file and add conffiles

2011-11-06 Thread Linus Lüssing
Hi Manuel, hi list, What do you think about maybe making it a little bit more uci-ish? This should make it easier to integrate into LuCI later for instance. And give the possibility to reconfigure things via the uci command line tool and scripts, of course. So, ehm, sorry for me throwing in this

[OpenWrt-Devel] [PATCH 2/2] dnsmasq: add option to avoid modifying resolv.conf

2011-09-11 Thread Linus Lüssing
query the upstream dns server - possibly fetched via an additional, local dhcp client - directly instead. With this new uci configuration option it is possible to prohibit dnsmasq to change /tmp/resolv.conf, leaving it as provided by the udhcpd. Signed-off-by: Linus Lüssing --- * shortened the

[OpenWrt-Devel] [PATCH 1/2] dnsmasq: direct address return option for uci config

2011-09-11 Thread Linus Lüssing
With this commit the --address option of dnsmasq, directly returning ip addresses for certain domains instead of querying the dns server, can be configured in the dhcp uci configuration file. See the dnsmasq manpage for further details of this option. Signed-off-by: Linus Lüssing --- package

Re: [OpenWrt-Devel] [RFC] generic: Include IPv6 support into the kernel for 2.6.38+

2011-04-28 Thread Linus Lüssing
In my opinion, that should be okay, but I'm also using IPv6 regularly. What would be the alternative, installing the bridge as a kernel module instead of kernel built-in as it is currently done? Hmm, if no one is screaming about any space issues and not wanting to have IPv6 installed, I guess it s

Re: [OpenWrt-Devel] [PATCH 2/2] dnsmasq: add option to avoid modifying resolv.conf

2011-04-08 Thread Linus Lüssing
PS: I'm not so happy with this long uci option name, 'resolvconfuntouched', but couldn't come up with anything better yet. Something like 'upstreaminsteadoflocaldnsserver' would be more descriptive but, well, even longer... Suggestions (and feedback for this patch in general) welcome :). __

[OpenWrt-Devel] [PATCH 2/2] dnsmasq: add option to avoid modifying resolv.conf

2011-04-08 Thread Linus Lüssing
query the upstream dns server - possibly fetched via an additional, local dhcp client - directly instead. With this new uci configuration option it is possible to prohibit dnsmasq to change /tmp/resolv.conf, leaving it as provided by the udhcpd. Signed-off-by: Linus Lüssing --- package/dnsmasq

[OpenWrt-Devel] [PATCH 1/2] dnsmasq: direct address return option for uci config

2011-04-08 Thread Linus Lüssing
With this commit the --address option of dnsmasq, directly returning ip addresses for certain domains instead of querying the dns server, can be configured in the dhcp uci configuration file. See the dnsmasq manpage for further details of this option. Signed-off-by: Linus Lüssing --- package

[OpenWrt-Devel] [PATCH] base-files: bridge config, avoid having a random ipv6 ll address

2011-04-02 Thread Linus Lüssing
d-off-by: Linus Lüssing --- package/base-files/files/lib/network/config.sh |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/package/base-files/files/lib/network/config.sh b/package/base-files/files/lib/network/config.sh index def1562..9489ccf 100755 --- a/package/base-

Re: [OpenWrt-Devel] mac80211 / ath9k / ibss / adhoc / probe-responses

2010-11-20 Thread Linus Lüssing
Hi Bastian, Just for the record, had the same issue with madwifi a month ago. In my case, there was even some rogue/broken other wifi device which was sending probe requests every 5ms, resulting in a congested medium due to my 4 devices in adhoc mode trying to answer them all. A workaround for me

[OpenWrt-Devel] [PATCH] [packages] tinc: update to 1.0.13

2010-05-23 Thread Linus Lüssing
Signed-off-by: Linus Lüssing --- net/tinc/Makefile |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/net/tinc/Makefile b/net/tinc/Makefile index 290a8a1..efd6735 100644 --- a/net/tinc/Makefile +++ b/net/tinc/Makefile @@ -8,14 +8,14 @@ include $(TOPDIR)/rules.mk

Re: [OpenWrt-Devel] [PATCH] including patches-folder in scripts/env

2009-11-12 Thread Linus Lüssing
Argh, screw this, don't know why I was thinking that such a folder might be parsed by the OpenWRT build environment... Sorry for the inconvenience. signature.asc Description: Digital signature ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.o

[OpenWrt-Devel] [PATCH] including patches-folder in scripts/env

2009-11-12 Thread Linus Lüssing
This patch includes a "patches" folder in the base directoy to scripts/env's version control. Such a folder will be treated the same way as the "files" folder. Signed-off-by: Linus Lüssing In

Re: [OpenWrt-Devel] [PATCH] fix madwifi crash in sc_cal_ch timer

2009-09-23 Thread Linus Lüssing
Yepp Felix, that one fixes ticket #5821 too, can't reproduce that bug with this patch either. Thanks you two. Cheers, Linus signature.asc Description: Digital signature ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwr

Re: [OpenWrt-Devel] [PATCH] add ifplugd

2009-09-21 Thread Linus Lüssing
By the way, ifplugd compiles and runs fine for me, though the link detection does not seem to fully work for my Dlink DIR-300 (atheros, ip175c switch chip) yet. The vlans are always shown as "link beat detected", but I don't know what would have to be patched for that (ip175c driver? swconfig? ifpl

[OpenWrt-Devel] [PATCH] add ifplugd

2009-09-21 Thread Linus Lüssing
This patch adds ifplugd - a 'Network Interface Plug Detection Daemon' - to OpenWRT's repository. This lightweight daemon can execute scripts when a cable is plugged in or pulled out. Signed-off-by: Linus Lüssing Index: packages/net/i

Re: [OpenWrt-Devel] [PATCH] fix madwifi crash in sc_cal_ch timer

2009-09-20 Thread Linus Lüssing
This patch fixes ticket #5821 for me (though I don't understand why it does so). I've compiled the exact same firmware, except one time with and one time without this patch - I'm not able to reproduce the bug anymore with it. Cheers, Linus signature.asc Description: Digital signature ___

[OpenWrt-Devel] [PATCH] mini_snmpd: support for IPv6

2009-08-01 Thread Linus Lüssing
The following patch adds IPv6 support to mini-snmpd in the packages repository. It is then able to handle requests from IPv4 and IPv6 clients. Signed-off-by: Linus Lüssing Index: net/mini_snmpd/patches/104-ipv6-support.patch