Commit Graph

1150 Commits

Author SHA1 Message Date
Alexander Couzens 2f5c10f917 nodogsplash2: update to 2.1.2
Fixes a path traversal attack.

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
2020-05-06 13:24:40 +02:00
Simon Wunderlich fb287c3e4b
Merge pull request #556 from ecsv/batadv-for-17.01
lede-17.01: batman-adv: Merge bugfixes from 2020.0
2020-03-10 17:09:07 +01:00
Sven Eckelmann 305cce9234 batman-adv: Merge bugfixes from 2020.0
* Don't schedule OGM for disabled interface

Signed-off-by: Sven Eckelmann <sven@narfation.org>
2020-03-06 21:00:56 +01:00
Simon Wunderlich e924835c81
Merge pull request #538 from ecsv/batadv-for-17.01
lede-17.01: batman-adv: Merge bugfixes from 2019.5
2019-12-14 16:59:18 +01:00
Sven Eckelmann 5cba01e37a batman-adv: Merge bugfixes from 2019.5
* fix DAT candidate selection on little endian systems

Signed-off-by: Sven Eckelmann <sven@narfation.org>
2019-12-13 22:21:19 +01:00
Simon Wunderlich f659697eff
Merge pull request #521 from ecsv/batadv-for-17.01
lede-17.01: batman-adv: Merge bugfixes from 2019.4
2019-10-26 10:30:58 +02:00
Sven Eckelmann 020c99a39b batman-adv: Merge bugfixes from 2019.4
* 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>
2019-10-25 22:58:11 +02:00
Simon Wunderlich af18086ba8
Merge pull request #473 from ecsv/batadv-for-17.01
lede-17.01: batman-adv: Fix duplicated OGMs on NETDEV_UP
2019-06-02 22:41:10 +02:00
Sven Eckelmann e100856a69 batman-adv: Fix duplicated OGMs on NETDEV_UP
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: 549909f89d ("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>
2019-06-02 14:07:55 +02:00
Simon Wunderlich 96c6b449b4
Merge pull request #470 from ecsv/batadv-for-17.01
lede-17.01: batman-adv: Merge bugfixes from 2019.2
2019-05-24 09:45:36 +02:00
Sven Eckelmann 0976335f1e batman-adv: Merge bugfixes from 2019.2
* mcast: fix multicast tt/tvlv worker locking
* fix for leaked TVLV handler

Signed-off-by: Sven Eckelmann <sven@narfation.org>
2019-05-23 19:53:36 +02:00
Simon Wunderlich a96c48c6b7
Merge pull request #463 from ecsv/batadv-17.01
lede-17.01: batman-adv: Merge bugfixes from 2019.1
2019-03-29 13:33:11 +01:00
Sven Eckelmann 24b2a9af0e batman-adv: Merge bugfixes from 2019.1
* 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>
2019-03-28 20:42:48 +01:00
Sven Eckelmann 3020feba9b batctl: Refresh patches
Signed-off-by: Sven Eckelmann <sven@narfation.org>
2019-02-11 11:21:45 +01:00
Sven Eckelmann dca9b7e0ca batman-adv: Refresh patches
Signed-off-by: Sven Eckelmann <sven@narfation.org>
2019-02-11 11:21:16 +01:00
Simon Wunderlich 4e4a032445
Merge pull request #443 from ecsv/batadv-17.01
lede-17.01: batman-adv: Merge bugfixes from 2019.0
2019-01-16 10:00:38 +01:00
Sven Eckelmann f622ffd9bc batman-adv: Merge bugfixes from 2019.0
* 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>
2019-01-16 09:56:57 +01:00
Simon Wunderlich 216512ca2c
Merge pull request #424 from ecsv/batadv-17.01
lede-17.01: batman-adv: Merge bugfixes from 2018.4
2018-11-08 11:41:31 +01:00
Sven Eckelmann 2c8de62f4a batman-adv: Merge bugfixes from 2018.4
* Use explicit tvlv padding for ELP packets
* Expand merged fragment buffer for full packet

Signed-off-by: Sven Eckelmann <sven@narfation.org>
2018-11-08 00:12:30 +01:00
Simon Wunderlich ad22c771eb
Merge pull request #413 from ecsv/batadv-17.01
lede-17.01: batman-adv: Merge bugfixes from 2018.3
2018-09-17 10:52:44 +02:00
Sven Eckelmann 2ac8e7b42b batman-adv: Merge bugfixes from 2018.3
* 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>
2018-09-15 11:11:05 +02:00
Moritz Warning d09478290f
Nodogsplash2 backport (#382)
nodogsplash2: initial package

Signed-off-by: Rob White <rob@blue-wave.net>
Signed-off-by: Moritz Warning <moritzwarning@web.de>
2018-06-13 12:15:53 +02:00
Simon Wunderlich 01005bf2e2
Merge pull request #386 from ecsv/batadv-17.01
lede-17.01: batman-adv: add patches from 2018.1-maint 2018-06-12
2018-06-13 11:53:27 +02:00
Sven Eckelmann 79f1094690 batman-adv: add patches from 2018.1-maint 2018-06-12
* 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>
2018-06-12 22:55:07 +02:00
Simon Wunderlich c823456dcb
Merge pull request #381 from ecsv/batadv-17.01
lede-17.01: batman-adv: Merge bugfixes from 2018.1-maint 2018-06-03
2018-06-04 14:12:55 +02:00
Sven Eckelmann ea1e2c9c4c batman-adv: Merge bugfixes from 2018.1-maint 2018-06-03
* 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>
2018-06-03 18:42:04 +02:00
Moritz Warning f0fe2d33b5
Merge pull request #366 from ecsv/batadv-17.01
lede-17.01: batman-adv: Merge bugfixes from 2018.1
2018-05-02 16:50:13 +02:00
Saverio Proto f1875d656c
Merge pull request #373 from gabri94/lede-17.01
prince: version bump to v0.4
2018-05-02 13:48:10 +02:00
Gabriele Gemmi 3dd4096da2 prince: version bump to v0.4
Signed-off-by: Gabriele Gemmi <gabriel@autistici.org>
2018-05-02 13:14:50 +02:00
Sven Eckelmann 9b777e6b13 batman-adv: Merge bugfixes from 2018.1
* 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>
2018-04-25 20:29:31 +02:00
Simon Wunderlich 190f1b079f
Merge pull request #356 from SvenRoederer/patch-1
batman-adv: bump package-release
2018-03-28 17:07:08 +02:00
Sven Roederer 6317b51ba2 batman-adv: bump package-release
bump release as of merge 45d25d4dc4

Signed-off-by: Sven Roederer <freifunk@it-solutions.geroedel.de>
2018-03-26 19:28:23 +02:00
Moritz Warning 45d25d4dc4
Merge pull request #350 from ecsv/batadv-17.01
lede-17.01: batman-adv: Merge bugfixes from 2018.0
2018-03-04 00:11:57 +01:00
Sven Eckelmann 08935dfaa0 batman-adv: Merge bugfixes from 2018.0
* 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>
2018-02-27 18:23:20 +01:00
Axel Neumann b82d7ccd0a Revert "bmx6: fix gcc6&7 warnings, avoid json-c patch"
This reverts commit b19d008932.
2018-01-29 17:41:09 +01:00
Axel Neumann b19d008932 bmx6: fix gcc6&7 warnings, avoid json-c patch 2018-01-13 13:50:26 +01:00
Moritz Warning bb47c193a8
Merge pull request #338 from ecsv/batadv-17.01
lede-17.01: batman-adv: Merge bugfixes from v2017.4
2018-01-06 22:36:14 +01:00
Axel Neumann e2ad7be7f6 bmx7_json: Fix broken include of json.h 2018-01-06 20:52:44 +01:00
Pau 04ba10ef68
Merge pull request #342 from openwrt-routing/p4u/update-luci-app-bmx6-lede-17.01
Update luci app bmx6 lede 17.01
2018-01-06 19:00:18 +01:00
Axel Neumann 5e9e710717 Use code repo from https://github.com/bmx-routing
Remove bmx7 json-c patch
2018-01-02 19:01:21 +01:00
Sven Eckelmann 285c803c0a batman-adv: Merge bugfixes from 2017.4
* 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>
2017-12-26 13:09:35 +01:00
Sven Eckelmann b2e7b1a301 batctl: Merge bugfixes from v2017.4
* 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>
2017-12-26 13:09:35 +01:00
Pau Escrich d20f7161ce luci-app-bmx6: replace dependency of luci-mod-admin-full for luci-base
Signed-off-by: Pau Escrich <p4u@dabax.net>
2017-12-16 17:47:57 +01:00
Pau Escrich 28d242ef56 luci-app-bmx6: remove '$' as identifier for special json functions
Signed-off-by: Pau Escrich <p4u@dabax.net>
2017-12-16 17:47:50 +01:00
Pau Escrich b1be24bf48 luci-app-bmx: Redesign Makefile. Split JS libraries. Clean package
Add luci-lib-jquery-1-4 and luci-lib-dracula packages. Remove unused library Curry.

Signed-off-by: Pau Escrich <p4u@dabax.net>
2017-12-16 17:44:30 +01:00
Pau Escrich f3c9c1df59 luci-app-bmx6: add new methods to bmx6-info and clean/sanityze the code
Signed-off-by: Pau Escrich <p4u@dabax.net>
2017-12-16 17:33:39 +01:00
Jo-Philipp Wich 7b394394b5
Merge pull request #309 from HRogge/lede-17.01
Update OONF to 0.14.1-1
2017-12-07 03:09:38 +01:00
Axel Neumann d11075cd40 bmx7: Update to fix raspberry compilation error 2017-07-10 20:03:54 +02:00
Jo-Philipp Wich 7c31a144b7 Merge pull request #312 from hnyman/miniupnpd-1701
Backport miniupnpd changes to 17.01
2017-07-05 22:09:45 +02:00
Jo-Philipp Wich 3e916a3652 miniupnpd: disable IGDv2 by default
The upstream project also reverted IGDv2-by-default due to widespread
compatibility problems.

So far all Microsoft operating systems up to Windows 10, Xbox 360, Xbox One
Playstation 3 and Playstation 4 consoles seem to be incompatible to the
new 2.0 standard.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 7ddbedb649)
2017-07-05 21:25:50 +03:00