Slackware :: Vsftpd - Any Way To Limit Upload Speed
Jan 22, 2010
I use vsftpd. I would like to know if there is a way to limit the upload speed. Only the upload speed so the "anon_max_rate" and "local_max_rate" don't do the job. Someone told me about the trickle but I expected a more recent application.
There is a ps3 in my house which i play with an online connection, i also download alot of stuff. so i want to limit the upload speed of the ps3 to give my downloads more speed. i have verizon fios.
I have a vsftpd server configured and I cannot upload using anonymous account, I've trawled the net have have exhausted my search for answers. Here is my vsftpd.conf file
Code: # Example config file /etc/vsftpd/vsftpd.conf # # The default compiled in settings are fairly paranoid. This sample file # loosens things up a bit, to make the ftp daemon more usable. # Please see vsftpd.conf.5 for all compiled in defaults.
vsftpd 2.3.2-3After user uploaded a file it has -rw-------(0600) permissions. Of course user can change permissions manualy to any he likeBut how to set for example 0700 by default?
I've got that vsftpd running on a ubuntu 9.10 machine. Although I cannot upload any file, I always get a "550: Permission denied"-error.
Code: # Example config file /etc/vsftpd/vsftpd.conf # # The default compiled in settings are fairly paranoid. This sample file # loosens things up a bit, to make the ftp daemon more usable. # Please see vsftpd.conf.5 for all compiled in defaults. #
I've been trying to set up an FTP server for a client, which is something I haven't done before. Things seemed pretty straight forward at first, had everything working, but now I have just one last minor problem.
I'm using vsftpd as my FTP daemon. I managed to configure it to allow only user to log in, I have write enabled, etc. Now, this server is in the 172.16.10.* range. I have servers in two other ranges that need to connect to it and down-/upload files. These ranges are 192.168.15.* and 192.168.16.*. The ones in 192.168.15.* are physically in the same location as my FTP server. The ones on 192.168.16.* connect through a VPN, using a Netscreen 5GT firewall.
Up to this, no problem yet. The problem is this:
I tried the following from the 192.168.15.* range:
- connect: no problem - login: no problem - list directory: no problem - download file: no problem - upload file: no problem
Now I tried all of this from the 192.168.16.* range as well. Everything checked out except for one tiny crucial thing. I'm not allowed to upload files, I get "550 Requested action not permitted". I login under the same user I've verified I get the correct directory listing, so absolutely everything checks out to be the exact same.
I have many clients uploading to the same directory.
I have set chmod to 733 and chown to another user on the upload folder so that the different clients do not see each others files, but that also causes the client to not see their own files after they are uploaded or not being able to resume broken uploads.
I would like the different user log in with their own username and password but all upload to the same directory and not see each others files, but just their own. Is this possible? Or does anyone have a tip how to achieve something similar?
I have a linux box running between my router and my LAN. My connection speed is 10MB download and 1MB upload. The issue is that whenever someone starts to upload something, it is like my connection is down. No one else can open websites, read emails etc.Is it possible to place a limit for upload, maybe 50kb/s? This way, people won't use the entire upload speed available.
I have a large file (deflated size: 602191947)that is not saved in my Ubuntu One account. On sync'ing the file is being uploaded, and eventually reaches 602191947 - and then nothing more happens to this file - but sync'ing the following files in the queue goes on with success. I have tried manual upload with the same result. The file is still being marked as 'uploading' even after several tries and log ins/log outs, and reboots. So I was just wondering whether there is a file size limit - can't seem to find information regarding this.
I have already tried trickle and wondershaper. I need a program that can limit the speed of download/upload of an already running program. Similar to the how NetLimiter in Windows limits already running processes. Using Linux.
I just want to place upload/download limit to each ip address ( say 20MB per day for each ip or specific ip) using squid proxy i tried through delay pool but it control only download/upload speed not place any download/upload quota restriction. following are my codes I have 1Mbps line
delay_pools 2 delay_class 1 2 # here 700kbps(87Kbytes) Net-Total usage limit, with 50Kbytes per user
[code]...
I also used
"reply_body_max_size" parameter to control upload limit.
But
"request_body_max_size" only restrict download based on size.
how to setup quota ( download quota per day per ip)
And I added umask 022 to the user login script problem I have: I login with user and password that exists as a local user on my suse machine. I can read and download from my homedirectory, but I cannot upload with filezilla. Then I get the error: 550 permission denied critical file transfer error
I have been trying out Ubuntu One for the past couple of days but find it to be incredibly slow. At first i had put a folder will a large amount of images in the ubuntu one folder. The total size of it was 35Mb, after over 26 hours only 11,5Mb of that had been uploaded.
After looking around some on these forums i saw several comments about it being slow when it is a large amount of files, no matter if the filesize is small or large. I decided to try it out with a larger single file. I erased everything that was in the previous share and then put my testfile of 350Mb in the Ubuntu One folder.
After two hours of waiting i could still not see it on the U1 website so i decided to see how long it would take with dropbox and put a copy of that file in my dropbox folder as well. The file was uploaded correctly to dropbox in just a couple of minutes but it has still not been uploaded to the U1 website even though it has been 4-5 hours since i first put it in my U1 folder.
I was wondering if anyone knows of an upload manager, either native or wine, that allows the control of upload speed? I have one of those broadband plans that severely restricts upstream bandwidth, and while I'm uploading there is no room left for upstream communication, so I can't do anything else online but upload (boring). If I can limit my upstream speed to, say, 20KBps, it essentially frees all my downstream bandwidth and I can actually use my computer.
Currently, I've only tried plowshare for uploading, and though it seems to work well, it doesn't allow shaping...
from vuze(bit torrent client) it shows my total download speed to be 20.56 KB/s....while my network monitor tool shows a speed around 72.41 KB/s. Similar is the case with upload speed. In much simple words the download/upload speed that vuze shows appears to be less than that shown by the network monitor tool.I must mention that at the time vuze was running there was no other simultaneous downloads.I don't understand why this is so?Is there any tool that can give me the exact information of downloading & uploading speed or rather any tool that can give me the details of uploads/downloads presently going on.
My DVD player attached to my TV is picky. Burn CD's (with avi files) at 8X and it plays them. 16X and it complains about bad disk. Every time. In karmic, I can only get cdrecord to burn at 16x.
Here's the command: cdrecord -dev=/dev/scd0 -speed=8 -dao -pad -v something.iso
And it burns at 16x instead of 8x. Command issued with root privilege. Identical hardware under CentOS 5.x and it burns at 8x, like I asked it to. I'm all SATA if it matters. What do I need to do to get the version of cdrecord with karmic to burn a data CD at 8x? For whatever reason, CDs burned at 16x just don't work in the DVD player attached to my TV.
We (3) have download limit problems with a 50G/month limit (Inc uploads). The router I cannot change, and it offers no useful options. So I am considering using IP forwarding from my own box. I think I would need a second nic, & router. Eth0 would run a dchp server, eth1 would run a client. What do I run on the box to monitor downloads & uploads, and is there a way of adding pc & laptop downloads to limit luser downloads? Does this stuff strangle speed? I'm running slackware-13.1
I have a linux debian on a network connected to a router through a ethernet cord. My linux is hogging the network speed and the users of the other computers on the network aren't very happy. Is there a way to limit the download speed on only my computer?
Me and my friend are using the same internet, sometimes he downloads something or watches a movie online. When he does that my internet connection becomes very weak. So is there any way to put limit on his computer? Like only 30kb/s
I am trying to limit bandwidth of certain ip addresses on my server. I have been doing hours of reading and not getting very far... So far I believe the iptables command is
ptables -A PREROUTING -s 178.33.23.44 -t mangle -j MARK --set-mark 2 ptables -A PREROUTING -s 178.33.23.45 -t mangle -j MARK --set-mark 2 ptables -A PREROUTING -s 178.33.23.46 -t mangle -j MARK --set-mark 2 ptables -A PREROUTING -s 178.33.23.47 -t mangle -j MARK --set-mark 2
and now I just need the tc command to read those marks and limit bandwidth, I have a gigabit connection and would like to limit each of these ip addresses to 10mbit in and out.
It sounds weird but on Linux I can't find a browser that allows to set a download speed limit. I found an extension for Firefox but it works only on Windows. I know the existence of download managers like d4x, wget, jdownloader, etc... but some downloads can only be done by browser. I know trickle too but if I want to change the speed limit I have to 'restart' the command (interrupting the current download). Then I didn't find an extension for Chromium.