Commit Graph

5977 Commits

Author SHA1 Message Date
Florian Eckert ae70008ed7 net/mwan3: update hint in mwan3.user for connected/disconnected
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-03-16 14:45:29 +01:00
Florian Eckert 270245e6d4 net/mwan3: deviate max interface value from mmx_mask value
We need always three of the firewall mask value for
* default routing table
* blackhole
* unreachable
the other will be used for the interfaces.

* If we have set the mmx_mask to max 0xFF00 (8 bit set) we could use max 252
  interfaces.
* If we have set the mmx_mask to min 0x0E00 (3 bit set) we could use max 4
  interfaces.

Only the ones are counting from the firewall mask value.
Minimal three firewall mask bit vaules must be set.
Maximal eight firewall mask bit vaules could be set.

Table overview mmx_mask value bits vs. max interfaces

mmx_mask value bits set 1 -> not usefull
mmx_mask value bits set 2 -> not usefull
mmx_mask value bits set 3 ->   4 Interfaces (mask example 0x0E)
mmx_mask value bits set 4 ->  12 Interfaces
mmx_mask value bits set 5 ->  28 Interfaces
mmx_mask value bits set 6 ->  60 Interfaces
mmx_mask value bits set 7 -> 124 Interfaces
mmx_mask value bits set 8 -> 252 Interfaces (mask example 0xFF)

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-03-16 14:45:29 +01:00
Florian Eckert 7c178353f0 net/mwan3: remove unused local variables
Remove unused local variables

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-03-16 14:45:29 +01:00
Florian Eckert 4f1e85bd8c net/mwan3: add connected/disconnected ACTION to mwan3track
Add a new ACTIONs:

* connected ACTION is called once if mwan3track reach all configured track_ips
* disconnected ACTION is called once if mwan3track is unable to reach the track_ips

The connected/disconnected will called only by mwan3track in opposite
the ACTIONs ifup/ifdown will also be called by netifd.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-03-16 14:44:04 +01:00
Marty E. Plummer 0679859513 net/coova-chilli: fix -Werror=misleading-indendation
As it currently stands, the version of coova-chilli the packages feed
will not compile against 4fd87220567f1ae3ad209da1f602dc81c6b4d6b1

I've quasi-backported (could not find a single commit which fixes these
particular issues) https://github.com/coova/coova-chilli 's formatting
on the impacted sections, and it compiles.

Once a new version is added to the feed this patch can likely be
dropped.

Signed-off-by: Marty E. Plummer <hanetzer@startmail.com>
2018-03-16 07:01:10 -05:00
Christian Lachner 88fdeb5085 haproxy: Update MEDIUM+ patches for HAProxy v1.8.4
- Add new MEDIUM+ patches (see https://www.haproxy.org/bugs/bugs-1.8.4.html)
- Raise patch-level to 02

Signed-off-by: Christian Lachner <gladiac@gmail.com>
2018-03-16 11:26:28 +01:00
Alexander Ryzhov e71c49c683 softflowd: use Google Storage API to get sources from former Googlecode
Signed-off-by: Alexander Ryzhov <openwrt@ryzhov-al.ru>
2018-03-16 09:49:15 +03:00
Jianhui Zhao 42cd6981f1 wifidog-ng: update 1.2.0
78c472b Support allow doamin by ubus
eb6036d support add/del client by ubus

Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
2018-03-16 00:13:22 +08:00
Hannu Nyman 7236a144d7 Merge pull request #5763 from neheb/patch-1
aircrack-ng: Add -std=gnu89 to fix compile issues.
2018-03-15 17:40:51 +02:00
Hannu Nyman 790ecf889b Merge pull request #5657 from iamperson347/stubby0.2.2
stubby: Bump to 0.2.2 plus updates to default config
2018-03-15 17:39:12 +02:00
Rosen Penev 2e99339191 aircrack-ng: Add -std=gnu89 to fix compile issues.
The code assumes pre-C99 inlining. This causes issues with GCC7 which assumes C11. Add std=gnu89 to restore proper behavior.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-03-14 19:26:13 -07:00
Yousong Zhou fa958f4a99 openvswitch: bump to version 2.8.2
Changes since 2.8.2 as recorded in NEWS-2.8.2

    - NSH implementation now conforms to latest draft (draft-ietf-sfc-nsh-28).
    - Bug fixes

0006-adapt-ovs-scripts.patch was splited into two separate patches as
the original patch does not apply against 2.8.2 anymore.  Other patches
are just re-numbered without actual function change

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2018-03-14 22:40:30 +08:00
Karl Palsson 450577536f pagekitec: add new package
From the package description:
PageKite is a system for running publicly visible servers (generally
 web servers) on machines without a direct connection to the Internet,
 such as mobile devices or computers behind restrictive firewalls.
 PageKite works around NAT, firewalls and IP-address limitations by
 using a combination of tunnels and reverse proxies.

 This package provides an implementation of the PageKite Protocol in C,
 optimized for high-performance or embedded applications.

Signed-off-by: Karl Palsson <karlp@tweak.net.au>
2018-03-14 10:54:26 +00:00
Peter Wagner c57adab9f1 git: use hardlinks for /usr/lib/git-core/git{,-shell,-upload-pack}
Signed-off-by: Peter Wagner <tripolar@gmx.at>
2018-03-13 19:09:43 +01:00
Felix Fietkau 47df65608f openvswitch: add missing dependency
Fixes a build error

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2018-03-13 11:17:46 +01:00
Hannu Nyman b6e7afe663 Merge pull request #5092 from TDT-AG/pr/20171109-fix-libubox-dependencies
mwan3: fix package to dependency
2018-03-12 17:45:04 +02:00
Hannu Nyman 6da1b3fe23 Merge pull request #5749 from zhaojh329/wifidog-ng
wifidog-ng: Update to 1.1.4
2018-03-12 13:11:40 +02:00
Marko Ratkaj 8da5b2cf9e Merge pull request #5634 from sartura/sysrepo_v0.7.3_python_lua_bindings
sysrepo: add python2 and lua5.1 language bindings
2018-03-12 11:56:08 +01:00
Florian Eckert e12f3c8c14 net/mwan3: add jshn and ip-full to package dependency
* The mwan3 scripts sources ". /usr/share/libubox/jshn.sh"
* Mwan3 only works if ip-full is installed
  Error -> "ip: invalid argument '0xfd00/0xff00' to 'fwmark'"

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-03-12 10:14:36 +01:00
Jianhui Zhao c4af49b84f wifidog-ng: Update to 1.1.4
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
2018-03-12 14:04:07 +08:00
Yousong Zhou ecd396a764 xl2tpd: bump to version 1.3.11 2018-03-12 11:25:16 +08:00
Jianhui Zhao e3007a0812 wifidog-ng: Update to 1.1.3
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
2018-03-11 17:59:00 +08:00
Jianhui Zhao 30dfb77d45 wifidog-ng: Update to 1.1.1
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
2018-03-11 13:25:04 +08:00
Hannu Nyman 6a1351d46e Merge pull request #5733 from zhaojh329/wifidog-ng
wifidog-ng: Add package
2018-03-10 11:42:12 +02:00
Hannu Nyman cba10ad932 Merge pull request #5719 from fededim/master
sstp-client: updated to 1.0.12
2018-03-10 11:39:22 +02:00
Hannu Nyman 2304d595e1 Merge pull request #5724 from jemyzhang/master
net/https-dns-proxy: Update to 2018-01-28
2018-03-10 11:34:58 +02:00
Hannu Nyman 89040a0deb Merge pull request #5166 from TDT-AG/pr/20171122-keepalived-uci-improvements
net/keepalived: uci improvements
2018-03-09 11:09:22 +02:00
Jianhui Zhao 5bcee7d7e0 wifidog-ng: Add package
Next generation WifiDog

Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
2018-03-09 13:32:34 +08:00
Felix Fietkau f7e0e06fcb rp-pppoe: depend on ppp instead of selecting it
ppp has multiple variants, so selecting one of them introduces a
recursive dependency for any packge selecting it.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2018-03-08 11:11:30 +01:00
Christian Lachner 385eeba4c0 haproxy: Fix Lua-support for mips(el)
- TARGET_CFLAGS were missing for haproxy which caused issue #4606 (https://github.com/openwrt/packages/issues/4606)
- All targets finally have Lua support again

Signed-off-by: Christian Lachner <gladiac@gmail.com>
2018-03-07 22:38:52 +01:00
Felix Fietkau ac5b0f1996 rp-pppoe: fix pppoe server issues
Use ppp-mod-pppoe instead of shipping its own broken plugin
Always use rp-pppoe.so instead of the (not packaged) pppoe user space
implementation

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2018-03-07 18:41:01 +01:00
Felix Fietkau cf3e9c3f71 rp-pppoe: fix linker errors
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2018-03-07 17:20:31 +01:00
Felix Fietkau 3412ddb2c0 rp-pppoe: refresh patches
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2018-03-07 17:20:31 +01:00
Jemy Zhang 1831d97cf1 net/https-dns-proxy: Update to 2018-01-28
+ initial DNS resolve via proxy
+ option of subnet address
+ option of proxy server

Signed-off-by: Jemy Zhang <jemy.zhang@gmail.com>
2018-03-07 17:26:56 +08:00
Federico Di Marco d4d9d74082 sstp-client: updated to 1.0.12
softethervpn: updated to 4.25-9656

Signed-off-by: Federico Di Marco <fededim@gmail.com>
2018-03-06 20:54:49 +01:00
Yousong Zhou e22de081f9 openvswitch: use https download url
At the time of this writing, Open vSwitch official website suggests
http://openvswitch.org whose https couterpart uses a self-signed
certificate, but it redirects to http://www.openvswitch.org, which has a
working https equivalent.

Reported-by: Rosen Penev <rosenp@gmail.com>
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2018-03-06 00:29:53 +08:00
Yousong Zhou 6aedd02984 openvswitch: set Yousong Zhou as the maintainer
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2018-03-06 00:29:53 +08:00
Yousong Zhou 5f5dc3614f openvswitch: add gre, vxlan, geneve tunneling support
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2018-03-06 00:29:53 +08:00
Yousong Zhou 19b2e7627e openvswitch: bump PKG_RELEASE
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2018-03-06 00:29:53 +08:00
Yousong Zhou eeb6a3fcbb openvswitch: rework openvswitch kernel datapath package
- KCONFIG: bridge compatibility was removed since Open vSwitch 1.10.
   See Open vSwitch FAQ.md for details
 - The module does not depend on kmod-gre, kmod-vxlan
 - Use AutoProbe to remove dependecy on specific priority

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2018-03-06 00:29:53 +08:00
Yousong Zhou f53d452bd1 openvswitch: python: rework host and target dependency
Open vSwitch needs to run python on build machine to make build-time
required files.  python-six library is only required by the openvswitch
python library on target machine, not a build dependency.

We override host PYTHONPATH by overriding it in MAKE_VARS.  This way we
can remove 0003-override-pythonpath-via-make-vars.patch

This also fixes shebang wrongly pointing to python on host

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2018-03-06 00:29:53 +08:00
Yousong Zhou 5b56acae21 openvswitch: python: remove openvswitch as a dependency
The python library is a standalone unit.  Remove dependency on
PACKAGE_openvswitch to allow users to use it with maybe remote
openvswitch services.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2018-03-06 00:29:53 +08:00
Yousong Zhou c8ed010772 openvswitch: remove --disable-ssl
Remove it since we already select libopenssl in openvswitch-base

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2018-03-06 00:29:53 +08:00
Yousong Zhou f11d8495ca openvswitch: use default rundir /var/run/openvswitch/
This subdir contains multiple pid, unix domain socket files.  It's a
custom to put them in it's own subdir

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2018-03-06 00:29:53 +08:00
Yousong Zhou 4feb43bf43 openvswitch: remove dependency on SUPPORTED_KERNELS
Quote from Open vSwitch FAQ.md

    Open vSwitch userspace should also work with the Linux kernel module
    built into Linux 3.3 and later.

    Open vSwitch userspace is not sensitive to the Linux kernel version. It
    should build against almost any kernel, certainly against 2.6.32 and
    later.

The SUPPORTED_KERNEL dependency for openvswitch kernel module only
makes sense when we are building it from the ovs release tarballs
against mainline kernels.  Now that we are using the module from vanilla
kernel itself, the dependency does not exist anymore

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2018-03-06 00:29:53 +08:00
Peter Wagner 280f764ef8 ntpd: update to 4.2.8p11
Signed-off-by: Peter Wagner <tripolar@gmx.at>
2018-03-05 08:26:04 +01:00
Thomas Heil 153b14cbfb Merge pull request #5710 from gladiac1337/feature-haproxy-1.8
haproxy: Update HAProxy to v1.8.4 (+patches)
2018-03-04 15:53:16 +01:00
Thomas Heil 906dbf43f8 Merge pull request #5708 from gladiac1337/master
haproxy: Fix Lua-support on non-mips(el) targets.
2018-03-04 15:51:35 +01:00
Christian Lachner d6ff6a97d5 haproxy: Fix non-ssl builds
- Add missing libatomic dependency in non-ssl variant of the build

Signed-off-by: Christian Lachner <gladiac@gmail.com>
2018-03-04 13:10:53 +01:00
Christian Lachner 02deb12f70 haproxy: Update HAProxy to v1.8.4 (+patches)
- Update haproxy download URL and hash
- Update the haproxy homepage
- Add libatomic to the dependencies as 1.8 needs it
- Make USE_REGPARM an x86-only option as this fixes many warnings and does not do much on non-x86 platforms
- Add USE_GETADDRINFO=1 to use getaddrinfo() to resolve IPv6 host names
- Add USE_TFO=1 to enable TCP fast open
- Unbreak CFLAGS, LD and LDFLAGS by adding the missing backslash after $(ADDON)
- Unbreak IGNOREGIT=1 option (typo)
- Rework LDFLAGS and add libatomic
- Add MEDIUM+ patches (see https://www.haproxy.org/bugs/bugs-1.8.4.html)

Signed-off-by: Christian Lachner <gladiac@gmail.com>
2018-03-04 12:42:10 +01:00