summaryrefslogtreecommitdiff
path: root/net/https-dns-proxy/files/https-dns-proxy.init
Commit message (Collapse)AuthorAgeFilesLines
* https-dns-proxy: fix dns resolution not working on bootStan Grishin2023-09-031-401/+0
| | | | | | | | | * 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)
* https-dns-proxy: improve CLI messagingStan Grishin2023-07-231-5/+15
| | | | | Signed-off-by: Stan Grishin <stangri@melmac.ca> (cherry picked from commit 649fbcf9fcab34df3d39b0642cd5b566eefb569e)
* https-dns-proxy: update to 2023-05-25-2Stan Grishin2023-06-201-29/+36
| | | | | | | | 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)
* https-dns-proxy: update to 2023-05-25-1Stan Grishin2023-05-261-1/+1
| | | | | | | | | | | * 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)
* https-dns-proxy: fixes/improvementsStan Grishin2023-05-071-1/+2
| | | | | | | | | * 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)
* https-dns-proxy: 2022-10-15-11 updateStan Grishin2023-02-221-0/+5
| | | | | | | | * config file update * introduce boot() function Signed-off-by: Stan Grishin <stangri@melmac.ca> (cherry picked from commit 30aefce999bab3c24ce06594ee2f411cf2d8c72f)
* https-dns-proxy: fix restartStan Grishin2022-12-101-1/+1
| | | | | Signed-off-by: Stan Grishin <stangri@melmac.ca> (cherry picked from commit 75ac50ca895e9e042afe9c4a64a367e3863e471f)
* https-dns-proxy: add mdns service recordsStan Grishin2022-12-081-0/+1
| | | | | | | | | * 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)
* https-dns-proxy: improve performance on restartStan Grishin2022-11-281-0/+1
| | | | | | | | * 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)
* https-dns-proxy: rename optionsStan Grishin2022-10-251-13/+13
| | | | | | | | | | * 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)
* https-dns-proxy: add version information to binaryStan Grishin2022-10-241-2/+2
| | | | | | | | | | | | * 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)
* https-dns-proxy: bugfix: restore empty server; misc improvementsStan Grishin2022-10-241-7/+9
| | | | | | | | | | * 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)
* https-dns-proxy: bugfix: prevent creation of empty interface triggerStan Grishin2022-10-211-1/+1
| | | | | | | | * 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)
* https-dns-proxy: bugfix: remove canary domainsStan Grishin2022-10-201-10/+20
| | | | | | | | | | | | * 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)
* https-dns-proxy: bugfix: remove wan6 from procd triggersStan Grishin2022-10-191-4/+8
| | | | | | | * fixes https://github.com/openwrt/packages/issues/19631 Signed-off-by: Stan Grishin <stangri@melmac.ca> (cherry picked from commit 409ce0f14fbf38a6c5d0d6c7689eef30441e6a4a)
* https-dns-proxy: upstream bugfix for ca_infoStan Grishin2022-10-161-2/+3
| | | | | | | | | | | | * 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)
* https-dns-proxy: update to 2022-08-12-1Stan Grishin2022-10-071-8/+10
| | | | | | | | | | * 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)
* https-dns-proxy: add settings for canary domainsStan Grishin2022-10-041-18/+28
| | | | | | | | | * 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)
* https-dns-proxy: bugfix: prevent canary domains duplicatesStan Grishin2022-10-041-1/+1
| | | | | Signed-off-by: Stan Grishin <stangri@melmac.ca> (cherry picked from commit f99ada410fa799b419ca7819ed2bbcf779ec3d12)
* https-dns-proxy: uci wrappers & iCloud canary domainsStan Grishin2022-09-301-46/+58
| | | | | | | | | * 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)
* https-dns-proxy: 2021-11-22-3: add support for Canary DomainsStan Grishin2022-04-251-1/+7
| | | | | | | | 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)
* https-dns-proxy: init script refactoringStan Grishin2022-02-061-25/+23
| | | | | | | * consolidate dnsmasq config manipulation into one function * more elegant code for PROCD data processing (Thanks @jow-!) Signed-off-by: Stan Grishin <stangri@melmac.ca>
* https-dns-proxy: update to 2021-11-22-1Stan Grishin2022-01-311-11/+46
| | | | | | | | | | * 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>
* https-dns-proxy: update to 2021-09-27Stan Grishin2021-10-141-45/+79
| | | | | | | | | | | | | * 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>
* https-dns-proxy: update to 2021-07-29-01Stan Grishin2021-07-301-50/+75
| | | | | | | | | | | | | * 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>
* https-dns-proxy: update to 2021-06-03-1Stan Grishin2021-06-051-1/+1
| | | | Signed-off-by: Stan Grishin <stangri@melmac.net>
* https-dns-proxy: 2021-05-14 bugfix: fallback to HTTP/1 by defaultStan Grishin2021-06-021-1/+1
| | | | Signed-off-by: Stan Grishin <stangri@melmac.net>
* https-dns-proxy: update to 2021-05-14-1; bugfixes for dhcp server backupStan Grishin2021-05-291-4/+9
| | | | Signed-off-by: Stan Grishin <stangri@melmac.net>
* https-dns-proxy: bugfix: race condition with dnsmasqStan Grishin2021-04-101-1/+1
| | | | Signed-off-by: Stan Grishin <stangri@melmac.net>
* https-dns-proxy: bugfix: correct PROCD firewall objectStan Grishin2021-03-251-12/+12
| | | | Signed-off-by: Stan Grishin <stangri@melmac.net>
* https-dns-proxy: support for additional Force DNS portsStan Grishin2021-03-221-13/+25
| | | | Signed-off-by: Stan Grishin <stangri@melmac.net>
* https-dns-proxy: support for force DNS/DNS hijackingStan Grishin2021-02-101-0/+28
| | | | Signed-off-by: Stan Grishin <stangri@melmac.net>
* https-dns-proxy: bugfix: high CPU utilizationStan Grishin2021-01-181-2/+1
| | | | Signed-off-by: Stan Grishin <stangri@melmac.net>
* https-dns-proxy: update to 2020-11-25: add HTTP auth and DSCP codepoint supportStan Grishin2021-01-061-10/+12
| | | | Signed-off-by: Stan Grishin <stangri@melmac.net>
* https-dns-proxy: update binary to 2020-08-21Stan Grishin2020-12-091-6/+13
| | | | Signed-off-by: Stan Grishin <stangri@melmac.net>
* https-dns-proxy: bugfix: remove eDNS supportStan Grishin2020-06-251-1/+0
| | | | Signed-off-by: Stan Grishin <stangri@melmac.net>
* https-dns-proxy: support for dnsmasq noresolv optionStan Grishin2020-03-201-25/+37
| | | | Signed-off-by: Stan Grishin <stangri@melmac.net>
* https-dns-proxy: shellcheck & beautifyStan Grishin2020-03-131-6/+8
| | | | Signed-off-by: Stan Grishin <stangri@melmac.net>
* https-dns-proxy: Update for reverted commitGerard Ryan2020-03-121-16/+21
| | | | | | | | * 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>
* https_dns_proxy: Added optional ipv4 resolversGerard Ryan2020-03-101-15/+20
| | | | | | | | | * 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>
* https-dns-proxy: fix deleting server items, configurable dnsmasq settings changeStan Grishin2020-01-251-37/+54
| | | | Signed-off-by: Stan Grishin <stangri@melmac.net>
* https_dns_proxy: Added optional ipv4 resolversGerard Ryan2019-12-181-15/+20
| | | | | | | | | * 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>
* https-dns-proxy: switch to https-dns-proxy package nameStan Grishin2019-12-171-0/+139
Signed-off-by: Stan Grishin <stangri@melmac.net>