Latest News:
*New 11.2 series Release:
2019-06-20: XigmaNAS 11.2.0.4.6766 - released!

*New 12.0 series Release:
2019-06-20: XigmaNAS 12.0.0.4.6766 - released!

We really need "Your" help on XigmaNAS https://translations.launchpad.net/xigmanas translations. Please help today!

Producing and hosting XigmaNAS costs money. Please consider donating for our project so that we can continue to offer you the best.
We need your support! eg: PAYPAL

Proftpd WebGui function to make a suggestion

Post/Debate your Suggestions & Requests of XigmaNAS here. This ONLY pertains to XigmaNAS.
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
744700595
experienced User
experienced User
Posts: 83
Joined: 09 Mar 2017 01:30
Status: Offline

Proftpd WebGui function to make a suggestion

#1

Post by 744700595 » 21 Sep 2018 05:30

At present, the directory location of anonymous FTP can not be defined in proftpd WebGui. The /mnt is specified in the startup script. But there may be many mount points below /mnt, and do not want to use it directly to anonymous FTP. To modify, you can add parameters to rc.conf only.
So I hope to provide anonymous directory location function in WebGui.
At the same time, we hope to add some practical functions to describe the specified character set.
PathDenyFilter parameters filter.Ftpaccess and so on.

Thank you
Favorite to kill the red devil
FreeBSD users from China. English is limited and posted using Google Translate. If the expression is not clear, please forgive me!

Cramin
Starter
Starter
Posts: 30
Joined: 14 Jul 2014 07:57
Location: Myszkow (Poland)
Contact:
Status: Offline

Re: Proftpd WebGui function to make a suggestion

#2

Post by Cramin » 21 Sep 2018 13:13

From proftpd manual add this and edit to your needs in Additional Parameters:

Code: Select all

<Anonymous /mnt/anonymousftp>
  # After anonymous login, daemon runs as user/group ftp.
  User ftp
  Group ftp

  # The client login 'anonymous' is aliased to the "real" user 'ftp'.
  UserAlias anonymous ftp

  # Deny write operations to all directories, except for 'incoming' where 
  # 'STOR' is allowed (but 'READ' operations are prohibited)

  <Directory *>
    <Limit WRITE>
      DenyAll
    </Limit>
  </Directory>

  <Directory incoming>
    <Limit READ >
      DenyAll
    </Limit>
    <Limit STOR>
      AllowAll
    </Limit>
  </Directory>

</Anonymous>
Intel SS4200-E - 11.2.0.4 - Omnius P2C E2200 + 2GB DDR2 + 2x (Raid1 2x500GB WD) - Home
MSI G41M-P28 S771Mod - 11.2.0.4 - Omnius Xeon E5320 + 4GB DDR3 + Raid1 2x500GB Samsung - Work

Post Reply

Return to “Suggestions & Requests”