docker-shinobi icon indicating copy to clipboard operation
docker-shinobi copied to clipboard

ftp server not accessible

Open mikef0 opened this issue 4 years ago • 2 comments

Hi, I'm using the shinobidocker:latest image.

I'm trying to use FTP based event triggering on one of my monitors per the following instructions (https://hub.shinobi.video/articles/view/LyCI3yQsUTouSAJ). I have enabled the FTP server and exposed port 21 in the container.

The FTP is running, I can connect to it momentarily but I can't access any directories and the FTP server kills the connection as a result. I tested it with an FTP client and I get "Error: Failed to retrieve directory listing" before it disconnects.

Anything I can do to get this working?

mikef0 avatar Aug 24 '20 21:08 mikef0

Hey @mikef0 ,

thank you for your feedback. I've got the FTP-trigger up and running, too. If I connect to the Shinobi's FTP service I receive a listing of directories with names of the monitors' ids.

Did you enable the drop-in events and the FTP service in conf.json? Please have a look at that file and ensure it contains the following options enabled.

"dropInEventServer": true,
"ftpServer": true,

Youz'll have to authenticate against the FTP service with an Shinobi admin account; regular user accounts fail to authenticate on my instances.

KR, Michael

MiGoller avatar Aug 25 '20 08:08 MiGoller

Hi i need a little help how i can add those lines to the conf.js file im using proxmox with shinobi lxc and the commands in the guide line i do not know where to use them is it ine proxmox shell ?? Thanks

screem20056 avatar Sep 02 '23 10:09 screem20056