Networking Forums

Networking Forums > Computer Networking > Linux Networking > police incoming traffic

Reply
Thread Tools Display Modes

police incoming traffic

 
 
rihad
Guest
Posts: n/a

 
      04-15-2004, 06:01 AM
Hello there, I'm trying to police incoming traffic so that downloads are
no faster than 100kbit/s:

# tc qdisc add dev eth0 handle ffff: ingress
# tc filter add dev eth0 parent ffff: protocol ip prio 50 u32 match ip
src 0.0.0.0/0 police rate 100kbit burst 10k drop flowid :1

but after the second command executes, I lose my network connectiviy! No
pings, no name resolution, no downloads, nothing.

I know there exists iprelay.pl, and if I'm not able to get tc to work,
I'm gonna have to use iprelay.

kernel.org 2.6.5, Debian/testing.

TIA
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Blocked incoming traffic, why possible to get traffic? Char Jackson Network Routers 0 09-13-2010 06:38 PM
Incoming traffic filter Harley Network Routers 13 04-23-2010 01:29 PM
How to direct incoming traffic to subdomain? David R Windows Networking 0 12-07-2009 02:37 PM
how to block incoming traffic Adia Linux Networking 5 09-01-2006 09:10 PM
how to forward all incoming traffic to new server Dica Windows Networking 6 11-11-2005 12:51 PM



1 2 3 4 5 6 7 8 9 10 11