| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
* only restart firewall when needed
Signed-off-by: Stan Grishin <stangri@melmac.ca>
(cherry picked from commit 8b6635bae9717babbc3dcf1347cf4727fc15f9bd)
|
| |
|
|
|
| |
Signed-off-by: Stan Grishin <stangri@melmac.ca>
(cherry picked from commit 2e9f6c44460a48876cd85cde3557ce373693df6b)
|
| |
|
|
|
|
|
|
|
| |
* fixes https://github.com/openwrt/packages/issues/22674
* rename resolver_health_check to is_resolver_running for readability
* reorder functions in the init file by name
Signed-off-by: Stan Grishin <stangri@melmac.ca>
(cherry picked from commit f519b68401b68f011091e83badadb54a43eae33d)
|
| |
|
|
|
|
|
|
|
| |
* update service triggers so that procd_add_raw_trigger is only
executed on boot and not on other service actions
* remove outdated iface hotplug script
Signed-off-by: Stan Grishin <stangri@melmac.ca>
(cherry picked from commit 5dd08fe23f0ad376bcc3f12c7a50d7ac8c73e2bb)
|
| |
|
|
|
|
|
|
|
|
|
| |
* finally fixes https://github.com/openwrt/packages/issues/19366
* simplify service_triggers
* improve output for dnsmasq restart
* improve grep/sed dependencies
* remove interface hotplug
Signed-off-by: Stan Grishin <stangri@melmac.ca>
(cherry picked from commit 38c026250f2bdae36fbd5bba6a9d529fb7082ed1)
|
| |
|
|
|
| |
Signed-off-by: Stan Grishin <stangri@melmac.ca>
(cherry picked from commit 22d21e28a79a5246e4f6068cbc0be59e5226c486)
|
| |
|
|
|
|
|
|
|
| |
* fix dns resolution not working on boot
* add hotplug-online script
* reorganizes files/ and Makefile to reflect files destinations
Signed-off-by: Stan Grishin <stangri@melmac.ca>
(cherry picked from commit 9a2c5ae18c5a4bce20d1a8c572d1261b191701dc)
|
| |
|
|
|
| |
Signed-off-by: Stan Grishin <stangri@melmac.ca>
(cherry picked from commit 649fbcf9fcab34df3d39b0642cd5b566eefb569e)
|
| |
|
|
|
|
|
|
| |
bugfix: proper mdns object creation
bugfix: prevent fw errors by allowing custom interfaces in config
Signed-off-by: Stan Grishin <stangri@melmac.ca>
(cherry picked from commit a31640ac7cfab78c75808e22fc7fc2da48bd8e7f)
|
| |
|
|
|
|
|
|
|
|
|
| |
* update to a new upstream commit, fixes #19366
* update patches/010-cmakelists-remove-cflags.patch as upstream file was update
* remove patches/020-cmakelists-add-version.patch as version is now set elsewhere
* add patches/020-src-options.c-add-version.patch to set the version information
* adjust PROCD START time to 95
Signed-off-by: Stan Grishin <stangri@melmac.ca>
(cherry picked from commit eb40aa1b5dc6b5945b8b53cd5a2cc06303a3d9eb)
|
| |
|
|
|
|
|
|
|
| |
* use shared memory to store output data
* add family option to firewall json objects, due to reports that IPv6 hijacking
doesn't work without explicit family declaration
Signed-off-by: Stan Grishin <stangri@melmac.ca>
(cherry picked from commit 25801ddf7435e535fc0684911abdf6022549409f)
|
| |
|
|
|
|
|
|
| |
* config file update
* introduce boot() function
Signed-off-by: Stan Grishin <stangri@melmac.ca>
(cherry picked from commit 30aefce999bab3c24ce06594ee2f411cf2d8c72f)
|
| |
|
|
|
| |
Signed-off-by: Stan Grishin <stangri@melmac.ca>
(cherry picked from commit 75ac50ca895e9e042afe9c4a64a367e3863e471f)
|
| |
|
|
|
|
|
|
|
| |
* add mdns records for started instances
* Makefile: use $(PKG_VERSION) as a value for PKG_SOURCE_DATE instead of
hard-coding it
Signed-off-by: Stan Grishin <stangri@melmac.ca>
(cherry picked from commit ee37d0ec863a2254c4bfecd7bb65155e276fed88)
|
| |
|
|
|
|
|
|
| |
* instead of doing stop/start which involves restarting dnsmasq twice,
kill the existing service instances on restart instead
Signed-off-by: Stan Grishin <stangri@melmac.ca>
(cherry picked from commit e6d746a0baa184db3caf7a088179356c798a96d3)
|
| |
|
|
|
|
|
|
|
|
| |
* rename wan6_trigger to procd_trigger_wan6
* rename update_dnsmasq_config to dnsmasq_config_update
* add the uci-defaults file to run sed on config file
* update Makefile to include uci-defaults file
Signed-off-by: Stan Grishin <stangri@melmac.ca>
(cherry picked from commit 6bd055284c4f1f633e3d1cd857dc14adbe27c2f5)
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* add patches/020-cmakelists-add-version.patch (thanks @baranyaib90)
to add version information to the binary and fix https://github.com/aarond10/https_dns_proxy/issues/149
* modify Makefile to add version information for the binary
* rename patches/010-fix-cmakelists.patch for better readability
* revert back to service restart in WAN/WAN6 trigger
* update test.sh to test both init script and binary versions
Signed-off-by: Stan Grishin <stangri@melmac.ca>
(cherry picked from commit 61ca2f4d16464a34e638806bd3b9d801d6446b35)
|
| |
|
|
|
|
|
|
|
|
| |
* bugfix: properly restore empty server config for dnsmasq (to
address issue brought up in https://github.com/stangri/source.openwrt.melmac.net/pull/162)
* better handling of non-existant wan/wan6 interface for triggers
* add resolver url to ubus data for future-proofing WebUI js move
Signed-off-by: Stan Grishin <stangri@melmac.ca>
(cherry picked from commit fbc63cb9f6ac808803038cfb2775c90085fdc989)
|
| |
|
|
|
|
|
|
| |
* When $wan/$wan6 are empty but double-quoted, it leads to creation
of an interface trigger with empty interface
Signed-off-by: Stan Grishin <stangri@melmac.ca>
(cherry picked from commit 425cef2f8c0fd9f90d5f39c9777c877be09c2547)
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* bugfix: canary domains persistence (as described in
https://forum.openwrt.org/t/https-dns-proxy-canary-domain-persistance/139967)
* minor: remove global variables and make them local in
service_start/service_stop/service_triggers
* minor: split DEFAULT_BOOTSTRAP into BOOTSTRAP_CF and BOOTSTRAP_GOOGLE for
better code readability
Signed-off-by: Stan Grishin <stangri@melmac.ca>
(cherry picked from commit 92a45c3985cab20907205c9187a9c9394d07b4db)
|
| |
|
|
|
|
|
| |
* fixes https://github.com/openwrt/packages/issues/19631
Signed-off-by: Stan Grishin <stangri@melmac.ca>
(cherry picked from commit 409ce0f14fbf38a6c5d0d6c7689eef30441e6a4a)
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* upstream bugfix: Add a forgotten 'NULL' initialize for ca_info
if not manually set
* make init script PKG_VERSION variable readonly so that a
shellcheck excettion can be removed
* add procd interface trigger to 'wan6' if IPv6 wan interface name
cannot be obtained on start
Signed-off-by: Stan Grishin <stangri@melmac.ca>
(cherry picked from commit bca5d0ed8e4791b0c31b624c6fbc3e43e9c0a2a8)
|
| |
|
|
|
|
|
|
|
|
| |
* update to upstream version 2022-08-12
* add ca_certs_file option for CA certs file for curl
* add procd_add_interface_trigger for wan6 (hopefully fixes
https://github.com/openwrt/packages/issues/19531)
Signed-off-by: Stan Grishin <stangri@melmac.ca>
(cherry picked from commit 796a3dda800b0d17df06d87995148b934be15e5d)
|
| |
|
|
|
|
|
|
|
| |
* add setting to enable/disable blocking access to iCloud Private Relay resolvers
* add setting to enable/disable blocking access to Mozilla resolvers
* rename variables loaded from config in the init script
Signed-off-by: Stan Grishin <stangri@melmac.ca>
(cherry picked from commit 4ff71d8e4cd7cd4b3f4cc0d4d832ead512edef08)
|
| |
|
|
|
| |
Signed-off-by: Stan Grishin <stangri@melmac.ca>
(cherry picked from commit f99ada410fa799b419ca7819ed2bbcf779ec3d12)
|
| |
|
|
|
|
|
|
|
| |
* switch to using uci wrappers instead of direct uci calls
* add support for iCloud canary domains
https://developer.apple.com/support/prepare-your-network-for-icloud-private-relay
Signed-off-by: Stan Grishin <stangri@melmac.ca>
(cherry picked from commit 749b03ffbffbdf208bd589db6526c939d404ba79)
|
| |
|
|
|
|
|
|
| |
Fixes https://github.com/stangri/source.openwrt.melmac.net/issues/155.
Background: https://support.mozilla.org/en-US/kb/canary-domain-use-application-dnsnet
Signed-off-by: Stan Grishin <stangri@melmac.ca>
(cherry picked from commit cb3b47be433f43838a109c326152ef86354fa8da)
|
| |
|
|
|
|
|
| |
* consolidate dnsmasq config manipulation into one function
* more elegant code for PROCD data processing (Thanks @jow-!)
Signed-off-by: Stan Grishin <stangri@melmac.ca>
|
| |
|
|
|
|
|
|
|
|
| |
* update to 2021-11-22 upstream source
* update patch file
* update init script to preserve manual entries
(fixes https://github.com/stangri/source.openwrt.melmac.net/issues/149)
* update init script service_triggers
Signed-off-by: Stan Grishin <stangri@melmac.ca>
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* update to [2021-09-27](https://github.com/aarond10/https_dns_proxy/commit/da2501f542a732167a78f1851a511d9c0abc2fd8)
* fixes https://github.com/aarond10/https_dns_proxy/issues/125
* restart instead of reload on interface hotplug
* fixes https://github.com/openwrt/packages/issues/16794
* produce output and log entries on service start/stop
* prevent unnecessary dnsmasq restarts if service has previously updated dnsmasq settings
* allow both named and typed dnsmasq instance settings to be updated
* update 010-fix-cmakelists patch file
Signed-off-by: Stan Grishin <stangri@melmac.net>
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* update binary to the latest commit (2021-07-29) to fix #16222 and #16239
* add hotplug.d/iface file and update Makefile to install it
* use Cloudflare's and Google's bootstrap DNS if bootstrap DNS is missing
* minor improvements in append_bool function
* add append_counter function for verbosity setting
* add append_bootstrap function (and supporting functions) to parse/sanitize bootstrap setting
* move firewall array from 'main' instance to the first proxy instance
* delete useless 'main' instace
Signed-off-by: Stan Grishin <stangri@melmac.net>
|
| |
|
|
| |
Signed-off-by: Stan Grishin <stangri@melmac.net>
|
| |
|
|
| |
Signed-off-by: Stan Grishin <stangri@melmac.net>
|
| |
|
|
| |
Signed-off-by: Stan Grishin <stangri@melmac.net>
|
| |
|
|
| |
Signed-off-by: Stan Grishin <stangri@melmac.net>
|
| |
|
|
| |
Signed-off-by: Stan Grishin <stangri@melmac.net>
|
| |
|
|
| |
Signed-off-by: Stan Grishin <stangri@melmac.net>
|
| |
|
|
| |
Signed-off-by: Stan Grishin <stangri@melmac.net>
|
| |
|
|
| |
Signed-off-by: Stan Grishin <stangri@melmac.net>
|
| |
|
|
| |
Signed-off-by: Stan Grishin <stangri@melmac.net>
|
| |
|
|
| |
Signed-off-by: Stan Grishin <stangri@melmac.net>
|
| |
|
|
| |
Signed-off-by: Stan Grishin <stangri@melmac.net>
|
| |
|
|
| |
Signed-off-by: Stan Grishin <stangri@melmac.net>
|
| |
|
|
| |
Signed-off-by: Stan Grishin <stangri@melmac.net>
|
| |
|
|
|
|
|
|
| |
* Reapplied daf538d8c63a2be72e32f87276ca06db7dc7df5e
* Updated README
* Replaced the ipv4_resolvers option with a ipv6_resolvers_only option
Signed-off-by: Gerard Ryan <G.M0N3Y.2503@gmail.com>
|
| |
|
|
|
|
|
|
|
| |
* Added optional ipv4 resolvers UCI config option
* Added logging to logd
* Refactored verbosity UCI config option
* Filtered out any address from being added to dnsmasq
Signed-off-by: Gerard Ryan <G.M0N3Y.2503@gmail.com>
|
| |
|
|
| |
Signed-off-by: Stan Grishin <stangri@melmac.net>
|
| |
|
|
|
|
|
|
|
| |
* Added optional ipv4 resolvers UCI config option
* Added logging to logd
* Refactored verbosity UCI config option
* Filtered out any address from being added to dnsmasq
Signed-off-by: Gerard Ryan <G.M0N3Y.2503@gmail.com>
|
| |
|
|
| |
Signed-off-by: Stan Grishin <stangri@melmac.net>
|
| |
|
|
| |
Signed-off-by: Stan Grishin <stangri@melmac.net>
|