SlrG

Community Developer
  • Posts

    576
  • Joined

  • Last visited

Converted

  • Gender
    Undisclosed

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

SlrG's Achievements

Enthusiast

Enthusiast (6/14)

33

Reputation

  1. @solomonshv Thank you very much for your kind words. 🥰 I wish I had time to work on the plugin and remove the old and broken webserver based configuration functionality. I'm very happy it works for you as it is.
  2. @postboy99 It's possible to check if there are users connected and what they are doing by calling /usr/local/SlrG-Common/usr/local/bin/ftptop from a shell.
  3. @bonienl Thank you very much, for answering my request. I'm not set on fork awesome in any way. It was just an example of what could easily be used as open source alternative. If there already is a special font the gui uses, I would really like to apply for the proftpd font icon I designed for fork awesome to be included. I have the permission of the original proftpd author to use it. If there are any changes needed or source files I could supply or a place for me to supply a pull request, please let me know. Or do you know an alternative how I could include an icon in my plugin which is compatible with all available themes? As you already did, I don't want to tag @limetech or @Mex again at the moment. I hope they see this and I get a response. If not, may I ask you later to ask them in my Name if there is a chance? @Squid Thank you for testing. Please see my answer above. Of course I don't want to degrade the unraid icon quality. I would have liked for font awesome to include a proftpd icon, but their prices are insane for me as hobby developer with a non profit plugin. 😢 So I'm searching for alternatives.
  4. @limetech@bonienl I would like to kindly ask for an official answer regarding my feature request: I really think Unraid would benefit from having its own icon font. Maybe it doesn't even need to replace Font Awesome, but could complement it.
  5. @Mr_Jay84 You don't. The functionality is sadly broken since a long time. But you don't really need it anyway. Just use the shell editor of your choice (nano, vi or mc's editor) to edit the proftpd.conf directly. nano /etc/proftpd.conf Check the changes by running: /usr/local/SlrG-Common/usr/local/sbin/proftpd -t -c /etc/proftpd.conf Which will look like this, if no errors are found (the mod_lang message can be ignored). Checking syntax of configuration file 2022-02-09 17:42:39,824 lafiel proftpd[18318] 127.0.0.1: mod_lang/1.1: unable to scan the localised files in '/usr/local/share/locale': No such file or directory Restart the ProFTPd server afterwards in the plugins settings or from the shell for the changes to take effect. /etc/rc.d/rc.ProFTPd restart
  6. @eFrame You seem to be establishing a connection in passive mode. Please make sure you define a passive port range and make sure the firewall on your router opens the passive ftp port range to your server, too. Also you probably need to set a masquerade address (your dyndns hostname or static external ip). Also my usual "disclaimer". I don't recommend for the unraid server to be directly accessible from the internet. IMHO it is better to create a VPN connection to your home network and then using that to connect to your server. Then the VPN handles the encryption and FTP can be used unencrypted. This works only for your own and family devices, however and not if you need other "clients" to connect., too.
  7. @Gee1 I think this is not possible. To be absolutely sure, its probably better to ask in the proftpd forum.
  8. Do you connect as root or as another user? The symlink /etc/proftpd.conf requires root access to be modified. Alternatively you could modify the file in it's storage location /boot/config/plugins/ProFTPd/proftpd.conf.
  9. @KentBrockman I'm glad you are happy. KB/s is Kilo Bytes per Second. 1 Kilo Byte is 1024 Byte and 1 Byte is 8 bit. So 1 KB/s is 8192 bits per second or 8192 bps. Your chosen values of 500 KB/s are 4096000 bps or 4 Mbps and 1000KB/s are 8192000 bps or 8 Mbps. If other things in your network besides your FTP server generate some traffic too, this would probably explain the overhead reported by your router.
  10. @KentBrockman The proftpd version in the plugin is compiled with integrated mod_shaper support. So by editing your proftpd.conf file and adding directives as described in the link you have posted above, you should be able to limit the bandwith proftpd is able to use. An configuration example is given on the bottom of the page you linked. Obviously you will have to modify the paths and directives from the example to suit your needs, but it should get you started. <IfModule mod_shaper.c> ShaperEngine on ShaperLog /var/log/ftpd/shaper.log ShaperTable /var/log/ftpd/shaper.tab # An overall rate (in KB/s) must be set. This line explicitly # sets both the download and upload rates to be the same. ShaperAll downrate 1500 uprate 1500 # Allow all system users to see shaper info ShaperControlsACLs info allow user * # Allow FTP admins to alter settings both overall and per-session ShaperControlsACLs all,sess allow group ftpadm </IfModule> Don't forget to test your modified configuration. It should give you hints if something is not correctly configured: /usr/local/SlrG-Common/usr/local/sbin/proftpd -c /etc/proftpd.conf -t Also remember to restart the proftpd server from the plugins configuration page for the changes to take effect.
  11. @KluthR Using FTPS is possible, and if you search this thread, you will find infos how to do it, but it is not a very straightforward process and integrating it flawlessly into the plugin wouldn't be easy. More so if LE certificates would be used, as they need to be renewed regularly and the server has to fulfill certain requirements (e.g. fixed public IP) to get a certificate. Also if it works and what is needed to make it work depends heavily on the users personal network setup which come in a multitude of variants. Such "complicated" setups leave the scope of what this plugin is designed for (quick, easy, unencrypted FTP for private networks, tightly integrated into the unraid user management) and I recommend using a docker alternative or setting up a VM which will allow for much more ease and freedom in tinkering with the system. The underlying slackware linux of unraid is very basic and is missing a lot of packages and management tools other distros have by default. As plugins are directly modifying the unraid system any additional package increases the risk to break the base functionality and potentionelly harm the data integrity. Firing up an ubuntu vm with proftpd and gadmin-proftpd gui or using another ftpserver with gui and mounting the shares to be accessed by ftp is much easier and will be more flexible in the long run. Personally for larger projects I like CrushFTP, which is not free however.
  12. @KluthR Thank you very much. I'm happy that you like the plugin. This is a great idea. At the moment the option is broken, but I hope to bring it back/replace it based on stock unraid functionality in the future. I'm still in the research phase however and have so little time besides job and family. Cool idea. I'll put it on my research list, too. While not accessible through the plugins settings page (and you might already know this), but it's possible to check if there are users connected and what they are doing by calling /usr/local/SlrG-Common/usr/local/bin/ftptop from a shell.
  13. @master00 Not within the scope of this plugin. If you setup a vm and install gadmin-proftpd as gui this will come with gprostats as statistics generator. Also there might be other ftp servers more capable but not necessarily free. @kricker The easiest way would be to restore a backup, if you have. Otherwise as there is no recycle bin you can only search and try some linux ways to restore your data. First make sure nothing is written to your array anymore or you will risk the deleted data being overwritten! I had successes using testdisk and photorec on standalone machines, but never had to try on an unraid machine yet. (see this article for other tools: https://www.journaldev.com/36900/top-best-linux-data-recovery-tools) Make sure however, you mount another disk outside of your array as target for all write operations or again you will risk the deleted data being overwritten. Also you will probably need to know on which exact disk the data you want to recover was and then let the tools work on that disk. I hope this ideas are useful, but I fear the chance to recover the data is very slim. 😟
  14. @SvbZ3r0 Yes, sadly the last change by me to solve the problems with quotes and double quotes in filenames is not perfect either and shows the shown symptoms under certain conditions. In all my test there was never data lost, but from time to time these "cosmetic" problems show up. If I have the time, I'll have a look at it again and will try to solve it. Sadly my times is very limited, so please don't expect fast results.
  15. @Berto90vi In unraids user creation screen open your user "x" and put "ftpuser /mnt/user/Download" (without the double quotes) into the Description field. Then apply and restart the proftpd plugin. This will jail the user x into the given directory. It will still have read and write access, however. If you want to restrict that, you will need to configure limits in your proftpd.conf.