Commit Graph

5495 Commits (2021.7)
 

Author SHA1 Message Date
pedro 5a0af2ea36 GUI: Report CFE version on status-overview.asp page 6 years ago
pedro 25340144db router: rc/shared: fix compiler warnings 6 years ago
kille72 4e8d0a453c Merge branch 'shibby-arm7' into shibby-arm7-huawei-cdc-ncm 6 years ago
pedro 3ed383a029 WL: update wireless driver for SDK7 to GPL 382.51640
$ dhd -i eth1 version
(null): 1.194 RC33.0
Dongle Host Driver, version 1.194.33 (r526004)
Compiled in drivers/net/wireless/bcmdhd on May 24 2019 at 18:10:22
6 years ago
pedro 4b8703343f router: rc: openvpn.c: fix typo in #8a77f5b 6 years ago
kille72 fbe52b0200 Merge branch 'shibby-arm' into shibby-arm-huawei-cdc-ncm 6 years ago
kille72 7321f74f74 Merge branch 'shibby-arm' into shibby-arm7 6 years ago
kille72 5cb9b2e35f Merge branch 'shibby-arm' into shibby-arm7-huawei-cdc-ncm 6 years ago
pedro 8a77f5b28e router: rc: openvpn.c: clean-up, code optimization - size reduced by almost 4kB 6 years ago
pedro 5995b9026a router: www: status-overview.asp: fix CPU temperature refreshing
- thanks to @Marco76: https://openlinksys.info/profile.php?lookup=5979
6 years ago
pedro 9379add69c router: rc: openvpn.c: cosmetics, without major changes to the code 6 years ago
pedro 7963aa8f00 router: rc: openvpn.c: fix typo causing wrong netmask to be added to the nat for bridges 2 - 4 6 years ago
M_ars 1a7bed1c35 shared: id.c: - do call check_hw_type() only once (only cosmetic / optimization --> save cpu work/load)
Hint: In case the hw is new/unknown, call check_hw_type() every time.

tested with Tenda AC18, working
6 years ago
M_ars eeade444c6 Tenda AC18: rely on tenda cfe default / init parameter (for each router)
Align to Tenda AC15 in case of different hw/cfe versions (with slightly different parameter for wifi modules)

tested with Tenda AC18, working correct!
6 years ago
M_ars bd46ee33ab Tenda AC15: rely on tenda cfe default / init parameter (for each router)
There are at least two different hw/cfe versions from Tenda, with slightly different parameter for wifi modules
6 years ago
M_ars 4aec540808 Tenda AC18: use variable 1:boardnum=AC18_5G to determine Tenda AC18 (and add some more infos)
Hint: align to Tenda AC15 detection
see also https://www.linksysinfo.org/index.php?threads/fork-freshtomato-arm.74117/page-149#post-308062

tested with Tenda AC18, working
6 years ago
M_ars 85ae94453b Tenda AC15: correct/fix detection, caused by commit 2b1294a413
There are at least 2 different hw/cfe versions from Tenda for that model. With this change, all known versions are correctly detected (again)
See also:
https://www.linksysinfo.org/index.php?threads/fork-freshtomato-arm.74117/page-149#post-308062

Thx to Techie007 for helping & testing
6 years ago
pedro 937090b00c GUI: Report CFE version on status-overview.asp page 6 years ago
pedro 1032658b44 router: rc/shared: fix compiler warnings 6 years ago
pedro 8b9bd43a83 router: rc: openvpn.c: fix typo in #c3e90e9 6 years ago
pedro 6cd457d2cb Merge branch 'arm-master' into arm-master-huawei-cdc-ncm 6 years ago
pedro c3e90e9f3e router: rc: openvpn.c: clean-up, code optimization - size reduced by almost 4kB 6 years ago
pedro b88e7c15a8 router: www: status-overview.asp: fix CPU temperature refreshing
- thanks to @Marco76: https://openlinksys.info/profile.php?lookup=5979
6 years ago
snowman58 a199c68f33 Update bcmrobo to support R7000, R6400v2 and update led.c .
WAN led support now in bcmrobo.
6 years ago
snowman58 35054e3ace Updated led.c to work with updated bcmrobo.c 6 years ago
snowman58 2918e2b8a5 Updated bcmrobo.c and bcmdevs.h to fix R6400v2 WAN LED not working.
Changes grabbed from DD-WRT linux/universal/linux-4.4/brcm/arm
6 years ago
M_ars a825aad4b2 Merge branch 'arm-master' into shibby-arm-ng
Conflicts:
	CHANGELOG
	README.md
	release/src-rt-6.x.4708/Makefile
	release/src-rt-6.x.4708/router/dnsmasq/VERSION
	release/src-rt-6.x.4708/router/dnsmasq/src/cache.c
	release/src-rt-6.x.4708/router/dnsmasq/src/dnsmasq.c
	release/src-rt-6.x.4708/router/libusb10/msvc/fxload_2010.vcxproj
	release/src-rt-6.x.4708/router/libusb10/msvc/fxload_2012.vcxproj
	release/src-rt-6.x.4708/router/libusb10/msvc/fxload_2013.vcxproj
	release/src-rt-6.x.4708/router/libusb10/msvc/fxload_2015.vcxproj
	release/src-rt-6.x.4708/router/libusb10/msvc/fxload_2017.vcxproj
	release/src-rt-6.x.4708/router/libusb10/msvc/getopt_2010.vcxproj
	release/src-rt-6.x.4708/router/libusb10/msvc/getopt_2012.vcxproj
	release/src-rt-6.x.4708/router/libusb10/msvc/getopt_2013.vcxproj
	release/src-rt-6.x.4708/router/libusb10/msvc/getopt_2015.vcxproj
	release/src-rt-6.x.4708/router/libusb10/msvc/getopt_2017.vcxproj
	release/src-rt-6.x.4708/router/libusb10/msvc/hotplugtest_2010.vcxproj
	release/src-rt-6.x.4708/router/libusb10/msvc/hotplugtest_2012.vcxproj
	release/src-rt-6.x.4708/router/libusb10/msvc/hotplugtest_2013.vcxproj
	release/src-rt-6.x.4708/router/libusb10/msvc/hotplugtest_2015.vcxproj
	release/src-rt-6.x.4708/router/libusb10/msvc/hotplugtest_2017.vcxproj
	release/src-rt-6.x.4708/router/libusb10/msvc/libusb_2005.sln
	release/src-rt-6.x.4708/router/libusb10/msvc/libusb_2010.sln
	release/src-rt-6.x.4708/router/libusb10/msvc/libusb_2012.sln
	release/src-rt-6.x.4708/router/libusb10/msvc/libusb_2013.sln
	release/src-rt-6.x.4708/router/libusb10/msvc/libusb_2015.sln
	release/src-rt-6.x.4708/router/libusb10/msvc/libusb_2017.sln
	release/src-rt-6.x.4708/router/libusb10/msvc/libusb_dll_2005.vcproj
	release/src-rt-6.x.4708/router/libusb10/msvc/libusb_dll_2010.vcxproj
	release/src-rt-6.x.4708/router/libusb10/msvc/libusb_dll_2012.vcxproj
	release/src-rt-6.x.4708/router/libusb10/msvc/libusb_dll_2013.vcxproj
	release/src-rt-6.x.4708/router/libusb10/msvc/libusb_dll_2015.vcxproj
	release/src-rt-6.x.4708/router/libusb10/msvc/libusb_dll_2017.vcxproj
	release/src-rt-6.x.4708/router/libusb10/msvc/libusb_dll_wince.vcproj
	release/src-rt-6.x.4708/router/libusb10/msvc/libusb_static_2005.vcproj
	release/src-rt-6.x.4708/router/libusb10/msvc/libusb_static_2010.vcxproj
	release/src-rt-6.x.4708/router/libusb10/msvc/libusb_static_2012.vcxproj
	release/src-rt-6.x.4708/router/libusb10/msvc/libusb_static_2013.vcxproj
	release/src-rt-6.x.4708/router/libusb10/msvc/libusb_static_2015.vcxproj
	release/src-rt-6.x.4708/router/libusb10/msvc/libusb_static_2017.vcxproj
	release/src-rt-6.x.4708/router/libusb10/msvc/libusb_static_wince.vcproj
	release/src-rt-6.x.4708/router/libusb10/msvc/libusb_wince.sln
	release/src-rt-6.x.4708/router/libusb10/msvc/listdevs_2010.vcxproj
	release/src-rt-6.x.4708/router/libusb10/msvc/listdevs_2012.vcxproj
	release/src-rt-6.x.4708/router/libusb10/msvc/listdevs_2013.vcxproj
	release/src-rt-6.x.4708/router/libusb10/msvc/listdevs_2015.vcxproj
	release/src-rt-6.x.4708/router/libusb10/msvc/listdevs_2017.vcxproj
	release/src-rt-6.x.4708/router/libusb10/msvc/stress_2010.vcxproj
	release/src-rt-6.x.4708/router/libusb10/msvc/stress_2012.vcxproj
	release/src-rt-6.x.4708/router/libusb10/msvc/stress_2013.vcxproj
	release/src-rt-6.x.4708/router/libusb10/msvc/stress_2015.vcxproj
	release/src-rt-6.x.4708/router/libusb10/msvc/stress_2017.vcxproj
	release/src-rt-6.x.4708/router/libusb10/msvc/testlibusb_2010.vcxproj
	release/src-rt-6.x.4708/router/libusb10/msvc/testlibusb_2012.vcxproj
	release/src-rt-6.x.4708/router/libusb10/msvc/testlibusb_2013.vcxproj
	release/src-rt-6.x.4708/router/libusb10/msvc/testlibusb_2015.vcxproj
	release/src-rt-6.x.4708/router/libusb10/msvc/testlibusb_2017.vcxproj
	release/src-rt-6.x.4708/router/libusb10/msvc/xusb_2010.vcxproj
	release/src-rt-6.x.4708/router/libusb10/msvc/xusb_2012.vcxproj
	release/src-rt-6.x.4708/router/libusb10/msvc/xusb_2013.vcxproj
	release/src-rt-6.x.4708/router/libusb10/msvc/xusb_2015.vcxproj
	release/src-rt-6.x.4708/router/libusb10/msvc/xusb_2017.vcxproj
	release/src-rt-6.x.4708/router/miniupnpd/Changelog.txt
	release/src-rt-6.x.4708/router/miniupnpd/Makefile
	release/src-rt-6.x.4708/router/miniupnpd/Makefile.linux
	release/src-rt-6.x.4708/router/miniupnpd/Makefile.linux_nft
	release/src-rt-6.x.4708/router/miniupnpd/asyncsendto.c
	release/src-rt-6.x.4708/router/miniupnpd/genconfig.sh
	release/src-rt-6.x.4708/router/miniupnpd/macros.h
	release/src-rt-6.x.4708/router/miniupnpd/minissdp.c
	release/src-rt-6.x.4708/router/miniupnpd/natpmp.c
	release/src-rt-6.x.4708/router/miniupnpd/pf/pfpinhole.c
	release/src-rt-6.x.4708/router/miniupnpd/portinuse.c
	release/src-rt-6.x.4708/router/miniupnpd/testasyncsendto.c
	release/src-rt-6.x.4708/router/miniupnpd/upnpevents.c
	release/src-rt-6.x.4708/router/others/ttb
	release/src-rt-6.x.4708/router/patches/dnsmasq/101-tomato-specific.patch
	release/src-rt-6.x.4708/router/patches/miniupnpd/101-add-ipv6-to-miniupnpd-config.patch
	release/src-rt-6.x.4708/router/rc/buttons.c
	release/src-rt-6.x.4708/router/rc/init.c
	release/src-rt-6.x.4708/router/rc/network.c
	release/src-rt-6.x.4708/router/rc/openvpn.c
	release/src-rt-6.x.4708/router/rc/usb.c
	release/src-rt-6.x.4708/router/shared/id.c
	release/src-rt-6.x.4708/router/shared/led.c
	release/src-rt-6.x.4708/router/shared/misc.c
	release/src-rt-6.x.4708/router/www/about.asp
	release/src-rt-6.x.4708/router/www/vpn-server.asp
	release/src-rt-6.x.4708/wnrtool/tomato_cfg.h
6 years ago
M_ars 2cf1f774dc R6400v2 / R6700v3: align extra default parameter for Wifi modules to values from dd wrt 6 years ago
snowman58 46e671f73f Revert include/ctf files from commit c943223. Causing boot loop. 6 years ago
M_ars 2b291fd084 Add Netgear R6700v3 support (same like R6400v2)
based on the work of snowman58 (Don Bushway) - THX a lot :-)
6 years ago
M_ars 74cb996184 Merge branch 'arm-master' of https://bitbucket.org/pedro311/freshtomato-arm into arm-master 6 years ago
pedro 675e1bb268 router: rc: openvpn.c: cosmetics, without major changes to the code 6 years ago
kille72 615508deb4 Merge branch 'shibby-arm' into shibby-arm-huawei-cdc-ncm 6 years ago
pedro b16c3da561 TTB: fix memory leak, when WAN or tomatothemebase.eu is down
- bug present from the very beginning
6 years ago
kille72 874eba5781 Merge branch 'shibby-arm' into shibby-arm7 6 years ago
kille72 7627655493 Merge branch 'shibby-arm' into shibby-arm7-huawei-cdc-ncm 6 years ago
pedro 7978de2a17 kernel sdk7: drivers: net: usb: usbnet: ignore endpoints with invalid wMaxPacketSize
Endpoints with zero wMaxPacketSize are not usable for transferring
data. Ignore such endpoints when looking for valid in, out and
status pipes, to make the drivers more robust against invalid and
meaningless descriptors.

The wMaxPacketSize of these endpoints are used for memory allocations
and as divisors in many usbnet minidrivers. Avoiding zero is therefore
critical.

Signed-off-by: Bjørn Mork <bjorn@mork.no>
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>

Per upstream: 8d3d7c2029
6 years ago
pedro 3f1ce8cd6a kernel sdk7: drivers: net: usb: cdc_ncm: fix divide-by-zero caused by invalid wMaxPacketSize
Endpoints with zero wMaxPacketSize are not usable for transferring
data. Ignore such endpoints when looking for valid in, out and
status pipes, to make the driver more robust against invalid and
meaningless descriptors.

The wMaxPacketSize of the out pipe is used as divisor. So this change
fixes a divide-by-zero bug.

Reported-by: syzbot+ce366e2b8296e25d84f5@syzkaller.appspotmail.com
Signed-off-by: Bjørn Mork <bjorn@mork.no>
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>

Per upstream: 3fe4b33513
6 years ago
pedro 4e2412424c kernel sdk7: drivers: net: usb: usbnet: sanity checking of packet sizes and device mtu
After a reset packet sizes and device mtu can change and need
to be reevaluated to calculate queue sizes.
Malicious devices can set this to zero and we divide by it.
Introduce sanity checking.

Reported-and-tested-by:  syzbot+6102c120be558c885f04@syzkaller.appspotmail.com
Signed-off-by: Oliver Neukum <oneukum@suse.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

Per upstream: 280ceaed79
6 years ago
pedro 0c448c0ffc kernel: drivers: net: usb: usbnet: ignore endpoints with invalid wMaxPacketSize
Endpoints with zero wMaxPacketSize are not usable for transferring
data. Ignore such endpoints when looking for valid in, out and
status pipes, to make the drivers more robust against invalid and
meaningless descriptors.

The wMaxPacketSize of these endpoints are used for memory allocations
and as divisors in many usbnet minidrivers. Avoiding zero is therefore
critical.

Signed-off-by: Bjørn Mork <bjorn@mork.no>
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>

Per upstream: 8d3d7c2029
6 years ago
pedro 10fc1ac604 kernel: drivers: net: usb: cdc_ncm: fix divide-by-zero caused by invalid wMaxPacketSize
Endpoints with zero wMaxPacketSize are not usable for transferring
data. Ignore such endpoints when looking for valid in, out and
status pipes, to make the driver more robust against invalid and
meaningless descriptors.

The wMaxPacketSize of the out pipe is used as divisor. So this change
fixes a divide-by-zero bug.

Reported-by: syzbot+ce366e2b8296e25d84f5@syzkaller.appspotmail.com
Signed-off-by: Bjørn Mork <bjorn@mork.no>
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>

Per upstream: 3fe4b33513
6 years ago
pedro 9202fa9462 kernel: drivers: net: usb: usbnet: sanity checking of packet sizes and device mtu
After a reset packet sizes and device mtu can change and need
to be reevaluated to calculate queue sizes.
Malicious devices can set this to zero and we divide by it.
Introduce sanity checking.

Reported-and-tested-by:  syzbot+6102c120be558c885f04@syzkaller.appspotmail.com
Signed-off-by: Oliver Neukum <oneukum@suse.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

Per upstream: 280ceaed79
6 years ago
pedro 4d4f2b29f7 dnsmasq: update to e710c34 snapshot
- cosmetics in patch
6 years ago
pedro ab812b3649 miniupnpd: update to 2.1.20190924
- cosmetic in patch
6 years ago
pedro 6b878bcccb router: rc: firewall.c: fix compiler warning 6 years ago
pedro d6121579ce GUI: OpenVPN server: extend Username field to 25 chars 6 years ago
pedro 7e8ea3c1ee router: rc: openvpn.c: fix typo causing wrong netmask to be added to the nat for bridges 2 - 4 6 years ago
M_ars 051c395af2 shared: id.c: - do call check_hw_type() only once (only cosmetic / optimization --> save cpu work/load)
Hint: In case the hw is new/unknown, call check_hw_type() every time.

tested with Tenda AC18, working
6 years ago
M_ars 9bab02fd96 Tenda AC18: rely on tenda cfe default / init parameter (for each router)
Align to Tenda AC15 in case of different hw/cfe versions (with slightly different parameter for wifi modules)

tested with Tenda AC18, working correct!
6 years ago
M_ars 0a861487af Tenda AC15: rely on tenda cfe default / init parameter (for each router)
There are at least two different hw/cfe versions from Tenda, with slightly different parameter for wifi modules
6 years ago