Re: ipset support in tc

Linux Advanced Routing and Traffic Control

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

 



Mr Dash Four <mr.dash.four@xxxxxxxxxxxxxx> wrote:
> > If it doesn't build on 3.3 let me know and I'll give it a shot myself.
> OK, I compiled it all and (very) briefly tested it (a simple subnet test applied on src). In short - it works! 
> 
> I had to make a few adjustments though - the kernel part compiled without any problems (there were a few offsets when applying the kernel patch, but that was to be expected), but I've got the following errors during compilation of iproute2 (I used version 3.3):
> 
> em_ipset.c:34: error: nested redefinition of 'enum ip_set_dim'
> em_ipset.c:34: error: redeclaration of 'enum ip_set_dim'

[..]

> I've amended your 2 patches and I am attaching a revised version,

thanks, much appreciated.

>  Sent *57592449* bytes *40757* pkt (dropped 0, overlimits 0 requeues 0) 
>  backlog 0b 0p requeues 0 
>  period 40474 work 57592449 bytes rtwork 41419592 bytes level 0 
> 
> 
> So, clearly there is a match and it seems to work as far as I can see. In the coming days I will test it with more complex sets, as well as applying multiple set statements (using 'and' and 'or'). If that works, I'll check the performance to see how it fares compared to the "standard" tc with hard-coded values.

Nice, thanks for testing this!
--
To unsubscribe from this list: send the line "unsubscribe lartc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


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