[Eisfair] bfb: Problem mit "dyndnsupdate.sh"?
Rolf Bensch
azubi at bensch-net.de
So Jun 11 23:50:57 CEST 2023
Hallo Olaf,
Am 11.06.23 um 21:43 schrieb Olaf Jaehrling:
> Hallo Rolf,
>
>
> Rolf Bensch schrieb am 10.06.23 um 17:19:
>> Hallo Olaf,
>>
>> gleiches dann auch bei "unblock single ip-address":
>>
>> eis64-2 (/) # setup
>> Enter the ip address you want to unblock
>> 93.209.205.175
>> /usr/local/brute_force_blocking/brute_force_blocking_unblock_single.sh: line 165: 1: command not found
>> 93.209.205.245 wurde freigegeben.
>> Press ENTER to continue
>> 93.209.205.245 wurde freigegeben.
>> eis64-2 (/) #
>
> du rufst das setup auf und dann kommen diese Meldungen?
setup -> Service Administration -> brute_force_blocking -> unblock single ip address
Dann kommen diese Meldungen (aber alle mit der gleichen ip-adresse). Die Meldung "... wurde freigegeben" taucht 2x auf.
Weil das nur auf einem vor 4 Servern der Fall ist, habe ich bfb nochmals drüber installiert:
Downloading required packages ...
=> [####################] brute_force_blocking (2.2.0)... [ OK ]
Done!
Installation of: brute_force_blocking (2.2.0) ...
running preinstall ...
stoppe nun BFB
* Stopping Brute Force Blocking service ...
Warning: Stopping brute_force_blocking.service, but it can still be activated by:
brute_force_blocking.timer [ OK ]
Deinstalling brute_force_blocking ...
Removed "/etc/systemd/system/timers.target.wants/brute_force_blocking.timer".
installing brute_force_blocking ...
loading previous configuration file ...
adding new parameter(s) ...
generate empty database
/usr/local/brute_force_blocking/dyndnsupdate.sh: line 14: /brute_force_blocking/bfb-db.sh: No such file or directory
/usr/local/brute_force_blocking/dyndnsupdate.sh: line 15: /brute_force_blocking/bfb-db.sh: No such file or directory
/usr/local/brute_force_blocking/dyndnsupdate.sh: line 28: /brute_force_blocking/bfb-db.sh: No such file or directory
/usr/local/brute_force_blocking/dyndnsupdate.sh: line 30: /brute_force_blocking/bfb-db.sh: No such file or directory
/usr/local/brute_force_blocking/dyndnsupdate.sh: line 31: /brute_force_blocking/bfb-db.sh: No such file or directory
/usr/local/brute_force_blocking/dyndnsupdate.sh: line 14: /brute_force_blocking/bfb-db.sh: No such file or directory
/usr/local/brute_force_blocking/dyndnsupdate.sh: line 15: /brute_force_blocking/bfb-db.sh: No such file or directory
/usr/local/brute_force_blocking/dyndnsupdate.sh: line 14: /brute_force_blocking/bfb-db.sh: No such file or directory
/usr/local/brute_force_blocking/dyndnsupdate.sh: line 15: /brute_force_blocking/bfb-db.sh: No such file or directory
/usr/local/brute_force_blocking/dyndnsupdate.sh: line 28: /brute_force_blocking/bfb-db.sh: No such file or directory
/usr/local/brute_force_blocking/dyndnsupdate.sh: line 30: /brute_force_blocking/bfb-db.sh: No such file or directory
/usr/local/brute_force_blocking/dyndnsupdate.sh: line 31: /brute_force_blocking/bfb-db.sh: No such file or directory
* Restarting Brute Force Blocking service ... [ OK ]
Created symlink /etc/systemd/system/timers.target.wants/brute_force_blocking.timer → /usr/lib/systemd/system/brute_force_blocking.timer.
Successfully installed: brute_force_blocking (2.2.0)!
Press ENTER to continue
Danach direkt ein unblock:
Enter the ip address you want to unblock
22.22.22.22
/usr/local/brute_force_blocking/brute_force_blocking_unblock_single.sh: line 165: 1: command not found
22.22.22.22 wurde freigegeben.
Press ENTER to continue
22.22.22.22 wurde freigegeben.
Press ENTER to continue
Test:
# ls -l /usr/local/brute_force_blocking/brute_force_blocking_unblock_single.sh
-rwxr-xr-x 1 root root 9582 Mar 5 22:28 /usr/local/brute_force_blocking/brute_force_blocking_unblock_single.sh
Grüße
Rolf
Mehr Informationen über die Mailingliste Eisfair