I am not a C programmer, so I was hoping someone can help with the following: vsftpd is programmed in C, but it has a fatal flaw whereby uploads can be copied by Samba before the upload is complete (this includes the latest vsftpd daemon) This is because vsftpd does not support file locking, unlike the AIX ftp server for example. Proftpd also has a way around this problem by hiding files with the hidden stor feature, which gives the file a randon hidden file name until the upload is complete. So, would it be possible to insert one of these features or both within vsftpd, by analyzing the source code and making the necessary changes?
I have contacted the developer but no feedback yet
Instead of changing vsftpd, change what you are doing slightly.
sFTP the files into /tmp or some other location, then once the file has arrived
vsftp is open source. That means if you have to have it changed:
1. you will have to make code changes for every new release. What if there is a security hole found?
2. you get to support any changes you make that cause problems.
I'd leave it alone and change what you're doing i.e., get another sftp or find a simple workaround.
Thanks for your response... I have implemented a work around by moving the file to a different location when the upload is complete. But this is a messy solution. I really can not understand why the developer has not implemented a solution into his code already.....
Today, I noticed some errors in our SSL cert renewal log files, mostly related to domains where the IP address had changed. Concerned about this, rebuilt out SSL cert, which normally goes well without a hiccup.
However, for today, for some reason which I cannot explain, there was a PHP error... (0 Replies)
:rolleyes:I am trying to setup all certificate based client-server environment in Linux using vsftpd and curl with openssl.
I would like to make a user access with vsftpd certificate and user own client certificate (self-signed) with private/public key.
I don't see google posts about the my plan... (4 Replies)
Hello
I am new to linux.
I have recently installed vsftpd in my Centos server. I have set the local_umask=0037.
But now i can't understand how the window users added in a centos server can see each-other folder.
---------- Post updated at 05:59 AM ---------- Previous update was at 05:55 AM... (7 Replies)
Hi,
I installed debian jessie and friend asked me to install for him vsftpd, of course, first I try at my vps, but I don't get it to work.
there are many tutorials to install ftp server but as i said, it is not working and beside running ftp server, I need for him and some GUI to use it, he is... (2 Replies)
hello mighty all
there's a problem in vsftpd
it allows to delete files which have 000 mode and root:root owner
also 400
even with option deny_file={those_files} - still allowed
i'm doing it through mc
through ftp-shell it's not allowed
it's not working if mother-dir have -w
and not working... (3 Replies)
Hi,
I am using VSFTPD.
I have instructed it to send all logging informartion to /var/log/messages.
I would like it to record the names of users who have failed loggin attempts. I have read up on it but have not found out how to do this. Any ideas? (1 Reply)
NEWS:
Flaw leaves Linux computers vulnerable
http://news.com.com/2100-1001-857265.html
A flaw in a software-compression library used in all versions of Linux could leave the lion's share of systems based on the open-source operating system open to attack, said sources in the security... (3 Replies)