Community maintained packages for difos.
Find a file
Marcin Jurkowski 66406f98db mwan3: fix interface-bound traffic when interface is offline
This commit fixed what 6d99b602 was supposed to fix without affecting
interface-bound traffic.

Before 6d99b602 interface-bound traffic was working normally as long
as at least one interface was online. However when the last interface
went offline, it was impossible to ping and such state was
unrecoverable.

Commit 6d99b602 fixed unrecoverable offline state problem (it was
possible to ping -I iface) but messed inteface-bound traffic. Traffic
with interface source address was not working if the interface was in
"offline" state, even if another interface was online.
The problem was caused by an inconsistent "offline" interface state:
iptables-related rules were kept while routing table and policy were
deleted.

The idea behind this commit is to:
 1. Keep all the rules for each interface (iptables, routing table,
    policy) regardless of its state. This ensures consistency,
 2. Make interface state hotplug events affect only iptables'
    mwan3_policy_* rules. Interface-related iptables, routing table
    and policy is removed only when mwan3 is manually stopped.

To make such changes possible, it's necessary to change the way
mwan3_policy_* rule generator keeps track of interface state hotplug
events.
Until now, it checked for the existence of custom interface-related
routing table (table id 1, 2, 3, ...). Clearly we can no longer rely
on that so each interface state is stored explicitly in file.

Signed-off-by: Marcin Jurkowski <marcin1j@gmail.com>
2017-09-12 11:18:52 +02:00
.github Add an issue template 2016-08-25 20:32:50 +08:00
admin treewide: run "make check FIXUP=1" 2017-08-29 21:41:14 -07:00
devel treewide: run "make check FIXUP=1" 2017-08-29 21:41:14 -07:00
fonts/dejavu-fonts-ttf [dejavu-fonts] add license info and myself as maintainer 2017-02-22 18:39:54 +01:00
ipv6/tayga treewide: run "make check FIXUP=1" 2017-08-29 21:41:14 -07:00
kernel treewide: run "make check FIXUP=1" 2017-08-29 21:41:14 -07:00
lang node: delete unnecessary TAB characters at the end of a line 2017-09-11 12:49:04 +09:00
libs libs/confuse: Update to 3.2.1 2017-09-08 12:44:28 +02:00
mail fdm: bump to latest version 2017-08-30 16:45:38 +03:00
multimedia Merge pull request #4785 from thess/ffmpeg-testing 2017-08-30 16:15:07 -04:00
net mwan3: fix interface-bound traffic when interface is offline 2017-09-12 11:18:52 +02:00
sound pusleaudio: update to 11.0 2017-09-11 08:37:18 +02:00
utils acpica-unix: update to 20170831 2017-09-05 19:56:52 -06:00
.travis.yml build,travis: do not modify .travis.yml 2017-07-24 16:32:55 -07:00
.travis_do.sh build,travis: really fail Travis job when build test fail 2017-08-17 22:58:56 -07:00
CONTRIBUTING.md treewide: use name in define and eval lines 2017-03-08 21:15:20 +01:00
LICENSE Add GPLv2 pro-forma license 2014-06-16 08:14:04 +02:00
README.md Fixed broken link in README.md 2015-07-10 13:51:22 -05:00

OpenWrt packages feed

Description

This is the OpenWrt "packages"-feed containing community-maintained build scripts, options and patches for applications, modules and libraries used within OpenWrt.

Installation of pre-built packages is handled directly by the opkg utility within your running OpenWrt system or by using the OpenWrt SDK on a build system.

Usage

This repository is intended to be layered on-top of an OpenWrt buildroot. If you do not have an OpenWrt buildroot installed, see the documentation at: OpenWrt Buildroot Installation on the OpenWrt support site.

This feed is enabled by default. To install all its package definitions, run:

./scripts/feeds update packages
./scripts/feeds install -a -p packages

License

See LICENSE file.

Package Guidelines

See CONTRIBUTING.md file.