LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   vsftpd, anon writes, quotas, reiserFS. (https://www.linuxquestions.org/questions/linux-software-2/vsftpd-anon-writes-quotas-reiserfs-486430/)

jonaskoelker 09-24-2006 02:21 AM

vsftpd, anon writes, quotas, reiserFS.
 
Hi.

I'm a happy bitlbee user. To compensate for its inability to transfer files, I have a ~/public_html/filetransfer section for sending, and a noddy php script for receiving.

I want to switch to a "proper" setup; that is, I want to allow anonymous ftp users to write to my disk (since any respectable ftpd is better than my--probably buggy--php script).

In order to not provide the whole world with an obvious denial of service vector against my box, I want to restrict the amount of bytes the anonymous user can upload.

My php script summed the file sizes and compared it against a fixed value. With disk quotas, I presume, I can do it much more elegantly: just say that the user "ftp" may spend only 10 megabytes on the partition that mounts on "/home".

Now, when searching the web and LQ, I find a lot of articles and threads from 2004 giving contradicting answers: yes it works, no it doesn't, yes it works and you have to use the option foobar (and my man mount doesn't list foobar as a reiserfs option), ...!

Does ReiserFS version 3.6 support quotas? How do I express the constraint that the user ftp may use at most 10 megabytes (including metadata) on the partition mounted on /home? Which software do I need to install? Is it in debian (http://packages.debian.org)? Is it free (as in freedom)?


All times are GMT -5. The time now is 09:59 AM.