Defender banned IPv4 despite being in safelist #1138
-
Hi Defender banned IPv4 despite being in safelist :-( podman logs sftp-dmi-sftpgo | grep banned cat lib/safelist.json
jq '.common.defender' some-sftpgo.json
1. I remove the container and create a fresh new with an empty safelist.json Great, my IPv4 is banned as expected. 3. remove the container and create a fresh new with a safelist.json that contains the ip address not to block So now I combine it with a post-login-hook that populates the safelist.json whenever a valid user has a successful login.
cat lib/bin/post-login-script.sh
5. I log in with a valid user and the safelist.json file is indeed updated containing the IPv4 address you see way above. Do I need to send sftpgo a signal or something once I update the safelist.json file? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
From the docs
|
Beta Was this translation helpful? Give feedback.
From the docs