Commit Graph

4901 Commits (2021.1.082)
 

Author SHA1 Message Date
pedro cb7d01d7b3 rc: services.c: name of the service could be "jffs" or "jffs2" 5 years ago
M_ars 4ce26f6a66 SDK6: update wireless driver (dual core)
For Info:
6.37 RC14.126
wl0: Oct 20 2020 11:55:53 version 6.37.14.126 (r561982)

previous wireless driver:
6.37 RC14.126
wl0: Aug 10 2020 17:00:56 version 6.37.14.126 (r561982)

tested with R7000, working

Note: preprocessor conditions may need to be adjusted if we get updates for SDK6 single-core and/or SDK7 / DHD --> we will see :)
5 years ago
M_ars 02508c00c2 SDK6: small update/addendum for new wireless drivers (single- and dual-core) *.126 Year 2020
see driver commits (and up/newer):
86fd29f5a2
3c5386704e

Note: differentiate a little more between single core and dual core and add comments/notes
5 years ago
M_ars 9825ea0e57 router: rc: network.c : adjust and update host DHCP relay code
Note: distinguish SDK7 and SDK6
5 years ago
M_ars 1cdf9c8a8a router: rc: network.c : - small clean-up for BSD (remove left-overs, not needed/used) 5 years ago
pedro 462bdefcbb multiwan: also allow to init state file with value "1" instead of "0" - it could speed up connection process in some cases 5 years ago
pedro e5016fc9f9 multiwan: rename and move the state file to the directory where the other state files are 5 years ago
pedro b9f395a847 GUI: change default colours of speed graphs to Blue & Orange; cosmetic 5 years ago
pedro ce72307e9c Merge branch 'arm-master' into arm-sdk7 5 years ago
pedro 48fd96de8f GUI: Status: Overview: corrections and fixes
- display more info in real-time
- in case of Wireless Client mode, stick to Signal Quality (like on Device List page), not SNR (signal value to the noise value)
- clean-up javascript code, remove duplicate functions, unused variables
- cosmetic
5 years ago
pedro eb79ed2c83 www: cosmetic in asp files 5 years ago
xuzhun daaf299eac build: add support for Belkin F9K1113v2 router 5 years ago
notsure2 66909ea517 Add Wireguard tools
- wg-quick not supported because it depends on bash

* Sources: https://git.zx2c4.com/wireguard-tools/commit/?id=66ed611bd0f477fbe5792212d0a88076bec9bf3b
5 years ago
notsure2 5599460c26 kernel sdk7: add Wireguard v1.0.20201221 5 years ago
notsure2 5c192dddf4 kernel sdk7: add wireguard support
- backport get_monotonic_boottime https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=abb3a4ea2e0ea7114a4475745da2f32bd9ad5b73
- backport nf_reset_trace
- backport skb_transport_header_was_set and skb_probe_transport_header
- backport kref_get_unless_zero
- backport NAPI_POLL_WEIGHT
- backport kfree_skb_list
- backport ipv6_iface_scope_id
- backport INET_ECN_decapsulate
- backport deferrable work https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=dd6414b50fa2b1cd247a8aa8f8bd42414b7453e1
- backport netlink: advertise incomplete dumps https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=670dc2833d144375eac36ad74111495a825a9288
- backport rol64 and ror64
- backport sg_nents
- backport net: Export __sock_create https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=721db93a55dad71bb89e7d11cc6be1f180ec3f2d
- backport ip6_flow_hdr
- backport ip6tunnel_xmit
- export ip6_dst_hoplimit
- fix compile warnings
5 years ago
notsure2 13fcaefef5 kernel: add Wireguard v1.0.20201221 5 years ago
notsure2 0985fafe51 kernel: add wireguard support
- backport get_monotonic_boottime https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=abb3a4ea2e0ea7114a4475745da2f32bd9ad5b73
- backport nf_reset_trace
- backport skb_transport_header_was_set and skb_probe_transport_header
- backport kref_get_unless_zero
- backport NAPI_POLL_WEIGHT
- backport kfree_skb_list
- backport ipv6_iface_scope_id
- backport INET_ECN_decapsulate
- backport deferrable work https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=dd6414b50fa2b1cd247a8aa8f8bd42414b7453e1
- backport netlink: advertise incomplete dumps https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=670dc2833d144375eac36ad74111495a825a9288
- backport rol64 and ror64
- backport sg_nents
- backport net: Export __sock_create https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=721db93a55dad71bb89e7d11cc6be1f180ec3f2d
- backport ip6_flow_hdr
- backport ip6tunnel_xmit
- export ip6_dst_hoplimit
- fix compile warnings
5 years ago
pedro 455578ad1a www: advanced-dhcpdns.asp: fix javascript error in VPN builds 5 years ago
pedro 5ef41896c4 rc: do not restart WAN for changes on BW Limiter page when nocat is disabled; remove unused reset_nocat() function 5 years ago
notsure2 93f2e5b11c Implement GUI and nvram variables for CAKE AQM QoS 5 years ago
notsure2 df220cca74 iproute2: tc: cross-port cake support to tc from tc-adv project 5 years ago
notsure2 48407b077b kernel: backport CAKE SQM scheduler and needed kernel functions 5 years ago
pedro 914fe49bcd Merge branch 'arm-master' into arm-sdk7 5 years ago
pedro 114022d1f0 QoS: re-enable View Details without having to enable QoS itself
- it works actually only on MIPS routers
- in ARM: TBD (now need to enable/disable QoS for it to work)
5 years ago
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