Displaying 20 results from an estimated 2000 matches similar to: "tc: u32 match in nexthdr not working?"
2002 Apr 26
13
New HTB docs
Hi,
for interested in participation on finishing new HTB developement
I created simple docs regarding it. It is some insight into CBQ
and HTB workings and problems.
See luxik.cdi.cz/~devik/qos/htb/v3/
2001 Jun 29
1
u32 nexthdr problem
I''m having trouble with nexthdr.
tc filter add dev eth0 protocol ip parent 10:0 prio 1 u32 \
match ip protocol 0x6 0xff match u8 0x02 0x12 at nexthdr+13 flowid 10:3
fails to match my test packets whereas
tc filter add dev eth0 protocol ip parent 10:0 prio 1 u32 \
match ip protocol 0x6 0xff match u8 0x02 0x12 at 33 flowid 10:3
does match them.
Of course, the second one is really wrong
2013 Nov 28
4
[PATCH net] xen-netback: fix fragment detection in checksum setup
The code to detect fragments in checksum_setup() was missing for IPv4 and
too eager for IPv6. (It transpires that Windows seems to send IPv6 packets
with a fragment header even if they are not a fragment - i.e. offset is zero,
and M bit is not set).
Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
Cc: Wei Liu <wei.liu2@citrix.com>
Cc: Ian Campbell <ian.campbell@citrix.com>
2002 Dec 02
1
ipip and nexthdr
After carefull reading (LARTC) and experimentation, I am in a dead
end...
I am using several IPIP tunnels (linux ipip module, IP protocol 4).
I''d like to filter packets going through these tunnes to different
classes, on the ingress device, based on source and destination IP
_INSIDE THE TUNNEL_.
First I tried the nexthdr bit. As explained in LARTC, nexthdr jumps to
the next header
2001 Dec 06
3
Anti-CBQ Statements in Howto
I find the negative attitude toward CBQ to be distracting and
non-professional in the HOWTO. I''ve re-read it for the first time in
about a month and comments like "This can be configured in a variety of
ways, which I do not understand. Use HTB" do not encourage me about the
writer.
This is not a personal critique, as I can imagine this being said on a
personal website,
2002 Jan 06
28
Gre Tunneling Problem
Hello everyone, I have a problem regarding gre tunneling, I have two linux box both of them has a private network and the linux A is connected to the internet via wireless radio and the other linux B is connected to the internet via lease line. Here is the setup of my two linux box
Linux A
eth0 = 203.189.x.1 (internet)
eth1 = 192.168.1.1 (going to hub private network)
Linux B
eth0 = 205.198.x.1
2002 Feb 05
3
COPY_SIZE #define
I noticed the "XXX: what should this be?" w.r.t. COPY_SIZE in
sftp-client.c. I made up the following quick patch to allow a new
command-line argument, "-B" (for 'buffer' size) to specify this value.
I haven't done any strict benchmarking yet, but -B65535 is faster than
-B8192 which is much faster than -B16.
PS again, I am not on this list, so please CC me any
2001 Nov 26
8
RTNETLINK answers: File exists
Can someone tell me what concept I''m missing here. The setup is simple. I
have two default routes after ifup operations. I use "ip route del" to
remove one, but then decide to add it back. The attempt is refused. Why?
# ip route ls
66.95.83.208/28 dev eth1 proto kernel scope link src 66.95.83.210
65.84.205.96/27 dev eth2 proto kernel scope link src 65.84.205.104
2002 Oct 24
1
Fair Bandwidth sharing with HTB and EFSQ
I downloaded the HTB and ESFQ packages and installled the patched kernel
and tools.
Now can someone give me an example how to configure my system so that
the 512Kbit are fairly divided for each computer ? Assume that eth0 is
the interface on the WAN side and eth1 on the LAN side.
Thanks
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
2005 Jun 01
2
TC Filtering Problems
Dear Admins and Hackers,
maybe i am to stupid to use ''tc''. But i having logical Problems to understand the Filter Rules in tc.
Common Config:
There is a Linux Engine (Debian) with a 2.6.11.11 Kernel which act as Packetshaper.
Two Interfaces eth0 and eth1 are installed. Interface ''eth0'' is the Firewall Side Net
195.185.185.0/24. Interface
2001 Dec 24
11
Traffic balancing by IP.
Hello all!
As far as I know that the traffic that will pass thru the router is balanced
so that all connections have the same privilegies. Is it possible to
configure the linux based router so that all computers will have the same
privilegies? I mean that if in default case full traffic is splitted by
connections, so I need to split it by users to prevent one user occupy all
traffic by starting
2007 Aug 29
5
HTB does not respect the prio parameter
Hi all,
I''m experimenting with HTB and the prio parameter and it does not give me results I
expect. I''ve created 4 HTB classes:
1:10 TCP ACKs (prio 0)
1:20 TCP traffic on dst port 10001 (prio 1)
1:30 TCP traffic on dst port 10000 (prio 2)
1:40 Default (prio 3)
ceil and rate parameters are the same for all 4 classes (rate is
2001 Dec 07
3
more on cbq parameters
While I''m thinking about that review of howto changes, here are a few
other responses about things I don''t believe. I''ll be interested in
more info if anyone has any.
====
[from new doc]
Besides being classful, CBQ is also a shaper and it is in that aspect
that it really doesn''t work very well. It should work like this.
I''ve not noticed that it
2002 Sep 29
11
Iptables, SNAT/MASQ, Multiple gateways
I have a dual-homed firewall. It has 2 Internet connections, provided by
different ISPs (each with an associated IP address). The 2 Internet
connections are connected to the same physical interface. The 2 Internet
connections do NOT have equal bandwidth
How do I configure the SNAT/MASQ and ensure sharing of the gateways with
the correct ratio of usage and with the correct source IP address?
I
2001 Dec 08
0
tc filter u32 nexthdr, chained filters?
Hi.
Is there anyone who has understood of how u32 nexthdr addressing is supposed
to work? (including the "tcp/icmp/.." matches who implicitly uses nexthdr)
From reading the kernel code it apparently is using the location set by
"offset at", but this seems to only be evaluated on hash parents, and only
for it''s children..
I.e. the logic for u32 filter rule
2001 Jul 04
0
u32 nexthdr -> iptables --protocol tcp
I still think that nexthdr should be fixed, but I''d like to mention
that iptables --protocol tcp can do pretty much the same thing.
That is,
tc filter add dev $1 protocol ip parent 10:0 prio 1 u32 \
match ip protocol 0x6 0xff match u8 0x02 0x16 at nexthdr+13 flowid 10:3
can be replaced by
iptables -A PREROUTING -t mangle -p tcp --syn -j MARK --set-mark 2
tc filter add dev $1 protocol
2002 May 05
16
More on qdiscs
I notice one other small problem with my modified version of SFQ.
The fact that packets can be dropped at dequeue time is incompatible
with the way HTB (and probably CBQ and others modeled on it) keep
statistics. When I fill a low rate queue causing packets to expire
and be dropped at dequeue I get interesting statistics like this:
This is my variant of SFQ
qdisc plfq 8016: dev eth1
...
Sent
2002 Jul 17
1
rsync memory usage
Hi,
we are using rsync to mirror large trees (>> 50 GB, >> 2 mio files)
offsite (rsync -e ssh with forced ssh command on the remote side).
The main problem occuring is memory usage (especially as the remote
system has no swap space configured for security reasons):
It seems that the rsync processes' RSS on both sides increases with
the number of files in the tree. Rsyncing the
2005 Jun 02
2
iproute + xml
Hello there, i am continuing with the development of the iproute GUI.
I was wondering if there is a xml parser for the set up of the queues.
I have been searching but i cant find any... anyone?
2004 Apr 15
6
When the inside functions of a sfq are called ?
I read the sched/qdiscs code from kernel source ... and I have some
questions :
When the .enqueue, .dequeue, .drop, .requeue functions are called ? What
is the event that triggers them and how often this event apears ( per
second ? ) ? When a qdisc is dequeued ( when it''s limit is reached ) ?
Thanks
_______________________________________________
LARTC mailing list /