8097 Commits

Author SHA1 Message Date
Hannu Nyman 23fada1e8c Merge pull request #4234 from dibdot/package-adblock
adblock: update 2.5.1
2017-04-04 15:28:07 +03:00
Dirk Brenken 1fdf5d1e7e adblock: update 2.5.1
* re-order all regional lists in adblocklist/easylist format
    * add polish blocklist
    * add chinese blocklist
    * lists called now 'reg_<ch|pl|ro|ru>'
* changed interface trigger default in config to 'wan' only
* update / sync LuCI frontend (see luci repo for details)
* cosmetics

Signed-off-by: Dirk Brenken <dev@brenken.org>
2017-04-04 14:15:30 +02:00
Florian Fainelli 37e8aa3639 sslh: Also pass down TARGET_CPPFLAGS
Make sure we do pass TARGET_CPPFLAGS using CPPFLAGS (which is supported
by sslh's Makefile), fixing build issues with some external toolchains:

mipsel-linux-gnu-gcc -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc
-fno-caller-saves -Wno-unused-result  -D_FORTIFY_SOURCE=1 -Wl,-z,now
-Wl,-z,relro -DENABLE_REGEX -DLIBCONFIG -c sslh-main.c
sslh-main.c:26:23: fatal error: libconfig.h: No such file or directory
 #include <libconfig.h>
                       ^
compilation terminated.
Makefile:63: recipe for target 'sslh-main.o' failed
make[4]: *** [sslh-main.o] Error 1

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
2017-04-03 19:21:27 -07:00
Thomas Heil f04adc3dda package: haproxy
[RELEASE] Released version 1.7.5 due to bug in compression

 Released version 1.7.5 with the following main changes :
  - BUG/MEDIUM: peers: fix buffer overflow control in intdecode.
  - BUG/MEDIUM: buffers: Fix how input/output data are injected into buffers
  - BUG/MEDIUM: http: Fix blocked HTTP/1.0 responses when compression is enabled
  - BUG/MINOR: filters: Don't force the stream's wakeup when we wait in flt_end_analyze
  - DOC: fix parenthesis and add missing "Example" tags
  - DOC: update the contributing file
  - DOC: log-format/tcplog/httplog update
  - MINOR: config parsing: add warning when log-format/tcplog/httplog is overriden in "defaults" sections

Signed-off-by: Thomas Heil <heil@terminal-consulting.de>
2017-04-03 13:50:03 +02:00
Hannu Nyman 4cfebf8c83 Merge pull request #4138 from Ansuel/update-webui
webui-aria2: update to last commit
2017-04-03 10:50:25 +03:00
Florian Fainelli a04b137c87 Merge pull request #4224 from ffainelli/mdns
mdnsresponder: Also pass TARGET_CPPFLAGS
2017-04-02 19:12:19 -07:00
Florian Fainelli dad9606d4d haproxy: Fix PCRE_DIR include path
haproxy's Makefile already happens include/ after specifying PCRE_DIR
which would result in the following build errors on an external
toolchain that does not automatically search for headers in
$(STAGING_DIR):

mipsel-linux-gnu-gcc -Iinclude -Iebtree -Wall  -O2 -g
-fno-strict-aliasing -Wdeclaration-after-statement  -DBUFSIZE=16384
-DMAXREWRITE=1030 -DSYSTEM_MAXCONN=165530      -DCONFIG_HAP_LINUX_SPLICE
-DTPROXY -DCONFIG_HAP_LINUX_TPROXY -DCONFIG_HAP_CRYPT -DUSE_ZLIB
-DENABLE_POLL -DENABLE_EPOLL -DUSE_CPU_AFFINITY -DASSUME_SPLICE_WORKS
-DUSE_ACCEPT4 -DNETFILTER -DUSE_GETSOCKNAME -DCONFIG_REGPARM=3
-DUSE_OPENSSL  -DUSE_SYSCALL_FUTEX -DUSE_LUA
-I/home/florian/dev/openwrt/trunk/staging_dir/target-mipsel-unknown-linux-gnu_glibc/lua-5.3.3/include
-DUSE_PCRE
-I/home/florian/dev/openwrt/trunk/staging_dir/target-mipsel-unknown-linux-gnu_glibc/usr/include/include
-DUSE_PCRE_JIT  -DCONFIG_HAPROXY_VERSION=\"1.7.4-patch02\"
-DCONFIG_HAPROXY_DATE=\"2017/04/01\" \
      -DBUILD_TARGET='"linux2628"' \
      -DBUILD_ARCH='""' \
      -DBUILD_CPU='"generic"' \
      -DBUILD_CC='"mipsel-linux-gnu-gcc"' \
      -DBUILD_CFLAGS='"-O2 -g -fno-strict-aliasing
-Wdeclaration-after-statement -DBUFSIZE=16384 -DMAXREWRITE=1030
-DSYSTEM_MAXCONN=165530"' \
      -DBUILD_OPTIONS='"USE_LINUX_SPLICE=1 USE_LINUX_TPROXY=1
USE_ZLIB=yes USE_REGPARM=1 USE_OPENSSL=1 USE_LUA=1 USE_PCRE=1
USE_PCRE_JIT=1"' \
       -c -o src/haproxy.o src/haproxy.c
In file included from include/types/proxy.h:33:0,
                 from include/proto/log.h:32,
                 from include/common/cfgparse.h:29,
                 from src/haproxy.c:65:
include/common/regex.h:31:18: fatal error: pcre.h: No such file or
directory
 #include <pcre.h>

Fix this by stripping the additional include/ being added.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
2017-04-02 14:26:07 -07:00
Florian Fainelli 75091d42e1 haproxy: Pass down TARGET_CPPFLAGS for lua build
Some external toolchaind don't automatically search for headers in
$(STAGING_DIR), make sure we do pass TARGET_CPPFLAGS as appropriate.
This fixes build errors such as:

mipsel-linux-gnu-gcc -O2 -Wall -Wextra -DLUA_COMPAT_5_2 -DLUA_USE_LINUX
-c -o lua.o lua.c
lua.c:80:31: fatal error: readline/readline.h: No such file or directory
 #include <readline/readline.h>
                               ^
compilation terminated.
<builtin>: recipe for target 'lua.o' failed
make[6]: *** [lua.o] Error 1

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
2017-04-02 14:17:33 -07:00
Florian Fainelli 11543475e3 uanytun: Pass down TARGET_CPPFLAGS
Fixes build errors with toolchains that don't automatically search for
headers in STAGING_DIR (such as external toolchains) resulting in the
following build failures:

mipsel-linux-gnu-gcc -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc
-fno-caller-saves -Wno-unused-result  -D_FORTIFY_SOURCE=1 -Wl,-z,now
-Wl,-z,relro  -DUSE_SSL_CRYPTO -c options.c
In file included from options.c:62:0:
auth_algo.h:53:26: fatal error: openssl/hmac.h: No such file or
directory
 #include <openssl/hmac.h>
                          ^
compilation terminated.
Makefile:95: recipe for target 'options.o' failed
make[4]: *** [options.o] Error 1

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
2017-04-02 13:56:08 -07:00
Florian Fainelli 2e5deb6263 vsftpd: Pass TARGET_CPPFLAGS
Fixes build errors with external toolchains that don't have STAGING_DIR
in their default search path for headers:

mipsel-linux-gnu-gcc -c ssl.c -Os -pipe -mno-branch-likely -mips32r2
-mtune=24kc -fno-caller-saves -Wno-unused-result  -D_FORTIFY_SOURCE=1
-Wl,-z,now -Wl,-z,relro -D_GNU_SOURCE -include fcntl.h -idirafter
dummyinc
ssl.c:28:25: fatal error: openssl/err.h: No such file or directory
 #include <openssl/err.h>
                         ^
compilation terminated.
Makefile:28: recipe for target 'ssl.o' failed
make[3]: *** [ssl.o] Error 1

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
2017-04-02 11:36:20 -07:00
Ansuel Smith ec2ec6f4bc webui-aria2: update to last commit
Update to last commit

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2017-04-02 18:29:16 +02:00
Hannu Nyman c275bd2bf4 Merge pull request #4190 from InkblotAdmirer/dnscrypt_plugins
dnscrypt-proxy: add optional plugins
2017-04-02 16:37:24 +03:00
Hannu Nyman f67f708560 Merge pull request #4227 from dibdot/package-travelmate
travelmate: update 0.6.0
2017-04-02 12:22:41 +03:00
Daniel Engberg 4f3b2f83d8 net/stunnel: Update to 5.41
Update stunnel to 5.41
Add main site as last resort mirror

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
2017-04-02 10:49:49 +02:00
Dirk Brenken cf919894d6 travelmate: update 0.6.0
* rework automatic mode (active scan/re-connection handling):
   * much more procd & resource friendly
   * now enabled by default
* save runtime information in ubus service (data section)
* final backend preparation for new LuCI-GUI (still WIP!)
* documentation update

Signed-off-by: Dirk Brenken <dev@brenken.org>
2017-04-02 07:41:57 +02:00
Florian Fainelli df1236a51a mdnsresponder: Also pass TARGET_CPPFLAGS
Use CFLAGS_DEBUG which is already used for TARGET_CFLAGS to also pass
TARGET_CPPFLAGS.

This fixes build issues with toolchains that don't automatically search
for header files (e.g: sys/capability.h), such as stbgcc-4.8-1.5

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
2017-04-01 17:52:24 -07:00
Florian Fainelli 0c432f8902 Merge pull request #4128 from ffainelli/dansguardian-fix
dansguardian: Fix build error due to missing cstdlib include
2017-04-01 17:51:39 -07:00
Paul Wassi 5ccf34c94c net/atftp: update source URL and checksum
Update package source to use '@SF' (SourceForge) instead of URL
Replace md5sum by new hash

Signed-off-by: Paul Wassi <p.wassi@gmx.at>
2017-04-01 09:56:11 +02:00
Mircea Horea IONICĂ 727cb7e6e7 sslh: Add support for external config file
This allows users to use an external config file if required (for
example matching packets based on SNI hostname or REGEX patterns).

Signed-off-by: Jonathan McCrohan <jmccrohan@gmail.com>
Signed-off-by: Mircea Horea IONICĂ <mionica@gmail.com>
2017-03-31 22:51:37 +01:00
Hannu Nyman 16ac0e8205 Merge pull request #4218 from stangri/simple-adblock
simple-adblock: update hosts/domains filters, README
2017-03-31 10:33:54 +03:00
Stan Grishin 281c4f8ec9 simple-adblock: update domains/hosts filters, README. 2017-03-30 17:16:20 -07:00
Alexandru Ardelean 953f951c5e ulogd: use strncpy instead of memcpy
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-03-29 22:20:29 +03:00
Thomas Heil afeac709c8 package: haproxy
Correct Download Url to http://www.haproxy.org/download/1.7/src

Signed-off-by: Thomas Heil <heil@terminal-consulting.de>
2017-03-28 13:16:19 +02:00
Thomas Heil bb33a56225 package: haproxy bump to latest stable 1.7.4
[RELEASE] Released version 1.7.4

    Released version 1.7.4 with the following main changes :
        - MINOR: config: warn when some HTTP rules are used in a TCP proxy
        - BUG/MINOR: spoe: Fix soft stop handler using a specific id for spoe filters
        - BUG/MINOR: spoe: Fix parsing of arguments in spoe-message section
        - BUG/MEDIUM: ssl: Clear OpenSSL error stack after trying to parse OCSP file
        - BUG/MEDIUM: cli: Prevent double free in CLI ACL lookup
        - BUG/MINOR: Fix "get map <map> <value>" CLI command
        - BUG/MAJOR: connection: update CO_FL_CONNECTED before calling the data layer
        - BUG/MEDIUM: ssl: switchctx should not return SSL_TLSEXT_ERR_ALERT_WARNING
        - BUG/MINOR: checks: attempt clean shutw for SSL check
        - CONTRIB: tcploop: add limits.h to fix build issue with some compilers
        - CONTRIB: tcploop: make it build on FreeBSD
        - CONTRIB: tcploop: fix time format to silence build warnings
        - CONTRIB: tcploop: report action 'K' (kill) in usage message
        - CONTRIB: tcploop: fix connect's address length
        - CONTRIB: tcploop: use the trash instead of NULL for recv()
        - BUG/MEDIUM: listener: do not try to rebind another process' socket
        - BUG/MEDIUM: filters: Fix channels synchronization in flt_end_analyze
        - BUG/MAJOR: stream-int: do not depend on connection flags to detect connection
        - BUG/MEDIUM: connection: ensure to always report the end of handshakes
        - BUG: payload: fix payload not retrieving arbitrary lengths
        - BUG/MAJOR: http: fix typo in http_apply_redirect_rule
        - MINOR: doc: 2.4. Examples should be 2.5. Examples
        - BUG/MEDIUM: stream: fix client-fin/server-fin handling
        - MINOR: fd: add a new flag HAP_POLL_F_RDHUP to struct poller
        - BUG/MINOR: raw_sock: always perfom the last recv if RDHUP is not available
        - DOC/MINOR: Fix typos in proxy protocol doc
        - DOC: Protocol doc: add checksum, TLV type ranges
        - DOC: Protocol doc: add SSL TLVs, rename CHECKSUM
        - DOC: Protocol doc: add noop TLV
        - MEDIUM: global: add a 'hard-stop-after' option to cap the soft-stop time
        - BUG/MINOR: cfgparse: loop in tracked servers lists not detected by check_config_validity().
        - MINOR: server: irrelevant error message with 'default-server' config file keyword.
        - MINOR: doc: fix use-server example (imap vs mail)
        - BUG/MEDIUM: tcp: don't require privileges to bind to device
        - BUILD: make the release script use shortlog for the final changelog
        - BUILD: scripts: fix typo in announce-release error message

Signed-off-by: Thomas Heil <heil@terminal-consulting.de>
2017-03-28 11:42:16 +02:00
Thomas Heil 4a4b1ba07c package: memcached - upgrade to latest stable
bump to version 1.4.36

Signed-off-by: Thomas Heil <heil@terminal-consulting.de>
2017-03-28 11:34:23 +02:00
Daniel Engberg b8cf63a654 net/vnstat: Update to 1.17
Update vnStat to 1.17 which fixes database issue.
Remove unecessary patch
Based on:
commit 79b6e9dc61 by
Jo-Philipp Wich <jo@mein.io>

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
2017-03-27 16:55:47 +02:00
Hannu Nyman b8f42d79ba Merge pull request #4206 from commodo/tcpreplay-upgrade
tcpreplay: upgrade to version 4.2.1
2017-03-27 17:14:00 +03:00
Alexandru Ardelean eb7f1cdaae tcpreplay: upgrade to version 4.2.1
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-03-27 11:58:04 +03:00
Florian Eckert ae335e7384 net/mwan3: add failure and recovery interval
If mwan3track detects a failure the interval check will change to
"failure_interval" value until this interface is declared "offline".
After interface gets "offline" normal "interval" value is used again.
If interface ping is successful again "recovery_interval" value is used until
interface is declared "online" again.

Using the different intervals will accelerate the wan line detections on
failure and recovery.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2017-03-27 08:45:13 +02:00
Peter Wagner e90b775740 git: update to 2.12.2
Signed-off-by: Peter Wagner <tripolar@gmx.at>
2017-03-27 00:44:58 +02:00
Peter Wagner 8e493759b8 ntpd: update to 4.2.8p10
Signed-off-by: Peter Wagner <tripolar@gmx.at>
2017-03-26 13:39:09 +02:00
Hannu Nyman 2f202c3505 Merge pull request #4197 from EricLuehrsen/unbound_init
unbound: improve interface trigger behavior
2017-03-26 14:25:55 +03:00
Hannu Nyman ab8a02dc4e Merge pull request #4200 from dibdot/travelmate
travelmate: update 0.5.0
2017-03-26 14:15:27 +03:00
Hannu Nyman 3ce7ce72bd Merge pull request #4199 from dibdot/adblock
adblock: update 2.5.0
2017-03-26 14:14:23 +03:00
Eric Luehrsen e6520cf249 unbound: improve interface trigger behavior
procd interface triggers may be busy. Unbound hard restarts will
flush the cache. This might happen frequently depending on how
interface triggers occur.

Change the procd trigger to reduce occurences. Load this trigger
prior to netifd (START=20), but only truly start Unbound from
the trigger rather than immediately in init. Clean up log entries
in scripts after Unbound, NTP, and DNSSEC are established.

Signed-off-by: Eric Luehrsen <ericluehrsen@hotmail.com>
2017-03-26 02:05:46 -04:00
Dirk Brenken fa42066a6e travelmate: update 0.5.0
* fix stop action in "active" mode
* fix race condition in "active" mode

Signed-off-by: Dirk Brenken <dev@brenken.org>
2017-03-26 07:41:04 +02:00
Dirk Brenken 9e3f88916f adblock: update 2.5.0
* revamp LuCI GUI (see luci repo for details)
* integrated runtime statistics in normal adblock ubus service instance
(see readme)
* simplified boot/init
    * no longer use raw interface trigger
    * use only network interface trigger, pre-configured for
'wan/wwan/lan' interfaces (see readme)
    * fixed a reload issue
* removed switch to disable tld compression (seems to be pretty stable)
* muted awk parser if source list contains incorrect records
* raise dns backend timeout to 20 seconds
* documentation update
* cosmetics

Signed-off-by: Dirk Brenken <dev@brenken.org>
2017-03-26 06:47:23 +02:00
Terry Stockert efe6255186 dnscrypt-proxy: add optional plugins
The init script already supports four plugins: dns cache, dns/ip blocking,
ipv6 blocking and dns logging.  If enabled this option installs these four
plugins and also adds libldns as a dependency.  If enabled the total size
increase is around 125 kB.

Signed-off-by: Terry Stockert <stockert@inkblotadmirer.me>
2017-03-25 12:21:18 -05:00
champtar 499ec98653 Merge pull request #4174 from TDT-GmbH/mwan3-add-ubus-check
net/mwan3: add ubus interface check
2017-03-24 11:54:19 -07:00
Jason A. Donenfeld 056aeb26fc net/wireguard: version bump
Simple version bump to 20170324.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2017-03-24 05:03:56 +01:00
Hannu Nyman eb56619a3d Merge pull request #4126 from gstrauss/lighttpd
lighttpd: update to 1.4.45 (add new modules)
2017-03-22 18:08:41 +02:00
Glenn Strauss 6e788aca0c lighttpd: add new modules, upd URLs, add restart()
(with feedback from @hnyman and patch additions from @MikePetullo)

Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
2017-03-22 03:03:36 -04:00
Eric Luehrsen 5f86d50de9 unbound: support copy without dash update
Signed-off-by: Eric Luehrsen <ericluehrsen@hotmail.com>
2017-03-21 21:54:25 -04:00
Jonathan McCrohan 3d3908971e wavemon: bump to v0.8.1
Drop musl-fix.patch; included upstream

Signed-off-by: Jonathan McCrohan <jmccrohan@gmail.com>
2017-03-21 22:36:04 +00:00
Peter Wagner 2690fd9eec git: update to 1.12.1
Signed-off-by: Peter Wagner <tripolar@gmx.at>
2017-03-21 23:31:54 +01:00
Peter Wagner 9be7653a3a openssh: update to 7.5p1, remove unneeded patches
Signed-off-by: Peter Wagner <tripolar@gmx.at>
2017-03-21 23:30:54 +01:00
Florian Eckert 5cacfd34a6 net/mwan3: add ubus interface check
On interfaces with interface proto "qmi|ncm" and option dhcp
enabled the interface will be changed to $iface_4 | $iface_6. The
interface mapping in mwan3 will not recognize this interface. To fix
this issue an ubus call will check if an upper interface exists.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2017-03-21 08:59:31 +01:00
Hannu Nyman 0cb126fd6d Merge pull request #4173 from TDT-GmbH/mwan-change-hotplug
net/mwan3: pass environment variables to mwan3-user
2017-03-21 09:43:52 +02:00
Florian Eckert 3f79fcb756 net/mwan3: pass environment variables to mwan3-user
User scripts conversion from luci-app-wan3 will be simplified if the variables
are passed by env instead of arguments.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2017-03-21 08:31:06 +01:00
Hauke Mehrtens 56de27e0fe Merge pull request #4151 from hauke/linuxptp
Linuxptp: add mirror hash and fix build
2017-03-20 22:01:17 +01:00