Hashed jump, or other dynamic jump operations in general
Henrik Nordstrom
hno@marasystems.com
Tue, 19 Mar 2002 23:18:07 +0100
On Tuesday 19 March 2002 18:47, Paul P Komkoff Jr wrote:
> Have you seen hashed jump in routing code ? packet classifier, etc.
> Unfortunately I've not got it here but you can look at lartc on the
> net and find an example there.
Yes, but what I am interested in at this moment is to how to utilize
similar techniques for optimizing large iptables rulesets. My routing
tables rarely contain more than a handful of rules even in the most
complex environments..
The tc code is quite different from the iptables code.
The actual act of the method of selecting which chain to jump to is
not a big deal, the question is more of how to make iptables make the
actual jump in the best manner, and how to build the argument list to
the jump target in a manner that makes sense to the userspace
iptables program..
Regards
Henrik Nordström