aboutsummaryrefslogtreecommitdiff
path: root/net/safe-search
Commit message (Collapse)AuthorAge
* safe-search: fix use with dnsmasq in ujailDaniel Golle2023-01-14
| | | | | | | | | | | The safe-search package creates symlinks in a configured additional hosts directory. The link targets are inside another directory which has to be made available to dnsmasq as well. Now that support for adding additional paths to dnsmasq was added by commit openwrt/openwrt@aa12a0fdd1c5a004281633c5b0758da1781bb41c implement adding this path using the existing uci-defaults script. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* safe-search: prevent duplicate cron job installationGregory L. Dietsche2021-04-10
| | | | | | | | | | | | This patch prevents multiple cron jobs from being created to run the safe-search-maintenance script. To reproduce this bug, perform the following: - Install safe-search - Perform an OpenWRT firmware upgrade (choose to preserve user settings) - Install safe-search again Signed-off-by: Gregory L. Dietsche <gregory.dietsche@cuw.edu>
* safe-search: check for changed IP addresses weeklyGregory L. Dietsche2021-03-10
| | | | | | | | | The current default of hourly is too fast. Some services such as DuckDuckGo return IPs from a pool based on the user's location instead of a fixed IP address. This change prevents unnecessary writes to the flash memory by only updating once per week. Signed-off-by: Gregory L. Dietsche <gregory.dietsche@cuw.edu>
* safe-search: fix typos in package scriptingPhilip Prindeville2021-02-26
| | | | Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
* safe-search: restart dnsmasq instead of reloadGregory L. Dietsche2021-01-20
| | | | | | | | | Some users have reported that reloading dnsmasq does not always work. It sometimes stop responding to DNS lookup requests after being reloaded. This patch changes "safe-search-maintenance" so that it restarts dnsmasq instead of reloading it. Signed-off-by: Gregory L. Dietsche <gregory.dietsche@cuw.edu>
* safe-search: Dynamic UpdatesGregory L. Dietsche2021-01-20
| | | | | | | | | Ensure that the best available IP is always used for all supported safe-search providers. This is accomplished by periodically checking DNS for the most recent list of IP addresses associated with each provider. Signed-off-by: Gregory L. Dietsche <gregory.dietsche@cuw.edu>
* safe-search: duckduckgo.com new ip addressGreg Dietsche2020-09-08
| | | | | | Update to 40.89.244.237 which is the new IP address that duckduckgo.com is using for safe-search. Signed-off-by: Greg Dietsche <gregory.dietsche@cuw.edu>
* safe-search: Update Google host list.Gregory L. Dietsche2019-12-07
| | | | | | | | Periodic update of the list of Google domains using https://www.google.com/supported_domains as a reference. Signed-off-by: Gregory L. Dietsche <gregory.dietsche@cuw.edu>
* net/safe-search Add duckduckgo.comGregory L. Dietsche2019-01-19
| | | | Signed-off-by: Gregory L. Dietsche <gregory.dietsche@cuw.edu>
* net/safe-search: Fix double installation bugGregory L. Dietsche2018-12-12
| | | | | | | | | | | | | | | | If safe search is built directly into an image, the /etc/config/dhcp file will have multiple entries added to it after using sysupgrade for the nth time (2 or more sysupgrade cycles). In /etc/config/dhcp, this bug creates duplicate entries like this: config dnsmasq list addnhosts '/etc/safe-search/enabled' list addnhosts '/etc/safe-search/enabled' This patch ensures that safe search only registers itself one time. Signed-off-by: Gregory L. Dietsche <gregory.dietsche@cuw.edu>
* net/safe-search: new packageGregory L. Dietsche2018-10-18
This package forces the use of Google and Bing safe search by default. It does this by adding hosts files for dnsmasq to use. These hosts replace the normal IP addresses for Google and Bing with addresses that force safe search to be turned on all the time. Google and Bing Safe Search are suitable for most businesses, schools, and families who wish to block adult content. This package also offers YouTube's restricted and 'restricted moderate' via a configuration option. The reason that this is not enabled is that it is probably more suitable for children rather than a wide audience. This package is designed so that other services that offer safe search can be added easily in the future. For more information about safe search please visit these URLs: - https://support.google.com/websearch/answer/186669 - https://help.bing.microsoft.com/#apex/18/en-US/10003/0 - https://support.google.com/a/answer/6212415 Signed-off-by: Gregory L. Dietsche <gregory.dietsche@cuw.edu>