MiGoller / docker-shinobi

These images are designed to be used in a micro-service environment. Many thanks to Shinobi Dev and MoeIsCool for their great work!
GNU General Public License v3.0
17 stars 22 forks source link

ftp server not accessible #8

Open mikef0 opened 4 years ago

mikef0 commented 4 years ago

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?

MiGoller commented 4 years ago

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

screem20056 commented 1 year ago

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