blob: 5d752e8fd31800ac7d9890f70e16f947c4bd9e8a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
Unlike the cluster which uses fail2ban to block ip addresses, if a user is prevented from connecting to star server
the process is a little different.
`star-server` uses the `denyhosts` service which adds the ip address to the file: `/etc/hosts.deny`
However simply removing the ip address from this file is not sufficient. Firstly the denyhosts service has to be stopped by the following command:
`$ systemctl stop denyhosts.sevice`
Then the ip address has to be removed from the following files:
`/etc/hosts.deny`
`/var/lib/denyhosts/hosts`
`/var/lib/denyhosts/hosts-restricted`
`/var/lib/denyhosts/hosts-root`
`/var/lib/denyhosts/hosts-valid`
`/var/lib/denyhosts/users-hosts`
The denyhosts service can then be restarted with:
`$ systemctl start denyhosts.sevice`
|