Re: tc script stopped working

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wednesday 21 July 2004 16:54, kraquen@xxxxxxxxxxx wrote:
> I've used tc in the past for shaping, upon learning of tcng, I redid my
> config, and load it using tcc.
> I thought this was great, as the new script is much easier to maintain,
> and is so much simpler.
> The new script was working for about a week, then it stopped working.
> I now get this error:
> can't dump subexpression (if_u32.c, unsupported offset sequence - please
> try to reorder matches)

This is due to an unresolved bug that is now simply fatal to encounter.  (It 
failed silently before.)  You're matching for something, like a tcp_ACK flag, 
before doing something like an ip_len match.  Since the latter comes first in 
the packet, you need to match for it first in your configuration.  At least, 
that's what I recall the correct solution was.

<snip>
> I'm not sure when or why it stopped working, but I have a habit of doing
> apt-get update;apt-get upgrade on debian unstable and not paying attention
> to what gets updated.. so I may have gotten a new version of tcng without
> realizing it.

You did.

You may wish to install apt-listchanges to view the full changelog for each 
package when you do an `apt-get upgrade` in the future.

> Anyway, to get to the point, it is not obvious to me which line is causing
> the trouble from that error message.  Without knowing which line to focus
> on, its hard for me to proceed with troubleshooting.

It's some line where you match into the header for some TCP, et al. option and 
then later try to match some IP header option.

> Could any of you who are more familiar with tcng help me with this error?
>
> Thanks,
> Jason
>


_______________________________________________
LARTC mailing list / LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux