ipt_connlimit, ipt_geoip, esfq patches won't compile with 2.6.23 kernel
Hello
ipt_connlimit, ipt_geoip, esfq won't compile with 2.6.23 kernel And seems that ipt_time give some error too !
I've download the iptables 1.3.8 source and the latest PatchOmaticNG snapshot.
net/ipv4/netfilter/ipt_time.c:155: aviso: inicialización desde un tipo de puntero incompatiblenet/ipv4/netfilter/ipt_time.c:159: aviso: inicialización desde un tipo de puntero incompatible
CC [M] net/ipv4/netfilter/ipt_connlimit.onet/ipv4/netfilter/ipt_connlimit.c: En la función ‘count_them’:net/ipv4/netfilter/ipt_connlimit.c:98: error: demasiados argumentos para la función ‘nf_conntrack_find_get’ net/ipv4/netfilter/ipt_connlimit.c: En el nivel principal:net/ipv4/netfilter/ipt_connlimit.c:312: aviso: inicialización desde un tipo de puntero incompatible net/ipv4/netfilter/ipt_connlimit.c:316: aviso: inicialización desde un tipo de puntero incompatible
make[4]: *** [net/ipv4/netfilter/ipt_connlimit.o] Error 1 make[3]: *** [net/ipv4/netfilter] Error 2
make[2]: *** [net/ipv4] Error 2
make[1]: *** [net] Error 2
net/ipv4/netfilter/ipt_geoip.c: En la función ‘match’:net/ipv4/netfilter/ipt_geoip.c:113: error: ‘const struct sk_buff’ no tiene un miembro llamado ‘nh’ net/ipv4/netfilter/ipt_geoip.c: En el nivel principal:net/ipv4/netfilter/ipt_geoip.c:280: aviso: inicialización desde un tipo de puntero incompatiblenet/ipv4/netfilter/ipt_geoip.c:284: aviso: inicialización desde un tipo de puntero incompatiblenet/ipv4/netfilter/ipt_geoip.c: En la función ‘init’:net/ipv4/netfilter/ipt_geoip.c:291: error: declaración implícita de la función ‘ipt_register_match’net/ipv4/netfilter/ipt_geoip.c: En la función ‘fini’:net/ipv4/netfilter/ipt_geoip.c:296: error: declaración implícita de la función ‘ipt_unregister_match’
make[4]: *** [net/ipv4/netfilter/ipt_geoip.o] Error 1 make[3]: *** [net/ipv4/netfilter] Error 2
make[2]: *** [net/ipv4] Error 2
make[1]: *** [net] Error 2
make[1]: se sale del directorio `/usr/src/etch-router-0.5.1/linux/linux-2.6.23.9'
net/sched/sch_esfq.c: En la función ‘esfq_hash’:net/sched/sch_esfq.c:145: error: ‘struct sk_buff’ no tiene un miembro llamado ‘nh’net/sched/sch_esfq.c:161: error: ‘struct sk_buff’ no tiene un miembro llamado ‘nh’net/sched/sch_esfq.c: En la función ‘esfq_dump’:net/sched/sch_esfq.c:654: aviso: la inicialización crea un puntero desde un entero sin una conversión
make[3]: *** [net/sched/sch_esfq.o] Error 1
make[2]: *** [net/sched] Error 2
make[1]: *** [net] Error 2
Does anyone has got patch for 2.6.23 ?
Regards