Commit Graph

5255 Commits (2021.4)
 

Author SHA1 Message Date
pedro 72b5ce48c7 GUI: Advanced: VLAN: fix the order of displayed port icons 4 years ago
pedro dcfbdc90b3 www: move global JS variables to tomato.js 4 years ago
pedro 69ee71106c GUI: Advanced: VLAN: add marking that the given WL is turned off; cosmetic 4 years ago
pedro 82c71d0927 tomatoanon: fix script 4 years ago
pedro 6ca3b88a29 www: admin-debug.asp: fix typo 4 years ago
pedro 1d0c036757 GUI: Advanced: VLAN: improvement to the page; fixes #104
- thanks to @rs232 for help and testing
4 years ago
pedro 94afca867c QoS: statistics and classification not available in Cake mode 4 years ago
pedro 610c955c61 watchdog: also use temporary added route for WAN check in case of failover 4 years ago
pedro 2883beec5e watchdog: fix problems with DHCP on multiwan 4 years ago
pedro 8ee10d7df2 Merge branch 'arm-master' into arm-sdk7 4 years ago
pedro 24ab7634bb httpd: httpd.c: fix compilation 4 years ago
pedro a000eab12a Merge branch 'arm-master' into arm-sdk7 5 years ago
pedro 6c7e29d980 httpd: misc.c: put LAN check in loop for all bridges in print_ipv6_addrs() 5 years ago
pedro 46631b2720 busybox: ntpd: fix the case where two replies received at once and first one causes a step
- fix from upstream: https://git.busybox.net/busybox/commit/?id=afb5d8b2db432b8433ba80a1206ae41ef4f4ea8b
5 years ago
M_ars c461693525 GUI: basic-network.asp - in case wan disabled (for ex. wireless bridge) make sure to use static dns
Note: no DNS after (full) reset in some cases (tested with RT-AC56U). Make sure that we have valid nvram values by default. If we disable wanX set nvram wanX_dns_auto to 0 (use static dns)
5 years ago
M_ars 8845191869 rc: adjust new ntpd handling for case wan disabled (time was not working after boot up; bridge mode and AP only)
Note: small addendum for commit 57fac61fc7
5 years ago
pedro 76240e7db5 stubby: add location of alternative configuration file (/etc/stubby/stubby.alt) to bypass stubby UI configuration; fixes #108 5 years ago
pedro c27a97c069 adblock: fix the issue when only a custom black list is added (without any URL defined), dnsmasq restarts every 5 minutes
- discussion: https://www.linksysinfo.org/index.php?threads/bug-adblock-assumes-no-internet-when-no-blacklist-urls-active-kills-dnsmasq.76350/
5 years ago
pedro 8fd4581c2f GUI: Admin: Debugging: add the ability to disable cache in the httpd daemon 5 years ago
pedro 4c3ae8bdd8 httpd: add IP when logging bad password attempt; fix incorrect sizeof() in strlcpy() (line 820+); clean-up 5 years ago
M_ars 78e2942ae5 SDK6: update wireless driver (dual core)
For Info:
6.37 RC14.126
wl0: Feb  4 2021 16:49:59 version 6.37.14.126 (r561982)

previous wireless driver:
6.37 RC14.126
wl0: Jan 15 2021 14:50:50 version 6.37.14.126 (r561982)

tested with R7000, working
5 years ago
pedro b416a07428 Revert "pppd: update to 2.4.9"
It doesn't work correctly on FreshTomato:

Mar  9 17:11:51 Tomato-Router daemon.info pppd[2816]: Plugin rp-pppoe.so loaded.
Mar  9 17:11:51 Tomato-Router daemon.info pppd[2816]: RP-PPPoE plugin version 3.14 compiled against pppd 2.4.9
Mar  9 17:11:51 Tomato-Router daemon.err pppd[2816]: tdb_store failed: Corrupt database
Mar  9 17:11:51 Tomato-Router daemon.err pppd[2823]: tdb_store failed: Corrupt database
Mar  9 17:11:51 Tomato-Router daemon.notice pppd[2823]: pppd 2.4.9 started by root, uid 0
Mar  9 17:11:51 Tomato-Router daemon.err pppd[2823]: tdb_store failed: Corrupt database
Mar  9 17:11:51 Tomato-Router daemon.err pppd[2823]: tdb_store key failed: Corrupt database
Mar  9 17:11:51 Tomato-Router daemon.err pppd[2823]: tdb_store failed: Corrupt database
Mar  9 17:11:51 Tomato-Router daemon.err pppd[2823]: tdb_store key failed: Corrupt database
Mar  9 17:11:51 Tomato-Router daemon.err pppd[2823]: tdb_store failed: Corrupt database
Mar  9 17:11:51 Tomato-Router daemon.err pppd[2823]: tdb_store failed: Corrupt database
Mar  9 17:11:51 Tomato-Router daemon.err pppd[2823]: tdb_store failed: Corrupt database
Mar  9 17:11:51 Tomato-Router daemon.err pppd[2823]: tdb_store failed: Corrupt database
Mar  9 17:11:51 Tomato-Router daemon.err pppd[2823]: tdb_store failed: Corrupt database
Mar  9 17:11:51 Tomato-Router user.info redial[2824]: Redial (wan) started, the check interval is 20 seconds
Mar  9 17:11:52 Tomato-Router daemon.info pppd[2823]: PPP session is 4404 (0x1134)
Mar  9 17:11:52 Tomato-Router daemon.warn pppd[2823]: Connected to cc:e1:7f:xx:xx:xx via interface vlan70
Mar  9 17:11:52 Tomato-Router daemon.err pppd[2823]: tdb_store failed: Corrupt database
Mar  9 17:11:52 Tomato-Router daemon.info pppd[2823]: Using interface ppp0
Mar  9 17:11:52 Tomato-Router daemon.err pppd[2823]: tdb_store key failed: Corrupt database
Mar  9 17:11:52 Tomato-Router daemon.err pppd[2823]: tdb_store failed: Corrupt database
Mar  9 17:11:52 Tomato-Router daemon.err pppd[2823]: tdb_store key failed: Corrupt database
Mar  9 17:11:52 Tomato-Router daemon.err pppd[2823]: tdb_store failed: Corrupt database
Mar  9 17:11:52 Tomato-Router daemon.err pppd[2823]: tdb_store failed: Corrupt database
Mar  9 17:11:52 Tomato-Router daemon.notice pppd[2823]: Connect: ppp0 <--> vlan70

Also problems with IPv6

This reverts commit 82a7d9c2b7.
5 years ago
pedro d953a59ebc Revert "pppd: fix IPv6 on Freshtomato"
This reverts commit 69da1b11d8.
5 years ago
pedro a4850500b4 Revert "pppd: remove (last piece of) old no more needed patch"
This reverts commit 0277d5b1f9.
5 years ago
pedro aa9471148e rc: tor.c: fix permissions on tor tmp directory 5 years ago
pedro 0277d5b1f9 pppd: remove (last piece of) old no more needed patch 5 years ago
M_ars c80d86cc2f IPv6: adjust linux setup and make it more stable
- do not wipe out default route every time we start/reload the firewall (move out ipv6 forward & ndp proxy)
- remove service ipv6 start/stop (not working and not used)
- call ipv6 forward and ndp proxy only if start or stop ipv6

tested with DHCPv6 PD, working
5 years ago
M_ars c0432af44f rc: wan.c: remove enable_ip_forward() at start_wan()
Note: function start_firewall() will call enable_ip_forward() (no need to call it twice)
5 years ago
pedro a052b434ca rc: services.c: also restart httpd on ntp sync; clean-up 5 years ago
pedro 90000a13f9 httpd: some changes to gencert.sh and httpd.c
- revert back to 10 years duration, as the Safari limitation only targets certificates signed by one of the built-in CAs
- remove CommonName entries as modern browsers no longer use that field - only hardcode router's IP address as the sole CN.
- add router_name and make sure that the hostname is not the same to avoid duplicate SANs
- use file_lock in httpd to avoid collisions if another httpd instance is initializing SSL cert; clean-up

Thanks to @RMerlin
5 years ago
pedro ee24af4898 rc: nfs: add threads support 5 years ago
pedro 2215cb3763 nfs-utils: update to 1.3.5-rc6 5 years ago
pedro b1fe97682d e2fsprogs: update to 1.46.2 5 years ago
pedro d7286fda7a nano: update to 5.6.1 5 years ago
pedro 19d4224cdb nginx: update to 1.19.7 5 years ago
pedro bb2a409bf7 sqlite: update to 3.34.01 5 years ago
pedro c705edeb0a tor: update to 0.4.5.6 5 years ago
pedro 3af2242d23 libcurl: update CA certificate bundle as of 2021-01-19 5 years ago
pedro 57fac61fc7 rc: further tweaks to ntpd handling on wanup
Based on @RMelin work - thanks!
5 years ago
pedro a139b2a4c0 ebtables: libebtc: Open the lockfile with O_CLOEXEC
Fix from upstream: https://git.netfilter.org/ebtables/commit/?id=46eb78ff358724f5addf14e45f2cfc31542ede3c
5 years ago
pedro d3d405f3ba stubby: update resolvers file 5 years ago
pedro 69da1b11d8 pppd: fix IPv6 on Freshtomato 5 years ago
pedro 4a0a2ea14d build: Makefile: enable CRASHLOG by default on AIO targets 5 years ago
pedro 82a7d9c2b7 pppd: update to 2.4.9
- refresh patches, remove no more needed
5 years ago
pedro 1dd79fd92f pppd: update to 2.4.8
- rewrite patches, add some more from openwrt
- 'use monotonic time' applied in code (fix from upstream)
5 years ago
pedro 1178cceb77 dhcp6c: use monotonic time if possible
Based on: 363b692a13
5 years ago
M_ars 47189ecc4e SDK6: update wireless driver (dual core)
For Info:
6.37 RC14.126
wl0: Jan 15 2021 14:50:50 version 6.37.14.126 (r561982)

previous wireless driver:
6.37 RC14.126
wl0: Oct 20 2020 11:55:53 version 6.37.14.126 (r561982)

tested with R7000, working
5 years ago
pedro 0dc26e13a3 iptables: fix save formatting for libipt_ipp2p 5 years ago
pedro 28800a22ed iptables: fix save formatting for libipt_layer7 5 years ago
pedro 613e32464e iptables: fix default location of l7-protocols of iptables userspace components 5 years ago