Commit Graph

4877 Commits (2021.1.070)
 

Author SHA1 Message Date
pedro aa139e511b www: qos-ctrate.asp: cosmetic 5 years ago
pedro ea96ec875f www: qos-settings.asp: restart BW Limiter automatically when disabling QoS, also show/hide notice when needed; cosmetic 5 years ago
pedro a86d999fec rc: qos.c: improve logging; cosmetic 5 years ago
pedro 9438c1fecb rc: bwlimit.c: add start/stop options and in only one exe file (like in QoS) 5 years ago
pedro 150c421192 rc: cosmetic 5 years ago
pedro 30f2893178 rc: add logger to QoS and BW Limiter 5 years ago
pedro 1cc83b6f47 rc: qos.c: yet another fix 5 years ago
pedro a4bf005170 www: qos-settings.asp: improved 'Classify traffic' checkbox
- when checked, also change 'Default class' to align the default value with the other pages
- when unchecked, restore the default values for 'Default class' and 'Qdisc Scheduler'
5 years ago
pedro 4e2be68022 rc: qos.c: fix commit 4ff9e45 5 years ago
pedro 4ff9e45741 rc: qos.c: use #ifdef to distinguish between ARM and MIPS versions 5 years ago
pedro e4f1ee2d1c www: qos-settings.asp: automate fq_codel enabling when using only SQM; cosmetic 5 years ago
pedro ad6bccec2a www: qos-settings.asp: cosmetic 5 years ago
pedro 741adea766 Merge branch 'arm-master' into arm-sdk7 5 years ago
notsure2 0c8c35358b Major QoS improvements. Harmonize all uses of firewall marks between VPN, wan PBR, BWLimit and QoS.
QoS:
- use correct WAN MTU when starting QoS
- fix completely broken behavior with multiple wans
- fix 'rate' and 'limit' table headings
- separate ATM overhead fields for each wan
- add PPPoE LLC + VLAN to overhead options
- support enabling queuing without classification (SQM)
- rearrange QoS Basic Settings page to make it clear
- when stopping qos, don't forget to delete the ingress qdisc
- don't use broken iptables set-return
- L7 fix and comment improvement
- use proper fwmask when matching fwmark
- check wan up once and use the same result for all rules

PBR:
- don't use broken iptables set-return
- fix connmark restore mark mask
- copy connection mark to packet mark to pbr
5 years ago
notsure2 606bf3e8e0 kernel sdk7: ifb: dont hard code inet_net use
ifb should lookup devices in the appropriate namespace.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Acked-by: Jamal Hadi Salim <jhs@mojatatu.com>
Cc: Benjamin LaHaise <bcrl@kvack.org>
Signed-off-by: David S. Miller <davem@davemloft.net>

Fix from upstream: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=73bf0d0eecba15e2a2f96b1092554b01fc07044b
5 years ago
notsure2 1ef5767038 kernel sdk7: pkt_sched: namespace aware act_mirred
Eric Dumazet pointed out that act_mirred needs to find the current net_ns,
and struct net pointer is not provided in the call chain.  His original
patch made use of current->nsproxy->net_ns to find the network namespace,
but this fails to work correctly for userspace code that makes use of
netlink sockets in different network namespaces.  Instead, pass the
"struct net *" down along the call chain to where it is needed.

This version removes the ifb changes as Eric has submitted that patch
separately, but is otherwise identical to the previous version.

Signed-off-by: Benjamin LaHaise <bcrl@kvack.org>
Tested-by: Eric Dumazet <eric.dumazet@gmail.com>
Acked-by: Jamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

Fix from upstream: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=c1b52739e45f5969b208ebc377f52468280af11e
5 years ago
notsure2 5a15bfbbab kernel sdk7: net sched: Pass the skb into change so it can access NETLINK_CB
cls_flow.c plays with uids and gids.  Unless I misread that
code it is possible for classifiers to depend on the specific uid and
gid values.  Therefore I need to know the user namespace of the
netlink socket that is installing the packet classifiers.  Pass
in the rtnetlink skb so I can access the NETLINK_CB of the passed
packet.  In particular I want access to sk_user_ns(NETLINK_CB(in_skb).ssk).

Pass in not the user namespace but the incomming rtnetlink skb into
the the classifier change routines as that is generally the more useful
parameter.

Cc: Jamal Hadi Salim <jhs@mojatatu.com>
Acked-by: David S. Miller <davem@davemloft.net>
Acked-by: Serge Hallyn <serge.hallyn@canonical.com>
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>

Prerequisite patch for mirred namespace compatibility: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=af4c6641f5ad445fe6d0832da42406dbd9a37ce4
5 years ago
notsure2 42dca15b49 kernel: ifb: dont hard code inet_net use
ifb should lookup devices in the appropriate namespace.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Acked-by: Jamal Hadi Salim <jhs@mojatatu.com>
Cc: Benjamin LaHaise <bcrl@kvack.org>
Signed-off-by: David S. Miller <davem@davemloft.net>

Fix from upstream: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=73bf0d0eecba15e2a2f96b1092554b01fc07044b
5 years ago
notsure2 ed6758ae65 kernel: pkt_sched: namespace aware act_mirred
Eric Dumazet pointed out that act_mirred needs to find the current net_ns,
and struct net pointer is not provided in the call chain.  His original
patch made use of current->nsproxy->net_ns to find the network namespace,
but this fails to work correctly for userspace code that makes use of
netlink sockets in different network namespaces.  Instead, pass the
"struct net *" down along the call chain to where it is needed.

This version removes the ifb changes as Eric has submitted that patch
separately, but is otherwise identical to the previous version.

Signed-off-by: Benjamin LaHaise <bcrl@kvack.org>
Tested-by: Eric Dumazet <eric.dumazet@gmail.com>
Acked-by: Jamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

Fix from upstream: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=c1b52739e45f5969b208ebc377f52468280af11e
5 years ago
notsure2 423a070cd1 kernel: net sched: Pass the skb into change so it can access NETLINK_CB
cls_flow.c plays with uids and gids.  Unless I misread that
code it is possible for classifiers to depend on the specific uid and
gid values.  Therefore I need to know the user namespace of the
netlink socket that is installing the packet classifiers.  Pass
in the rtnetlink skb so I can access the NETLINK_CB of the passed
packet.  In particular I want access to sk_user_ns(NETLINK_CB(in_skb).ssk).

Pass in not the user namespace but the incomming rtnetlink skb into
the the classifier change routines as that is generally the more useful
parameter.

Cc: Jamal Hadi Salim <jhs@mojatatu.com>
Acked-by: David S. Miller <davem@davemloft.net>
Acked-by: Serge Hallyn <serge.hallyn@canonical.com>
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>

Prerequisite patch for mirred namespace compatibility: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=af4c6641f5ad445fe6d0832da42406dbd9a37ce4
5 years ago
pedro 5b55bfbdab rc: log when calling a nonexistent service; cosmetics 5 years ago
pedro cd4e11d6c8 rc: openvpn.c: enable multihome for UDP servers when in multiwan mode
- required as the router has multiple interfaces and we don't bind to a specific one

- Ported from @RMerlin (thanks!)
5 years ago
pedro de6e1875f7 openvpn: ignore unsupported ipv6 push configurations for ovpn client 5 years ago
pedro 971fd4a3fe Merge branch 'arm-master' into arm-sdk7 5 years ago
pedro 4e189a5a31 busybox: update to 1.32.1
- refresh patches
5 years ago
pedro 477a6d509f libsodium: update to 1.0.18-stable 5 years ago
pedro 94791cc156 miniupnpd: update to 2.2.1 5 years ago
pedro 0f0f16df6e nginx: update to 1.19.6 5 years ago
pedro f273c0fe06 nettle: update to 3.7 5 years ago
pedro aae3182bf2 igmpproxy: update to 0.3 5 years ago
pedro c8047059ed Merge branch 'arm-master' into arm-sdk7
- manually fix conflicts
5 years ago
pedro 622231f009 stubby: add full GUI support (part 1/2)
- based on @RMerlin work (thanks!)
5 years ago
pedro cef08dfd8f GUI: move stubby, dnscrypt-proxy and some other options to Advanced -> DHCP/DNS 5 years ago
pedro 07243b7632 www: tomato.js: fix wrongly treated input delay value in TomatoRefresh.initPage 5 years ago
Johan Källström 75ced02e89 build: add support for Netgear XR300 5 years ago
Johan Källström d2a7b1df1b Merged in feature/build_docker (pull request #47)
build: docker
5 years ago
Johan Källström 175bc9c8ed docker: add docker image for building 5 years ago
Johan Källström 6db0b29c98 Makefile: fix PATH and LD_LIBRARY_PATH 5 years ago
pedro 7f5275351d www: tomato.js: add missing semicolon 5 years ago
M_ars c33cc49658 R1D Xiaomi: change/fix LED table - assign GPIO 1 for LED_DIAG (active LOW, color red) / Status LED ==> with restart/reboot/... color red ON - assign GPIO 2 (color orange) and GPIO 3 (color blue) for LED_WHITE (active LOW) ==> with wan-up color blue ON (orange Off), wan-down color orange ON (blue Off) - add also stealth mode support
see report
https://www.linksysinfo.org/index.php?threads/2020-8-broke-led-on-multi-wan-indication.76138/#post-321980
5 years ago
pedro b0a8f23be9 rc: firewall.c: tune some params in NAT performance tweaks 5 years ago
pedro 2054160d3b libshared: introduce and use f_write_procsysnet() 5 years ago
pedro 05bf959e1f rc: interface.c: config_loopback(): properly bring down IF (oops...) 5 years ago
pedro 62721a54f6 stubby: tweak config: tls_query_padding_blocksize and idle_timeout 5 years ago
pedro ef07171af5 rc: interface.c: add possibility to set mtu in _ifconfig() 5 years ago
pedro 57fa27f2f3 rc: rc.h: duplicate prototype of config_loopback() 5 years ago
pedro fd7f3723c0 rc: openvpn.c: fix compiler warnings 5 years ago
pedro 9e2e89a340 Merge branch 'arm-master' into arm-sdk7 5 years ago
pedro 0499eced31 rc: interface.c: a few improvements 5 years ago
pedro e82f7fda83 rc: firewall: rename variables 5 years ago