ipset-based routing
Has something like this been attempted before?
I am about to start some work towards integrating ipsets in iproute and I am wondering whether something like this has been attempted or even done before so that I don't reinvent the wheel again? Thanks a lot.
Oops, ignore my previous email. It seems that a patch exists for ip route add .. for matching against ipsets.
https://lkml.org/lkml/2012/12/3/93
Regards
Quoted 9 lines · Dash Four
Has something like this been attempted before?
I am about to start some work towards integrating ipsets in iproute and I am wondering whether something like this has been attempted or even done before so that I don't reinvent the wheel again? Thanks a lot.
--
To unsubscribe from this list: send the line "unsubscribe lartc" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 7 lines · Remy Mudingay
Hi Dash,
This has already been integrated with iproute2. TC (traffic control) can now match IPsets through the ematch classifier.
There are a few examples around including documentation provided in the iproute2 source package.
TC support was added in Kernel versions 3.7.
I am aware of all that since I was involved in testing this feature before it became main stream. My question was about using ipsets in routing, not traffic shaping.
Quoted 5 lines · Remy Mudingay
Oops, ignore my previous email. It seems that a patch exists for ip route add .. for matching against ipsets.
That seems quite an old patch (kernel 2.6.27) and is based on ipset 4.5 which is archaic, but thanks for the link anyway.