Skip to contentSkip to conversation

tcng questions: TCP_ACK, ebtables

LARTC [email protected] 1 participant 1 message Jan 4, 2006

lore
Share & tools
lore
#0 lore raw

Hi all,

I have a couple of questions regarding tcng behavior.

First - I want to mark TCP_ACK packets as high priority, a common case. I figured the tcp_ACK rule in fields4.tc would be enough but I've come across Jason Boxman's tutorial and he recommends using:

class( <$ack> )

      if ip_len < 64 &&
      ip_hl = 0x5 &&
      (raw[33].b >> 4) & 0xff;

So basically the tcp_ACK rule doesn't work? Has it been fixed? Which way is right?

Secondly - I was wondering if anyone is trying to use l7filter on a bridging Ethernet setup. It looks to me like the packets don't get to the iptables layer so whatever marking I do with l7filter doesn't affect packets going through the bridge, only packets addressed to the bridge itself (which I have given an IP so that I can run some other things on it). Do I need to look into ebtables marking? I don't know if l7filter works with ebtables anyway. Or am I doing something wrong? The system I'm working with is running Debian sarge and kernel 2.6.14.4 with the l7filter patch.

Thanks for any help.
James
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc