コンテンツにスキップ

「Hostsblock」の版間の差分

提供: ArchWiki
削除された内容 追加された内容
カテゴリー名を日本語に変更。Relatedにdnsmasqを追加。
アーカイブに移動
タグ: 新規リダイレクト
 
(2人の利用者による、間の16版が非表示)
1行目: 1行目:
#redirect [[ArchWiki:アーカイブ]]
[[Category:プロキシサーバー]]
[[Category:アーカイブ]]
{{Stub|Still too short, if there's not much information to be added, consider merging the content to a more generic article.}}
{{Related articles start}}
{{Related|Privoxy}}
{{Related|dnsmasq}}
{{Related articles end}}

{{AUR|hostsblock}} is a bash script for Linux designed to take advantage of the HOSTS file available in all operating systems to provide system-wide blocking of internet advertisements, malicious domains, trackers, and other undesirable content. To do so, it downloads a configurable set of blocklists and processes and their entries into a singular HOSTS file.

* Upstream URL: http://gaenserich.github.io/hostsblock/
* Project URL: https://github.com/gaenserich/hostsblock

== 設定 ==
タイマーユニットを開始します。
$ sudo systemctl start hostsblock.timer
$ sudo systemctl list-timers

必要に応じて有効にしてください。
systemctl enable hostsblock.timer

== ブロックするURLの追加 ==
example.com をブロックする
$ sudo hostsblock-urlcheck "http://www.example.org"

== See also ==
* http://jasonwryan.com/blog/2013/12/28/hostsblock/

2022年8月22日 (月) 10:32時点における最新版