Commit Graph

5255 Commits (2021.4)
 

Author SHA1 Message Date
notsure2 0ebd8c4434 Support showing status of hilink modem reachable from any WAN. 6 years ago
pedro 681e161ecf www: at.css: minor fixes in OpenVPN Server page 6 years ago
pedro 35ee9ae11a README.md: add cmake to required packages 6 years ago
pedro 2fe3c424e1 getdns/stubby: update to 1.6.0/0.3.0 6 years ago
pedro 2958fb8f72 GUI: OpenVPN client: extend "To Domain" field to 50 chars 6 years ago
pedro f73715cb2e Revert "getdns: add patch to fix missing define for log_warn"
This reverts commit 9712d83f34.
6 years ago
pedro 4adabab47b pppd: fixes from upstream
- pppd: Fix bounds check in EAP code

Given that we have just checked vallen < len, it can never be the case
that vallen >= len + sizeof(rhostname).  This fixes the check so we
actually avoid overflowing the rhostname array.

Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com>
Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
8d7970b8f3

- pppd: Ignore received EAP messages when not doing EAP

This adds some basic checks to the subroutines of eap_input to check
that we have requested or agreed to doing EAP authentication before
doing any processing on the received packet.  The motivation is to
make it harder for a malicious peer to disrupt the operation of pppd
by sending unsolicited EAP packets.  Note that eap_success() already
has a check that the EAP client state is reasonable, and does nothing
(apart from possibly printing a debug message) if not.

Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
8d45443bb5
6 years ago
pedro 24f974f336 tor: update to 0.4.2.6 6 years ago
pedro 88046a324e php: update to 7.2.28 6 years ago
pedro 766abff12d pcre: update to 8.44 6 years ago
pedro 57ff224d96 nginx: update to 1.17.9 6 years ago
pedro 99ab7d3867 nano: update to 4.8 6 years ago
pedro 6184d9823b libexif: update to 54b6f7f (2020.02.29) snapshot 6 years ago
pedro e2a0283acf dnsmasq: update to 2.81rc3 6 years ago
pedro f0f04c1672 libcurl: update to 7.69.0 6 years ago
M_ars ea973385b1 rc: network.c - sync mips and arm branch (stay as close as possible; only cosmetic) 6 years ago
pedro 70c44c97ae Merge branch 'arm-master' into arm-ng 6 years ago
pedro af10d5fa3e Merge branch 'arm-master' into arm-sdk7 6 years ago
M_ars 7033e8d10d Huawei WS880: change LED table - assign GPIO 14 for USB LED (active LOW) (no Change) - assign GPIO 1 for LED_BRIDGE (active LOW) (no Change) - assign GPIO 0 for LED_AOSS (active LOW) --> used for WLAN SUMMARY LED (similar to Netgear R-Series Router) - assign GPIO 12 for LED_WHITE (active HIGH) (no Change) - assign GPIO 6 for LED_DIAG (active LOW) / WPS LED in front - assign GPIO 15 for WLAN toggle function / Power Button in front (active LOW) - assign GPIO 2 for reset button (active LOW) (no Change) - assign GPIO 3 for wps button (active LOW) (no Change) - NO wifi blinking support anymore (causing problems)
Reference (for example) or WS880 CFE/Bootloader:
https://patchwork.ozlabs.org/patch/551390/

Hint: this should help to get back "Reboot via GUI" for WS880, see
https://www.linksysinfo.org/index.php?threads/ws880-lack-of-reboot-issue.75142/page-3#post-312259

HINT: prepare arm-sdk7 branch for merge with arm-master (add missing router)
6 years ago
M_ars 105839f479 rc: network.c - rework start and stop of emf/lan/wl - fix/correct start and stop of EMF (stop failed almost every time and also router stuck/hung sometimes at reboot via GUI!) - make EMF multi-lan aware - give feedback about start and stop EMF - rework basic start and stop of start_lan / start_lan_wl / start_wl / start_wireless ... - cosmetic - set start_wan(BOOT) last one --> at services.c (align also to init.c)
tested with RT-N18U and R7000, working (reboot, restart, wifi bridge, VIFs, multi lan, wifi on/off, et cetera... all ok)

HINT: prepare arm-sdk7 branch for merge with arm-master (add sdk7 specific things)
6 years ago
M_ars 67650bf3b7 Huawei WS880: change LED table - assign GPIO 14 for USB LED (active LOW) (no Change) - assign GPIO 1 for LED_BRIDGE (active LOW) (no Change) - assign GPIO 0 for LED_AOSS (active LOW) --> used for WLAN SUMMARY LED (similar to Netgear R-Series Router) - assign GPIO 12 for LED_WHITE (active HIGH) (no Change) - assign GPIO 6 for LED_DIAG (active LOW) / WPS LED in front - assign GPIO 15 for WLAN toggle function / Power Button in front (active LOW) - assign GPIO 2 for reset button (active LOW) (no Change) - assign GPIO 3 for wps button (active LOW) (no Change) - NO wifi blinking support anymore (causing problems)
Reference (for example) or WS880 CFE/Bootloader:
https://patchwork.ozlabs.org/patch/551390/

Hint: this should help to get back "Reboot via GUI" for WS880, see
https://www.linksysinfo.org/index.php?threads/ws880-lack-of-reboot-issue.75142/page-3#post-312259

HINT: prepare arm-ng branch for merge with arm-master (add missing router / cosmetic)
6 years ago
M_ars 7ff750cadb rc: network.c - rework start and stop of emf/lan/wl - fix/correct start and stop of EMF (stop failed almost every time and also router stuck/hung sometimes at reboot via GUI!) - make EMF multi-lan aware - give feedback about start and stop EMF - rework basic start and stop of start_lan / start_lan_wl / start_wl / start_wireless ... - cosmetic - set start_wan(BOOT) last one --> at services.c (align also to init.c)
tested with RT-N18U and R7000, working (reboot, restart, wifi bridge, VIFs, multi lan, wifi on/off, et cetera... all ok)

HINT: prepare arm-ng branch for merge with arm-master (add missing router)
6 years ago
M_ars e3095d6fea rc: init.c - set overcommit_memory and overcommit_ratio
Change:
overcommit_memory from 0 to 2 (align to Asus and Netgear SRC)
overcommit_ratio to 75% (Asus uses 50% (default) for example for arm router)
6 years ago
M_ars 48328460c0 rc: init.c - Reboot automatically when the kernel panics and set waiting time (3 sec now)
Hint: was turned off/disabled ...
6 years ago
M_ars 20b6b29afd rc: blink_br.c - exit / stop blink_br for router with more than one LAN LED (we do not need blink_br in that case --> save memory/cpu load) 6 years ago
M_ars 3e658c5d01 rc: init.c - remove start_nas()/stop_nas() (already done at start_services()/stop_services())
And important: call stop_nas() first before we start again
6 years ago
M_ars f6f1bc04ed rc: network.c - bring down loopback interface if we stop lan (and some cosmetic)
In addition: check if lo interface is already running,
we call function config_loopback() several times with multi-lan setups

tested with RT-N18U, working correct
6 years ago
M_ars 0cd1a47b51 GUI: about.asp - virtual SSID support of Teaman works really good! (no experiment/test anymore...) (only cosmetic) 6 years ago
M_ars 017c1a78ed rc: usb.c - improve/extend detection to activate the USB LED for Router with only one USB LED
(align to the two USB LED detection way and/or also see mips branch)
6 years ago
M_ars d3dc8ffe4f Huawei WS880: change LED table - assign GPIO 14 for USB LED (active LOW) (no Change) - assign GPIO 1 for LED_BRIDGE (active LOW) (no Change) - assign GPIO 0 for LED_AOSS (active LOW) --> used for WLAN SUMMARY LED (similar to Netgear R-Series Router) - assign GPIO 12 for LED_WHITE (active HIGH) (no Change) - assign GPIO 6 for LED_DIAG (active LOW) / WPS LED in front - assign GPIO 15 for WLAN toggle function / Power Button in front (active LOW) - assign GPIO 2 for reset button (active LOW) (no Change) - assign GPIO 3 for wps button (active LOW) (no Change) - NO wifi blinking support anymore (causing problems)
Reference (for example) or WS880 CFE/Bootloader:
https://patchwork.ozlabs.org/patch/551390/

Hint: this should help to get back "Reboot via GUI" for WS880, see
https://www.linksysinfo.org/index.php?threads/ws880-lack-of-reboot-issue.75142/page-3#post-312259
6 years ago
M_ars 89564f837e rc: network.c - rework start and stop of emf/lan/wl - fix/correct start and stop of EMF (stop failed almost every time and also router stuck/hung sometimes at reboot via GUI!) - make EMF multi-lan aware - give feedback about start and stop EMF - rework basic start and stop of start_lan / start_lan_wl / start_wl / start_wireless ... - cosmetic - set start_wan(BOOT) last one --> at services.c (align also to init.c)
tested with RT-N18U and R7000, working (reboot, restart, wifi bridge, VIFs, multi lan, wifi on/off, et cetera... all ok)
6 years ago
M_ars 0fc43dee91 Huawei WS880: disable wifi blink by default for WS880, causing problems (This is a workaround for now!)
fix for: lack of reboot with WS880 (with both wifi radios must be turned on!)

see forum:
https://www.linksysinfo.org/index.php?threads/ws880-lack-of-reboot-issue.75142/page-3#post-312177
6 years ago
M_ars 99948c952a rc: init.c - init variable restore_defaults to 0 and also use it to reset/adjust beamforming parameter 6 years ago
M_ars de4d55aea8 rc: init.c - Adjust et and wl thresh value after reset (for wifi-driver and et_linux.c) 6 years ago
M_ars 2407fb71a1 kernel: arch: arm: mach-brcm-hnd: board_ns.c - cosmetic - fix typo - use else if 6 years ago
M_ars fec4440007 RT-AC3200: improve/change LED table if router is in WiFi bridge mode
fix for: second WAN LED with color RED (GPIO 5, active HIGH) was turned on in WiFi bridge mode.

see report:
https://www.linksysinfo.org/index.php?threads/fork-freshtomato-arm-development-thread.74117/page-180#post-311841

Hint: reboot required
6 years ago
M_ars accaa4ebf0 GUI: nas-samba.asp - add option to enable/disable GRO (Default Off --> like before)
Note: GRO only gets enabled when Samba is! (tomato user can decide)
See log file:
Jan  1 01:00:27 Tomato-Router kern.warn kernel: gro enabled with interval 2
Jan  1 01:00:27 Tomato-Router user.info preinit[1]: samba daemon is started

tested with RT-N18U, working without problems
6 years ago
pedro 096ab80d91 GUI: add AdvancedTomato-like themes: red, blue, green and dark
- AdvancedTomato's look and feel
- uniform panel-based UI
- custom-drawn controls
- svg-based (embedded) icons
- css-only vector animations for spinners
- collapsible menu for low-res screens
- ability to enable dynamic chart scaling
- note: requires modern browser

Based on https://github.com/tsg2k2/tomato-css (thanks!) with numerous corrections and additions (e.g. it wasn't ready for a dark theme, some icons were missing, errors in some places etc.)
6 years ago
pedro 5452ceada3 GUI: clean-up; the first step to sorting out this mess
- many changes, fixes and improvements
- remove duplicate JS scripts and more
- 99.5% of css rules moved from .asp scripts to main css file (tomato.css)
- at last 100% compatible with older browsers (ex. IE 9, Safari 5.1.7)
- some of themes (css) on tomatothemebase.eu may need corrections in 1-2 places (#footer mainly)
- preparation for advanced themes
- /www size reduced by 25KB
- tested on: IE 9, Safari 5.1.7, Opera 67.0.3575.53, Chrome 80.0.3987.132, Firefox Nightly 75.0a1: all ok
6 years ago
pedro e7e259f9a9 router: others: mymotd: fix 'bad number' bug when wanX is disabled 6 years ago
Michał Obrembski 6c53343187 Merged pedro311/freshtomato-arm into arm-master 6 years ago
pedro cc7678b2fb GUI: Basic Network: fix the order in which the wifi interfaces are selected when setting Wireless Client Mode
- bug similar to that on the Overview page fd06410
6 years ago
pedro 3c2f4fb983 GUI: Admin Access: do not restart sshd if there are no configuration changes 6 years ago
pedro d3f599fce1 GUI: overview: fix issue when warning about unsecured wifi appears, even if this radio is temporarily disabled by "Disable" button on this page 6 years ago
pedro fd064101ab GUI: overview: fix the order of the enable/disable wifi buttons for routers with three radios 6 years ago
pedro abb1dc3041 router: www: cosmetic in some asp/html files 6 years ago
pedro c728a8484b sqlite: update to 3.31.1 6 years ago
pedro c309c9f6f0 spawn-fcgi: update to 3c1b01c (2019.08.25) snapshot; clean sources, add patch instead, cosmetic in router/Makefile 6 years ago
pedro 2dd42c6520 router: rc: nginx.c: some corrections, clean-up 6 years ago
pedro f2974d3b5c php: update to 7.2.27 6 years ago