Commit Graph

5422 Commits (2021.8)

Author SHA1 Message Date
pedro 6e02aa5bde build: Makefile: tune glib/nocat recipes 4 years ago
pedro 120dcf6bfb router: Makefile: cosmetic 4 years ago
pedro e1f4e2415c build: Makefile: dhcpv6: -fPIC is not needed here 4 years ago
pedro 3551fa2114 build: Makefile: cmake clean-up 4 years ago
pedro 36e8949ac1 dhcpv6: remove debug info - save some space; remove unneeded file 4 years ago
pedro 08df739d25 build: Makefile: transmission: update recipe 4 years ago
pedro d871f9c687 build: libsodium: build as static library 4 years ago
snowman58 5621707546 Fix program memory size too small for STOCK NETGEAR firmware 4 years ago
snowman58 0ac42cd437 Fix cryptic BAD TRX HEADER with actual error message that means something 4 years ago
pedro f7ec7b8212 patches: mysql: fix typo 4 years ago
M_ars aaba5b7f3a GUI: status-overview - improve ethstate if WAN port is moved to primary LAN
See report:
https://www.linksysinfo.org/index.php?threads/bug-since-2021-1-till-now.76930/

tested with Asus RT-N18U, look good now :)
4 years ago
pedro c6d14a9ca8 Merge branch 'arm-master' into arm-sdk7 4 years ago
pedro ff0223667d build: router: Makefile: changes according to MIPS branch 4 years ago
pedro 5944f0275e build: minidlna: use autotools to create Makefile/config.h, instead of adding them by patch; link libraries dynamically and add them to the image
- based on @st-ty1 work, thanks
4 years ago
pedro 5d0d16d349 build: Makefile: transmission: use cmake instead of autotools; also fix problems with absolute/relative path in __FILE__ macro on cmake
- based on @st-ty1 work, thanks
4 years ago
pedro 72a214410a build: getdns: fix problems with absolute/relative path in __FILE__ macro in cmake and use new option FORCE_COMPAT_STRPTIME 4 years ago
pedro a473f8ad52 build: apcupsd: add patch to help compile on Artix 4 years ago
pedro 2bacc19694 build: mysql: add patch to help compile on Artix 4 years ago
pedro 3edef68379 build: update Makefile to help compile on Artix 4 years ago
pedro ad3ec1f1d6 build: Makefile: libncurses: fix build break 4 years ago
pedro 43f25ed6fc libncurses: update to 6.3 4 years ago
pedro 9c01b214bf nano: update to 5.9 4 years ago
pedro 76e4fe7018 tor: update to 0.4.6.8 4 years ago
pedro c2cf3e78c7 GUI: Advanced: DHCP/DNS: dnscrypt-proxy: add dynamically to the page drop-down list of resolvers, so it's now possible to use alternative/downloaded file (/etc/dnscrypt-resolvers-alt.csv); also add DNSSEC and NOLOGS info to the list 4 years ago
pedro eba3d44c84 Merge branch 'arm-master' into arm-sdk7 4 years ago
pedro bbf53d16ae build: Makefile: pass EXTRACFLAGS also to openssl/mysql/php, ensure that optimization is complete; clean-up 4 years ago
pedro a3bd8ef04c build: Makefile: libsodium: add CFLAGS/LDFLAGS to recipe 4 years ago
pedro faa123620a build: Makefile: rp-pppoe: remove debugging information, add -Wall instead 4 years ago
pedro cc29643b8a kernel: [SCSI] sd: Fix overflow with big physical blocks
Ref: 526f7c7950
4 years ago
pedro c967842be3 kernel: [SCSI] sd: Fix overflow with big physical blocks
Ref: 526f7c7950
4 years ago
pedro a03cf9be3e GUI: Status: Logs: escape HTML characters in log entries 4 years ago
pedro 51899cbc1d Merge branch 'arm-master' into arm-sdk7 4 years ago
pedro a8018a69a7 router: httpd: one version for ARM/MIPS branch 4 years ago
pedro 2811e8e56e router: mssl: one version for ARM/MIPS branch 4 years ago
pedro 85f5601618 router: config_base: cosmetic 4 years ago
pedro d5879ca8fe GUI: Basic: DHCP Reservation: allow 'dot' to be used in DHCP reservation hostname - useful for setting static records for external hosts 4 years ago
pedro 658f824a4e GUI: Basic: DHCP Reservation: do not allow duplicate IP - causes dnsmasq fail to start 4 years ago
pedro 020005e500 pdureader: avoid SIGSEGV caused by improper gcom (comgt) response; clean-up
- next move is to check what is wrong with gcom...
4 years ago
pedro 4ba8ac8177 mdu: use 'PUT' instead of 'POST' for cloudfare to update DNS record (closes #141) 4 years ago
M_ars 3384058f11 rc: network.c - repair/improve function for wireless restart/start (only)
Note: add pre-check for non-sta setups (help FT with CTF on)

Fix for - see bug report:
https://www.linksysinfo.org/index.php?threads/fork-freshtomato-arm-development-discussion-only-for-support-always-open-your-own-thread.74117/page-245#post-330123

tested with arm dual-core, working correct (v2)
4 years ago
pedro 9e0d7aa52d GUI: fix the display of SMS and signal level (RSSI) in some cases 4 years ago
M_ars 994c7db1ab GUI / httpd: misc.c - speed up status-overview (part 2)
Note: use cfe/bl nvram values if available (~95%)

tested with Asus RT-N18U / R7000, working
4 years ago
pedro 82a92b2d73 rc: do not stop ntpd on WAN stop - only stop it on stop_services() 4 years ago
pedro f780f4bade rc: pptp_client.c: replace depreciated gethostbyname() with getaddrinfo() 4 years ago
pedro 8d93989d01 rc: pbr.c: replace depreciated gethostbyname() with getaddrinfo() 4 years ago
pedro 18f00f6803 Merge branch 'arm-master' into arm-sdk7 4 years ago
pedro e583d8d136 Bump version to 2021.7 4 years ago
pedro 2a00351844 GUI: Status: Overview: fix javascript error caused by the lack of 'wanX_ifnames' nvram values 4 years ago
pedro 60da4460df dnscrypt-proxy: update resolvers csv file 4 years ago
pedro 225fb5c5c4 libcurl: update CA certificate bundle as of 2021-09-30 4 years ago
pedro b47cb733d5 GUI: correct display (center) of some checkbox in tables 4 years ago
pedro 007f354f9f www: admin-*.asp: cosmetic 4 years ago
pedro 9bdc184d16 Merge branch 'arm-master' into arm-sdk7 4 years ago
pedro 84483ae71d rc: dhcp.c: start_dhcpc(): use _eval() with pid to start udhcpc 4 years ago
pedro f5d4fe1317 httpd: dhcp.c: wo_dhcpc(): correct number of args 4 years ago
pedro d858b9f6b5 rc: service: start_ntpd(): fix start of ntpd if Events Logged -> NTP is checked on Admin -> Logging page 4 years ago
pedro a0f0fa4002 rc: services.c: start_ntpd(): fix commit 09856db 4 years ago
pedro 8c0d748be5 httpd: openvpn.c: fix adding correct keys for client config file 4 years ago
pedro 2b5ceb1968 rc: services.c: add 'force' to dnsmasq dhcp-option 42 4 years ago
pedro 625f3b05ac www: tomato.js: fix createFieldTable() function 4 years ago
pedro 902614f2d9 rc: firewall.c: change condition for source in 'Intercept NTP/DNS client traffic' FW rules
- discussion: https://www.linksysinfo.org/index.php?threads/ft-intercept-client-traffic-ntp-dns-discussion.76338/
4 years ago
pedro 1916767634 GUI: add blinking to Time status when it's unavailable 4 years ago
pedro 4ae16ef4dd GUI: Status: Overview: fix minor problem with reported multiWAN status 4 years ago
pedro 78b3f9244b www: admin-config.asp: also replace '/' to '_' in filename 4 years ago
pedro 67ed7cc8e8 rc: dhcp.c: buffer overflow protection (snprintf) + cosmetic 4 years ago
pedro dd6002bdc0 busybox: update to 1.34.1
- refresh patches
- there is no '-H NAME' option, so use correct '-x hostname:NAME'
4 years ago
pedro 53334815dc GUI: Status: Overview: display 'Click to view SMS' link also for hw-ether (MIPS) module modem type 4 years ago
pedro 68c9198792 Merge branch 'arm-master' into arm-sdk7 4 years ago
pedro 291a8d461f Bump version to 2021.6 4 years ago
pedro 2a7e96b76a Merge branch 'arm-master' into arm-sdk7 4 years ago
pedro 63711f9581 OpenVPN: Server: add generated keys for client also to .ovpn configuration file 4 years ago
pedro 64a7a73d7f Merge branch 'arm-master' into arm-sdk7 4 years ago
pedro f9f82d916f build: fix libexif compilation 4 years ago
M_ars 214f9d0b43 ipv6: send only one NEWLINK when RA causes changes
see https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=2053aeb69a53224717296db31b13d5b45b4f1a0e

Signed-off-by: Marius Tomaschewski <mt@suse.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
4 years ago
M_ars fb135d43c5 ipv6: send NEWLINK on RA managed/otherconf changes
see https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=a394eef562d781f37a50d99cf1dfe596dc1ed96d

The kernel is applying the RA managed/otherconf flags silently and
forgets to send ifinfo notify to inform about their change when the
router provides a zero reachable_time and retrans_timer as dnsmasq
and many routers send it, which just means unspecified by this router
and the host should continue using whatever value it is already using.
Userspace may monitor the ifinfo notifications to activate dhcpv6.

Signed-off-by: Marius Tomaschewski <mt@suse.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
4 years ago
M_ars 3b0c343559 ipv6: send only one NEWLINK when RA causes changes
see https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=2053aeb69a53224717296db31b13d5b45b4f1a0e

Signed-off-by: Marius Tomaschewski <mt@suse.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
4 years ago
M_ars a68fd317f8 ipv6: send NEWLINK on RA managed/otherconf changes
see https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=a394eef562d781f37a50d99cf1dfe596dc1ed96d

The kernel is applying the RA managed/otherconf flags silently and
forgets to send ifinfo notify to inform about their change when the
router provides a zero reachable_time and retrans_timer as dnsmasq
and many routers send it, which just means unspecified by this router
and the host should continue using whatever value it is already using.
Userspace may monitor the ifinfo notifications to activate dhcpv6.

Signed-off-by: Marius Tomaschewski <mt@suse.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
4 years ago
pedro 9f2a69c491 ebtables: libebtc: fix malloc usage
Rule insertion may fail on systems where libc doesn't provided zeroed
memory via malloc (which is legal).

IOW, this was never guaranteed to work correctly.
Add a xzalloc wrapper to do error checking and zeroing and then
use it in libebtc.

Reported-and-tested-by: Senthil Kumar Balasubramanian <senthilb@qubercomm.com>
Diagnosed-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Florian Westphal <fw@strlen.de>

- fix from upstream: https://git.netfilter.org/ebtables/commit/?id=3af72f100ad783b0204ce519de26a639f920b558
4 years ago
pedro f0e02d9185 openvpn: update to 2.5.4 4 years ago
pedro 664b1918ac libexif: update to 0.6.23 4 years ago
pedro 7073bdbba7 libcurl: update to 7.79.1 4 years ago
pedro dc054e6008 build: allow to build dnssec and stubby independently
- Note: due to changes in variable names, the correctness of the settings on the 'Advanced -> DHCP/DNS' page should be checked
4 years ago
pedro f610de550c shared: misc.c: small fix for commit 8a1ce0f 4 years ago
pedro 73ee7b1f83 build: Makefile: dnsmasq: switch to nettle for crypto backend 4 years ago
pedro e521ffa4ae dnsmasq: update to 2.86
- refresh patches
4 years ago
pedro 3f044f20a1 build: Makefile: nettle: compile with --disable-fat 4 years ago
pedro 09856db47c rc: services.c: start_ntpd(): eval() will wait until process quits, so use _eval() with pid; otherwise, start_ntpd() never returns 4 years ago
snowman58 8f8049df81 Correct JFFS and crash memory storage R6400/R6400v2 NVRAM_128K 4 years ago
M_ars 314204de90 SDK7: use prebuilt 4 years ago
M_ars 9b9b282939 SDK6: use prebuilt 4 years ago
pedro 72fe5f485b GUI: Status: Logs: fix minor issue when hitting enter reloads the page 4 years ago
pedro 4e3c345223 GUI: Status: Overview: add MultiWAN Status and button to force watchdog check manually (closes #105) 4 years ago
pedro dc2207fb31 www: at.css: add icons to Connect/Disconnect buttons for Advanced themes 4 years ago
pedro cbe933b3f6 GUI: Admin: Configuration: add current date to backup file (closes #156)
- thanks @rs232
4 years ago
pedro b431e5affa Merge branch 'arm-master' into arm-sdk7 4 years ago
pedro 8a1ce0f01f watchdog/multiwan: fix a whole bunch of problems
- rc: misc.c: check_wanup(): add checking for content of WAN state file; fix fopen/fclose; sprintf -> snprintf
- others: watchdog: fix hanging at nslookup in some cases
- www: basic-network.asp: add possibility to disable watchdog for given WAN if needed
4 years ago
M_ars b3ad6e2b27 SDK6: update bcmcrypto and build from src now (keep old prebuild for backup)
Note: sync to GPL 40558
4 years ago
M_ars fd227b6fc3 SDK7: build bcmcrypto from src now (keep old prebuild for backup)
Note: no changes needed for the files / latest GPL 52545
4 years ago
M_ars afe5157bd7 SDK7: prepare for merge with SDK6 to support Protected Management Frames 4 years ago
pedro ff0602e5e6 GUI: Advanced: DHCP/DNS: move some options from Client to Server section
- thanks @rs232 for pointing this out
4 years ago
pedro 011b6bf17a GUI: Advanced: MAC Address: shorten description of one of the buttons 4 years ago
M_ars d49b1cbf95 GUI: advanced-wireless - add Protected Management Frames option
Note: only for ARM branch

Info / Warning: Not all wireless clients like/support that wl option --> default Off (no change)

Request / Discussion at linksysinfo
https://www.linksysinfo.org/index.php?threads/protected-management-frames-pmf.76715/
4 years ago
M_ars 3a87943174 Wireless Client Mode (only for SDK5 RT and RT-N): bring up wan interface after wl restart
fix for: wan connection will not work anymore after wireless restart (old problem)

Note: no change for arm; sync arm and mips
4 years ago
M_ars 84d8dd02f7 rc: network.c - repair function restart_wl() and do not start radio join (again)
Note: start radio join only once at function wlconf(); this fix effects (mainly) wet and psta

tested with wet, sta and psta - working correct now

fix for / NOK Example:
root@Tomato-Router:/tmp/home/root# service wl restart (5x times; Router in wet or psta mode)
...

  PID  PPID USER     STAT   VSZ %VSZ CPU %CPU COMMAND
 2069     1 root     S     1632  0.6   1  0.1 blink eth2 5g 10 8192
 1098     1 root     S     3632  1.4   0  0.0 httpd
    1     0 root     S     1636  0.6   0  0.0 /sbin/preinit
 1880     1 root     S     1628  0.6   0  0.0 radio join 0
 2015     1 root     S     1628  0.6   1  0.0 radio join 0
 2070     1 root     S     1628  0.6   0  0.0 radio join 0
 1950     1 root     S     1628  0.6   1  0.0 radio join 0
 1780     1 root     S     1628  0.6   1  0.0 radio join 0
 2076     1 root     S     1628  0.6   0  0.0 radio join
 ...
4 years ago
pedro 0f3c43fff5 GUI: Status: Logs: add possibility to use negative filters syntax e.g "-something"; add debounce to event used on search keyup to avoid invoking function every key release; use concat() to copy logs array to the local variable 4 years ago
pedro 791c30caa8 GUI: Status: Logs: add timestamp of last refresh, format urls in the table, make search case insensitive, fix some issues with ajax, cosmetic
- thanks @rs232 for suggestions
4 years ago
pedro 133f39b5b3 Revert "nocat: fix intercept traffic also also on port 443"
This reverts commit 954ba23cd9.
4 years ago
pedro 76a77c454c adblock: correct url of DOH servers list 4 years ago
pedro b212088ccc nocat: cosmetic, clean-up 4 years ago
pedro 954ba23cd9 nocat: fix intercept traffic also also on port 443 4 years ago
pedro 77de6524bf www: status-log.asp: retrieve only necessary number of lines from syslog, to reduce load when not all are needed 4 years ago
pedro dbe45dddba httpd: misc.c: fix check_connect(), causing problems (time-out) on Status->Ovrview page 4 years ago
Michał Obrembski be35564f2d GUI: Restored plain view of syslog, as an option to new improved log viewer 4 years ago
pedro 09b5b38768 www: status-devices.asp: add Media Bridge mode (psta) to be recognized as a WAN device 4 years ago
M_ars 7c37484945 Media Bridge Mode (SDK6 and up): add send keep alive and remove event (to keep up the connection after "longer" inactivity time)
Note: small fix/update for commit
b5f9f02a44
4 years ago
pedro f14c3a59e4 www: status-log.asp: fix regexp 4 years ago
M_ars b5f9f02a44 Add Media Bridge Mode (for SDK6 and up)
Note: offer an extra/new operation mode for SDK6 and up! (--> Can replace wireless ethernet bridge mode for SDK7 [probably broken ...])

tested with arm dual-core, working correct! :)
4 years ago
pedro a85dfb6213 www: move functions searchOUI() and displayOUI() to tomato.js, they are used more than once 4 years ago
pedro 81a40855f1 GUI: Status: Overview: fix WL label issue on some routers 4 years ago
pedro 84e8419ac3 Merge branch 'arm-master' into arm-sdk7 4 years ago
pedro ebf75881b7 GUI: Basic: Network: fix javascript freezing when more than 1 WAN has been set 4 years ago
pedro 15d80e7aed miniupnpd: update to 2.2.3
- refresh patches
4 years ago
pedro 3e361afc86 tor: update to 0.4.6.7 4 years ago
pedro 93fda2850f ntfs-3g: update to 2021.8.22 4 years ago
pedro 5e4e1a9ae2 nginx: update to 1.21.3 4 years ago
pedro a198d95ed8 e2fsprogs: update to 1.46.4 4 years ago
pedro 592c419d17 GUI: Status: Logs: make it 100% compatible even with older browsers (ex. IE9, Safari 5.1.7) 4 years ago
pedro 59cf0b2f8c GUI: Status: Logs: fix javascript error when the search result is null 4 years ago
Michał Obrembski 3ea5a80495 GUI: Removed logEntry class from status-log.asp 4 years ago
pedro 791237936d GUI: Status: Logs: fix coloring log levels for some themes 4 years ago
Michał Obrembski d3fb4a85e6 New, improved log viewer
[ fixes & corrections - @pedro ]
4 years ago
pedro 51911ae503 www: tomato.js: remove unused code 4 years ago
M_ars 5463e6d643 WL SDK (RT-N branch and up): turn On wl setting STBC RX
Note: default On
4 years ago
pedro 1f48fc227e www: advanced-wlanvifs.asp: fix bug causing js error 4 years ago
Michał Obrembski b220580312 GUI: Admin: Debugging: rename console log level into Kernel printk log level (it has better meaning); add a reboot after changing log level, since we setup klogd only at init,
so it is required to reboot; add Notes

[ fixes & corrections - @pedro ]
4 years ago
Michał Obrembski 251bb7a88c GUI: Admin: Logging: add minimum log level watched for syslogd 4 years ago
Michał Obrembski 898a903968 httpd: log.c: fix a bug not showing all logs when external log is configured 4 years ago
pedro e8afe0a585 build: add WiFi QR Code generator to all targets 4 years ago
Michał Obrembski 870e134289 GUI: add WiFi QR Code generator to 'z' (AIO) targets
Thanks @rs232!

[ fixes & corrections - @pedro ]
4 years ago
Michał Obrembski 069eaed80a GUI: Improvements to Advanced MAC page; closes #125
- Add Notes
- Add possibility to randomize only BurnIn address (UAA)
- Take care of Unicast bit while randomizing
4 years ago
pedro 9c872eb65a GUI: Status: Overview: fix toggle of WAN and Virtual Wireless nodes 4 years ago
pedro b6e03a6797 openssl: update to 1.1.1l 4 years ago
pedro 268d2891e3 GUI: OpenVPN Server: fix generation of the correct CA Key previously caused clients errors. In order to work properly, the key must be generated again both for the server and client(s). 4 years ago
pedro f46afd303a GUI: OpenVPN Server: fix the case in which after removing the CA key in GUI, re-generating keys will use its old version from nvram 4 years ago
pedro b64fa2b451 Adblock: remove inactive list (http://www.malwaredomainlist.com/hostslist/hosts.txt) 4 years ago
M_ars 1b51d9f986 PPTP Server: bypass CTF (if enabled) 4 years ago
M_ars f6af2da2a1 GUI: advanced-wireless: - add one more example for USA country setup ( Q2 / 96 )
Note: Asus default setup for USA and SDK7 router RT-AC3200
4 years ago
pedro 8de012a53e Revert "rc: do not restart nas services/wsdd2 on WAN up"
This reverts commit 26d12c0f1f.
4 years ago
pedro e27fecfd6d mymotd: comma -> dot in WL frequency 4 years ago
Michał Obrembski a234de84e0 GUI: Added missing space between unit and flash size 4 years ago