Commit Graph

5495 Commits (2021.7)
 

Author SHA1 Message Date
pedro 24ab7634bb httpd: httpd.c: fix compilation 4 years ago
pedro a000eab12a Merge branch 'arm-master' into arm-sdk7 4 years ago
pedro 6c7e29d980 httpd: misc.c: put LAN check in loop for all bridges in print_ipv6_addrs() 4 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
4 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)
4 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
4 years ago
pedro 76240e7db5 stubby: add location of alternative configuration file (/etc/stubby/stubby.alt) to bypass stubby UI configuration; fixes #108 4 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/
4 years ago
pedro 8fd4581c2f GUI: Admin: Debugging: add the ability to disable cache in the httpd daemon 4 years ago
pedro 4c3ae8bdd8 httpd: add IP when logging bad password attempt; fix incorrect sizeof() in strlcpy() (line 820+); clean-up 4 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
4 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.
4 years ago
pedro d953a59ebc Revert "pppd: fix IPv6 on Freshtomato"
This reverts commit 69da1b11d8.
4 years ago
pedro a4850500b4 Revert "pppd: remove (last piece of) old no more needed patch"
This reverts commit 0277d5b1f9.
4 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
pedro 9a8fc25e2e rc: qos.c: use the same size of buffer as in restrict.c 5 years ago
pedro 3d071372b2 rc: openvpn.c: fix compiler warning 5 years ago
pedro cf2408380e Merge branch 'arm-master' into arm-sdk7 5 years ago
pedro 11c0b669bf pppd: use monotonic time if possible
- refresh patches, remove no more needed patch known as "pppd: watch out for time warps"

Feature from upstream: c78e3129d4
5 years ago
pedro 5bdc12918a rp-pppoe: use monotonic time if possible, added as a patch 5 years ago
pedro a13e77f65b busybox: use CLOCK_MONOTONIC instead of gettimeofday 5 years ago
pedro 90344fc748 busybox: ntpd: add -t switch to disable rfc4330 cross-check, parameters tuning
Based on: e8dcb55c0e
Thanks!
5 years ago
pedro ade6622c1f openvpn: update to 2.5.1 5 years ago
pedro 963312a448 www: basic-network.asp: cosmetic 5 years ago
pedro d54e30f3a2 GUI: Status: Overview: correctly display used DNS 5 years ago