tc filter: match tcp src vs. match ip sport
Hi all :))
This matches what I want:
tc filter add dev eth0 protocol ip parent 1:0 prio 9 u32\
match ip sport 0x3000 0xf000 flowid 1:22
and traffic goes to 1:22, but this one doesn't match:
tc filter add dev eth0 protocol ip parent 1:0 prio 9 u32\
match tcp src 0x3000 0xf000 flowid 1:22
I don't understand why the first one matches and the second onedoesn't :? because in the output of "tc filter show" the only difference is that the first one matches "at 20" and the second one "at nexthdr+0", which should be identical :?????
What the heck am I doing wrong? Thanks a lot :)
Raúl Núñez de Arenas Coronado
Signature · 7 lines
Linux Registered User 88736 | http://www.dervishd.net http://www.pleyades.net & http://www.gotesdelluna.net It's my PC and I'll cry if I want to... _______________________________________________ LARTC mailing list [email protected] http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc