Displaying 20 results from an estimated 3000 matches similar to: "IMQ slows computer to a crawl"
2004 Apr 04
2
IMQ & NAT
Hi all, my IMQ device works OK (thanks to Andy Furniss), but now I''ve
problems to attach the traffic in the qdisc''s. This is my conf:
-----------------------------------------------------------------------
INET
|
|eth0 300Kbps
ROUTER (NAT)
|eth1
|
LAN
-----------------------------------------------------------------------
MAX=300
tc qdisc add dev imq0 root handle 1: htb
2004 Aug 24
1
IMQ on 2.6.x + iptraf = problem
2005 Nov 25
7
tcpdump not working with imq0 devices
On my debian woody (kernel 2.4.31) the tcpdump
doesn''t work with imq0 devices. If I try to tcpdump
imq devices there is no packet seen:
[...]
rt1:~# tcpdump -n -i imq0
Warning: arptype 65535 not supported by libpcap - falling back to cooked socket
tcpdump: WARNING: imq0: no IPv4 address assigned
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on
2005 May 06
3
Broken filters?
Hi!
By iptables I set marking (-j MARK) just before -j IMQ.
There are only three marks. Exectly all of them are ditected to 1:20
Why I see 3 pkts in default 1:30?
How explain it?
### imq0: queueing disciplines
qdisc htb 1: r2q 10 default 30 direct_packets_stat 0
Sent 631429 bytes 1812 pkts (dropped 0, overlimits 20)
### imq0: traffic classes
class htb 1:20 root prio 0 rate 100Kbit ceil
2004 Apr 22
1
IMQ compile procedure ??
Hi Guys,
I''m trying to compile IMQ with kernel-2.4.26 and iptables-1.2.9
and I want to know is this procedure is correct:
----------------------------------------
- In Kernel 2.4.26 Directory (/usr/src/linux)
# cd /usr/src/linux
# wget http://www.linuximq.net/patchs/linux-2.4.24-imq.diff
# patch -p1 < linux-2.4.24-imq.diff
- In Patch O Matic Directory
2004 Nov 19
2
HTB&IMQ
i''m trying to limit upload and download but something is wrong(it is about NAT)
i will post here my "script" maybe someone could tell me what is wrong
my kernel(2.6.9) is patch with imq(linuximq.net) and my iptables(1.2.11) also
#flush
tc qdisc del dev eth0 root
tc qdisc del dev eth1 root
tc qdisc del dev imq0 root
tc qdisc del dev imq1 root
ifconfig imq0 down
2006 Jul 13
3
[PATCH] IMQ vs. local traffic
Hello,
Some time ago I''ve read somewhere that local traffic in IMQ
could hung up the whole system but it was corrected long time
ago. So I was very surprised yesterday when it occurred not true.
While testing IMQ I''ve observed for some time that - if you tag
some local traffic with iptables both in pre- and postrouting -
kernel is hunging up. It is happening quite quick with
2005 May 18
4
HTB + IMQ + IPtables marking.
Folks,
I''m so surprised what happened to my box just in the few weeks lately.
Here is my setup:
INTERNET <----------> [eth0] SHAPER-BOX [eth1] <----------> USER-FARM
both eth0 & eth1 got public ips (202.x.x.x)
Why traffic monitored at eth0 is bigger than eth1 ?
eth1 shaped just exactly the same as rate i defined in HTB.
I just have 1024Kbps from my ISP and i defined the
2005 Jan 30
5
simple questions about imq
Hi!
I have read all informations i could find, but some things are still not
clear.
My setup is:
---INTERNET1(eth0)-\ /- Local net1 (eth2)
GW
---INTERNET2(eth1)-/ \- Local net2 (eth3)
I have NAT and a working setup using HTB,SFQ, classifying with the
iptables -j CLASSIFY way. I shape only the traffic coming from the
internet heading to the intranet.
I would like
2003 Mar 24
1
IMQ
Hello
I have a server with a dsl connection on eth1 and local interface eth0.
Because of the NAT i cannot direct traffic to IMQ device in PREROUTING chain
but have to use INPUT and FORWARD. So i use rules.
iptables -t mangle -A INPUT -i eth1 -j IMQ --todev 0
iptables -t mangle -A FORWARD -i eth1 -j IMQ --todev 0
And now the strange thing: FORWARD traffic gets directed nicely to the IMQ,
but
2004 Jun 21
1
IMQ + natin PREROUTING - it is almost 2 years since patch....
Hello there!
I was reading this archive:
http://mailman.ds9a.nl/pipermail/lartc/2002q3/004725.html
It was almost two years ago when Patrick wrote a patch to switch IMQ
with nat in PREROUTING chain...
From www.linuximq.org I''ve downloaded newset IMQ driver for 2.4.26 and
what can i see? The line that Patrick changed in that patch is still as
it was in previous relases.
Are there
2004 Apr 26
1
patching kernel and iptables for IMQ
I have a linux box with kernel 2.4.22 and iptables 1.2.9
First, i patch linux kernel with Norbet Buckmuller''s .diff
#cd \usr\src\linux
#patch -p1 < imq-combo-debian-2.4.22.diff
All correct
Second, i -try to- patch iptables (following www.linuximq.net/faq.html)
#cd /usr/src/linux/net/ipv4/netfilter
I edit IMQ.pom-ng.patch and replace $KERNEL_DIR with /usr/src/linux
#patch
2005 Jul 27
8
IMQ
ive got such network:
|--------| |-------------|
| WORLD |---|ROUTER/server| ------ NATED LAN
|--------| |-------------|
I want to use imq on ROUTER, what behaviour to choose ? AA, BA, AB, BB ??
--
2004 Aug 23
2
imq question
Hi
I''ve a stupid question. How can I shape upload using IMQ?
Instead of putting a rule in iptables in PREROUTING should i use POSTROUTING?
And another question is, can I make routing rule based on ip addresses assigned by iptables to an imq device?
The idea is, let''s say i have some rules in iptables like: -t mangle -A PREROUTING -s 192.168.0.0/16 -j IMQ --todev 0
Can i route
2005 Apr 10
3
IMQ: why do I need IMQ ?
Hello there,
Can someone please explain why do one neeed IMQ ?
I can already shape incoming traffic on my nat router by creating
qdiscs on LAN-side interface. I have done some tests, whith simple
bandwidth limmiting, and it works.
I''ve read just about all the stuff on www.linuximq.net ... but
couldn''t make myself an ideea on why would someone need IMQ for
ingress policing ...
2005 Jul 03
1
Getting the IMQ target to work.
Sorry to bug the list with this, but I can''t get past it.
littlebear ~ # /usr/local/sbin/iptables -A PREROUTING -t mangle -o
eth0 -j IMQ --todev 0
iptables v1.3.1-20050701: Unknown arg `--todev''
Try `iptables -h'' or ''iptables --help'' for more information.
I''ve tried every combination of patching and recompiling that I can
come up with,
2004 Feb 02
2
IMQ update ?
Hello
I''m trying the excelent IMQ patch for
iptbles and kernel 2.4.21 and works
very well...
but, there is a IMQ patch for 2.4.24 ?
I''ve tested IMQ for kernels > 2,4,21 but
patch fails !
Best regards
andres
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
2004 Jul 06
7
Simply IMQ
I''ve followed this list for quite a long time and have even posted a couple
of times. I used the early versions of IMQ from Devik (I think that was his
name), and it worked well. I only ever got the chance to implement it in my
test environment. I now need to implement it in my production environment.
My Linux core router has nine interfaces and has a 27 megabit connection to
the
2006 Jun 02
1
IMQ + NAT
Hello,
I have
eth0 - internet
eth1..4 - local networks
on eth0 i do $IPTABLES -A POSTROUTING -t nat -o eth0 -j MASQUERADE
I want to balance out/in load for eth1..4 and localhost (mainly
squid). Nat makes impossible to do it on eth0, so I installed IMQ. I
need to get to on imq0 unnnated in/out traffic that I could make
priorities for protocols and networks. Do somthing like this:
prate=1Mbit
2005 Apr 29
1
IMQ on KPTD
Hi!
I would like to thank very much for this great page with Kernel Packet
Traveling Diagram and to suggest small update concerning IMQ.
I think the sentence:
"IMQ in input comes before nat so IMQ does not know the real ip address.
Ingress comes after nat, so ingress knows the real ip address."
could be more precise like that:
"By default IMQ in PREROUTING comes before nat and