Commit Graph

6423 Commits (2023.3)

Author SHA1 Message Date
M_ars c95b517e73 cstats (IP Traffic Monitoring): add cstats nvram variables only if feature is enabled (clean-up nvram at boot/re-boot)
Note: save nvram space if feature is disabled.

Note 2: manual cstats nvram clean-up also possible ("service cstats_nvram stop")
2 years ago
M_ars 13e37c236f rstats (Bandwidth Monitoring): add rstats nvram variables only if feature is enabled (clean-up nvram at boot/re-boot)
Note: save nvram space if feature is disabled.

Note 2: manual rstats nvram clean-up also possible ("service rstats_nvram stop")
2 years ago
pedro 13056e67db GUI: Basic: DHCP Reservation: properly initialize 'Static lease time' on page load 2 years ago
pedro ba22979694 Bump version to 2023.2 2 years ago
pedro c535520dc7 adblock v2: update to 2.71u
Changes:

- different approach to calculate execution time and make it hopefully compatible with a reboot
- added missing </b> in status-gui
- some greptimisation
- fixed handling of quoted lines in blacklist custom and whitelist and mapped files
- ignoring leading spaces (if any) from blacklist custom and whitelist and mapped files
- extend the leading spaces pruning to variables populated from NVRAM
- statically map grep and set to the version under /bin to avoid conflict with entware
- introduced "upgrade" function
- introduced "upgrade" silent function (no question asked)
- logw warning message when Custom path = /jffs
- match, log and skip Easylist format as part of the parsefile()
- extend the parsefile analisis to the first 500 unquoted lines
- minor tweak to the alias "domain"
- handle quoted text when this starts from the middle of the line
- shaffles code around for the parsing routing, removing comments first then checking the first 50 lines
- removed leftover <br> from the status-gui
- automatic removal of leftover list/headers from perm storage when not used and 15days+ old
- increase top of the list analysis from 50 to 500 lines on all the elif conditions
- reporting efficiency now uses lines and not bytes, also reports with double decimal e.g.: 0.78% and total line pruned e.g. 1033 lines
- corrected "- gt" typo to "-gt"
- removed the auto-pruning and it came with a "find" issue also it was not compatible with list-of-lists
- increase top of the list analysis from 50 to 500 lines (helps with lists that start with extensive comments)
- renamed "Adblock file" to "Blockfile" in GUI and command line status
- corrected some typos
- exclude blank lines custom/white when fetching content from nvram
- reclassified few messages from debug to info
- CheckRam() "would not fit" messages are now logged as errors
- configuration check for black_custom/whitelist are now excluding any quoted-line/extra-space from the comparison
- Black_custom & Whitelist procedures are run conditionally, e.g. skipped if empty
- automatically prune *.list/*.headers from custom path when they are not enabled and the file date is older than 14 days

Thanks @rs232
2 years ago
pedro 279066c9bd sqlite: update to 3.41.1 2 years ago
pedro 9e019a45a8 openvpn: update to 2.6.1 2 years ago
pedro 5c71786b16 build: sync to MIPS 2 years ago
pedro f6f131a1da GUI: DHCP / DNS / TFTP: clean-up 2 years ago
pedro 22abdecc2c www: shutdown.asp: adjust halt message 2 years ago
pedro c8b98377f5 others: entware-install-MIPS.sh: use the full path when calling programs 2 years ago
pedro ff0ba51138 GUI: VPN Tunneling: add Wireguard page (for now only with link to the wiki howto) 2 years ago
pedro 740bbf38d2 dnsmasq safe-mode: add warning to syslog if started in safe-mode; correct message in the GUI 2 years ago
pedro 515e2f013b Revert "iptables: update to 1.8.9; refresh patches"
This reverts commit f055986bf8.
2 years ago
pedro 45b1ac2154 Revert "router: Makefile: iptables-1.8.x-install: add symbolic links to libs which were lately merged"
This reverts commit b762f2c6f8.
2 years ago
pedro bb8246017c dnsmasq safe-mode + TFTP (resolves #263) 2 years ago
pedro 857fac67a1 rc: transmission.c: disable unwanted logging during transmission stop when daemon is not running 2 years ago
pedro ea5f355596 rc: mysql.c: disable unwanted logging during mysqld stop when daemon is not running 2 years ago
pedro 60e5cd7bbc rc: interface.c: change a little bit error logging 2 years ago
rs232 469df9f978 wwansignal - added local $PATH directive to avoid conflicts with entware/optware 2 years ago
rs232 77be122906 webmon_bkp - added local $PATH directive to avoid conflicts with entware/optware 2 years ago
rs232 bf36ed27c7 watchdog - added local $PATH directive to avoid conflicts with entware/optware 2 years ago
rs232 a44e4671f3 vpnrouting.sh - added local $PATH directive to avoid conflicts with entware/optware 2 years ago
rs232 d937b81260 updown-client.sh - added local $PATH directive to avoid conflicts with entware/optware 2 years ago
rs232 bbc0017c6b cru - added local $PATH directive to avoid conflicts with entware/optware 2 years ago
rs232 ffcf0285c9 ethstate - added local $PATH directive to avoid conflicts with entware/optware 2 years ago
rs232 23c38f1609 groups - added local $PATH directive to avoid conflicts with entware/optware 2 years ago
rs232 6a7c8a9272 linkagg - added local $PATH directive to avoid conflicts with entware/optware 2 years ago
rs232 939e2cd280 mymotd - added local $PATH directive to avoid conflicts with entware/optware 2 years ago
rs232 4d54da3900 ntp2ip - added local $PATH directive to avoid conflicts with entware/optware 2 years ago
rs232 60efbe9c3b ttb-simple - added local $PATH directive to avoid conflicts with entware/optware 2 years ago
rs232 2d43181b8a ttb - added local $PATH directive to avoid conflicts with entware/optware 2 years ago
rs232 dabcca5da4 tomatoanon - added local $PATH directive to avoid conflicts with entware/optware 2 years ago
rs232 015503e1fe sysinfo-helper - added local $PATH directive to avoid conflicts with entware/optware 2 years ago
rs232 c51831223d sysinfo - added local $PATH directive to avoid conflicts with entware/optware 2 years ago
rs232 0cf47b3749 switch4g - added local $PATH directive to avoid conflicts with entware/optware 2 years ago
rs232 48ee7d9cea switch3g - added local $PATH directive to avoid conflicts with entware/optware 2 years ago
rs232 9b4f8c492f stealthMode - added local $PATH directive to avoid conflicts with entware/optware 2 years ago
rs232 b0bdcb6473 optware-install.sh - added local $PATH directive to avoid conflicts with entware/optware 2 years ago
rs232 038833c875 gencert.sh - added local $PATH directive to avoid conflicts with entware/optware 2 years ago
rs232 ccf2b7f015 entware-install-ARM.sh - added local $PATH directive to avoid conflicts with entware/optware 2 years ago
rs232 4e530aa55c discovery.sh - added local $PATH directive to avoid conflicts with entware/optware 2 years ago
rs232 8ab1f7e4bc added PATH directive to avoid conflicts with entware/optware 2 years ago
pedro eb2154e995 Revert "GUI: add new default theme"
This reverts commit e6622a15a3.
3 years ago
pedro cad1727351 rc: wan.c: fix commit 80a7e66 (resolves #275)
thanks @M_ars
3 years ago
pedro b762f2c6f8 router: Makefile: iptables-1.8.x-install: add symbolic links to libs which were lately merged 3 years ago
pedro c45bd12e0b kernel: net: usb: rndis_host: Secure rndis_query check against int overflow
Ref: c7dd13805f
3 years ago
pedro 7a71791349 kernel: net: usb: cdc_ether: add support for Thales Cinterion PLS62-W modem
Ref: eea8ce81fb
3 years ago
pedro da5f29fba8 e2fsprogs: disable metadata_csum_seed feature in the mke2fs.conf file 3 years ago
M_ars 65b03db874 SDK6: update wireless driver (dual core)
For Info:
6.37 RC14.126
wl0: Feb 21 2023 19:39:48 version 6.37.14.126 (r561982)

previous wireless driver:
6.37 RC14.126
wl0: Jan 18 2022 09:11:39 version 6.37.14.126 (r561982)

Note: repair the following commit
bd93ef93e9
3 years ago
pedro 34f7a6a584 e2fsprogs: update to 1.47.0 3 years ago
pedro f055986bf8 iptables: update to 1.8.9; refresh patches
- also add fix from the upstream: "include: Add missing linux/netfilter/xt_LOG.h": https://git.netfilter.org/iptables/commit/?id=8030e5444681e16ac2f481ddad73e33fab376147
3 years ago
pedro 6d80e786be sqlite: update to 3.41.0 3 years ago
pedro 384b42db8b rp-pppoe: update to 3c0f6c02 (2023-02-08) snapshot
- has to be checked
3 years ago
pedro 8a5a291774 rc: transmission.c: revert changes from 4c4f653 - everything works just fine 3 years ago
pedro 3c0a69b93b miniupnpd: update to 2.3.3 3 years ago
pedro 00d1dc2d98 libsodium: update to latest 1.0.18-stable 3 years ago
pedro 881b2046a0 libcurl: update to 7.88.1 3 years ago
M_ars c78de557f6 WL Client / Media Bridge / Wireless Ethernet Bridge: add AP MAC (xx:xx:xx:xx:xx:xx) to scan and join (--> try to connect to that specific MAC with SSID "ABCDEF")
Note: Add GUI option at basic-network.asp (usually empty/not needed).

fix for / help the following case:
https://www.linksysinfo.org/index.php?threads/multiple-public-hotspot-ssid-with-same-name-freshtomato-wont-connect-to-strongest.77852/
3 years ago
rs232 96d2a2f102 vpn-server.asp corrected "Uncrypted" for "Unencrypted" 3 years ago
pedro 271edd546b build: Makefile: r1do (Xiaomi R1D): do not build with IRQBALANCE due to too large image size 3 years ago
pedro d19e690691 dnscrypt-proxy: update resolvers csv file 3 years ago
pedro b9a6272d3e libjpeg-turbo: update to 2.1.5.1 3 years ago
pedro d283f67dae libcurl: update to 7.88.0 3 years ago
pedro 9cd678d304 rom: update CA bundle to 2023-01-10 3 years ago
pedro 7b242528ef rc: transmission.c: fix port forwarding (UDP) (resolves #270) 3 years ago
pedro 43de3ee2ce rc: fix logdrop bevaviour (if enabled)
- with some services, like the PPTPD, FTPD, their rules will be placed after the logdrop rule. The result is incorrectly dropping packets for valid services
3 years ago
pedro 8b464396e3 build: sync to MIPS 3 years ago
pedro 9985129b57 Bump version to 2023.1 3 years ago
pedro 9d4c4ec518 openssl-1.1: update to 1.1.1t 3 years ago
desertkun f86985be45 kernel SDK7: usb: update ch341 driver 3 years ago
desertkun 00ec04aab2 kernel SDK714: usb: update ch341 driver 3 years ago
desertkun 8e732e2658 usb: update ch341 driver for 6.x 3 years ago
pedro 490f7e7173 build: sync to MIPS 3 years ago
rs232 524178a958 Added missing <br> from status-gui 3 years ago
rs232 f67c0d410b Adblock v2.71e
- Introduced new test routine
- Aligned the help output from command line to reflect the above
- Allow for URLs to have leading spaces (reduces unwanted errors)
- Added warning icon on the GUI when last run errors is greater than 0
- Tweaked command line colors
- Removed <li> references from the GUI and cleared up HTML warnings
3 years ago
pedro 2d48dc2b19 dnsmasq: update to 2.89 3 years ago
pedro 345b005590 OpenVPN: update to 2.6.0; fix recipes 3 years ago
pedro 18c8926b6f build: Makefile: libcap-ng: add recipe 3 years ago
pedro 44ac986e99 build: add libcap-ng 0.8.3 to the tree, required by OpenVPN 2.6 3 years ago
pedro 34f1648543 Adblock v2: update to 2.71d
- Thanks to @rs232
3 years ago
pedro ab3e5f37ec libncurses: fix build break 3 years ago
M_ars bd93ef93e9 Revert "SDK6: update wireless driver (dual core)"
Because of a wl driver bug, we need to revert for now.

Problem/Issue:
A wlan 5 GHz SSID >= 19 characters will cause a reboot-loop for:
- Media Bridge Mode
- Wireless Ethernet Bridge Mode
- Wireless Client Mode

==> recovery needed!

Further Notes:
AP Mode working correct;
AsusWRT-Merlin 386.9 (06-01-2023) does have the same problem (only Media Bridge possible to test)

big THX to ClixTrix for testing/helping/debugging :)

This reverts commit 12ea51b0c8.
3 years ago
pedro 66998e0439 tor: update to 0.4.7.13 3 years ago
pedro a239cbf5d8 libncurses: update to 6.4 3 years ago
pedro 4d9f8e16bf nano: update to 7.2 3 years ago
pedro 47fade3b62 miniupnpd: update to 2.3.2; refresh patches 3 years ago
pedro 96b361ecce libubox: update to eac92a4 (2023-01-03) snapshot 3 years ago
pedro 00dbba748a libsodium: update to latest 1.0.18-stable 3 years ago
pedro cd1d94711b getdns: update to 1.7.3; refresh patches 3 years ago
pedro 24f23aac10 e2fsprogs: update to 1.46.6; remove no more needed patch 3 years ago
pedro 3f24f108ff libcurl: update to 7.87.0 3 years ago
pedro 51f3a8fcec rc: openvpn.c: remove ignoring directives for IPv6 for OpenVPN client (resolves #268) 3 years ago
pedro bf12264ef7 busybox: update to 1.36.0
- refresh patches, remove no more needed
3 years ago
pedro bd763e8004 minidlna: use syslog instead of a log file; added as a patch 3 years ago
M_ars 35cf379bb9 GUI: advanced-wireless.asp - remove afterburner option (for SDK6 and up!)
Note: not possible/supported/needed for ARM branch
3 years ago
rs232 08ba385785 Adblock v2.71
- Split script messages into correct syslog level (debug/info/notification/error)
- Enhanced logging for better troubleshooting
- General optimization/speedup and code enhancement
- Introduced three routines to try to control memory usage and prevent issues: checkList(), checkRam() and safeDnsmasqRestart()
- New status/help command line function
- New reset/clear/snapshot/trace/enable/disable  functions
- Handles whitelisted subdomains when its parent domain is blacklisted
- Strict whitelisted domain: no auto child resolution. Domains needs to be defined with a prefix '%' e.g. "%test.example.com"
- Custom-blacklist forced pruning. Domains defined with prepending + will force any defined subdomain to be pruned from the blockfile
- Handles user defined files with Windows/Unix EOL and missing EOL's CR
- New Snapshot and trace function facilitate the debugging
- Enhanced command line operation: 'adblock help' is your friend
- GUI integration
- Maximum filesize user definable from the GUI
- Custom path can be defined to operate the script e.g. on USB leaving RAM headroom for dnsmasq (and much larger domain lists)
- Custom path will also prevent unnecessary downloads if the source list hasn't been updated since the last download
- Quick recover of blocklist after a reboot
- Change in the script logic, when path is defined an attempt to update will result into a check first and the actual update is performed only when needed (e.g. one of the lists was updated or the relevant nvram variables have changed)
- Supports multiple lists format and is able to extract domains from any part of an unquoted line. Easylist format is tolerated but will lead to a number of false positives.
- Allow feeding of custom-blacklist and whitelists from local file (reduce nvram usage). Just define /path/file in the relevant GUI field -
- Adblock is automatically run in debug (a.k.a. trace mode) when loglevel=7 and putput found under /tmp/adblock.debug...
- Imposed hold-time of 30min betwen updates to prevent false calls
- Removed the now-unneccessary other hold-times found in v1
- lists are now populated with --local attribute instead of --address (15% RAM saving)

This version if fully backward compatible with v1 this means the user is not expected to change amy settings to make this working even in case of dirty firmware upgrade.

* A big thank you to @PetervdM for the support and testing
3 years ago
pedro 97284fa28d www: add new favicon (thanks @rs232) 3 years ago
M_ars b65204dfc0 GUI: advanced-wireless.asp - adjust TurboQAM / NitroQAM label (New: Modulation Scheme)
Note: align to AsusWRT and add a little more infos
3 years ago
M_ars 1f4a40c9e6 Media Bridge Mode (SDK6/SDK7/SDK714): add & set inactivity timer value to 0 [disabled] (wl driver default is: 600 sec)
Note: keep alive always now in Media Bridge mode and avoid problems with inactivity (--> no delete / add interface anymore)

improve commits
7c37484945
b5f9f02a44
3 years ago
rs232 198a5a4122 www: tomato.js allow the hostname to be all digits as per RFC 3 years ago
M_ars 07369335e8 SDK714: update wireless driver
For Info:
Dongle Host Driver, version 1.363.2 (r665954)
Compiled in drivers/net/wireless/bcmdhd on Dec 26 2022 at 16:38:58

previous wireless driver:
Dongle Host Driver, version 1.363.2 (r665954)
Compiled in drivers/net/wireless/bcmdhd on Jan 18 2022 at 09:17:27
3 years ago
M_ars bbdbfe7b84 SDK7: update wireless driver
For Info:
Dongle Host Driver, version 1.194.33 (r526004)
Compiled in drivers/net/wireless/bcmdhd on Jan 12 2023 at 10:15:07

previous wireless driver:
Dongle Host Driver, version 1.194.33 (r526004)
Compiled in drivers/net/wireless/bcmdhd on May  1 2021 at 04:53:56

Note:
wlc_clm_data.c not changed (WL Countries)
3 years ago
M_ars 12ea51b0c8 SDK6: update wireless driver (dual core)
For Info:
6.37 RC14.126
wl0: Nov 19 2022 06:49:04 version 6.37.14.126 (r561982)

previous wireless driver:
6.37 RC14.126
wl0: Jan 18 2022 09:11:39 version 6.37.14.126 (r561982)
3 years ago
pedro 5d565b82d2 build: Makefile: sync to MIPS 3 years ago
pedro cecf8922d9 GUI: USB and NAS: BitTorrent Client: extend character limit on the input field for blocklist url to 256 (resolves #269) 3 years ago
M_ars 047f78156f pppd: update to 2.4.9
Note:
- refresh patches
- some corrections for FreshTomato (via patch)
3 years ago
M_ars 69a0852597 GUI: advanced-wireless - remove almost all Country / Rev Examples (leave only some for EU & USA)
Note:
- Move the wl country combinations to the wiki, so that we can update/change/adjust/improve
3 years ago
pedro 2a980cf638 GUI: USB and NAS: File Sharing: use checkboxes to select interfaces; also change location of samba configuration file (/etc/samba/smb.conf) 3 years ago
M_ars 4c9fdd40fb GUI: add refresh-rate options in most commonly used area 1 -10 sec
Note: hopefully now all FT user requirements are fulfilled :-)

Note 2: see commits
170b3af51d
ec60b3c661
3 years ago
M_ars 170b3af51d GUI: Adjust refresh-rate options (3x5 values to choose from)
Note:
- Range from 1 sec up to 5 min (multipliable/divisible for 1-2-3-4-5)
- (hopefully) every user will/should find the desired value now
3 years ago
pedro 4c4f653501 rc: transmission.c: only add bind to generated config if it's not already added in custom config (resolves #265) 3 years ago
M_ars f08296b49c SDK6: rename all images from "XXX-ARM-NG-YYY" to "XXX-ARM-YYY" (remove "NG" from the image-name)
Note: SDK6 NG-branch update has been merged back to master-branch, so no need to distinguish or highlight anymore (align to SDK7 / SDK714)
see 9b376f68c1
3 years ago
pedro 7d71db53ee GUI: USB and NAS: Media Server: fixes/improvements (resolves #243) 3 years ago
pedro 2b434ac09a GUI: Advanced: Firewall: add note about custom config file for igmpproxy 3 years ago
pedro 30c1415915 rc: service.c: start_upnp(): correct friendly_name 3 years ago
pedro 6d13ccb1a6 rc: samba.c: correct 'server string' (resolves #188) 3 years ago
pedro cc21f5b0d8 others: Makefile: also add ntp2ip script when image is built with dnscrypt-proxy but without stubby 3 years ago
rs232 ec60b3c661 - removed 0.5sec
- removed anything >1min
- added extra resolution in the period 1-60sec
3 years ago
pedro 9b0ba59cb4 www: tomato.js: adjust 'Refresh Every' to 'One off' 3 years ago
rs232 a3adc8662d Merged in rs232/adjusting-refresh-every-to-one-off-1672924002254 (pull request #112)
Adjusting "Refresh Every" to "One off"
3 years ago
rs232 9bbe7f9b59 Merged in rs232/adjusting-refresh-every-to-one-off-1672923944474 (pull request #111)
Adjusting "Refresh Every" to "One off"
3 years ago
pedro f132333000 httpd: log.c: some improvements for logging (has to be checked) 3 years ago
rs232 430fe0a729 Adjusting "Refresh Every" to "One off" 3 years ago
rs232 14fd773904 Adjusting "Refresh Every" to "One off" 3 years ago
pedro 9a3692e74c build: Makefile: add another symlink for libjpeg to avoid problems 3 years ago
pedro 1c41bdca0f Fix commit c93ebd9 3 years ago
rs232 1e2f3b26d1 Merged in arm-master (pull request #109)
New nvram variable + extra scroll to bottom in logviewer
3 years ago
pedro aed35744d8 sqlite: update to 3.40.1 3 years ago
pedro d03dd77a5c dropbear: updates from the upstream
- Fix building only client or server: 7a53c7f0f4
- Add missing break in switch: 39d955c49f
- Fix so DROPBEAR_DSS is only forced for fuzzing: c043efb47c
3 years ago
pedro e9c9030380 build: remove no more needed jpeg package from the tree 3 years ago
pedro 65ca95bec9 build: add recipes and integrate with libjpeg-turbo 3 years ago
pedro 099603e1a9 libjpeg-turbo: add clean sources of 2.1.4 3 years ago
pedro dd423b1a51 rc: services.c: start_media_server(): correct friendly_name, album_art_names; add model_name 3 years ago
pedro 6520f3048b ffmpeg: update to 0.7.17; resolves #239 3 years ago
rs232 52c22b3dd2 Add "Scroll to bottom" also at the bottom of the status-log page 3 years ago
rs232 c93ebd92a5 Enabler: adding adblock_logs to allow Adblock v2 to operate from the GUI 3 years ago
pedro 4edfacde92 build: Makefile: sqlite: fix one of CFLAGS 3 years ago
pedro 411512c5f8 flac: remove unwanted flags (added as a patch) 3 years ago
pedro 04909aa16f minidlna: patches: do not build po files 3 years ago
pedro 4c224eda05 nginx: update to 1.23.3 3 years ago
pedro 1aebde3acf tor: update to 0.4.7.12 3 years ago
pedro bed01ccf4d nano: update to 7.1 3 years ago
pedro aeaead48d8 libsodium: update to latest 1.0.18-stable 3 years ago
pedro 5fcdffa67e libpng: update to 1.6.39 3 years ago
pedro 7fa64a7e18 Bump version to 2022.7 3 years ago
pedro cd905235b0 busybox: update to 1.35.0 3 years ago
pedro bddd735918 build: Makefile: fix compilation in case if minidlna is built as static 3 years ago
pedro c70c0b4633 e2fsprogs: add two patches from openwrt 3 years ago
pedro f7dec3df55 dropbear: patches: update paths, algos, and build really without DSS support 3 years ago