-
Notifications
You must be signed in to change notification settings - Fork 13
300 D Rats repeater Ratflector
In order to expose the D-Rats repeater service on the internet you will need to get a proper internet access.
As a minimum, it is required to have a PC (linux, Ms-Windows or Mac):
- able to execute D-Rats
- connected to internet
- with a public IP and a TCP/IP port. The standard port is 9000, but it can be changed to a different number if needed.
It is assumed that proper security measures are put in place to protect the PC as well as other devices connected to the same network.
Launch d-rats_repeater.py
and fill-in the configuration windows,
then click on "on" or "off" to start the repeater.
On Ms-windows the config file and repeater log are saved in:
C:/Users/_USERNAME_/AppData/Roaming/D-RATS-EV
On Linux:
[to be completed]
The structure of the configuration file is:
[settings]
devices = []
acceptnet = True
netport = 9000
id = IZ2XI
idfreq = 30
require_auth = False
trust_local = True
gpsport = 9500
state = True
[tweaks]
allow_gps =
The d-rats_repeater.py can be executed in console mode:
./d-rats_repeater.py --debug -C --loglevel 5
For a complete list of options:
./d-rats_repeater.py --help
usage: d-rats_repeater.py [-h] [-c CONFIG] [--loglevel LOGLEVEL] [-d] [-C] [-L LOG_PATH]
options:
-h, --help show this help message and exit
-c CONFIG, --config CONFIG
Use alternate configuration directory (default: C:/Users/xxxxxxxxx/AppData/Roaming/D-RATS-EV)
--loglevel LOGLEVEL LOGLEVEL TO TEST WITH (default: INFO)
-d, --debug Show debug messages on stdout (default: False)
-C, --console Run in console mode only (default: False)
-L LOG_PATH, --log LOG_PATH
Use alternate log file directory (default: None)
A basic authentican can be setup setting the "require authentication" flag.
This will require people to configure D-RATS with a password in order to connect.
This needs to setup in the working directory of the repeater a file named
users.txt
with a list of users and password in this format:
IZ1LXI p4ssw0rd1
AB01CD p4ssw0rd2```