Commit Graph

5046 Commits (2021.4)

Author SHA1 Message Date
pedro c1a879b1e0 rc: services.c: fix typo
- thanks to @M_ars for pointing this out
4 years ago
pedro 2e8de2673b rc: led.c: code optimization and clean-up. One version for ARM and MIPS branch.
- in PRs please use #ifdef TCONFIG_BCMARM/#ifndef TCONFIG_BCMARM/etc to distinguish between different branches
4 years ago
pedro 0eff6105b9 rc: usb.c: code optimization and clean-up. One version for ARM and MIPS branch.
- in PRs please use #ifdef TCONFIG_BCMARM/#ifndef TCONFIG_BCMARM/etc to distinguish between different branches
4 years ago
pedro 7bc80c6bc6 www: at*.css: align "About" description to the left 4 years ago
pedro a43e11bbb0 httpd: httpd.c: use logmsg(); add 'X-Frame-Options' in httpd response headers for better protection; more verbose logging; code improvements 4 years ago
pedro c629e4a6ee Admin: Upgrade: change default behaviour for remote upgrade to enabled (as before) 4 years ago
pedro 31aa5d14ff www: admin-upgrade.asp: fix typo 4 years ago
pedro 9cae5792e9 Merge branch 'arm-master' into arm-sdk7 4 years ago
pedro ae7d77f609 rc: usb.c: small correction to the order of removing modules in remove_usb_storage_module() 4 years ago
pedro 391a06e58d rc: introduce new functions that remove kernel modules (grouped by type), used when disabling/removing USB support or on reboot/upgrade the router
- release more memory during updating by stopping more services

 before:
$free -f
              total        used        free      shared  buff/cache   available
Mem:         255392       51180      161976           0       42236           0
-/+ buffers/cache:        51180      204212
Swap:             0           0           0

 after:
$free -f
              total        used        free      shared  buff/cache   available
Mem:         255392       16256      198356           0       40780           0
-/+ buffers/cache:        16256      239136
Swap:             0           0           0

- remove no more needed nvram variables
- httpd/upgrade.c: one version for ARM/MIPS routers
- rc/init.c: one version for SDK6/SDK7
- rc/wan.c: use logmsg()
- due to changes (WAN is down during upgrade) and inability to remotely (really??) upgrade FW now, add the option restoring old behaviour
4 years ago
M_ars cf5525e7cd router: httpd: wl.c - align country list code/way and sync SDK7 to newer SDK6 code
Note: clean-up and remove the "old" code/way, not needed any more (and also provide more countrys)
4 years ago
M_ars bfce50f9be router: httpd: wl.c - align country list code/way and sync SDK7 to newer SDK6 code
Note: clean-up and remove the "old" code/way, not needed any more (and also provide more countrys)
4 years ago
pedro cb59bcea39 rc: usb.c: clean-up, cosmetic 4 years ago
pedro ae0e9d1d0a www: basic-static.asp: small fix for iptraffic checkbox
- thanks to @edrikk
4 years ago
pedro 8bab59b5b3 www: admin-config.asp: cosmetic 4 years ago
pedro f10f4e9e86 GUI: Advanced: DHCP/DNS: add option to force minimum acceptable TLS version to 1.3 for Stubby (required OpenSSL >= 1.1.1) 4 years ago
pedro 7aa5e9f69c build: config: add dependency for Stubby 4 years ago
pedro 7b640e4842 GUI: Advanced: DHCP/DNS: when built with stubby add option to choose between dnsmasq and stubby for DNSSEC validation 4 years ago
pedro a92f887c87 GUI: Advanced: DHCP/DNS: exclude ipv6 only servers if ipv6 not enabled 4 years ago
pedro f93c0ae2f1 rc: do not stop inactive services, also mute unwanted log messages about it 4 years ago
pedro 3066aada42 rc: add g_upgrade global variable - used to skip several unnecessary delay and redundant steps during upgrade procedure 4 years ago
pedro 43173edabe rc: init.c: give at least 30 secs instead of only 20 secs before enforcing a system reset during reboot 4 years ago
M_ars 3d17125b08 rc: firewall: cosmetic update for rate limit ipv6 ping
Note:
- check allowed icmpv6 first (flip checks)
- increase hard coded limit a little bit (multiple lans)
4 years ago
pedro cee1193bf7 rc: firewall: rate limit ipv6 ping when allow ping request disabled 4 years ago
pedro 79136ebd46 GUI: Status: Device List: some fixes for pppoe/pptp/l2tp proto 4 years ago
pedro a7acba5557 GUI: DHCP Reservation: update Notes 4 years ago
pedro 80bfb8dccb GUI: Bandwidth: WAN Bandwidth - Daily: flip from/to dates 4 years ago
pedro 801cc3db25 GUI: DHCP Reservation: allow definition of hostnames for devices without static DHCP assignment (resolves #127)
- allow the page to enable the definition of a host without an IP but with a MAC address only - allowing this option would be a good improvement to have an healty Device List page without having to manage custom configuration manually
4 years ago
pedro c461dca358 httpd: devlist.c: also add hostname to devlist() 4 years ago
pedro f1a947c696 Merge branch 'arm-master' into arm-sdk7 4 years ago
M_ars 1f3ee744da build: add Asus RT-AC68U V3 support 4 years ago
pedro fe7e146a88 www: update, how asp_bandwidth (httpd/bwm.c) is called from .asp scripts; also use checkStats() for both rstats/cstats 4 years ago
pedro bdf60ffea0 www: bwm.c: extend allowed size of restored cstats/rstats backup file 4 years ago
pedro dca6d671bd tinc: update to d100eb0 (2021.04.15) snaphot 4 years ago
pedro 11a566a0d3 Merge branch 'arm-master' into arm-sdk7 4 years ago
pedro f1d0a59117 www: basic-ddns.asp: clean-up 4 years ago
pedro f5c8ffd415 GUI: Virtual Wireless: add frequency to interface drop down list 4 years ago
pedro 299824609c www: basic-network.asp: fix page when WL module is removed 4 years ago
pedro a3d555f1b1 www: advanced-wlanvifs.asp: clean-up 4 years ago
pedro 331f79d1b3 build: Makefile: switch to tinc instead of SNMP for 'e' (VPN) image 4 years ago
Richtig Falsch 3c66a65b9f admin-config.asp edited online with Bitbucket
Hello!
I just changed the little text in the Backup feature from .gz to .cfg, because Tomato actually saves .cfg files and not .gz
Regards
4 years ago
pedro 93a5174a0b switch4g: add search for every possible visible usb device as a last resort when vendor/product is not available 4 years ago
pedro b37bcc0fba switch3g: add search for every possible visible usb device as a last resort when vendor/product is not available 4 years ago
pedro 9faa2b69b9 OpenVPN: implement kill-switch for routing policy 4 years ago
pedro 8c48fc69e8 rc: services.c: do not log when stopping inactive igmpproxy 4 years ago
pedro 975b4690c9 httpd: bwm.c: fix problems with static ptr 4 years ago
pedro 864a4d9208 httpd: bwm.c: fix typo 4 years ago
pedro f51d6c7eee Merge branch 'arm-master' into arm-sdk7 4 years ago
pedro b871eb068a www: advanced-vlan.asp: encode HTML icons 4 years ago
pedro 082bec6b13 samba: enable pthread 4 years ago
pedro b010bf0f0d Admin: Bandwidth Monitoring: fix the availability of some forms when enabling/disabling 4 years ago
pedro 0895e6b17f Merge branch 'arm-master' into arm-sdk7 4 years ago
pedro 03cc485609 cstats: use logmsg(); universal Makefile for both ARM/MIPS; cosmetic; clean-up 4 years ago
pedro 68ef1e17a2 httpd: bwm.c: combine almost identical functions; use logmsg(); cosmetic and clean-up; changes in corresponding .c/.asp scripts 4 years ago
pedro efaf7880d3 rc: init.c: try to write all pending modifications/cache data before reboot 4 years ago
pedro bbfb6cfc09 rstats: use logmsg(); universal Makefile for both ARM/MIPS; cosmetic; clean-up 4 years ago
pedro 5eda5152f2 rstats: remove old history format 4 years ago
pedro 0f2f6fcd17 rc: services.c: remove non-existent preprocessor directive 4 years ago
pedro 1c7c876ecc cstats: replace date check with nvram ntp check instead 4 years ago
pedro 0d4f07c5ae httpd: upgrade.c: cosmetic, no code change 4 years ago
pedro 1ac3e188ac rc: init.c: a small correction of the location of the stop_syslog() 4 years ago
pedro 63b5b641ab rc: services.c: simplify use of logmsg() in two places 4 years ago
pedro e5fd77f42e rstats: replace date check with nvram ntp check instead 4 years ago
pedro f6b15d9108 sqlite: update to 3.35.5 4 years ago
pedro 1984974964 nginx: update to 1.19.10
- refresh patch
4 years ago
pedro 34291a112d nettle: update to 3.7.2 4 years ago
pedro 527bc681a4 libcurl: update to 7.76.1
- refresh patch
- fix lib name in Makefile
4 years ago
pedro a91ff36924 ebtables: fixes from upstream
- libebtc: Fix an issue that '--concurrent' doesn't work with NFS: https://git.netfilter.org/ebtables/commit/?id=d696eb94e1ed49b1fce8c2da47aedbe9972cbf86
- ebtables: Spewing an error if --concurrent isn't first argument: https://git.netfilter.org/ebtables/commit/?id=52f88f8c22aae3b33f08865f2de659f8a9c4fa5c
4 years ago
pedro c31fc0d982 libcurl: update CA certificate bundle as of 2021-04-13 4 years ago
pedro b8cf4e21f2 others: updown-client.sh: fix rmdir warning 4 years ago
pedro 8a7ec54224 GUI: Bandwidth: Last 24 Hours: fix bridge naming; cosmetic 4 years ago
pedro ed5bd4a502 rc: dhcpd: discard old format of dhcpd_static; some improvements when adding dhcp reservations 4 years ago
pedro 488c93a9a9 GUI: status-devices.asp: fix sorting by Media 4 years ago
pedro c2e66cc699 openvpn: update to 2.5.2
- refresh patches
4 years ago
pedro d186cf8a83 Merge branch 'arm-master' into arm-sdk7 4 years ago
M_ars 21654b0f47 PPPoE: Allow MTU up to 1500 for ISPs that support RFC 4638
Note: Jumbo frame needs to be enabled and supported (Gigabit-LAN) for the router. Clamping can be disabled manually via nvram value "tcp_clamp_disable"

nvram set tcp_clamp_disable=1
nvram commit

basic testing done, no problems/errors
4 years ago
notsure2 afeb747c9a BWL: fix bwlimit filter conflicts due to priority value 4 years ago
M_ars 5fd4039d1a GUI: status-devices.asp - extend IPv6 support (cosmetic update)
Note: show wifi qual also for IPv6 line (and completely align to IPv4 line/entry)

Looks good :)
4 years ago
M_ars 455984a762 GUI: status-devices.asp - extend IPv6 support
Note: IPv6 clients always had a disconnected icon for exmaple

tested, looks good :)
4 years ago
pedro 2b0a37af5a rc: services.c: dnsmasq: remove "dhcp-hostsfile" as we don't use it anymore; change the location and name of "addn-hosts" file 4 years ago
pedro 0d57f863b9 www: basic-static.asp: abandon the old nvram dhcpd_static format; cosmetic
Note: the allowed notation of the IP address also changes (one octet => full IP), ie "200" => "192.168.1.200" (to be synced with other places), so if using the old one, re-enter reservations again
4 years ago
pedro 558623388f rc: dnsmasq: add the ability to forward local domain queries to upstream DNS (default disabled) 4 years ago
pedro 8947961a91 rc: services.c: dnsmasq: disable negative caching 4 years ago
pedro e0b88c6a10 rc: services.c: distinguish subdirs with additional hosts/dhcp hosts files 4 years ago
pedro ed08735418 www: move mac_null to tomato.js as a global variable 4 years ago
pedro f9f14d02f5 build: Makefile: tune dnsmasq recipe 4 years ago
pedro 5c1bea40d7 www: advanced-dhcpdns.asp: fix javascript error in case when the image is built without IPv6 support 4 years ago
pedro 13ff2cf9d6 stubby: only include IPv6 resolvers if needed 4 years ago
pedro fd827ea3aa www: status-overview.asp: cosmetic 4 years ago
M_ars 191871c738 GUI: basic-ipv6.asp - show option tun ttl for case 6rd from DHCPv4 (Option 212)
Note: underlying code is using nvram value "ipv6_tun_ttl"
4 years ago
M_ars f89747ae67 GUI: basic-ipv6.asp - hide option tun mtu for case 6RD Relay (not used)
Note: underlying code is using nvram value "wan_mtu" (and not nvram value "ipv6_tun_mtu")
4 years ago
M_ars 400abb7734 IPv6: help IPv6 and advertise the link MTU in router advertisement messages
Example: the IPv6 MTU advertised on Ethernet interfaces should (or can) be 1492 (bytes) in PPPoE environments

tested with DHCPv6 PD (PPPoE), working correct
4 years ago
pedro ff4e2a69b1 Merge branch 'arm-master' into arm-sdk7 4 years ago
pedro 5530fe4182 OpenVPN: Server: fix generating keys 4 years ago
pedro 1af3d6b9cb getdns: remove no more needed patch 4 years ago
pedro 89e1759e7b getdns: fixes from upstream part 2
- CMake libunbound fixups: f01e7188c8
- Fix install path for cmake build since we use GNUInstallDirs: 7c6188c53d
- Add system libraries when checking OpenSSL functions: c9072b2526
- build: fix naming of extension libraries: 03fc32984e
4 years ago
pedro 1b932b3d98 getdns: fixes from upstream
- register only a single poll_t with libuv: 2673a5736c
- only check for and process read/write events if status is success: 71521626d9
4 years ago
pedro f131c6907b getdns: fix exporting symbols for extension libraries
- fix from upstream: 6507e4c469
4 years ago
pedro fd391e1e37 getdns: fix typo in cmakeconfig.h.in files
- fix from upstream: 0a13e4dbd3
4 years ago
pedro 816e487457 Merge branch 'arm-master' into arm-sdk7 4 years ago
pedro 1f976c34a1 dnsmasq: update to 2021.04.10 (3573ca0) snapshot
- refresh patches
4 years ago
pedro de15d81ae0 sqlite: update to 3.35.4 4 years ago
pedro aee5e38052 Revert "GUI: Advanced: VLAN: add enforcement of the default vlan always being untagged"
This reverts commit 347e6b1aec.
4 years ago
pedro 23e967b063 Revert "GUI: Advanced: VLAN: fix commit 347e6b1"
This reverts commit 5925c4ee58.
4 years ago
M_ars 97780d5b9c IPv6: for case DHCPv6 PD use first ethernet for DUID-LL (LLT) (and not ifb0); fixes #113
DUID used by a client or server should not change over time, therefore we use eth0 (constant) now

Note: see arm Issue 113
https://bitbucket.org/pedro311/freshtomato-arm/issues/113/keeping-duid-between-reboots

tested with DHCPv6 PD, working
4 years ago
pedro 7f1964aca7 www: update optimized cell icon 4 years ago
pedro 5aa651f2dc www: do not include cell.gif icon if built without USB support 4 years ago
pedro dee1a7ae30 GUI improvements: add interface/bridge info to the device list page and other changes; fixes #106
- thanks to @rs232 for idea, help and testing
4 years ago
pedro 28875323f4 www: update (part of) signal bar icons again
- thanks to @rs232
4 years ago
pedro c69d87f83a BWL: unfortunately, fix for the 'Highest' priority doesn't work 4 years ago
pedro a37c247788 Merge branch 'arm-master' into arm-sdk7 4 years ago
M_ars 227ee05a72 dhcp6c: add declaration for function gettimeofdaymonotonic()
Note: remove compiler warning
see commit
1178cceb77
4 years ago
M_ars 5c09e8e54f WIDE-DHCPV6: adjust makefile and (re-) add missing file lease.c (we need function is_leased (...))
Note: adjust the following commit
e77c032c2a
4 years ago
M_ars d17da2be6d IPv6: for case DHCPv6 PD use IPv6 preferred lifetime provided by your ISP/Server for LAN0-3 (IPv6 lease time)
Note: get back IPv6 connectivity faster with IPv6 addr/prefix changes. (Some ISPs provide really very low lifetimes)

tested with R7000, working correct
4 years ago
pedro c43ea1a273 BWL: fix problems with priorities when default class for unlisted MAC/IP is enabled 4 years ago
pedro f669e13249 rc/httpd: vstrsep() can only check if the number of arguments is smaller than the required 4 years ago
pedro 6d0d3e5203 BWL: add the ability to enable/disable rule and enter the description 4 years ago
pedro 2c72b79d2c tor: update to 0.4.5.7 4 years ago
pedro 5925c4ee58 GUI: Advanced: VLAN: fix commit 347e6b1 4 years ago
pedro 8558597e50 busybox: build with CONFIG_FEATURE_TOP_INTERACTIVE 4 years ago
pedro aba8d3976c QoS: extend qos_irates and qos_orates nvram variables to 256 characters for multiwan images 4 years ago
pedro 347e6b1aec GUI: Advanced: VLAN: add enforcement of the default vlan always being untagged
- thanks to @tvlz
4 years ago
pedro 5c9e374c33 dnsmasq: fixes in patches
- delete no more needed 103-fix-router-reboots-when-connect-to-wifi.patch
- correct 101-tomato-specific.patch
- correct 110-add-openssl-backend-for-dnssec.patch
4 years ago
pedro f110f2a701 stubby: rename alternative configuration file 4 years ago
pedro 32e86e8256 GUI: update all icons
- thanks to @rs232
4 years ago
pedro 67b7666d7e www: remove unneeded gif file 4 years ago
pedro 23ac80e9b5 Merge branch 'arm-master' into arm-sdk7 4 years ago
pedro 574dce1254 openssl: update to 1.1.1k 4 years ago
pedro 540e5c5a2f Bump version to 2021.2 4 years ago
pedro cc690063bb GUI: update signal bar and ethernet icons
- thanks to @rs232
4 years ago
pedro 79b7292ab7 www: advanced-wlanvifs.as: fix javascript error - WL interface details can not be displayed if it does not exist yet 4 years ago
pedro 319ba5ab4c www: restrict*: one more fix... 4 years ago
pedro 3d369e4185 www: restrict*: fix in the case of editing already existing rule 4 years ago
pedro 1a1a2d3843 GUI: Advanced: VLAN: use the same port order as on Overview page 4 years ago
pedro f3afc5c9b2 Revert "www: tomato.js: update html attributes for password fields"
This reverts commit 25bcb634da.
4 years ago
pedro bd6ec90ab8 www: restrict*: prepare for incoming changes 4 years ago
pedro 9f8907d416 build: remove asp_lipp(), use asp_lanip(1) instead 4 years ago
pedro 3bdea44d71 GUI: Bandwidth: change of naming convention as on other pages 4 years ago
pedro 8438821475 GUI: Basic: Network: fix problems with Wireless Client mode
- when changing Wireless Client Mode to one of WLs, Security stays on (for ex.) 'WPA2 Personal' and if it was not corrected to the appropriate value (in this case 'WPA / WPA2 Personal'), but saved, the connection has not been established for obvious reasons
- when changed back, restore original Wireless Mode value also on correspondent Wireless
4 years ago
pedro 4d846bc922 Merge branch 'arm-master' into arm-sdk7 4 years ago
pedro acf24467b7 GUI: change of naming convention for WANs and LANs; also in some places for WL
WAN-WAN2-WAN3-WAN4 => WAN0-WAN1-WAN2-WAN3
LAN-LAN1-LAN2-LAN3 => LAN0-LAN1-LAN2-LAN3
4 years ago
pedro 461d48f399 GUI: update signal bar images
- thanks to @rs232
4 years ago
pedro 20f6c508de www: move more global JS variables to tomato.js 4 years ago
pedro d9ed8eed7b www: basic-static.asp: no such service - dhcpd 4 years ago
pedro 9f30be3765 GUI: Basic: Network: fix LTE/3G fields checker (this mode can only be set to one WAN) 4 years ago
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