LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-25-2011, 10:28 PM   #1
twistedpair
Member
 
Registered: Jan 2004
Posts: 71

Rep: Reputation: 15
Traffic Shaping question


Been working from the following tutorial here:

http://www.cyberciti.biz/faq/linux-t...-http-traffic/

In the "EXAMPLE" portion almost half way down the page, it shows how to use tc with iptables. I got that to work, no problem, however there is a certain aspect I don't understand about it.

As I understand it, iptables (in that example) marks the packets. This way some shaping mechanism (I think it's the kernel) knows that it needs to slow that particular (port 80) traffic down.

Thing is that just to test, when I stop iptables, the kernel still throttles that traffic. Even if I try downloading a file from another source (still port 80) it still throttles it.

How does it know to still do that? Is there a way to make it stop other than removing the appropriate qdisc/filter rules?

Thank you,
-T
 
Old 04-28-2011, 02:26 AM   #2
Ygrex
Member
 
Registered: Nov 2004
Location: Russia (St.Petersburg)
Distribution: Debian
Posts: 666

Rep: Reputation: 68
from the first paragraph of the tutorial:
Quote:
I'd like to slow down outbound traffic on port 80
to verify that shaper you have to initiate uploading; it does nothing with inbound flow
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with Traffic Shaping and HTTP Traffic. redvivi Linux - Networking 1 11-29-2008 12:23 PM
Traffic shaping (limiting outgoing bandwidth of all TCP-traffic except FTP/HTTP) ffkodd Linux - Networking 3 10-25-2008 12:09 AM
A question regarding traffic shaping involving tc-tbf and tc-sfq 05020241 Linux - Networking 3 06-27-2008 06:08 AM
ip aliasing and traffic shaping question emphaze Linux - Networking 2 03-11-2004 05:03 AM
Traffic Shaping ?? DocKane Linux - Networking 2 08-24-2001 09:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:16 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration