Networking :: Using TC And IPtables To Restrict Download Speed

Sep 17, 2010

I'd like to use tc and iptables to restrict the download speed. I understand this is know as policing. Are there some resources I could use to learn how to do this? I want to restrict on a per ip basis.

View 1 Replies


ADVERTISEMENT

CentOS 5 Networking :: How To Restrict Ethernet Port Speed

Jul 6, 2010

I have a server in a colocation environment where I'm allotted 25Mbps. I'd like to avoid exceeding that for obvious reasons. Is there a way I can set the link speed or at least throttle the bandwidth for all services?

View 2 Replies View Related

Fedora Networking :: Cbq - Restrict Upload Speed From Ftp Server To Internet (eth1)

Dec 1, 2009

I have a Fedora 11 system and cbq.init-v0.7.3 in it. Now I want to restrict upload speed from my ftp server to Internet (eth1). According to docs I've made a simple file /etc/sysconfig/cbq/cbq- 00.inet_upload_restrict:

DEVICE=eth1,100Mbit,10Mbit
RATE=800Kbit
WEIGHT=80Kbit
PRIO=5
RULE=:20,

So as you can see I want to limit outbound traffic on eth1 from my ftp port 20 to any to the 800Kbit/s (100Kbyte/s). Now I do cbq start, it says: find: warning: you have specified the -maxdepth option after a non-option argument (, but options are not positional (-maxdepth affects tests specified before it as well as those specified after it). Please specify options before other arguments.

find: warning: you have specified the -maxdepth option after a non-option argument (, but options are not positional (-maxdepth affects tests specified before it as well as those specified after it). Please specify options before other arguments. but it starts and works. Now I check the speed and it is...

View 3 Replies View Related

Ubuntu Networking :: Multiple Ip Download - Share The Download Between The Computers To Get The Cumulative Speed?

Jan 8, 2011

I am at a university where my bandwidth is severely capped. I can start several other computers near me and download at the limited speed simultaneously. Is there any way for me to share the download between the computers to get the cumulative speed?

View 1 Replies View Related

Ubuntu Networking :: Download Speed Up And Down?

Feb 12, 2010

I have a 18Mg download speed internet connection and surfing the web is supper fast, streaming video is decent, etc. when I go to download a file 100 mg or so really anything my download speed will clime to about 1.3mg and then start dropping and level off at about 32 kb or lower. if I pause and restart the download it will jump back up again for a while and then come back down. if i constantly pause and restart the file will download in roughly the same amount of time as if the connection was working properly.

View 4 Replies View Related

Ubuntu Networking :: 9.10 - Download Speed Drop To Almost Zero

Mar 21, 2010

I am having problems with download speeds in Ubuntu 9.10. Downloads start at a healthy speed and then drop to almost zero. This affects apt-get install, Pan newsreader etc. With apt-get install if I terminate the download (with [Ctl][C]) and restart it I get another burst at high speed then again back to almost nothing. It makes updates a nightmare. With Pan newsreader I get high speed for most files but when downloading some of the larger files the speed drops right back to almost nothing after a while. I am on wired ethernet (no wireless). Typically I will get about 1.1MB before the speed drops - although I think it may be a function of time rather than data. I am talking to my ISP via a Netgear FWAG114 router and a NetComm NB5 ADSL modem operating in bridge mode. Although a number of users appear to have experienced very similar symptoms here I haven't found an answer that works.

View 2 Replies View Related

Networking :: Way To Limit Download Speed On A Network

May 10, 2011

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?

View 1 Replies View Related

Ubuntu Networking :: 10.10 - Low Download Speed On Wireless Connection

Feb 22, 2011

I have installed Ubuntu 10.10 on my Dell Latitude D830 laptop using the Wubi installer. Everything seems to be working fine except for my wireless connection. When I plug in my wired connection and test on speedtest.net I get download speeds of 20MB/second. However, when I switch to my wireless connection, I barely break 1MB/second. I have an Intel PRO/Wireless 3945ABG wireless adapter. I have scoured this forum, Google, everywhere I can think of to find a solution and none seem to work for me. I love Ubuntu but this might be a deal breaker...

View 3 Replies View Related

Networking :: Find Out Download/upload Speed Of Each Slot?

Apr 13, 2010

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.

View 2 Replies View Related

Networking :: Any Program To Limit Download Speed Per Connection?

Mar 29, 2011

I need a program that will limit download speed per connection. So that each download is limited to 100kbit/s for e,g. I tried trickled, it only limits whole application (and doesn't work with firefox). Also tried pyshaper, doesn't work. Is there such software?

View 1 Replies View Related

Networking :: Wireless Download Speed Limited To 64 Kbps

Sep 12, 2010

I am connecting from this Ubuntu 9.10 computer to a WRT54G running dd-wrt, over WPA2 AES. Normally, everything works fine and I get very satisfactory download speeds; usually 1.5+ Mbps. Sometimes though, usually after restarting networking a lot, i.e. /etc/init.d/networking restart, the download speed seems to be limited to around 64-70 kbps. It also happened recently when I disconnected from a vpn with vpnc. It's really strange because it has nothing to do with changing any settings.

The only things I can think of are POSSIBLY wpa_supplicant causing problems because that's the only thing besides networking that's restarted. It could be related to my router config but I can't imagine what because it runs so fast normally. Rebooting the router doesn't fix it. Restarting the network, manually killing wpa_supplicant, rebooting the router. None of these seem to fix it. The only way I've found is to just reboot. Obviously, something breaks at some point that isn't affected again by anything but a reboot.

View 2 Replies View Related

Ubuntu Networking :: Vonage Device Splits Download Speed?

Nov 29, 2010

I have vonage phone service and two computers - currently using the vonage device which is essentially acts as a router with 2 phone ports. The trouble is, the vonage device splits the download speed among the two computers and the phone even when the second computer and the phone are plugged in but not actually being used. Is there such a thing as a router with phone ports that does Not do this?

View 4 Replies View Related

Ubuntu Networking :: Internet Download Speed Incredibly Slow ?

Jul 30, 2011

So i am very new to linux based OS. Just started getting used to the terminal. but my problem is i am trying to install a game on steam and it is downloading very slow. i am used to getting close to 700 kb/s on windows 7 but on ubuntu 11.04 i am only getting 170-180 max. now i have searched all over and tried to fix it on my own but i just cant figure it out and am getting very frustrated. so if anybody has an idea as to how to fix this it would be greatly appreciated. (have looked through the forum by the way but as i said im new to linux and im not actually sure if im looking at the right things) but im using a wired connection. it says im connected to something called auto etho. and there is something called a loopback connection or something like that.

View 2 Replies View Related

Networking :: Do A Download Speed Test When Comparing Hosting Providers?

Mar 18, 2010

How do I do a download speed test when comparing Hosting Providers?I'm on a Macbook Pro - wondering if there's an ap for this?Also, I have accounts at each provider with a 100mb file, but I'm guessing I'm closer to one than the other? How would I make it fair?

View 4 Replies View Related

General :: Iptables Restrict Ssh Session By Mac Address?

May 24, 2011

I'm in the process of restricting access to my Linux production box, where ssh access needs to be limited to only a few MAC addresses.I've followed the instructions outlined in this guide and ran the following two commands:

/sbin/iptables -A INPUT -m mac --mac-source XX:XX:XX:XX:XX:XX -j DROP
/sbin/iptables -A INPUT -p tcp --destination-port 22 -m mac --mac-source XX:XX:XX:XX:XX:XX -j ACCEPT
root@xxxx:~/#: iptables --list

[code]....

View 3 Replies View Related

General :: Wireless Networking - Wi-Fi Connection Download Speed Is Cut In Half In Mint?

Sep 19, 2011

I have a pretty decent DSL connection that usually gave me about 105KB/second download speed over wifi. The "official" download speed was 1.5 megabits so I should have been getting a bit more, but that's not my question.

I recently switched to Mint from Ubuntu. Now my download speed is significantly slower, to the tune of 45 KB/second. Since the connection runs at normal speed when I connect via an ethernet cable, my guess is that mint doesn't give enough power to the wifi card. Is there any way I can fix that?

View 2 Replies View Related

Ubuntu Networking :: 11.4 - Intel Wireless WiFi Link 4965AGN - Download Speed Decreases

Jun 7, 2011

as per pytheas22, i'm attaching few details here. my download speed would starts at 470 kB/s and gradually decreases until it reaches 116 kB/s. Loading web pages seems to be fine.

[Code]...

View 5 Replies View Related

Security :: IPTABLES - Restrict Internet Access Based On Time Of Day And MAC Address

Feb 6, 2010

I am trying to configure my Linux router to restrict Internet access for one computer on my LAN. It needs to be restrictive based on the time of day and the days of the week. I am using the MAC address of the computer to single out the one computer that needs to be blocked. However, this is my first attempt at making any rules with iptables, and I am not sure if I am doing this right. If some one can take a look at this I would greatly appreciate it. This is what I have done so far.

Here is my thinking. Create a new target. Check the MAC address, if it is NOT the offending computer return to the default chain. If it is the offending computer check that we are between the allowed hours and dates and ACCEPT. If we are not within the time/date range then drop the packet.

Code:

Here I am trying to route all packets regardless of the computer on the LAN into the blocked_access chain for checking.

Code:

Is it a good idea to route all traffic through the blocked_access chain? I do run other servers that are accessible from the Internet, so I am not sure how this setup will affect that. I also use shorewall on the router to setup iptables for me. How would I integrate this with shorewall?

I am using squid to block access when he is using the web browser. However, he is still able to play games(World of Warcraft) and the like.

I am using Debian sid, iptable(1.4.6), shorewall(4.4.6), kernel 2.6.32-trunk-686.

View 7 Replies View Related

Ubuntu :: Wget-restrict Download To Specific Directory?

Jul 27, 2010

I am trying to download site using wget :$sudo wget -r -Nc -mk [URL] but it is downloading the contents of all directories and subdirectories under the domain :[URL] (ignoring the 'codejam' directory) so it is downloading from links like : [URL]... i want to restrict the download so that wget command should download only the things under 'codejam' directory

View 9 Replies View Related

General :: Delay Pool - Restrict User To Download Heavy Files

May 15, 2011

I need to restrict users if their download file size exceeds xxx amount, set later download speed to "256kbps".
OS: Centos 5.5
Squid 3.1.8

View 4 Replies View Related

Server :: IPtables And TC To Limit Network Speed

May 14, 2010

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.

View 2 Replies View Related

Ubuntu Installation :: Download Speed For 10.04?

Apr 29, 2010

Just want to make sure I am not crazy. I am downloading the upgrade right now (9 p.m. time Eastern U.S.), and not getting much faster than 31 kbps on the download. Regular web pages are loading quickly as normal. Are the Canonical servers overtaxed?

View 8 Replies View Related

Ubuntu :: Low Internet Download Speed ?

Jun 11, 2010

Ubuntu version 10.04. until day before yesterday, everything is working fine but now specific problem arises that is my internet download become 1/4th than usual.

Heres the story: i have internet (LAN) connection of 512 kbps. when i tries to download anything, using (syneptic, firefox default downloader, jdownloader) the download speed i get is 10-20 kb/s which should be 50-60 kb/s. the limited downloading speed is only when i tried to download a file; browsing n online video content play at max. speed i.e. 50-60 kb/s. i m using net speed panel applet to monitor current net speed.

Here is something unexpected: during downloading, when i start a game(openTTD or battle of wesnoth), downloading speed accelerated to max. (50-60 kb/s) but when i close the game, it drop back to 10-20 kb/s. so definitely this isn't the problem with the net.

View 9 Replies View Related

Debian :: Have Slow Download For Update / Speed This Up?

May 26, 2010

I am using debian(lenny) on a pc coexisting with windows. I use grub to decide which o/s to boot.

I picked debian, logged in as a regular user. I selected "Administration" under the "System" tab and then selected "Update Manager". I had to provide the root password.

I was asked to insert Binary DVD-1 and was told to use smart update. I did at which time 16 files begun downloading at between 4400 B/s and 4800 B/s from the Security server. It looks like it is downloading a new linux image.

Is there any way to speed this up?

View 4 Replies View Related

Fedora :: Speed Up Torrent Download With Transmission?

Jan 28, 2011

how to speed up torrent download with transmission in fedora, i find it very slow, also the speed is only 51 kbps not more than that i get, so how to increase the download speed to 128 kbps. i'm using broadband connection.

View 7 Replies View Related

OpenSUSE Network :: Bad Download Speed In 11.2 When Compared To 10.3

Mar 31, 2010

I was a user of openSUSE 10.3. I used to get a decent speed in BitTorrent (using KTorrent 2.2.1) there, since I had earlier used Windows and the speed wasn't as good, even in Windows 7. Recently, I installed openSUSE 11.2 and found that I wasn't getting the good speeds in KTorrent. The overall performance was a fraction of what I used to get in the older Linux installation.

I decided to verify whether my suspicions were justified by again reinstalling openSUSE 10.3. When I did this, I was again able to get the great performance I used to get always with openSUSE 10.3 running KTorrent 2.2.1 I don't know what causes this, but I know that this sad thing really has happened. A newer version is actually not worth it! I hope my voice reaches the openSUSE developers and such bad incidences don't occur anymore.

View 5 Replies View Related

Ubuntu :: Internet - When Trying To Download From KUBUNTU Cannot Get Speed ?

Feb 12, 2010

I m getting 40 kbps speed when i am working with windows but when i trying to download from KUBUNTU i cannot get speed is there any solution for that?

View 1 Replies View Related

Debian :: Usual Download Speed For Updates?

Mar 8, 2010

What is the usual download speed for updates to the Debian system using the update option under the Administration tab? I am just getting 4700 B/s, but have 5 Mb/s DSL. Is this due to overload of Debian website?

View 5 Replies View Related

General :: Ubuntu Limits Download Speed?

Mar 12, 2011

i realised that although before when i had windows7 my relative download speed was around 5.0 MB/s ( i have a 50MB virgin connection)now with ubuntu 10.10 im limited to only 2.8MB/s or somewhere around there.

First i tested my wireless speed on another laptop (with windows 7) on the same network and the speed was as i said around 5.0MB/s sometimes even more. So i thought it was only chrome that i was using at that point.However, this download speed limitation appears in jdownloader as well as in firefox and i guess the whole system.

SO im wondering if there is any way to set up the speed limit on the system and if there is, how should do i go ahead with this change,through the terminal or through preferences?

View 14 Replies View Related

Server :: PHP Upload/download Speed Tester?

Dec 29, 2009

is there any PHP upload/download connection speed test script out there

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved