netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* XT_CONTINUE/EBT_CONTINUE for universal modules
@ 2011-03-08 12:08 Thomas Graf
  2011-03-08 13:53 ` Jan Engelhardt
  0 siblings, 1 reply; 3+ messages in thread
From: Thomas Graf @ 2011-03-08 12:08 UTC (permalink / raw)
  To: netfilter-devel

Hi

xt_AUDIT.c currently returns XT_CONTINUE. The module is universal and would
be useable from ebtables if it wasn't for ebtables to expect EBT_CONTINUE.

Is the only way around this cloning xt_AUDIT.c to ebt_audit.c? I've seen
some patches from Jan converting ebtables to use xtables infrastucture
but they haven't been merged.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: XT_CONTINUE/EBT_CONTINUE for universal modules
  2011-03-08 12:08 XT_CONTINUE/EBT_CONTINUE for universal modules Thomas Graf
@ 2011-03-08 13:53 ` Jan Engelhardt
  2011-03-09 11:07   ` Thomas Graf
  0 siblings, 1 reply; 3+ messages in thread
From: Jan Engelhardt @ 2011-03-08 13:53 UTC (permalink / raw)
  To: Thomas Graf; +Cc: netfilter-devel

On Tuesday 2011-03-08 13:08, Thomas Graf wrote:
>
>xt_AUDIT.c currently returns XT_CONTINUE. The module is universal and would
>be useable from ebtables if it wasn't for ebtables to expect EBT_CONTINUE.
>
>Is the only way around this cloning xt_AUDIT.c to ebt_audit.c?

You could make all ebt targets ust XT_* values, provided that they are 
translated from/to EBT_* when reading/writing the table from/to 
userspace.

>I've seen some patches from Jan converting ebtables to use xtables 
>infrastucture but they haven't been merged.

>From what I remember, they have become
v2.6.28-rc1~717^2~109^2~29..v2.6.28-rc1~717^2~109^2~18 .
If not, which patches would you be referring to?

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: XT_CONTINUE/EBT_CONTINUE for universal modules
  2011-03-08 13:53 ` Jan Engelhardt
@ 2011-03-09 11:07   ` Thomas Graf
  0 siblings, 0 replies; 3+ messages in thread
From: Thomas Graf @ 2011-03-09 11:07 UTC (permalink / raw)
  To: Jan Engelhardt; +Cc: netfilter-devel

On Tue, Mar 08, 2011 at 02:53:14PM +0100, Jan Engelhardt wrote:
> On Tuesday 2011-03-08 13:08, Thomas Graf wrote:
> >
> >xt_AUDIT.c currently returns XT_CONTINUE. The module is universal and would
> >be useable from ebtables if it wasn't for ebtables to expect EBT_CONTINUE.
> >
> >Is the only way around this cloning xt_AUDIT.c to ebt_audit.c?
> 
> You could make all ebt targets ust XT_* values, provided that they are 
> translated from/to EBT_* when reading/writing the table from/to 
> userspace.

I guess it's not worth it considering that Xtables2 is around the corner.

I'll just clone xt_AUDIT.

> >I've seen some patches from Jan converting ebtables to use xtables 
> >infrastucture but they haven't been merged.
> 
> >From what I remember, they have become
> v2.6.28-rc1~717^2~109^2~29..v2.6.28-rc1~717^2~109^2~18 .
> If not, which patches would you be referring to?

I was referring to:

11/13 [NETFILTER]: Make Ebtables use Xtables infrastructure

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-03-09 11:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-08 12:08 XT_CONTINUE/EBT_CONTINUE for universal modules Thomas Graf
2011-03-08 13:53 ` Jan Engelhardt
2011-03-09 11:07   ` Thomas Graf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).