aboutsummaryrefslogtreecommitdiff
path: root/net
Commit message (Collapse)AuthorAge
...
* | | | | | | | | Merge pull request #13853 from TDT-AG/pr/20201104-mwan3Florian Eckert2020-11-08
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / / |/| | | | | | | | mwan3: code cleanup and fixes
| * | | | | | | | mwan3: update version to 2.10.2Florian Eckert2020-11-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Florian Eckert <fe@dev.tdt.de>
| * | | | | | | | mwan3: make it clearer who initiated the startFlorian Eckert2020-11-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It was somewhat opaque how the variable a is questioned. To show this better the variable is now a string and not a boolean. So you can see directly what should happen. With a boolean you always have to think about what it means when 0 or 1 is used. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
| * | | | | | | | mwan3: use procd for locking everywhereAaron Goodman2020-11-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Replace locks on /var/run/mwan3.lock with locks via procd. This fixes a deadlock issue where mwan3 stop would have a procd lock, but a hotplug script would have the /var/run/mwan3.lock Locking can be removed from mwan3rtmon since: 1) procd will have sent the KILL signal to the process during shutdown, so it will not add routes to already removed interfaces on mwan3 shutdown and 2) mwan3rtmon checks if an interface is active based on the mwan3_iface_in_<IFACE> entry in iptables, and the hotplug script always adds this before creating the route table and removes it before deleting the route table Fixes github issue #13704 (https://github.com/openwrt/packages/issues/13704)
| * | | | | | | | mwan3: reload unreachable/blackhole rules on hotplugAaron Goodman2020-11-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | when the network procd service restarts, it flushes the ip rules. We need to add these rules back. Since hotplug events are triggered when the networks come back online, adding this call to the hotplug script is the most convenient place to refresh the rules. Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
| * | | | | | | | mwan3: fix boundaryFlorian Eckert2020-11-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | he line is too long. For the future it is better to split it into several lines and make it more clearly arranged. In case of a future change, not the whole line will be marked as a change. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
| * | | | | | | | mwan3: use common makefile install wrappersFlorian Eckert2020-11-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With this change you can see at a glance which files will be installed on the system. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
| * | | | | | | | mwan3: fix wait conditions in mwan3trackFlorian Eckert2020-11-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Will only run when no events are pending. Signed-off-by: Aaron Goodman <aaronjg@stanford.edu> [ Update description and split into own commit ] Signed-off-by: Florian Eckert <fe@dev.tdt.de>
| * | | | | | | | mwan3: move mwan3_init call in mwwan3track into mainFlorian Eckert2020-11-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Initialize TRACK_OUTPUT has been set after INTERFACE variable initialization. Move definition into main fixes this issue. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
| * | | | | | | | mwan3: remove not needes jshn.sh includeFlorian Eckert2020-11-06
| | |_|_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove not needed jshn.sh include. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* / | | | | | | haproxy: Update HAProxy to v2.2.5Christian Lachner2020-11-07
|/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Update haproxy download URL and hash Signed-off-by: Christian Lachner <gladiac@gmail.com>
* | | | | | | rp-pppoe: increase PKG_RELEASEJosef Schlehofer2020-11-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In a recent commit, there was a fixed typo in config file of rp-ppoe package. As there was no increased version in PKG_VERSION/PKG_RELEASE, it means that fixed typo will be applied for users, who install rp-pppoe now. Existing users will not be aware that there is an updated package with fixed typo. They will need to do force overwrite/reinstall via opkg. It makes a little bit complicated as we are fixing typo in conffile, but this change will be applied to users who do not touch it. In any case, there should be a bumped version. Fixes: fe709078ffaaf323593b126c02e83e7512b84073 ("rp-pppoe: fix typo") Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
* | | | | | | xinetd: do not restart service after config change if it is not runningHelge Mader2020-11-05
| |/ / / / / |/| | | | | | | | | | | | | | | | | Signed-off-by: Helge Mader <ma@dev.tdt.de>
* | | | | | unbound: clean up interface interpretation in UCIEric Luehrsen2020-11-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | DNS flag day 2020, software should reflect the minimum EDNS 1232 bytes. Added iface_wan and iface_lan to control internal DNS assignemnts and to control what is local service ACL. Interface wild cards are not explicitly set so that they can be customized in extended conf. Signed-off-by: Eric Luehrsen <ericluehrsen@gmail.com>
* | | | | | unbound: update to 1.1.12Eric Luehrsen2020-11-04
| |_|_|/ / |/| | | | | | | | | | | | | | Signed-off-by: Eric Luehrsen <ericluehrsen@gmail.com>
* | | | | rp-pppoe: fix typoJianhui Zhao2020-11-04
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
* | | | | wifidog: use new extra_command function definitionFlorian Eckert2020-11-04
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* | | | | vpnbypass: use new extra_command function definitionFlorian Eckert2020-11-04
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* | | | | vpn-policy-routing: use new extra_command function definitionFlorian Eckert2020-11-04
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* | | | | tinc: use new extra_command function definitionFlorian Eckert2020-11-04
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* | | | | tgt: use new extra_command function definitionFlorian Eckert2020-11-04
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* | | | | simple-adblock: use new extra_command function definitionFlorian Eckert2020-11-04
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* | | | | seafile-server: use new extra_command function definitionFlorian Eckert2020-11-04
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* | | | | radicale: use new extra_command function definitionFlorian Eckert2020-11-04
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* | | | | openvswitch: use new extra_command function definitionFlorian Eckert2020-11-04
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* | | | | nginx: use new extra_command function definitionFlorian Eckert2020-11-04
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* | | | | haproxy: use new extra_command function definitionFlorian Eckert2020-11-04
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* | | | | gnunet: use new extra_command function definitionFlorian Eckert2020-11-04
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* | | | | apfree-wifidog: use new extra_command function definitionFlorian Eckert2020-11-04
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* | | | | Merge pull request #13849 from dibdot/adblockDirk Brenken2020-11-03
|\ \ \ \ \ | | | | | | | | | | | | adblock: adapt openwrt rc.common changes
| * | | | | adblock: adapt openwrt rc.common changesDirk Brenken2020-11-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * since openwrt master has merged the depending P/R, the old extra_help/extra_commands syntax is no longer working, see #13798 for reference * removed test.sh script from package Signed-off-by: Dirk Brenken <dev@brenken.org>
* | | | | | Merge pull request #13848 from dibdot/banipDirk Brenken2020-11-03
|\ \ \ \ \ \ | | | | | | | | | | | | | | banip: adapt openwrt rc.common changes
| * | | | | | banip: adapt openwrt rc.common changesDirk Brenken2020-11-03
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * since openwrt master has merged the depending P/R, the old extra_help/extra_commands syntax is no longer working, see #13798 for reference * removed logd dependency, see #13820 for reference Signed-off-by: Dirk Brenken <dev@brenken.org>
* / / / / / travelmate: adapt openwrt rc.common changesDirk Brenken2020-11-03
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * since openwrt master has merged the depending P/R, the old extra_help/extra_commands syntax is no longer working, see #13798 for reference Signed-off-by: Dirk Brenken <dev@brenken.org>
* | | | | usbip: remove no longer necessary udev hackRosen Penev2020-11-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It's not only unnecessary, it interferes with libudev-zero. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* | | | | treewide: turn specific libudev-* DEPENDS to generic onesRosen Penev2020-11-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | libudev-zero as well as libudev-fbsd have PROVIDES:=libudev . These packages have nothing specific that requires one or the other. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* | | | | Merge pull request #13748 from aaronjg/mwan3-owner-procdFlorian Eckert2020-11-03
|\ \ \ \ \ | |_|/ / / |/| | | | mwan3: fix mwan3 'use'
| * | | | mwan3: fix rpcd with for routers with no IPv6 supportAaron Goodman2020-10-29
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
| * | | | mwan3: do not wait to process ifup/ifdown eventsAaron Goodman2020-10-27
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
| * | | | mwan3: fix mwan3 route handlingAaron Goodman2020-10-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - support trailing route space from iproute2 - add routes even when iface is down - fix source_routing argument check - add quotes in logging to better detect issues with trailing spaces Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
| * | | | mwan3: fix reload handlingFlorian Eckert2020-10-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When the interface section was changed, the changed configuration options were not applied. This commit adds the service reload handling again. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
| * | | | mwan3: fix mwan3 'use'Aaron Goodman2020-10-22
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
* | | | | Merge pull request #13813 from ↵Rosen Penev2020-11-02
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | aleksander0m/aleksander/longer-wait-for-init-events modemmanager: increase initial timeout for event reporting
| * | | | | modemmanager: increase initial timeout for event reportingAleksander Morgado2020-10-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When the ModemManager daemon is started by the init script, we're explicitly calling mm_report_events_from_cache() so that all the hotplug events that happened before that moment are properly notified to the newly launched daemon. This initial reporting of events does a wait for the ModemManager process to be available in DBus, and if the daemon isn't registered in the bus in a given time, the process is considered failed: Sun Sep 6 16:20:02 2020 ModemManager: hotplug: checking if ModemManager is available... Sun Sep 6 16:20:02 2020 ModemManager: hotplug: ModemManager not yet available Sun Sep 6 16:20:03 2020 [2180]: <info> ModemManager (version 1.14.6) starting in system bus... Sun Sep 6 16:20:03 2020 ModemManager: hotplug: checking if ModemManager is available... Sun Sep 6 16:20:04 2020 ModemManager: hotplug: ModemManager not yet available Sun Sep 6 16:20:05 2020 ModemManager: hotplug: checking if ModemManager is available... Sun Sep 6 16:20:05 2020 ModemManager: hotplug: ModemManager not yet available Sun Sep 6 16:20:06 2020 ModemManager: hotplug: checking if ModemManager is available... Sun Sep 6 16:20:06 2020 ModemManager: hotplug: ModemManager not yet available Sun Sep 6 16:20:07 2020 ModemManager: hotplug: checking if ModemManager is available... Sun Sep 6 16:20:07 2020 ModemManager: hotplug: ModemManager not yet available Sun Sep 6 16:20:08 2020 ModemManager: hotplug: checking if ModemManager is available... Sun Sep 6 16:20:08 2020 ModemManager: hotplug: ModemManager not yet available Sun Sep 6 16:20:09 2020 ModemManager: hotplug: checking if ModemManager is available... Sun Sep 6 16:20:09 2020 ModemManager: hotplug: ModemManager not yet available Sun Sep 6 16:20:10 2020 ModemManager: hotplug: checking if ModemManager is available... Sun Sep 6 16:20:10 2020 ModemManager: hotplug: ModemManager not yet available Sun Sep 6 16:20:11 2020 ModemManager: hotplug: checking if ModemManager is available... Sun Sep 6 16:20:11 2020 ModemManager: hotplug: ModemManager not yet available Sun Sep 6 16:20:12 2020 ModemManager: hotplug: checking if ModemManager is available... Sun Sep 6 16:20:12 2020 ModemManager: hotplug: ModemManager not yet available Sun Sep 6 16:20:12 2020 ModemManager: hotplug: error: couldn't report initial kernel events: ModemManager not running Update the default wait time for this initial event notification from 10s to 60s, because there are cases where the daemon is slower to boot, e.g. during the first boot after a sysupgrade. Signed-off-by: Aleksander Morgado <aleksander@aleksander.es>
* | | | | | Merge pull request #13755 from r-salvaterra/torRosen Penev2020-11-01
|\ \ \ \ \ \ | | | | | | | | | | | | | | Tor: a couple of updates
| * | | | | | tor: disable man pages and html manual generationRui Salvaterra2020-10-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We don't need this on an embedded system. Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
| * | | | | | tor: add a basic variant, without relay/bridge supportRui Salvaterra2020-10-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If relay/bridge support isn't required, this variant is about 300 kiB smaller than the full tor daemon. Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
| * | | | | | tor: improve readability of the packages help textRui Salvaterra2020-10-28
| | |_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Whitespace before and after the description makes the package information much more obvious. Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
* | | | | | Merge pull request #13678 from oldium/update-fwknopd-defaultsRosen Penev2020-11-01
|\ \ \ \ \ \ | | | | | | | | | | | | | | fwknop: Use sensible defaults.
| * | | | | | fwknop: Use sensible defaults.Oldřich Jedlička2020-10-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Change KEY/HMAC_KEY to __CHANGEME__, which is rejected by fwknopd during start-up. The value CHANGEME is used only by LuCI package luci-app-fwknopd - pull request for generating keys directly from LuCI has been created already. * Add sensible defaults for ENABLE_IPT_FORWARDING and ENABLE_NAT_DNS, which both are/were set by luci-app-fwknopd. Move the defaults here. Signed-off-by: Oldřich Jedlička <oldium.pro@gmail.com>