summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* nodogsplash2: update to 2.1.2lede-17.01Alexander Couzens2020-05-061-2/+2
| | | | | | Fixes a path traversal attack. Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
* Merge pull request #556 from ecsv/batadv-for-17.01Simon Wunderlich2020-03-102-1/+38
|\ | | | | lede-17.01: batman-adv: Merge bugfixes from 2020.0
| * batman-adv: Merge bugfixes from 2020.0Sven Eckelmann2020-03-062-1/+38
| | | | | | | | | | | | * Don't schedule OGM for disabled interface Signed-off-by: Sven Eckelmann <sven@narfation.org>
* | Merge pull request #538 from ecsv/batadv-for-17.01Simon Wunderlich2019-12-148-30/+73
|\| | | | | lede-17.01: batman-adv: Merge bugfixes from 2019.5
| * batman-adv: Merge bugfixes from 2019.5Sven Eckelmann2019-12-138-30/+73
|/ | | | | | * fix DAT candidate selection on little endian systems Signed-off-by: Sven Eckelmann <sven@narfation.org>
* Merge pull request #521 from ecsv/batadv-for-17.01Simon Wunderlich2019-10-267-0/+843
|\ | | | | lede-17.01: batman-adv: Merge bugfixes from 2019.4
| * batman-adv: Merge bugfixes from 2019.4Sven Eckelmann2019-10-257-0/+843
|/ | | | | | | | | | | | * fix uninit-value in batadv_netlink_get_ifindex() * Only read OGM tvlv_len after buffer len check * Only read OGM2 tvlv_len after buffer len check * Avoid free/alloc race when handling OGM2 buffer * Avoid free/alloc race when handling OGM buffer * Introduce own OGM2 buffer mutex * Avoid OGM workqueue synchronous cancel deadlock Signed-off-by: Sven Eckelmann <sven@narfation.org>
* Merge pull request #473 from ecsv/batadv-for-17.01Simon Wunderlich2019-06-022-1/+84
|\ | | | | lede-17.01: batman-adv: Fix duplicated OGMs on NETDEV_UP
| * batman-adv: Fix duplicated OGMs on NETDEV_UPSven Eckelmann2019-06-022-1/+84
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The state of slave interfaces are handled differently depending on whether the interface is up or not. All active interfaces (IFF_UP) will transmit OGMs. But for B.A.T.M.A.N. IV, also non-active interfaces are scheduling (low TTL) OGMs on active interfaces. The code which setups and schedules the OGMs must therefore already be called when the interfaces gets added as slave interface and the transmit function must then check whether it has to send out the OGM or not on the specific slave interface. But v2016.3 moved the setup code from the enable function to the activate function. The latter is called either when the added slave was already up when batadv_hardif_enable_interface processed the new interface or when a NETDEV_UP event was received for this slave interfac. As result, each NETDEV_UP would schedule a new OGM worker for the interface and thus OGMs would be send a lot more than expected. Fixes: 549909f89dd7 ("batman-adv: upgrade package to latest release 2016.3") Reported-by: Linus Lüssing <linus.luessing@c0d3.blue> Signed-off-by: Sven Eckelmann <sven@narfation.org>
* | Merge pull request #470 from ecsv/batadv-for-17.01Simon Wunderlich2019-05-243-1/+133
|\| | | | | lede-17.01: batman-adv: Merge bugfixes from 2019.2
| * batman-adv: Merge bugfixes from 2019.2Sven Eckelmann2019-05-233-1/+133
|/ | | | | | | * mcast: fix multicast tt/tvlv worker locking * fix for leaked TVLV handler Signed-off-by: Sven Eckelmann <sven@narfation.org>
* Merge pull request #463 from ecsv/batadv-17.01Simon Wunderlich2019-03-2977-315/+368
|\ | | | | lede-17.01: batman-adv: Merge bugfixes from 2019.1
| * batman-adv: Merge bugfixes from 2019.1Sven Eckelmann2019-03-285-1/+296
| | | | | | | | | | | | | | | | | | * fix uninit-value in batadv_interface_tx() * Reduce claim hash refcnt only for removed entry * Reduce tt_local hash refcnt only for removed entry * Reduce tt_global hash refcnt only for removed entry Signed-off-by: Sven Eckelmann <sven@narfation.org>
| * batctl: Refresh patchesSven Eckelmann2019-02-1113-54/+13
| | | | | | | | Signed-off-by: Sven Eckelmann <sven@narfation.org>
| * batman-adv: Refresh patchesSven Eckelmann2019-02-1159-260/+59
| | | | | | | | Signed-off-by: Sven Eckelmann <sven@narfation.org>
* | Merge pull request #443 from ecsv/batadv-17.01Simon Wunderlich2019-01-163-1/+88
|\| | | | | lede-17.01: batman-adv: Merge bugfixes from 2019.0
| * batman-adv: Merge bugfixes from 2019.0Sven Eckelmann2019-01-163-1/+88
| | | | | | | | | | | | | | * Avoid WARN on net_device without parent in netns * Force mac header to start of data on xmit Signed-off-by: Sven Eckelmann <sven@narfation.org>
* | Merge pull request #424 from ecsv/batadv-17.01Simon Wunderlich2018-11-083-1/+103
|\| | | | | lede-17.01: batman-adv: Merge bugfixes from 2018.4
| * batman-adv: Merge bugfixes from 2018.4Sven Eckelmann2018-11-083-1/+103
| | | | | | | | | | | | | | * Use explicit tvlv padding for ELP packets * Expand merged fragment buffer for full packet Signed-off-by: Sven Eckelmann <sven@narfation.org>
* | Merge pull request #413 from ecsv/batadv-17.01Simon Wunderlich2018-09-1712-1/+676
|\| | | | | lede-17.01: batman-adv: Merge bugfixes from 2018.3
| * batman-adv: Merge bugfixes from 2018.3Sven Eckelmann2018-09-1512-1/+676
|/ | | | | | | | | | | | | | | * Avoid probe ELP information leak * Fix segfault when writing to throughput_override * Fix segfault when writing to sysfs elp_interval * fix backbone_gw refcount on queue_work() failure * fix hardif_neigh refcount on queue_work() failure * Prevent duplicated gateway_node entry * Prevent duplicated nc_node entry * Prevent duplicated softif_vlan entry * Prevent duplicated global TT entry * Prevent duplicated tvlv handler Signed-off-by: Sven Eckelmann <sven@narfation.org>
* Nodogsplash2 backport (#382)Moritz Warning2018-06-133-0/+535
| | | | | | | nodogsplash2: initial package Signed-off-by: Rob White <rob@blue-wave.net> Signed-off-by: Moritz Warning <moritzwarning@web.de>
* Merge pull request #386 from ecsv/batadv-17.01Simon Wunderlich2018-06-134-1/+103
|\ | | | | lede-17.01: batman-adv: add patches from 2018.1-maint 2018-06-12
| * batman-adv: add patches from 2018.1-maint 2018-06-12Sven Eckelmann2018-06-124-1/+103
| | | | | | | | | | | | | | | | * compat: initialize sinfo in cfg80211_get_station * Avoid storing non-TT-sync flags on singular entries too * Fix multicast TT issues with bogus ROAM flags Signed-off-by: Sven Eckelmann <sven@narfation.org>
* | Merge pull request #381 from ecsv/batadv-17.01Simon Wunderlich2018-06-048-1/+674
|\| | | | | lede-17.01: batman-adv: Merge bugfixes from 2018.1-maint 2018-06-03
| * batman-adv: Merge bugfixes from 2018.1-maint 2018-06-03Sven Eckelmann2018-06-038-1/+674
| | | | | | | | | | | | | | | | | | | | | | | | * Avoid race in TT TVLV allocator helper * Fix TT sync flags for intermediate TT responses * prevent TT request storms by not sending inconsistent TT TLVLs * Fix bat_ogm_iv best gw refcnt after netlink dump * Fix bat_v best gw refcnt after netlink dump * Fix debugfs path for renamed hardif * Fix debugfs path for renamed softif Signed-off-by: Sven Eckelmann <sven@narfation.org>
* | Merge pull request #366 from ecsv/batadv-17.01Moritz Warning2018-05-027-1/+340
|\| | | | | lede-17.01: batman-adv: Merge bugfixes from 2018.1
| * batman-adv: Merge bugfixes from 2018.1Sven Eckelmann2018-04-257-1/+340
| | | | | | | | | | | | | | | | | | | | | | * Fix skbuff rcsum on packet reroute * update data pointers after skb_cow() * fix header size check in batadv_dbg_arp() * Fix multicast packet loss with a single WANT_ALL_IPV4/6 flag * fix multicast-via-unicast transmission with AP isolation * fix packet loss for broadcasted DHCP packets to a server Signed-off-by: Sven Eckelmann <sven@narfation.org>
* | Merge pull request #373 from gabri94/lede-17.01Saverio Proto2018-05-024-45/+102
|\ \ | |/ |/| prince: version bump to v0.4
| * prince: version bump to v0.4Gabriele Gemmi2018-05-024-45/+102
|/ | | | Signed-off-by: Gabriele Gemmi <gabriel@autistici.org>
* Merge pull request #356 from SvenRoederer/patch-1Simon Wunderlich2018-03-281-1/+1
|\ | | | | batman-adv: bump package-release
| * batman-adv: bump package-releaseSven Roederer2018-03-261-1/+1
|/ | | | | | bump release as of merge 45d25d4dc41b5ab1b5e54d9425fec2ce66bc2f9a Signed-off-by: Sven Roederer <freifunk@it-solutions.geroedel.de>
* Merge pull request #350 from ecsv/batadv-17.01Moritz Warning2018-03-047-0/+513
|\ | | | | lede-17.01: batman-adv: Merge bugfixes from 2018.0
| * batman-adv: Merge bugfixes from 2018.0Sven Eckelmann2018-02-277-0/+513
| | | | | | | | | | | | | | | | | | | | | | | | * fix packet checksum in receive path * invalidate checksum on fragment reassembly * Ignore invalid batadv_iv_gw during netlink send * Ignore invalid batadv_v_gw during netlink send * Fix netlink dumping of BLA claims * Fix netlink dumping of BLA backbones * Fix internal interface indices types Signed-off-by: Sven Eckelmann <sven@narfation.org>
* | Revert "bmx6: fix gcc6&7 warnings, avoid json-c patch"Axel Neumann2018-01-292-2/+15
| | | | | | | | This reverts commit b19d008932820a7da7103d2269cbe52e8d659ec2.
* | bmx6: fix gcc6&7 warnings, avoid json-c patchAxel Neumann2018-01-132-16/+3
| |
* | Merge pull request #338 from ecsv/batadv-17.01Moritz Warning2018-01-0638-6/+2071
|\| | | | | lede-17.01: batman-adv: Merge bugfixes from v2017.4
| * batman-adv: Merge bugfixes from 2017.4Sven Eckelmann2017-12-2624-5/+1459
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fix lock for ogm cnt access in batadv_iv_ogm_calc_tq * Fix check of retrieved orig_gw in batadv_v_gw_is_eligible * Always initialize fragment header priority * Avoid spurious warnings from bat_v neigh_cmp implementation * fix TT sync flag inconsistencies * Accept only filled wifi station info * Use default throughput value on cfg80211 error * do not add loop detection mac addresses to global tt * Fix rx packet/bytes stats on local ARP reply * handle race condition for claims between gateways * fix memory leak when dropping packet from other gateway * drop unicast packets from other backbone gw * prevent duplication of ARP replies when DAT is used * prevent multiple ARP replies sent by gateways if dat enabled * Initialize gw sel_class via batadv_algo * Keep fragments equally sized * decrease maximum fragment size * don't add loop detect macs to TT * Treat NET_XMIT_CN as transmit successfully Signed-off-by: Sven Eckelmann <sven@narfation.org>
| * batctl: Merge bugfixes from v2017.4Sven Eckelmann2017-12-2614-1/+612
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Handle allocation error in vlan_get_link_parse * Simplify concatenation of pathnames * tcpdump: Fix types for for TT v1 * Free nl_sock when if_nametoindex failed * Free nl_sock on genl_ctrl_resolve error * Handle nl_cb_alloc errors * Handle nl_socket_alloc errors * Handle nlmsg_alloc errors * Handle allocation error for path_buff * Handle failure during hash_iterator allocation * Print dummy value when localtime failed * suppress implicit-fallthrough compiler warning * change PATH_BUFF_LEN to maximal possible value Signed-off-by: Sven Eckelmann <sven@narfation.org>
* | bmx7_json: Fix broken include of json.hAxel Neumann2018-01-061-2/+2
| |
* | Merge pull request #342 from openwrt-routing/p4u/update-luci-app-bmx6-lede-17.01Pau2018-01-0637-895/+447
|\ \ | | | | | | Update luci app bmx6 lede 17.01
| * | luci-app-bmx6: replace dependency of luci-mod-admin-full for luci-basePau Escrich2017-12-161-2/+2
| | | | | | | | | | | | Signed-off-by: Pau Escrich <p4u@dabax.net>
| * | luci-app-bmx6: remove '$' as identifier for special json functionsPau Escrich2017-12-161-8/+11
| | | | | | | | | | | | Signed-off-by: Pau Escrich <p4u@dabax.net>
| * | luci-app-bmx: Redesign Makefile. Split JS libraries. Clean packagePau Escrich2017-12-1636-776/+326
| | | | | | | | | | | | | | | | | | Add luci-lib-jquery-1-4 and luci-lib-dracula packages. Remove unused library Curry. Signed-off-by: Pau Escrich <p4u@dabax.net>
| * | luci-app-bmx6: add new methods to bmx6-info and clean/sanityze the codePau Escrich2017-12-161-90/+89
| |/ | | | | | | Signed-off-by: Pau Escrich <p4u@dabax.net>
* / Use code repo from https://github.com/bmx-routingAxel Neumann2018-01-023-25/+9
|/ | | | Remove bmx7 json-c patch
* Merge pull request #309 from HRogge/lede-17.01Jo-Philipp Wich2017-12-074-7/+24
|\ | | | | Update OONF to 0.14.1-1
| * Update OONF to 0.14.1-1Henning Rogge2017-07-034-7/+24
| |
* | bmx7: Update to fix raspberry compilation errorAxel Neumann2017-07-101-2/+2
| |
* | Merge pull request #312 from hnyman/miniupnpd-1701Jo-Philipp Wich2017-07-055-27/+20
|\ \ | |/ |/| Backport miniupnpd changes to 17.01