Please, do an ebuild for version 2.5. Attention, with the version 2.5 the protocol definitions come at version: 2006-09-10
i need it too, i'll try doing it myself tomorrow... but, i've never done an ebuild :S ..
with this ebuild typically all you need to do is change the conditions of the which_patch function at the top to include the versions that apply to the new patch.
New ebuild is required for kernel 2.6.18. l7-filter version 2.3 does not compile with kernel 2.6.18: make && make modules_install CHK include/linux/version.h CHK include/linux/utsrelease.h CHK include/linux/compile.h CC net/ipv4/netfilter/ipt_layer7.o net/ipv4/netfilter/ipt_layer7.c: In function
New ebuild is required for kernel 2.6.18. l7-filter version 2.3 does not compile with kernel 2.6.18: make && make modules_install CHK include/linux/version.h CHK include/linux/utsrelease.h CHK include/linux/compile.h CC net/ipv4/netfilter/ipt_layer7.o net/ipv4/netfilter/ipt_layer7.c: In function match: net/ipv4/netfilter/ipt_layer7.c:373: error: too many arguments to function skb_linearize net/ipv4/netfilter/ipt_layer7.c: At top level: net/ipv4/netfilter/ipt_layer7.c:465: warning: initialization from incompatible pointer type make[3]: *** [net/ipv4/netfilter/ipt_layer7.o] Error 1 make[2]: *** [net/ipv4/netfilter] Error 2 make[1]: *** [net/ipv4] Error 2 make: *** [net] Error 2
Created attachment 97809 [details] l7-filter-2.5 ebuild against kernel 2.6.17 it works for me... i'm using hardened-sources-2.6.17-r1 i'm trying it tomorow...
dunno if it's really necesary... but (this's the diry way...you should really consider doing this inside an portage_overlay) modify /usr/portage/net-firewall/iptables/iptables-1.3.5-r4.ebuild L7_PV="2.3" to L7_PV="2.5" and... ebuild /usr/portage/net-firewall/iptables/iptables-1.3.5-r4.ebuild digest
*** Bug 149123 has been marked as a duplicate of this bug. ***
Version 2.6 is out for kernel 2.6.18. Dont forget to include the matching protocols, they have changed, too.
I compiled kernel 2.6.18 with l7-filters 2.6 successfully. l7-filters works like a charm and everything is working niceley. Please, do an ebuild for l7-filters with l7-filter 2.6 l7-protocols 2006-09-10
Created attachment 98217 [details] l7-protocols-2006.09.10.ebuild l7-protocols-2006.09.10.ebuild
Created attachment 98218 [details] l7-filter-2.6.ebuild against kernel 2.6.18 can't test it... i'm using 2.6.17 but it should work... post your results here.
thanks cilly and k0001 - version added. let me know if there are any problems.
Daniel Black, thx, works here. Tested with 2.6.17.13 and 2.6.18 both vanilla sources. no problems Ready to put it into portage.
I tested l7-filter with l7-protocols-2006.09.10 ebuilds from portage on vanilla kernels 2.6.17.13 and 2.6.18. Works fine. No problems. Ready to mark stable.
Reopening as l7-filter in stable tree doesn't compile against 2.6.17
(In reply to comment #14) > Reopening as l7-filter in stable tree doesn't compile against 2.6.17 version 2.3 of l7-filter does compile against kernel 2.6.17, at least for me.
Typo, I meant 2.6.18. Am I right in saying that v2.3 it doesn't compile there?
2.3 is not suposed to compile against 2.6.18. you should use 2.6 against that kernel.
Finally closing this bug, since it is solved with version 2.6 of l7-filter.