- Jul 25, 2018
-
-
David Bauer authored
-
- Jul 23, 2018
-
-
David Bauer authored
-
- Jul 22, 2018
-
-
Sven Eckelmann authored
The commit b3762fc6 ("gluon-client-bridge: move IPv4 local subnet route to br-client (#1312)") moves the IPv4 prefix from the local-port interface to br-client. A client requesting an IPv4 connection to the IPv4 anycast address of the node (the device running gluon) will create following packets: 1. ARP packet from client to get the MAC of the mac address of the anycast IPv4 address 2. ARP reply from node to client with the anycast MAC address for the IPv4 anycast address 3. IPv4 packet from client which requires reply (for example ICMP echo request) 4. ARP request for the client MAC address for its IPv4 address in prefix4 (done with the mac address of br-client and transmitted over br-client) 5. IPv4 packet from node (transmitted over br-client with br-client MAC address) as reply for the client IPv4 packet (for example ICMP echo reply) The step 4 and 5 are problematic here because packets use the node specific MAC addresses from br-client instead of the anycast MAC address. The client will receive the ARP packet with the node specific MAC address and change their own neighbor IP (translation) table. This will for example break the access to the status page to the connected device or the anycast DNS forwarder implementation when the client roams to a different node. This reverts commit b3762fc6 and adds an upgrade code to remove local_node_route on on existing installations.
-
Sven Eckelmann authored
The commit b3762fc6 ("gluon-client-bridge: move IPv4 local subnet route to br-client (#1312)") moves the IPv4 prefix from the local-port interface to br-client. A client requesting an IPv4 connection to the IPv4 anycast address of the node (the device running gluon) will create following packets: 1. ARP packet from client to get the MAC of the mac address of the anycast IPv4 address 2. ARP reply from node to client with the anycast MAC address for the IPv4 anycast address 3. IPv4 packet from client which requires reply (for example ICMP echo request) 4. ARP request for the client MAC address for its IPv4 address in prefix4 (done with the mac address of br-client and transmitted over br-client) 5. IPv4 packet from node (transmitted over br-client with br-client MAC address) as reply for the client IPv4 packet (for example ICMP echo reply) The step 4 is extremely problematic here. ARP replies with the anycast IPv4 address must not be submitted or received via bat0 - expecially not when it contains an node specific MAC address as source. When it is still done then the wrong MAC address is stored in the batadv DAT cache and ARP packet is maybe even forwarded to clients. This latter is especially true for ARP requests which are broadcast and will be flooded to the complete mesh. Clients will see these ARP packets and change their own neighbor IP (translation) table. They will then try to submit the packets for IPv4 anycast addresses to the complete wrong device in the mesh. This will for example break the access to the status page to the connected device or the anycast DNS forwarder implementation. Especially the latter causes extreme latency when clients try to connect to server using a domain name or even breaks the connection setup process completely. Both are caused by the unanswered DNS requests which at first glance look like packet loss. An node must therefore take care of: * not transmitting ARP packets related to the anycast IPv4 address over bat0 * drop ARP packets related to the anycast IPv4 when they are received on bat0 from a still broken node * don't accept ARP packets related to the anycast IPv4 replies on local node when it comes from bat0 Fixes: b3762fc6 ("gluon-client-bridge: move IPv4 local subnet route to br-client (#1312)")
-
- Jul 19, 2018
-
-
Adorfer authored
-
- Jul 18, 2018
-
-
Matthias Schiffer authored
a297324a135a base-files: fix wrong sysctl parameter order 1e48546a6ad1 igmpproxy: run in foreground for procd
-
- Jul 17, 2018
-
-
Matthias Schiffer authored
-
Matthias Schiffer authored
-
Matthias Schiffer authored
-
Matthias Schiffer authored
-
Matthias Schiffer authored
-
Matthias Schiffer authored
-
Matthias Schiffer authored
-
Matthias Schiffer authored
-
Matthias Schiffer authored
787a5f9c555b gcc: enable compilation with gcc 7.x
-
Matthias Schiffer authored
f8cc68670fcf mediatek: fix parallel build issues in image build code 1086408b17fa mtd: improve check for TRX header being already fixed 5dca299fabc4 mtd: support bad blocks within the mtd_fixtrx() 5889cf70e99f kmod-sched-cake: bump to 20180716 393ee8d0b28a qos-scripts: fix uci callback handling c9c0fc28a9c4 base-files: fix UCI config parsing and callback handling aee917a5a28d apm821xx: fix usb-otg on 4.14 3539430b3daa odhcp6c: add noserverunicast config option for broken DHCPv6 servers 6363377c477f odhcp6c: update to latest git HEAD ce8cab388aab odhcp6c: user string option support dc52b7b104aa ipq40xx: add get_status_led to diag.sh 7fc7128b086a OpenWrt v18.06.0-rc2: revert to branch defaults 4de335bdbed6 OpenWrt v18.06.0-rc2: adjust config defaults e4d0ee5af5a0 uhttpd: update to latest Git head
-
- Jul 15, 2018
-
-
David Bauer authored
Add support for IBSS meshing. Leave target marked as BROKEN for IBSS as stability is unknown and WiFi LEDs are not working. Functionality was tested in the network of Freifunk Frankfurt with other ipq40xx and ar71xx devices.
-
David Bauer authored
This commit allows for binary content in patches created via 'make update-patches'. Binary patches are needed for BDFs required for al boards on the new ipq40xx target. Before this commit, binaries were omitted from the generated patch which resulted in the patch not able to apply. Patches without binary content do not differ in case they are created with the '--binary' flag.
-
David Bauer authored
This commit adds support for the new ipq40xx target.
-
Christoph Krapp authored
Support is marked as broken because this device is sold in two variants, one with 64M RAM and another with 128M. As of now 64M is not enough for ath10k with 5GHz enabled. As there is no indication known which variant one will get better mark it as broken. Signed-off-by:
Christoph Krapp <achterin@googlemail.com>
-
- Jul 14, 2018
-
-
Matthias Schiffer authored
-
Matthias Schiffer authored
Fixes: #1463
-
Matthias Schiffer authored
The new extra_image command allows to copy additional images that don't fall into the sysupgrade or factory categories to the output directory. These images will be placed in the "other" subdirectory. The extra_image command takes 3 arguments: in_suffix (suffix in OpenWrt bin directory), out_suffix (suffix in Gluon output directory) and ext (file extension). Example: extra_image '-tftp' '-tftp' '.bin' The ext argument can be omitted to control the whole filename suffix including the extension from in_suffix and out_suffix. Multiple extra_image commands can be used for a single device; aliases work as usual. Based-on-patch-by:
David Bauer <mail@david-bauer.net>
-
Matthias Schiffer authored
-
Matthias Schiffer authored
a7b2764879db include/prereq-build.mk: explicitly check for -f flag when using busybox time
-
Matthias Schiffer authored
-
Matthias Schiffer authored
bc7abe8729f3 include/kernel-build.mk: fix kernel rebuild on backport patch changes c99c70e05303 kernel: backport page fragment API changes from 4.10+ to 4.9
-
- Jul 13, 2018
-
-
Matthias Schiffer authored
Do not break the build on kernel 4.9 (ar71xx).
-
Matthias Schiffer authored
-
Matthias Schiffer authored
3e81365141e4 kernel: gen_stats: Fix netlink stats dumping in the presence of padding dd1f97b37d41 ramips: clean up and fix MT7621 NAND driver issues 68f40d7ecc4c mt76: update to the latest version 16a9ddfe64e2 ramips: ethernet: use own page_frag_cache 0e6cfb691914 ramips: ethernet: use skb_free_frag to free fragments
-
- Jul 12, 2018
-
-
David Bauer authored
-
Matthias Schiffer authored
514a4b3e1b4e include/feeds.mk: rework generation of opkg distfeeds.conf 3e89f58a5ead base-files: fix feed list in PKG_CONFIG_DEPENDS 7fa7c854fe33 include/feeds.mk: always add available feeds to PACKAGE_SUBDIRS a5b9553cf592 scripts/feeds: add src-dummy method 2f306873efbe ramips: TP-Link TL-WR902AC v3: add missing wps button 36a4681b2bef ramips: TP-Link TL-WR902AC v3: don't build factory image ca903c73c705 kernel: bump 4.14 to 4.14.54 for 18.06 3a5498c5e55d kernel: bump 4.9 to 4.9.111 for 18.06 27014da237f1 mac80211: Expose support for ath9k Dynack 5a40fad22a39 kernel: bcm47xxpart: fix getting user-space data partition name
-
- Jul 11, 2018
-
-
Julian authored
-
Matthias Schiffer authored
modules.sh can't depend on openwrt/feeds.conf.default, otherwise the initial update will fail.
-
Julian authored
-
- Jul 10, 2018
-
-
Matthias Schiffer authored
-
- Jul 08, 2018
-
-
Matthias Schiffer authored
-
Matthias Schiffer authored
-
Matthias Schiffer authored
-