Reroutes DNS requests to block unwanted content
 
 
Go to file
Justin Reichardt 901f8c537e Detects whitelist in the options
Passes the addresses of the variables when parsing the config file
Fills out the whitelist string array with config entries
2022-03-01 10:44:46 -06:00
src Detects whitelist in the options 2022-03-01 10:44:46 -06:00
.gitignore Changing language to go 2021-12-01 13:56:41 -06:00
COPYING Improved the the Copyright 2021-08-28 13:59:33 -05:00
Readme.md Removed old makefile instructions from README 2021-09-17 11:59:41 -05:00

Readme.md

rhosts

This reroutes sites to 0.0.0.0 in order to block them from being reached by adding them automatically to the hosts file.

How to use

Open the config file:

    Linux: /etc/rhosts/rhosts.cfg

    Windows: \ProgramData\rhosts\rhosts.cfg

There are 2 types of entries: download and site. Downloads are currently downloaded straight into the config without error checking, sites are added with an IP address prepended. You can also add comments by prepending with a '#'.

Example:

    # This is a static entry
    site=www.site.xyz
    # This is a download entry
    download=w3.site.xyz/location/to/config.txt