ipt_ACCOUNT Archives

Subject: Re: ipt_ACCOUNT on linux kernel 2.6.35 doesn't build

From: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
To: ipt_ACCOUNT@xxxxxxxxxxxxxxxxxxxxxxx
Date: Thu, 30 Sep 2010 15:39:55 +0200
Hello Dmitry,

On Wednesday, 29. September 2010 14:30:29 Dmitry Novikov wrote:
> Looks like ipt_ACCOUNT doesn't work with 2.6.35 kernel after netfilter
> cleanup in xt_match_param and xt_target_param (see commit
> http://marc.info/?l=linux-netdev&m=127376740020294&w=3).
> 
> Symptom:
> net/ipv4/netfilter/ipt_ACCOUNT.c:487: warning: ‘struct
> xt_target_param’ declared inside parameter list
> net/ipv4/netfilter/ipt_ACCOUNT.c:487: warning: its scope is only this
> definition or declaration, which is probably not what you want
> net/ipv4/netfilter/ipt_ACCOUNT.c: In function ‘ipt_acc_target’:
> net/ipv4/netfilter/ipt_ACCOUNT.c:510: error: dereferencing pointer to
> incomplete type net/ipv4/netfilter/ipt_ACCOUNT.c: At top level:
> net/ipv4/netfilter/ipt_ACCOUNT.c:1134: warning: initialization from
> incompatible pointer type
> net/ipv4/netfilter/ipt_ACCOUNT.c:1138: warning: initialization from
> incompatible pointer type

Thanks for the report. We are still running 2.6.34 on our systems
and haven't tried 2.6.35 yet. Right now you have three possibilities:

a) Do it yourself (and send a patch :))
b) Wait for us to fix it the next weeks
c) Use Xtables-Addons which should provide a working version

I guess you should be able to do a) without much hassle.

Cheers,
Thomas

--
ipt_ACCOUNT - see http://www.intra2net.com/en/developer/ipt_ACCOUNT for details.
To unsubscribe send a mail to ipt_ACCOUNT+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx

Current Thread