====== FreshTomato v2018.1 ===== 🗓️ Released Saturday, April 14th, 2018 ===== Notes ===== This was the first stable, public release to be rebranded as FreshTomato and introduced a new versioning scheme for stable public releases. ==== FreshTomato versioning ==== FreshTomato stable public releases shall henceforth be assigned a two-part "MAJOR.MINOR" numeric identifier that ensures all releases are unique and clearly distinguishable from one another. According to this scheme, each version identifier is composed of two unsigned (positive) integer values, MAJOR and MINOR, which are separated by a full stop (period), and where: * MAJOR is equivalent to the Gregorian calendar year during which the release occurs, and * MINOR is a monotonically incrementing integer that returns to the value 1 upon any change to the MAJOR component. ===== Changes ===== ==== Enhancements ==== * [[:connectivity_watchdog|Connectivity Watchdog]]: Increase curl timeout from 3 to 5 seconds in ckcurl function to prevent false positives on heavily-loaded 3G connections * [[:nas-ftp|FTP]]: Fix connection failure from WAN when port is not 21 * GUI: * [[:status-overview|Status ▻ Overview]]: Invert default Ethernet port order for ASUS RT-AC3200 and NETGEAR R8000 * [[:basic-network|Basic ▻ Network]]: Add possibility to change default IP (198.51.100.1) where DNS queries send to trigger connect-on-demand (commit [[https://bitbucket.org/pedro311/freshtomato-arm/commits/6d47b63eae4e35f5cbf2375914a2113af61e8d6e|6d47b63]]) * [[:basic-network|Basic ▻ Network]]: Fix channel scan function for WiFi * [[:advanced-vlan|Advanced ▻ VLAN]]: Fix problem with passing Tagged/Untagged on same port when using default VLAN * [[:advanced-wireless|Advanced ▻ Wireless]]: Air Time Fairness support for NETGEAR R7000 and R8000 models * LED: Preliminary support for 2nd 5Ghz LED on NETGEAR R8000 ==== Dependency updates ==== * [[https://www.adminer.org/en/|Adminer]]: Update to [[https://github.com/vrana/adminer/releases/tag/v4.6.2|v4.6.2]] ([[https://github.com/vrana/adminer/compare/v4.6.1...v4.6.2|changes]]) * [[https://thekelleys.org.uk/dnsmasq/doc.html|Dnsmasq]]: Update to [[https://thekelleys.org.uk/gitweb/?p=dnsmasq.git;a=tag;h=refs/tags/v2.80test1|v2.80test1]] ([[https://thekelleys.org.uk/dnsmasq/CHANGELOG|changes]]) * [[https://matt.ucc.asn.au/dropbear/dropbear.html|Dropbear]]: Update to [[https://matt.ucc.asn.au/dropbear/releases/dropbear-2018.76.tar.bz2.asc|v2018.76]] ([[https://matt.ucc.asn.au/dropbear/CHANGES|changes]]) * [[https://sourceforge.net/projects/minidlna/|MiniDLNA]]: Update to [[https://sourceforge.net/projects/minidlna/files/minidlna/1.2.1/|v1.2.1]] ([[https://sourceforge.net/projects/minidlna/files/minidlna/1.2.1/#readme|changes]]) * [[https://miniupnp.tuxfamily.org/|MiniUPnPd]]: Update to [[http://miniupnp.free.fr/files/download.php?file=miniupnpd-2.0.20180412.tar.gz|v2.0.20180412]] * Change service configuration to enumerate scopes by interface names rather than network IPs/netmasks * [[https://www.lysator.liu.se/~nisse/nettle/|Nettle]]: Update to [[https://ftp.gnu.org/gnu/nettle/nettle-3.4.tar.gz|v3.4]] ([[https://lists.gnu.org/archive/html/info-gnu/2017-11/msg00007.html|changes]]) * [[https://nginx.org/|Nginx]]: Update to [[https://github.com/nginx/nginx/releases/tag/release-1.13.12|v1.13.12]] ([[https://nginx.org/en/CHANGES|changes]]) * [[https://openssl-library.org|OpenSSL]]: Update to [[https://github.com/openssl/openssl/releases/tag/OpenSSL_1_0_2o|v1.0.2o]] ([[https://github.com/openssl/openssl/blob/3ce7bc40a3c48da1c96c2d04c10045bd797c6aa3/CHANGES#L10|changes]]) * [[https://openvpn.net/client/|OpenVPN Connect]]: Update to [[https://github.com/OpenVPN/openvpn/blob/v2.4.5/Changes.rst#version-245|v2.4.5]] ([[https://community.openvpn.net/openvpn/wiki/ChangesInOpenvpn24#OpenVPN2.4.5|changes]]) * [[https://www.pcre.org/|PCRE]]: Update to [[https://sourceforge.net/projects/pcre/files/pcre/8.42/|v8.42]] ([[https://www.pcre.org/original/changelog.txt|changes]]) * [[https://www.php.net/|PHP]]: Update to [[https://www.php.net/releases/index.php#7.2.24|v7.2.4]] ([[https://www.php.net/ChangeLog-7.php#7.2.24|changes]]) * Replace [[https://www.php.net/manual/en/book.mysql.php|MySQL]] extension (removed during transition to v7.0.0) with [[https://www.php.net/manual/en/book.mysqli.php|MySQLi]] (MySQL "improved") * [[https://www.sqlite.org/|SQLite]]: Update to [[https://www.sqlite.org/src/info/736b53f57f70b231|v3.23.1]] ([[https://sqlite.org/releaselog/3_23_1.html|changes]]) * [[https://torproject.org/|Tor]]: Update to [[https://blog.torproject.org/new-stable-tor-releases-security-fixes-and-dos-prevention-03210-03110-02915/|v0.3.2.10]] ([[https://gitlab.torproject.org/tpo/core/tor/-/commit/31cc63deb69db819ed55aca406ebaaa52500730e|changes]]) * [[https://transmissionbt.com/|Transmission]]: Update to [[https://github.com/transmission/transmission/releases/tag/2.93|v2.93]] ([[https://github.com/transmission/transmission/compare/2.92...2.93|changes]]) * [[https://xiph.org/vorbis/|Vorbis]]: Update to [[https://ftp.osuosl.org/pub/xiph/releases/vorbis/libvorbis-1.3.6.tar.xz|v1.3.6]] ([[https://gitlab.xiph.org/xiph/vorbis/-/tags/v1.3.6|changes]]) * [[https://e2fsprogs.sourceforge.net/|e2fsprogs]]: Update to [[https://sourceforge.net/projects/e2fsprogs/files/e2fsprogs/v1.44.1/|v1.44.1]] ([[https://e2fsprogs.sourceforge.net/e2fsprogs-release.html#1.44.1|changes]]) * [[https://ipset.netfilter.org/|ipset]]: Update to [[https://www.netfilter.org/pub/ipset/ipset-6.36.tar.bz2|v6.36]] ([[https://ipset.netfilter.org/changelog.html|changes]]) * [[https://curl.se/libcurl/|libcurl]]: Update to [[https://curl.se/download/curl-7.59.0.tar.xz|v7.59.0]] ([[https://curl.se/ch/7.59.0.html|changes]]) * Update [[https://curl.se/docs/caextract.html|CA certificates]] bundle as of 2018-03-07 * [[https://libusb.info/|libusb]]: Update to [[https://github.com/libusb/libusb/releases/tag/v1.0.22|v1.0.22]] ([[https://github.com/libusb/libusb/blob/v1.0.22/ChangeLog|changes]]) * [[https://www.nano-editor.org/|nano]]: Update to [[https://nano-editor.org/dist/latest/nano-2.9.5.tar.xz|v2.9.5]] ([[https://lists.gnu.org/archive/html/info-gnu/2018-03/msg00012.html|changes]]) * [[https://invisible-mirror.net/ncurses/ncurses.html|ncurses]]: Update to [[https://invisible-mirror.net/archives/ncurses/ncurses-6.1.tar.gz|v6.1]] ([[https://invisible-island.net/ncurses/announce-6.1.html|changes]]) * [[https://www.draisberghof.de/usb_modeswitch/usb_modeswitch|usb_modeswitch]]: Update to [[https://www.draisberghof.de/usb_modeswitch/usb-modeswitch-2.5.2.tar.bz2|v2.5.2]] ([[https://www.draisberghof.de/usb_modeswitch/ChangeLog|changes]]) * [[https://github.com/xelerance/xl2tpd|xl2tpd]]: Update to [[https://github.com/xelerance/xl2tpd/releases/tag/v1.3.11|v1.3.11]] ([[https://github.com/xelerance/xl2tpd/blob/v1.3.11/CHANGES|changes]]) ==== Code changes ==== * [[https://bitbucket.org/pedro311/freshtomato-arm/src/arm-master/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/net/|📂 drivers/net/]] * New wireless driver for SDK7 with [[https://www.krackattacks.com/|Key Reinstallation Attack (KRACK)]] vulnerability fix * Update kernel modules (commits [[https://bitbucket.org/pedro311/freshtomato-arm/commits/72befb92d9bf2671de800c2841a583e2c58e9374|72befb9]] & [[https://bitbucket.org/pedro311/freshtomato-arm/commits/fb421ca0b97e0dedd4e0a2360fd98a1761e80209|fb421ca]]) * [[https://bitbucket.org/pedro311/freshtomato-arm/src/af1bddd5ad639aba4dab2e36af152c7407ad1391/release/src-rt-6.x.4708/router/|📂 router/]] * [[https://bitbucket.org/pedro311/freshtomato-arm/src/af1bddd5ad639aba4dab2e36af152c7407ad1391/release/src-rt-6.x.4708/router/cstats/|📂 cstats/]] * [[https://bitbucket.org/pedro311/freshtomato-arm/src/af1bddd5ad639aba4dab2e36af152c7407ad1391/release/src-rt-6.x.4708/router/cstats/cstats.h|📄 cstats.h]]: Fix [[:admin-iptraffic|IP Traffic Monitoring]] generating excess I/O and reduce console spam (commit [[https://bitbucket.org/pedro311/freshtomato-arm/commits/709e23e7f1d6cbb07f125a4227cbe995f2118f88|709e23e]]) * [[https://bitbucket.org/pedro311/freshtomato-arm/src/af1bddd5ad639aba4dab2e36af152c7407ad1391/release/src-rt-6.x.4708/router/dnscrypt/|📂 dnscrypt/]] * [[https://bitbucket.org/pedro311/freshtomato-arm/src/af1bddd5ad639aba4dab2e36af152c7407ad1391/release/src-rt-6.x.4708/router/dnscrypt/contrib/|📂 contrib/]] * [[https://bitbucket.org/pedro311/freshtomato-arm/src/a48b290b773cfb823af1d296dd15e33750e2c5be/release/src-rt-6.x.4708/router/dnscrypt/contrib/dnscrypt-update-resolvers.sh.in?at=arm-master|📄 dnscrypt-update-resolvers.sh.in]]: Modify [[https://www.dnscrypt.org/|DNSCrypt]] script to process [[https://dnscrypt.info/protocol/|DNSCrypt v2 protocol]] * [[https://bitbucket.org/pedro311/freshtomato-arm/src/af1bddd5ad639aba4dab2e36af152c7407ad1391/release/src-rt-6.x.4708/router/others/|📂 others/]] * 📄 entware-install-{ARM,MIPS}.sh: Update [[https://github.com/Entware/Entware/wiki|Entware]] installation scripts * [[https://bitbucket.org/pedro311/freshtomato-arm/src/af1bddd5ad639aba4dab2e36af152c7407ad1391/release/src-rt-6.x.4708/router/rc/|📂 rc/]] * [[https://bitbucket.org/pedro311/freshtomato-arm/src/af1bddd5ad639aba4dab2e36af152c7407ad1391/release/src-rt-6.x.4708/router/rc/init.c|📄 init.c]]: Enable Airtime Fairness by default on NETGEAR R7000 & R8000 routers * [[https://bitbucket.org/pedro311/freshtomato-arm/src/af1bddd5ad639aba4dab2e36af152c7407ad1391/release/src-rt-6.x.4708/router/rc/services.c|📄 services.c]]: * Connect-on-Demand no longer works as designed due to 1.1.1.1 becoming Cloudflare public DNS server, so a different IP address was chosen for this purpose * Fix issues with httpd * SIGINT issued too soon against Dnsmasq, add one second sleep before doing so * [[https://bitbucket.org/pedro311/freshtomato-arm/src/af1bddd5ad639aba4dab2e36af152c7407ad1391/release/src-rt-6.x.4708/router/rc/wan.c|📄 wan.c]]: * Remove "Bump WAN state file on connect (don't wait for watchdog result)" * Fix Dnsmasq process receiving second SIGINT signal; instead of triggering another DNSSEC time check, it was killing process * [[https://bitbucket.org/pedro311/freshtomato-arm/src/af1bddd5ad639aba4dab2e36af152c7407ad1391/release/src-rt-6.x.4708/router/www/|📂 www/]] * Default theme - original 'usbblue' * [[https://bitbucket.org/pedro311/freshtomato-arm/src/af1bddd5ad639aba4dab2e36af152c7407ad1391/release/src-rt-6.x.4708/router/www/basic-network.asp|📄 basic-network.asp]]: LCP Echo (Interval|Link fail limit) is used also with PPTP, L2TP and PPP3G so let's make it possible to modify * [[https://bitbucket.org/pedro311/freshtomato-arm/src/af1bddd5ad639aba4dab2e36af152c7407ad1391/release/src-rt-6.x.4708/router/Makefile|📄 Makefile]]: * Disable RAID (mdadm binary) * Enable mini-gmp, saving 4KB ==== Miscellaneous ==== * [[https://www.busybox.net/|BusyBox]]: * Add CONFIG_FEATURE_NETSTAT_PRG to configuration, for netstat -p functionality * Change uname * Clean-up of unused Makefiles and components from the tree * Kernel: Several patches in SDK6 & SDK7 * [[:basic-network#multiwan|MultiWAN]]: Introduce forgotten kernel updates from previous SDK7 changes * [[:advanced-tor|Tor]]: Fix build on some devices * libid3tag: Fix build/link error on Ubuntu and some additional improvements