Commit Graph

1495 Commits

Author SHA1 Message Date
Nils Schneider
a48495a7c7 Merge pull request #500 from freifunk-gluon/sigtest
contrib/sigtest.sh - testing signature
2015-10-08 22:11:47 +02:00
Matthias Schiffer
595e337d9a x86: include kmod-forcedeth into generic and 64 subtargets 2015-10-08 13:21:50 +02:00
Matthias Schiffer
9640e66005 Merge pull request #448 from ff3l/french
Französische Übersetzung
2015-09-23 09:45:15 +09:00
Matthias Schiffer
57a3016148 Update OpenWrt base 2015-09-22 20:53:49 +09:00
kb-light
955dc886a8 gluon-mesh-batman-adv-core: prepare for 802.11s mesh
keep macfilter and maclist config after fw-update
2015-09-22 10:48:09 +02:00
Matthias Schiffer
46f996b4f0 Update modules
This also takes us past the OpenWrt 15.05 final release.
2015-09-21 21:02:31 +09:00
Steffen Möller
68459dab00 contrib/sigtest.sh - testing signature 2015-09-19 15:31:07 +02:00
Ronny Trommer
3f72e682c5 Update build dependency documentation
Build requires Python 2 and libssl-dev
2015-09-19 15:15:00 +02:00
Jan-Philipp Litza
d3063ed2e1 Merge pull request #493 from rubo77/patch-4
docs: Suggest MTU 1280 to circumvent Kabel Deutschland problems
2015-09-19 15:05:59 +02:00
Jan-Philipp Litza
2a0ca129d2 Merge pull request #494 from rubo77/patch-5
docs: Suggest peer limit 1 instead of 2
2015-09-19 15:05:55 +02:00
srauscher
16888d214d Add french translation 2015-09-17 07:28:09 +02:00
Ruben Barkow
0035aa2989 docs: Suggest MTU 1280 to circumvent Kabel Deutschland problems 2015-09-14 11:47:51 +02:00
Ruben Barkow
be49f755c7 docs: Suggest peer limit 1 instead of 2 2015-09-14 11:46:46 +02:00
Nils Schneider
a6a281f545 Merge pull request #497 from rubo77/patch-6
CONTRIBUTING.md: Typo "everybode"
2015-09-14 11:42:58 +02:00
Ruben Barkow
439f00d576 Typo "everybode" 2015-09-14 11:40:10 +02:00
Michael Rüttgers
f03ccf86d6 Add support for x86-xen_domu target
Config for rootfs and grub is not needed anymore (https://dev.openwrt.org/ticket/18074)

Config file not needed anymore (set implicitly by gluon now)

Avoid empty vars
2015-09-14 09:10:50 +02:00
Nils Schneider
71cdd65f30 Merge pull request #495 from aeickho/patch-4
add: info for 802.11s interface (mac)
2015-09-13 14:37:41 +02:00
Alex
b465504ae8 add: info for 802.11s interface
additional information for commit 2a93c58042
2015-09-13 14:32:53 +02:00
Nils Schneider
2a9d7d82cb contributing: mention "rejected features" wiki page 2015-09-12 18:52:04 +02:00
Matthias Schiffer
a71ab2fb72 Get rid of rpcd
LuCI's authentication won't work without rpcd, but we aren't using the
authentication anyways. Users who need it can just install rpcd explicitly.

Fixes #452
2015-09-06 01:37:42 +02:00
Matthias Schiffer
2ca4010714 Merge remote-tracking branch 'origin/status-page-api' 2015-09-05 18:56:58 +02:00
Nils Schneider
014f5751c8 gluon-status-page-api: increase uhttp.max_requests to 32
Now that the status page api has been rewritten in C CPU load and memory
usage is much lower. Also, nodes with both ibss and 11s mesh and dual
band wifi may require up to 9 connections for a single client, thus the
previous limit of 12 seemed a little low.
2015-09-05 12:11:35 +02:00
Nils Schneider
8be372a590 gluon-status-page-api: rewrite stations in C 2015-09-05 12:11:33 +02:00
Nils Schneider
4b8f6c9835 gluon-status-page-api: rewrite neighbours-batadv in C 2015-09-05 11:47:44 +02:00
Nils Schneider
431ac81407 gluon-status-page-api: split API from gluon-status-page
This will make it easier to replace the API with C programs.
2015-09-05 11:47:44 +02:00
Linus Lüssing
7a4d07ebff bridges: reenable multicast snooping
A few issues with the bridge snooping were identified and fixed
upstream in OpenWRT:

* "firewall: Allow IGMP and MLD input on WAN" (r45613)
* "kernel: bridge: backport two snooping related patches" (r45783)
* netifd: "bridge: Fix multicast_to_unicast feature by hairpin+isolate"
  (OW: "netifd: update to the latest version, adds multicast-to-unicast fixes" (r46719))
* "kernel: bridge, multicast-to-unicast: assign src after pskb_may_pull()" (r46721)
* "kernel: bridge, multicast-to-unicast: fix echoes on STA" (46765)

These have very likely caused issues with the bridge snooping before,
which led to disabling it in the past. Let's reenable the multicast
snooping now that they were fixed for reduced multicast overhead on the
wifi.

Signed-off-by: Linus Lüssing <linus.luessing@c0d3.blue>
2015-09-05 05:17:49 +02:00
Linus Lüssing
0e13e6c4f4 backport: "firewall: Allow IGMP and MLD input on WAN" (r45613)
Backport the according modifications to the default firewall settings of
the WAN interface from OpenWRT, revision 45613.

Signed-off-by: Linus Lüssing <linus.luessing@c0d3.blue>
2015-09-05 05:17:48 +02:00
Linus Lüssing
bc35d6916a gluon-mesh-batman-adv-core: Always forward towards mesh/batman-adv
Since we just segmented the IGMP/MLD domain between node and
mesh boundaries, we will not be able to keep track of multicast
listeners on other nodes from the bridge anymore.

Therefore we need to always hand any multicast packets we received from
local clients to batman-adv. We can do this by setting the bridge port
option "multicast_router" to 2.

Signed-off-by: Linus Lüssing <linus.luessing@c0d3.blue>
2015-09-05 05:17:48 +02:00
Linus Lüssing
c5ce1525e6 ebtables-filter-mcast: Segment IGMP/MLD domain
Filter IGMP/MLD messges so that we can have an IGMP/MLD querier per
node. Segmenting the IGMP/MLD domain on a per node basis allows us
to *not* rely on a central querier (on a gateway for instance) to
take advantage of multicast snooping.

Even though we receive no more reports from other nodes anymore then,
the "multicast_router" bridge port setting will ensure to always
forward multicast packets towards bat0 (unless filtered by another
ebtables rule).

Note that IGMP/MLD are filtered for multicast traffic coming from
the mesh, too (new MULTICAST_IN), as unfortunately there seem to
be other queriers somewhere in the mesh at least for Freifunk
Lübeck. Such queriers would potentially confuse / silence the
querier on a node.

Signed-off-by: Linus Lüssing <linus.luessing@c0d3.blue>
2015-09-05 05:17:48 +02:00
Linus Lüssing
f63d4a27ea ebtables-filter-mcast: Remove redundant allow-filter for hop-by-hop
ebtables actually skips any IPv6 extension headers like the hop-by-hop
one. So this rule is actually void.

The intend back then was to allow passing MLD messages into the mesh.
Since extension headers are skipped, the general icmpv6 rule will
actually match MLD messages. So the hop-by-hop rule is unnecessary,
too.

Signed-off-by: Linus Lüssing <linus.luessing@c0d3.blue>
2015-09-05 05:17:48 +02:00
Linus Lüssing
37dde25598 kernel: bridge: multicast-to-unicast related fixes
This commit backports fixes from OpenWRT trunk regarding the
multicast-to-unicast feature for the Linux bridge:

* Revert "kernel: disable multicast-to-unicast translation for ipv6 neighbor solicitation (#17625)"
* kernel: bridge, multicast-to-unicast: assign src after pskb_may_pull()
* kernel: bridge, multicast-to-unicast: fix echoes on STA

Signed-off-by: Linus Lüssing <linus.luessing@c0d3.blue>
2015-09-05 05:17:48 +02:00
Linus Lüssing
6f5704624d netifd: bridge related fixes + config options
This commit backports upstream patches in netifd / OpenWRT trunk,
regarding bridges:

* bridge: Fix multicast_to_unicast feature by hairpin+isolate
* bridge: Allow setting multicast_to_unicast option
* bridge: Allow setting multicast_router option

Signed-off-by: Linus Lüssing <linus.luessing@c0d3.blue>
2015-09-05 05:17:35 +02:00
Matthias Schiffer
d19b05e7b7 Merge remote-tracking branch 'origin/br-client-ifname-list' 2015-09-04 21:13:08 +02:00
Nils Schneider
34752c7e0b br-client: convert option ifname to list ifname
Convert option ifname in br-client to use a list instead. This
simplifies adding and remove interfaces:

uci:add_to_set("network", "client", "ifname", "eth0")
uci:remove_from_set("network", "client", "ifname", "eth0")

An option ifname will be automatically converted to a list when
performing an upgrade.

Packages affected: gluon-mesh-batman-adv-core, gluon-luci-portconfig
2015-09-04 20:31:53 +02:00
Nils Schneider
7c6703d84b luci.model.uci: add add_to_set / remove_from_set 2015-09-04 20:31:53 +02:00
Matthias Schiffer
faba9efb88 Merge branch 'jsonc-sink' of https://github.com/FreifunkBremen/gluon 2015-09-04 17:15:58 +02:00
Jan-Philipp Litza
961e6cc1c0 Add sink support to luci-lib-jsonc and use it where needed 2015-09-04 12:27:45 +02:00
Nils Schneider
96033758ab Merge pull request #473 from FreifunkBremen/batctl-if-lua
Don't fork batctl from announce scripts
2015-09-04 11:40:00 +02:00
Matthias Schiffer
e3d89ee8c4 ath9k: add HSR tuner support for UniFi Outdoor Plus 2015-09-03 23:51:19 +02:00
Matthias Schiffer
f0a6400d5d Refresh OpenWrt patches 2015-09-03 22:03:46 +02:00
Matthias Schiffer
d2909270a7 Merge remote-tracking branch 'origin/odhpc6c-minor-fixes' 2015-09-03 20:59:31 +02:00
Nils Schneider
40a1a3c16c odhcp6c: minor fixes 2015-09-03 18:07:48 +02:00
Jan-Philipp Litza
bccf4f7b21 gluon-mesh-batman-adv-core: Add lua code for iface listing, don't fork 2015-09-03 16:33:13 +02:00
Matthias Schiffer
3599d8912b Merge branch 'slim-down-lua-scripts' of https://github.com/FreifunkBremen/gluon 2015-09-03 15:29:27 +02:00
Matthias Schiffer
501affad08 Revert "mac80211: backport from trunk r46760"
This reverts commit 91b3c1d371.
2015-09-03 15:24:51 +02:00
Matthias Schiffer
740e8b67c5 Revert "ar71xx: fix TP-LINK TL-WR941ND v6 support"
This reverts commit 6da1677d92.
2015-09-03 15:24:42 +02:00
Nils Schneider
21935ffc81 gluon-status-page: set html encoding to utf-8 2015-09-02 21:19:41 +02:00
Jan-Philipp Litza
339a6c9959 Remove dependencies on luci.util (and partly nixio.fs) from announce scripts 2015-09-02 13:17:59 +02:00
Matthias Schiffer
6da1677d92 ar71xx: fix TP-LINK TL-WR941ND v6 support 2015-09-01 22:14:57 +02:00
Matthias Schiffer
91b3c1d371 mac80211: backport from trunk r46760 2015-09-01 22:14:57 +02:00