Reroutes DNS requests to block unwanted content
 
 
Go to file
Justin Reichardt fe7d96e573 Removed openfile and closefile functions
They are not used and so were removed
2021-09-02 16:43:27 -05:00
src Removed openfile and closefile functions 2021-09-02 16:43:27 -05:00
.gitignore Added .gitignore 2021-08-24 10:33:36 -05:00
COPYING Improved the the Copyright 2021-08-28 13:59:33 -05:00
Makefile Revert "Added libclogs" 2021-09-02 10:38:59 -05:00
Readme.md Updated requirements 2021-09-02 14:04:49 -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.

Requirements to install and run

Linux

  • gcc

  • make

  • libcurl4-gnutls-dev

Install

Linux

    sudo make install

Update

Linux

    sudo make reinstall

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