Commit graph

1119 commits

Author SHA1 Message Date
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
Jo-Philipp Wich
3bb8cde2b1 batmand: switch to tarball download, fix build with musl libc
Since the upstream SVN repository is not available anymore, update the
Makefile to fetch tarballs cached by the LEDE or OpenWrt projects instead.

Also add a missing -D_GNU_SOURCE to the target flags to fix compilation
with musl libc.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-04-20 16:49:37 +02:00
Saverio Proto
04a37ef430 Merge pull request #284 from gabri94/lede-17.01
Version bump of the poprouting package for Lede 17.01
2017-03-04 21:59:28 +01:00
Gabriel
a0b3597bae fixed +PKG_RELEASE 2017-03-04 21:52:34 +01:00
Gabriel
3e5e64eb43 Makefile for v0.3.1 2017-03-04 19:44:26 +01:00
gabri94
38e5d7ae23 Symbolic Version number 2017-03-02 18:06:11 +01:00
gabri94
3ef93ff5a1 compile v0.3 2017-03-02 12:55:50 +01:00
gabri94
66f5c56f93 New makefile for prince v0.3 2017-03-01 09:26:17 +01:00
Simon Wunderlich
2abfe229c3 Merge pull request #280 from ecsv/17.01/batadv-maint
lede-17.01: batman-adv: add patches from 2016.5-maint 2017-02-21
2017-02-28 17:13:30 +01:00
Sven Eckelmann
269baa28fe batman-adv: add patches from 2016.5-maint 2017-02-21
* batman-adv: Fix double free during fragment merge error
 * batman-adv: Fix transmission of final, 16th fragment

Signed-off-by: Sven Eckelmann <sven@narfation.org>
2017-02-26 15:17:33 +01:00
Pau Escrich
878d02a39f bmx6: update to d9b985
Signed-off-by: Pau Escrich <p4u@dabax.net>
2017-02-21 17:20:10 +01:00
Simon Wunderlich
dd36dd47bb Merge pull request #270 from ecsv/batadv-17.01
LEDE-17.01: batman-adv: maint patch import + settings fixes
2017-02-03 19:06:09 +01:00
Sven Eckelmann
b71f8bfccb batman-adv: Remove non-existing setting "vis_mode"
There is no vis_mode in the batman-adv kernel module since batman-adv
2014.0.0. So don't expose such a setting in uci.

Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
2017-01-30 14:52:25 +01:00
Sven Eckelmann
c14c231423 batman-adv: Fix "aggregated_ogms" setting
The new setting for aggregated_ogms was read from the correct config key.
But the setting was applied to the wrong file. Also the value to set was
not read from the correct variable.

Reported-by: Edward Beech <initialed85@gmail.com>
Fixes: 2d654c0af1 ("batman-adv: upgrade package to latest release 2012.0.0")
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
2017-01-30 14:46:03 +01:00
Sven Eckelmann
8109d303bd batman-adv: add patches from 2016.4-maint 2017-01-04
* batman-adv: Decrease hardif refcnt on fragmentation send error

Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
2017-01-30 14:40:47 +01:00
Sven Eckelmann
67507b60a2 batman-adv: Add sha256 PKG_HASH for LEDE
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
2017-01-30 14:40:47 +01:00