Commit Graph
5857 Commits
Author SHA1 Message Date
Petr Štetiar 9d3a1a2a63 coova-chilli: Fix unwanted startup of disabled instances
Code in option_cb was referencing $chilli_inst variable which was
declared as local, thus the instance startup logic in start_chilli was
referencing variable which would always get value of 1, effectively
making `disabled` config option useless.

So I've fixed it with simpler config_get_bool and while at it, I've simplified the
surrounding code little bit as well.

Signed-off-by: Petr Štetiar <ynezz@true.cz>
2019-09-25 12:59:55 +02:00
Petr Štetiar aa6dfc5978 coova-chilli: Wrap excessively long lines
Signed-off-by: Petr Štetiar <ynezz@true.cz>
2019-09-25 12:59:55 +02:00
Christian Lachner c44b070804 haproxy: Update HAProxy to v2.0.6
- Update haproxy download URL and hash
- Add new patches

Signed-off-by: Christian Lachner <gladiac@gmail.com>
2019-09-25 11:36:07 +02:00
Rosen PenevandGitHub b50ee9b45e Merge pull request #10062 from ja-pa/treewide-cpe-id-2
treewide: add PKG_CPE_ID for cvescanner
2019-09-24 15:03:31 -07:00
Daniel Bermond 63379c3d35 proxychains-ng: new package
Compile tested: R7800 (arm_cortex-a15_neon-vfpv4), OpenWrt git master
Run tested: R7800 (arm_cortex-a15_neon-vfpv4), OpenWrt git master

Signed-off-by: Daniel Bermond <danielbermond@gmail.com>
2019-09-24 20:31:46 +00:00
Josef Schlehofer d0e2a3e81a sysrepo: Use correct SPDX License Identifier
- Add PKG_LICENSE_FILES
- Refresh patches
- Use better URL

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-09-24 21:55:47 +02:00
Josef Schlehofer 9ed187693f quassel-irssi: refresh patches to avoid fuzz
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-09-24 20:36:09 +02:00
Maxim Mikityanskiy 4a3b1ee42a apcupsd: Preset binaries used on target system
apcupsd's configure script looks up paths to sh, wall and mail on the
host system, but intends to use them on the target system. OpenWrt
replaces apcupsd's scripts by its own versions, so those paths don't
really matter, however, if the host system doesn't have wall installed,
the build fails. This is the case on Gentoo when util-linux is built
with USE=-tty-helpers (default). Prevent such failures by providing
explicit stub paths to sh, wall and mail to configure script.

Signed-off-by: Maxim Mikityanskiy <maxtram95@gmail.com>
2019-09-24 21:29:54 +03:00
Rosen PenevandGitHub 862510a251 Merge pull request #10046 from neheb/pfix
protobuf fixes from CMake conversion
2019-09-24 10:50:20 -07:00
Stan Grishin c6beee74f9 simple-adblock: dnsmasq.ipset option support, better handling of IDNs, updated README
Signed-off-by: Stan Grishin <stangri@melmac.net>
2019-09-24 09:11:45 -07:00
Dirk BrenkenandGitHub 1f81686c0e Merge pull request #10055 from claell/patch-1
adblock: Cosmetic changes to README.md
2019-09-24 15:14:15 +02:00
Dirk BrenkenandGitHub 8c2264a2da Merge pull request #10034 from onjen/captive-optional-args
travelmate: add support for optional args in auto-login script
2019-09-24 15:13:41 +02:00
Jan Pavlinec ceadbcbb64 treewide: add PKG_CPE_ID for cvescanner
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2019-09-24 13:51:22 +02:00
Rosen PenevandGitHub acc646dafb Merge pull request #9940 from neheb/tr2
transmission: Fix tracker issue with some firewalls
2019-09-23 17:28:10 -07:00
Rosen Penev 546ea3475a ola: Fix HOSTPKG linking
Before the CMake update, either protobuf was being installed to HOST
instead of HOSTPKG by mistake or some other problem.

This adds a linker flag to look in the proper location.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-09-23 15:23:41 -07:00
Nikos MavrogiannopoulosandGitHub 6358c3e72e Merge pull request #10045 from yousong/oc-form
openconnect: allow specifying form_entry list
2019-09-23 20:57:05 +02:00
Rosen Penev 730a1697fe transmission: Fix tracker issue with some firewalls
Some firewalls mandate a minimum size of 4k for SYN packets, which
transmission does not do by default. Upstream issue here:

https://github.com/transmission/transmission/issues/964

Cleanup:

Fixed license info.

Removed two unnecessary patches.

Ran shell script through shellcheck.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-09-23 11:41:10 -07:00
Claudius Ellsel 088a14e5ce adblock: Cosmetic changes to README.md
Add code blocks for easier reading and change "dns" to "DNS".

Signed-off-by: Claudius Ellsel <claudius.ellsel@live.de>
2019-09-23 16:52:17 +02:00
David Yang f9cf4e1f2c i2pd: Update to 2.28.0
Signed-off-by: David Yang <mmyangfl@gmail.com>
2019-09-22 13:42:04 +08:00
Rosen Penev e7be39e933 snort3: Clean up Makefile
Removed PKG_FIXUP and PKG_INSTALL. They are both unnecessary.

Fixed license information.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-09-21 15:58:07 -07:00
Rosen Penev 78248fb2fd miniupnpc: Update to 2.1.20190824
Switched to CMAKE_INSTALL to get rid of InstallDev.

Added PKG_BUILD_PARALLEL for faster compilation.

Fixed license information.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-09-21 15:57:41 -07:00
Rosen Penev 61b5f5b16c cshark: Switch to standard PKG_SOURCE_VERSION/DATE
Several other cleanups.

Added PKG_BUILD_PARALLEL for faster compilation.

Removed PKG_INSTALL as cmake.mk already defines it.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-09-21 15:56:58 -07:00
Diana Dragusin bda3b710ba phantap: update to latest commit
7cc6017 phantap-learn: Add another way to detect the victim
8a4b30b phantap-learn: Continue listening for DNS traffic after initial detection
3e1cf09 Improve setup documentation
ddde4b9 Fix neighbour spelling
bee7e92 Readme.md: Update
efb57f6 Readme.md: Update

Signed-off-by: Diana Dragusin <diana.dragusin@nccgroup.com>
2019-09-21 14:53:32 -07:00
Yousong Zhou 384398d452 openconnect: allow specifying form_entry list
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2019-09-21 10:33:18 +00:00
Johannes Rothe a7f87f939d travelmate: add support for optional args in auto-login script
This can be helpful for example in hotels where you need to
enter a new user/password combination every week.

Signed-off-by: Johannes Rothe <mail@johannes-rothe.de>
2019-09-20 22:15:17 +02:00
Josef Schlehofer 61dcd6849f bind: Update to version 9.14.6
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-09-19 21:20:34 +02:00
Rosen PenevandGitHub a0516d7e1d Merge pull request #10027 from James-TR/fix/pdns-lua-dep
pdns: Explicitly define lua implementation
2019-09-18 11:52:08 -07:00
Jan Pavlinecandtripolar b42159dea3 irssi: update to version 1.2.2 (security fix)
Fixes CVE-2019-15717

Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2019-09-18 20:12:17 +02:00
James Taylor 001e30e387 pdns: Explicitly define lua implementation
Compile Tested: yes, selects lua as implementation and doesn't pick up luajit
Run Tested: no, minor change

Maintainer: me

Description:
On some architectures PowerDNS was preferring Luajit over Lua, which wasn't added
as a dependency. On previous versions this was controlled by passing `--with-lua`
and `--without-luajit` however this isn't functional anymore.

On the 4.2 series, it is instead possible to define the lua implementation to be
used by passing `--with-lua=[implementation]` ie `--with-lua=lua`

Signed-off-by: James Taylor <james@jtaylor.id.au>
2019-09-19 00:11:04 +10:00
Jan Pavlinec 299e5b0a9b treewide: add PKG_CPE_ID for better cvescanner coverage
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2019-09-17 12:40:26 +02:00
Florian EckertandGitHub ffe358b918 Merge pull request #10015 from mwarning/zt
zerotier: update to 1.4.6
2019-09-17 08:35:10 +02:00
Rosen Penev 0fa6b85686 ulogd: Add back autoreconf
Compile fails at times, probably because of the patches.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-09-16 17:49:17 -07:00
Moritz Warning 6181852408 zerotier: update to 1.4.6
Signed-off-by: Moritz Warning <moritzwarning@web.de>
2019-09-17 01:37:24 +02:00
Rosen PenevandGitHub b505803714 Merge pull request #9995 from flyn-org/scapy
scapy: update to 2.4.3
2019-09-16 09:46:59 -07:00
Dirk Brenken 496d527080 adblock: update 3.8.6
* refine stop logic to prevent needless dns backend restarts
  and other oddities
* cosmetics

Signed-off-by: Dirk Brenken <dev@brenken.org>
2019-09-16 10:49:37 +02:00
Yousong Zhou feacaa5f80 openvswitch: bump to version 2.12.0
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2019-09-16 07:59:31 +00:00
Stijn Tintel 6bcfacca5e strongswan: bump to 5.8.1
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
2019-09-16 02:28:20 +03:00
W. Michael Petullo aa96854564 scapy: fix PKG_LICENSE_FILES
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2019-09-15 13:36:52 -04:00
Rosen PenevandGitHub 744fc97820 Merge pull request #9584 from ynezz/upstream/move-scons
scons: move host build tool to a proper place
2019-09-15 07:21:52 -07:00
W. Michael Petullo 3c9ce19f92 scapy: update to 2.4.3
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2019-09-14 12:11:19 -04:00
Toke Høiland-Jørgensen 1126368e0e sqm-scripts: Bump to v1.4.0
Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
2019-09-14 13:19:23 +02:00
DENG Qingfang 685fe876be xtables-addons: update to 3.5
Add xt_PROTO target.

Signed-off-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>
2019-09-14 17:31:56 +08:00
Hannu NymanandGitHub 05c939c643 Merge pull request #9986 from neheb/nut
nut: Switch to pkgconfig for finding libgd
2019-09-14 10:39:16 +03:00
Rosen Penev 81e6bb77cf nut: Switch to pkgconfig for finding libgd
nut uses gdlib-config to find libgd, which happens to be deprecated. This
switches it to use pkgconfig and allows a fallback to gdlib-config, same
as the libusb check.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-09-13 12:56:43 -07:00
Ted Hess 2d49aab04c dnscrypt-proxy: Update to latest git version.
Revise dnscrypt-resolvers.csv with new dnscrypt-ca info.

Signed-off-by: Ted Hess <thess@kitschensync.net>
2019-09-13 14:46:44 -04:00
Rosen PenevandGitHub 58e8fe2fee Merge pull request #9983 from James-TR/pdns-4.2.0-bump
pdns: bump version to 4.2.0
2019-09-13 10:59:03 -07:00
James Taylor d7fb1e3fca pdns: bump version to 4.2.0
Bump PowerDNS Authoritative DNS Server to 4.2.0. Release changelong can be found at
https://doc.powerdns.com/authoritative/changelog/4.2.html#change-4.2.0

Compile Tested: OpenWRT Snapshot - armv7
Run Tested: Linksys WRT1900ACS - package runs correctly, not all functionality has been tested.

Signed-off-by: James Taylor <james@jtaylor.id.au>
2019-09-13 23:14:55 +10:00
Jo-Philipp WichandJohn Crispin a8b4a28372 cgi-io: use splice() to stream backup archive
This improves the I/O performance when outputting large backups.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-13 13:05:09 +02:00
Jo-Philipp WichandJohn Crispin 8c22db6531 cgi-io: pass appropriate HTTP error codes to failure()
Instead of always replying with a generic 500 internal server error code,
use more appropriate codes such as 403 to indicate denied permissions.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-13 13:05:09 +02:00
Jo-Philipp WichandJohn Crispin ab2a2b080d cgi-io: add download operation
Add a new `cgi-download` applet which allows to retrieve the contents
of regular files or block devices.

In order to initiate a transfer, a POST request in x-www-form-urlencoded
format must be sent to the applet, with one field "sessionid" holding
the login session and another field "path" containing the file path to
download.

Further optional fields are "filename" which - if present - will cause
the download applet to set a Content-Dispostition header and "mimetype"
which allows to let the applet respond with a specific type instead of
the default "application/octet-stream".

Below is an example for the required acl rules to grant download access
to files or block devices:

    ubus call session grant '{
        "ubus_rpc_session": "...",
        "scope": "cgi-io",
        "objects": [
            [ "download", "read" ]
        ]
    }'

    ubus call session grant '{
        "ubus_rpc_session": "...",
        "scope": "file",
        "objects": [
            [ "/etc/config/*", "read" ],
            [ "/dev/mtdblock*", "read" ]
        ]
    }'

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-13 13:05:09 +02:00