Commit Graph

5495 Commits (2021.7)
 

Author SHA1 Message Date
pedro 72f6a54d24 shared: update ifaddrs.c 5 years ago
pedro 7bc28353e7 dropbear: strip version from ident
Ported from @Merlin: dbdda187ca
5 years ago
pedro febc41d18b kernel sdk7: net: usb: qmi_wwan: remove redundant assignment to variable status
The variable status is being initializeed with a value that is never read
and it is being updated later with a new value. The initialization
is redundant and can be removed.

Addresses-Coverity: ("Unused value")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: Bjørn Mork <bjorn@mork.no>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

Fix from upstream
5 years ago
pedro cf78991eb9 kernel sdk7: net: huawei_cdc_ncm: remove redundant assignment to variable ret
The variable ret is being initializeed with a value that is never read
and it is being updated later with a new value. The initialization
is redundant and can be removed.

Addresses-Coverity: ("Unused value")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

Fix from upstream
5 years ago
pedro ee6a0ad283 kernel: net: usb: qmi_wwan: remove redundant assignment to variable status
The variable status is being initializeed with a value that is never read
and it is being updated later with a new value. The initialization
is redundant and can be removed.

Addresses-Coverity: ("Unused value")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: Bjørn Mork <bjorn@mork.no>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

Fix from upstream
5 years ago
pedro 38486d0740 kernel: net: huawei_cdc_ncm: remove redundant assignment to variable ret
The variable ret is being initializeed with a value that is never read
and it is being updated later with a new value. The initialization
is redundant and can be removed.

Addresses-Coverity: ("Unused value")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

Fix from upstream
5 years ago
pedro 31a8eb0b64 firewall: add a brute force mitigation rule on port defined for GUI remote access 5 years ago
pedro 26772d31f8 firewall: retry failed iptables-restore in a few secs
This resolves the collision occuring if another process tries to modify the
table while we are in the process of applying the firewall rules.
5 years ago
M_ars e2da127857 kernel: netns: Deduplicate and fix copy_net_ns when !CONFIG_NET_NS
The copy of copy_net_ns used when the network stack is not
built is broken as it does not return -EINVAL when attempting
to create a new network namespace.  We don't even have
a previous network namespace.

Since we need a copy of copy_net_ns in net/net_namespace.h that is
available when the networking stack is not built at all move the
correct version of copy_net_ns from net_namespace.c into net_namespace.h
Leaving us with just 2 versions of copy_net_ns.  One version for when
we compile in network namespace suport and another stub for all other
occasions.

Acked-by: Serge Hallyn <serge.hallyn@canonical.com>
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?h=v5.7&id=d727abcb2355566a3372ee1810f156fba75112b7
5 years ago
M_ars 6085f0f543 kernel: netns: Deduplicate and fix copy_net_ns when !CONFIG_NET_NS
The copy of copy_net_ns used when the network stack is not
built is broken as it does not return -EINVAL when attempting
to create a new network namespace.  We don't even have
a previous network namespace.

Since we need a copy of copy_net_ns in net/net_namespace.h that is
available when the networking stack is not built at all move the
correct version of copy_net_ns from net_namespace.c into net_namespace.h
Leaving us with just 2 versions of copy_net_ns.  One version for when
we compile in network namespace suport and another stub for all other
occasions.

Acked-by: Serge Hallyn <serge.hallyn@canonical.com>
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?h=v5.7&id=d727abcb2355566a3372ee1810f156fba75112b7
5 years ago
M_ars 1802443537 GUI: basic-network.asp - hide and disable wan options/settings if the user selects/enables wireless bridge mode
see problem report:
https://www.linksysinfo.org/index.php?threads/tomato-e4200-wireless-ethernet-bridge-on-5ghz-eth2.75637/#post-317127

Note: option add wan port to lan will be hidden in wireless bridge mode (only visible with wan disabled now)
5 years ago
pedro f418c76f68 build: enable kernel network namespaces and veth for AIO targets 5 years ago
Not Sure e8256c74d0 Merged in fix-crash-when-quickly-add-remove-namespaces (pull request #23)
Fix panic due to incorrect check of error pointer when proc_ns_fget fails.
5 years ago
pedro cb0f6ef043 openvpn: in case of openvpn unexpectedly dies - flush tun IF, otherwise openvpn will not re-start (required by iproute2) 5 years ago
pedro 384d7395d2 openvpn: no longer dump stats to system log 5 years ago
pedro 47bd0f22ae openvpn: ensure duplicate-cn is set as default if not specified 5 years ago
pedro ce5f7a8a92 openvpn: shutdown all running servers/clients on wan stop and remove tunnel modules 5 years ago
pedro 7b38f92287 openvpn: set up firewall in correct order - before starting openvpn but after stopping it 5 years ago
pedro b5b5f60215 openvpn: fix multiple issues in stopping vpn services 5 years ago
pedro 7017a32b80 firewall: openvpn: fix duplicate openvpn rules on wan/openvpn restart 5 years ago
notsure2 fedcc8ecc2 Fix panic due to incorrect check of error pointer when proc_ns_fget fails. 5 years ago
pedro a289012122 httpd: limit SSL certificate to 13 months if clock has been set
- new Apple initiative to force removal of possibly compromised certs
5 years ago
M_ars c2f59fe77a shared: bcmrobo.c - cosmetic for Netgear LED fix (valid for R6400v2 / R6700v3 (and also R7000P))
(in additon some more minor cosmetic)
5 years ago
M_ars e6fd10478b R6400v2 / R6700v3: improve/fix support for SDK6 (no change for other routers)
Note: make sure to disable not used lan interfaces

***BIG THX to user txnative from www.linksysinfo.org for testing/helping***

Fix/help for commit 543caca (Merged in enable-kernel-network-namespace) (bootloop/crash for R6400v2 / R6700v3)

and also solve warning at boot, see cut below!

------------[ cut here ]------------
WARNING: at net/core/dev.c:4870 rollback_registered_many+0xf8/0x29c()
module:  et bf011000 74220
module:  igs bf009000 11927
module:  emf bf000000 15105
Modules linked in: et(P+) igs(P) emf(P)
[<c0055000>] (unwind_backtrace+0x0/0xf8) from [<c0073298>] (warn_slowpath_common+0x4c/0x64)
[<c0073298>] (warn_slowpath_common+0x4c/0x64) from [<c00732cc>] (warn_slowpath_null+0x1c/0x24)
[<c00732cc>] (warn_slowpath_null+0x1c/0x24) from [<c020cad0>] (rollback_registered_many+0xf8/0x29c)
[<c020cad0>] (rollback_registered_many+0xf8/0x29c) from [<c020cd54>] (unregister_netdevice_queue+0x70/0xb8)
[<c020cd54>] (unregister_netdevice_queue+0x70/0xb8) from [<c020cdb4>] (unregister_netdev+0x18/0x20)
[<c020cdb4>] (unregister_netdev+0x18/0x20) from [<bf01119c>] (et_free+0x48/0x154 [et])
[<bf01119c>] (et_free+0x48/0x154 [et]) from [<bf01e124>] (et_probe+0x624/0x6bc [et])
[<bf01e124>] (et_probe+0x624/0x6bc [et]) from [<c0185d48>] (pci_device_probe+0x5c/0x80)
[<c0185d48>] (pci_device_probe+0x5c/0x80) from [<c01a4940>] (driver_probe_device+0x78/0x174)
[<c01a4940>] (driver_probe_device+0x78/0x174) from [<c01a4ac8>] (__driver_attach+0x8c/0x90)
[<c01a4ac8>] (__driver_attach+0x8c/0x90) from [<c01a3b9c>] (bus_for_each_dev+0x54/0x80)
[<c01a3b9c>] (bus_for_each_dev+0x54/0x80) from [<c01a4294>] (bus_add_driver+0x98/0x230)
[<c01a4294>] (bus_add_driver+0x98/0x230) from [<c01a4ccc>] (driver_register+0x78/0x13c)
[<c01a4ccc>] (driver_register+0x78/0x13c) from [<c0185fb0>] (__pci_register_driver+0x44/0xb4)
[<c0185fb0>] (__pci_register_driver+0x44/0xb4) from [<c004e5bc>] (do_one_initcall+0x30/0x19c)
[<c004e5bc>] (do_one_initcall+0x30/0x19c) from [<c00a07ac>] (sys_init_module+0x11c/0x1bac)
[<c00a07ac>] (sys_init_module+0x11c/0x1bac) from [<c004eac0>] (ret_fast_syscall+0x0/0x30)
---[ end trace 2e1525ddd9289681 ]---
network todo 'eth%d' but state 0
[<c0055000>] (unwind_backtrace+0x0/0xf8) from [<c020f0a8>] (netdev_run_todo+0x1d0/0x21c)
[<c020f0a8>] (netdev_run_todo+0x1d0/0x21c) from [<bf01119c>] (et_free+0x48/0x154 [et])
[<bf01119c>] (et_free+0x48/0x154 [et]) from [<bf01e124>] (et_probe+0x624/0x6bc [et])
[<bf01e124>] (et_probe+0x624/0x6bc [et]) from [<c0185d48>] (pci_device_probe+0x5c/0x80)
[<c0185d48>] (pci_device_probe+0x5c/0x80) from [<c01a4940>] (driver_probe_device+0x78/0x174)
[<c01a4940>] (driver_probe_device+0x78/0x174) from [<c01a4ac8>] (__driver_attach+0x8c/0x90)
[<c01a4ac8>] (__driver_attach+0x8c/0x90) from [<c01a3b9c>] (bus_for_each_dev+0x54/0x80)
[<c01a3b9c>] (bus_for_each_dev+0x54/0x80) from [<c01a4294>] (bus_add_driver+0x98/0x230)
[<c01a4294>] (bus_add_driver+0x98/0x230) from [<c01a4ccc>] (driver_register+0x78/0x13c)
[<c01a4ccc>] (driver_register+0x78/0x13c) from [<c0185fb0>] (__pci_register_driver+0x44/0xb4)
[<c0185fb0>] (__pci_register_driver+0x44/0xb4) from [<c004e5bc>] (do_one_initcall+0x30/0x19c)
[<c004e5bc>] (do_one_initcall+0x30/0x19c) from [<c00a07ac>] (sys_init_module+0x11c/0x1bac)
[<c00a07ac>] (sys_init_module+0x11c/0x1bac) from [<c004eac0>] (ret_fast_syscall+0x0/0x30)
5 years ago
pedro 459afe804a iptables: update to 1.8.5 5 years ago
pedro 3ea7ab61be dropbear: update to 2020.80 5 years ago
pedro c5d704ec8f libcurl: update to 7.71.0 5 years ago
pedro 93a0450126 GUI: NAS: USB support: add info on how to create an ext4 file system that will be compatible with FreshTomato ARM 5 years ago
pedro b646649804 samba: configuration tune up 5 years ago
pedro f74dce55ae build: kernel sdk7: make kernel network namespaces and veth optional and disable it for now for every target
- there are problems (bootloop) for some routers
5 years ago
pedro 4c576917ab Merge branch 'arm-master' into arm-sdk7 5 years ago
pedro aace623627 build: kernel: make kernel network namespaces and veth optional and disable it for now for every target
- there are problems (bootloop) for some routers
5 years ago
pedro 31ddc72b4d samba: add protocol selection options (SMBv1, SMBv2, SMBv1 + SMBv2); make SMBv2 + SMBv1 the default (no change) 5 years ago
pedro 798b6f6802 wsdd2: fix '-b' option parsing
fix null pointer and empty string handling

The previous behavor is infinite loop

examples:
"" empty string
"vendor:for,model:bar," invalid options, please note the comma at the end

Signed-off-by: Syrone Wong <wong.syrone@gmail.com>

Fix from upstream: 4d05c81ab2
5 years ago
pedro 4a686040a1 accel-pptp: clean sources of 0.8.5 add patches instead
- TBH it's just the pppd plugin, not the whole accel-pptp...
5 years ago
pedro e67609f993 sqlite: update to 3.32.3 5 years ago
pedro 91f3074a5c GUI: Administration: Upgrade: fix missing css when loading reboot.asp 5 years ago
pedro a04e0d507e Merge branch 'arm-master' into arm-sdk7 5 years ago
pedro cdefde330d GUI: Admin Access: SSH Daemon: add ed25519/ecdsa to the allowed authentication keys; also fix the regexp/code to check the entire field, not just the first line 5 years ago
pedro 2f2c89f0f3 dropbear: update to 2020.79 5 years ago
pedro 651d4cd737 Update README.md - SDK6-NG is no longer needed 5 years ago
M_ars af2684c8f8 GUI: Advanced: Wireless: check TxBF support (v2)
Note: Turn off and hide TxBF options if needed!
5 years ago
M_ars 714bf816eb GUI: Advanced: Wireless: changes for new default settings (Part 2)
Thanks to @rs232

Note: remove the old/mixed setup and turn on Universal/Implicit Beamforming for all wifi modules (if possible)
5 years ago
pedro 957ef00952 build: enable Tuxera HFS/HFS+ driver on all ac3200_ (RT-AC3200) targets 5 years ago
pedro bf0e1cfd06 Merge branch 'arm-master' into arm-sdk7 5 years ago
pedro 1399b92edb build: enable Tuxera HFS/HFS+ driver on targets:
- ac68e/ac68z (RT-N18U, RT-AC56U, RT-AC68U, RT-AC68R, RT-AC68P, RT-AC66U_B1, RT-AC1900P VPN/AIO)
- ac15e (Tenda AC15 VPN)
- ac18e/ac18z (Tenda AC18 VPN/AIO)
5 years ago
pedro bdabf8efaf build: enable Open HFS/HFS+ driver on all targets 5 years ago
pedro 79d586db7a Add HFS/HFS+ support (also with tuxera driver) 5 years ago
pedro 8afcc852de Add diskdev_cmds-332.25 (hfsprogs) to the tree with patches 5 years ago
pedro 5899bb19a3 GUI: Advanced: Wireless: changes for new default settings
Thanks to @rs232
5 years ago