Commit graph

1134 commits

Author SHA1 Message Date
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
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
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
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
Daniel Engberg
4d06ab99b4 miniupnpd: Update to 2.0.20170421
Update miniupnpd to 2.0.20170421

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
(cherry picked from commit 1d5b485138)
2017-07-05 21:25:37 +03:00
Kevin Darbyshire-Bryant
471d3660b4 miniupnpd: implement an 'enabled' flag
Add a 'master' miniupnpd service enable flag rather than just relying on
rcS.d script existence.  This allows the service to be disabled across
sysupgrade, similar to minidlna.

The service assumes enabled if no 'enabled' config flag is configured
for backwards compatibility.

Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
(cherry picked from commit 33dc373da9)
2017-07-05 21:25:24 +03:00
Kevin Darbyshire-Bryant
b4c1d4c02b miniupnpd: add IGDv2 support as build option
Make IGDv2 support a build time option (default enabled)
Some devices (xbox one, windows home server) are not happy talking to an
IGDv2 enabled upnp server.

Remove 'portinuse' & 'igdv2' enabling patches backported from freebsd as
these can be configured via build time options in package makefile.

Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
(cherry picked from commit a7ce5a5d60)
2017-07-05 21:24:55 +03:00
Henning Rogge
846b6ea1c1 Update OONF to 0.14.1-1 2017-07-03 07:50:33 +02:00
Jo-Philipp Wich
73c749d279 Merge pull request #303 from dedeckeh/pr_lede-17.01_nat46_xlat
Backport nat46 fixes to lede 17.01 branch
2017-06-26 17:51:02 +02:00
Hans Dedecker
8d7993d8f9 464xlat: add ip rule logic in the proto shell handler
Integrate ip rule support for the prelocal routing table lookup in the 464xlat
proto shell handler as netifd does not install anymore an ip rule for the prelocal
routing table.
The prelocal routing table ip rule needs to be installed before the local routing
table ip rule so the 464xlat traffic with as destination the IPv6 anycast address
is routed to the nat46 module otherwise the traffic will be dropped in the IPv6
local table.

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
2017-06-26 09:36:31 +02:00
Hans Dedecker
c39de0ab35 464xlat: fix white space errors
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
2017-06-26 09:36:16 +02:00
Hans Dedecker
3d18d0cfc2 464xlat: rework process id write logic
Write the process id in the pid file immediately after the 464xlat pid file has
been openend. Before the process id was written when the parent process exits
leaving a window where no valid process id was in place in the 464xlat pid file.
This lead to issues if the 464xlat utility was launched to terminate a running
464xlat utility as it could possibly terminate a random process.
If the parent process exits the pid file is updated with the process id of the
forked 464xlat utility.
Also rework the signal handling of SIGTERM so the running 464xlat utility is
correctly terminated.

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
2017-06-26 09:36:05 +02:00
Hans Dedecker
ae774f4a97 nat46: add PKG_MIRROR_HASH
Provide PKG_MIRROR_HASH for LEDE download mirror

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
2017-06-26 09:35:44 +02:00
Hans Dedecker
e5e48d9a86 nat46: improve 1:1 map share ratio support
683fbd2 nat46-core: code clean-up
09df268 nat46-core: extend portless protocol support in 1:1 share ratio

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
2017-06-26 09:35:22 +02:00
Hans Dedecker
ae6a0e45d8 nat46: support portless protocols in 1:1 share ratio
5fed76d nat46-core: support portless protocols in 1:1 share ratio
df4c7da nat46-core: minor code improvements
4e45bd5 treewide: fix white space errors

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
2017-06-26 09:34:37 +02:00
Sven Eckelmann
dbbad84722 batmand: Provide PKG_MIRROR_HASH for LEDE mirror download
Signed-off-by: Sven Eckelmann <sven@narfation.org>
2017-04-20 16:49:37 +02:00
Sven Eckelmann
fa9090769e batmand: Use git repository to retrieve sources
The current package is build around the subversion repository which does
not exist anymore. The package can therefore be moved to the git repository
to have an official source for the revision used in OpenWrt.

The SVN version of batman r1439 was actually r1435. The git export of revision
r1435 is referenced by this commit. The version number was only increased
to 1440 to create a new source tarball. SVN revision r1440 is not a commit
for batman and therefore no code changes in batman was done in r1440.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
2017-04-20 16:49:37 +02:00
Sven Eckelmann
794225577c vis: Extract vis package from batmand
The batmand and vis sources are actually stored in two different
repositories. It therefore makes more sense to have these two packages also
split in two different OpenWrt packages. This also allows to get the vis
sources directly from the git repository.

The SVN version of vis r1439 was actually r1346. The git export of revision
r1346 is referenced by this commit.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
2017-04-20 16:49:37 +02:00
Sven Eckelmann
640d944921 batmand: Switch upstream URL to HTTPS
The open-mesh.org server is not serving plain HTTP pages since a while.
Updating the default URL to https is therefore prefered.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
2017-04-20 16:49:37 +02:00
Sven Eckelmann
bab07b6e03 batmand: Replace maintainer with Elektra
The mail address for Marek Lindner was not up to date. Marek was also not
maintaining this package and was forwarding requests to Elektra:

  "Elektra is the maintainer for batmand. I'd rather not interfere."

https://github.com/openwrt-routing/packages/pull/134#issuecomment-236346560

Signed-off-by: Sven Eckelmann <sven@narfation.org>
2017-04-20 16:49:37 +02:00