Displaying 20 results from an estimated 5000 matches similar to: "connection tracking"
2005 Jun 23
2
TC installation
Even on a i386 machine for a very simple qdisc i get this error answer:
RTNETLINK answers: Invalid argument
what are the options in the kernel that i have to choose to escape
this error? I really know nothing about netlink sockets, what they
are, where they are in the kernel, what should i do.
please help.
Thank you in advance,
Marius Corici
2005 Jun 22
4
tc on a PDA
hello,
i have a 5500 iPaq with familiar 0.8.2 on it and i don''t know how to
install a traffic shaper tool on it.
I installed iproute2 package i found on familiar site and for that i
have the tc and ip commands, but when trying to add a qdisc, as a
dummy example, i get the next answer:
> tc qdisc add dev wlan0 root cbq bandwidth 100Mbit avpkt 100
RTNETLINK answers: Invalid argument
2006 Apr 17
24
Sip Traffic
Hi.
there is a way to MARK udp VOIP (SIP) traffic,
in order to put in a highest prio class ?
Traffic flow seems start on udp 5060 port, but
next both server and client seems jump to a
random(?) port.
I can''t use CONNMARK because is udp traffic.
I only see a pattern for L7 patch in order to
SIP traffic identification , but I run 2.4
kernel series .
When you patch 2.4 kernel with
2006 Jan 16
10
Multi-path routing only using last nexthop in default route.
I''ve applied julian''s paches to a 2.6.14 gentoo kernel with the appropiate
options enabled, and i''m using a modified version of the mpath2.sh script
also available on julian''s site http://www.ssi.bg/~ja/
Overall everything works nearly perfectly. Incomming connections to either
the fios (PPPoE) connection, or cable modem get routed back out correctly.
The
2006 Mar 15
5
Fix list so it adds Reply-To: header
Could whomever is in charge of the lartc mailing list please change it
to add the header:
Reply-To: lartc@mailman.ds9a.nl
Every other list I''m on is setup so that by default replies will go to
the list. When replying to lartc emails I notice myself and others
constantly forgetting this list does not behave like the rest, and
that we have to either do a reply-to-all, or manually enter in
2005 Dec 27
5
class exceeds its ceil
Hi,
I have a setup like this:
class 1:1 rate 7600kbit (on a imq device)
|
|\class 1:10 rate 100kbit ceil 5600kbit prio 7 (here goes p2p
traffic)
\class 1:12 rate 7500kbit ceil 7600kbit
|
|\class 1:121 rate 3100 ceil 7500kbit prio 0
|\class 1:122 rate 2200 ceil 7500kbit prio 2
\class 1:123 rate 2200 ceil 7500kbit prio
2005 Sep 29
2
Interfaces basic question
I have a router with only one physical ethernet cable. I know it''s stupid,
but it is the network I have to use for a demo.
I have in mind to construct an HTB class tree for some network limitations
for the outgoing traffic.
The question is: can i use the HTB class mechanism on 2 subinterfaces of the
same physical network card without any interference?
Please let me know as soon as
2005 Jul 15
6
Problems setting up nested qdisc, feedback to LARTC HOWTO
Hi all,
based on the information in the "Linux Advanced Routing & Traffic
Control HOWTO", I was trying to set up traffic shaping on my firewall.
While I found the HOWTO very useful, in the process I ran into some
problems that I did not forsee: According to the HOWTO it seems that
it should have worked, even after spending some time going through the
sections looking for answers,
2005 Dec 14
3
exact rate
Hello
I am using htb (krenel 2.6.14.3 + esfq patch from fatooh.org) to limit the
bandwidth. But I want the absolute maximum rate to be for example 5Mbit
and not to exceed it.
here is the script:
$tc qdisc add dev ${NETIF} root handle 1 htb r2q 4
$tc class add dev ${NETIF} parent 1: classid 1:21 htb rate 5Mbit ceil 5Mbit
$tc class add dev ${NETIF} parent 1:21 classid 1:101 htb rate 2Mbit ceil
2005 Nov 03
6
Cannot get htb & prio working together.
Hi,
I''ve failed miserably in my endeavours so far and I''m at the point
where help would be much appreciated.
I want to have 3 bandwidth limited classes on my Internet interface. In
each of those classes I want 3 prioritization bands, and then use "tc
filters" to place the traffic into the correct class and priority. The
problem is that the traffic
2006 May 10
11
HTB at 100+ Mbits/sec
Hello all,
I''ve been trying to test HTB performance for different link bandwidths
to find potential limits and this is what I have so far:
http://home.comcast.net/~msethuraman/htbtest/
Can members please go over the setup, test procedure and the results
and answer a few questions?
1. Is the testing methodology okay and can the results be considered
accurate? If so, is this a decent
2005 Apr 21
2
A general view of the TC
Is there any library that i can hook on at runtime in order to create
a qdisc dinamically from a program or if i want to do this I have to
call the "tc" command?
The disadvantage of calling the tc command from a process is that it
creates an other process and this slows things up.
Marius
2006 May 11
9
HFSC and prioritization
I''m using HFSC to limit bandwidth for our wireless customers. However,
I''d also like the bandwidth prioritized based on packet type. This is
what I''m trying right now, and I''d just like some input from anyone out
there knowledgeable in this on whether it does what I want it to do:
Eth1 -> HFSC
........|-> HFSC (User1) (Min 512 Kb, Max 1024 Kb, Burst 1536
2005 May 25
2
external and internal LANs
hi all
what does it mean if the total network speed on internal LAN is greater
than the external LAN
and why it happens?
the extrnal LAN here is the Intenet using a dedicated bandwidth. and
BTW the linux box NATting
has no shapping at all. just direct piping
2006 Jan 10
8
tc filter add ... fw returns RTNETLINK answers: Invalid argument
When I run this:
tc filter add dev eth0 parent 1: protocol ip prio 1 handle 1 fw
I get:
RTNETLINK answers: Invalid argument
The traditional interpretation of that gnarly error message is that
cls_fw is missing, but lsmod | grep cls_fw gets me:
cls_fw 2336 4 (autoclean)
I can''t remove it because it''s in use, but all 4 statements that use it
failed, so
2005 Sep 30
3
Ceil Rate
Hi all,
I just recently began using HTB to try and manage bandwidth for my network.
This is the script I''m using:
/sbin/iptables -t mangle -A FORWARD -o eth1 -s ! 192.168.244.2 -j MARK --set-mark 53
tc qdisc add dev eth1 root handle 1: htb default 20
tc class add dev eth1 parent 1: classid 1:1 htb rate 100mbit burst 131072k quantum 59000
tc class add dev eth1 parent 1:1 classid 1:10
2005 Dec 22
5
control p2p upload bandwidth rate
Hi all,
I am running Slackware 10.1 with Kernel 2.6.14.3 includes iptables 1.3.4
with layer 7
My network diagram below: -
INTERNET --- LINUX_ROUTER_FW --- PCs
Below is my simple iptables script: -
echo 1 > /proc/sys/net/ipv4/ip_forward
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
iptables -t mangle -A POSTROUTING -m layer7 --l7proto applejuice -j MARK
--set-mark 1
iptables -t
2006 Feb 08
1
Conceptual question ;-)
ehlo list,
I''m willing to shape ppp users e.g. each pppX interface to get XXX kbits
I classify traffic going to ppp+ interfaces like this:
iptables -t mangle -A POSTROUTING -o ppp+ -j CLASSIFY --set-class 0002:0020
then i have a file which is executed when a ppp inteface is up and first
argument parsed to that file ($1) is the ppp number (e.g. 35 for ppp35).
it generally looks like
2006 Apr 04
3
Another question (now about u32)
Hello all,
I am trying to match some conections using u32 but I tryed this:
[root@ns1 ~]# tc filter add dev eth1 parent 1:0 protocol ip prio 1 u32
match ip src 0/0 match ip dst 0/0 match ip sport 80 0xffff flowid 1:10
RTNETLINK answers: Invalid argument
We have an error talking to the kernel
[root@ns1 ~]#
I have this class at device eth1:
[root@ns1 ~]# tc class show dev eth1
class
2006 Feb 06
2
p2p marking, again
Hey, one more question for ipp2p
iptables -t mangle -A DSL-IN -p tcp -m ipp2p --ipp2p -j CONNMARK
--restore-mark
iptables -t mangle -A DSL-IN -p tcp -m mark ! --mark 0 -j ACCEPT
iptables -t mangle -A DSL-IN -p tcp -m ipp2p --ipp2p -j MARK --set-mark 7
iptables -t mangle -A DSL-IN -p tcp -m ipp2p --ipp2p -j CONNMARK --save-mark
iptables -t mangle -A DSL-IN -p udp -m ipp2p --ipp2p -j MARK