All of lore.kernel.org
 help / color / mirror / Atom feed
* arptables and the generic xtables issues
@ 2008-10-16  1:43 Pablo Neira Ayuso
  2008-10-16  2:00 ` Jan Engelhardt
  2008-10-16 11:55 ` Patrick McHardy
  0 siblings, 2 replies; 5+ messages in thread
From: Pablo Neira Ayuso @ 2008-10-16  1:43 UTC (permalink / raw)
  To: Netfilter Development Mailinglist; +Cc: Patrick McHardy

Hi,

Currently, we have tagged quite a lot of targets and matches with
AF_UNSPEC as they are generic for the netfilter supported protocols.
This is fine if we only think of ebtables, iptables and ip6tables but
not for arptables, I doubt that all those target and matches can work
with arptables - even if we still need the userspace support, of course.

I think that we should fix those, right?

-- 
"Los honestos son inadaptados sociales" -- Les Luthiers

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

* Re: arptables and the generic xtables issues
  2008-10-16  1:43 arptables and the generic xtables issues Pablo Neira Ayuso
@ 2008-10-16  2:00 ` Jan Engelhardt
  2008-10-16 13:23   ` Patrick McHardy
  2008-10-16 11:55 ` Patrick McHardy
  1 sibling, 1 reply; 5+ messages in thread
From: Jan Engelhardt @ 2008-10-16  2:00 UTC (permalink / raw)
  To: Pablo Neira Ayuso; +Cc: Netfilter Development Mailinglist, Patrick McHardy


On Wednesday 2008-10-15 21:43, Pablo Neira Ayuso wrote:
>
>Currently, we have tagged quite a lot of targets and matches with
>AF_UNSPEC as they are generic for the netfilter supported protocols.
>This is fine if we only think of ebtables, iptables and ip6tables but
>not for arptables, I doubt that all those target and matches can work
>with arptables - even if we still need the userspace support, of course.
>
>I think that we should fix those, right?

That would be a tremendous amount of work, given that arptables (and
ebtables too) is not quite the same codebase as iptables anymore.
Most of the iptables development just went by arp and ebtables due
to the nature of all these semiforks.

I think we should rather focus on a truly family-independent table
in the very near future. In fact I have ideas floating around that,
but am stuck with how I'd exactly funnel it into reviewable patch
chunks.

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

* Re: arptables and the generic xtables issues
  2008-10-16  1:43 arptables and the generic xtables issues Pablo Neira Ayuso
  2008-10-16  2:00 ` Jan Engelhardt
@ 2008-10-16 11:55 ` Patrick McHardy
  1 sibling, 0 replies; 5+ messages in thread
From: Patrick McHardy @ 2008-10-16 11:55 UTC (permalink / raw)
  To: Pablo Neira Ayuso; +Cc: Netfilter Development Mailinglist

Pablo Neira Ayuso wrote:
> Hi,
> 
> Currently, we have tagged quite a lot of targets and matches with
> AF_UNSPEC as they are generic for the netfilter supported protocols.
> This is fine if we only think of ebtables, iptables and ip6tables but
> not for arptables, I doubt that all those target and matches can work
> with arptables - even if we still need the userspace support, of course.
> 
> I think that we should fix those, right?

Looking through the list (targets only, arp_tables doesn't support
matches):

- CLASSIFY: OK
- comment: OK
- CONNMARK/CONNSECMARK: no effect
- MARK: OK
- NFLOG: OK
- NOTRACK: no effect
- RATEEST: should be OK
- SECMARK: OK
- TRACE: OK, but currently no effect

So I don't think there really is a problem.

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

* Re: arptables and the generic xtables issues
  2008-10-16  2:00 ` Jan Engelhardt
@ 2008-10-16 13:23   ` Patrick McHardy
  2008-10-16 17:19     ` Jan Engelhardt
  0 siblings, 1 reply; 5+ messages in thread
From: Patrick McHardy @ 2008-10-16 13:23 UTC (permalink / raw)
  To: Jan Engelhardt; +Cc: Pablo Neira Ayuso, Netfilter Development Mailinglist

Jan Engelhardt wrote:
> On Wednesday 2008-10-15 21:43, Pablo Neira Ayuso wrote:
>> Currently, we have tagged quite a lot of targets and matches with
>> AF_UNSPEC as they are generic for the netfilter supported protocols.
>> This is fine if we only think of ebtables, iptables and ip6tables but
>> not for arptables, I doubt that all those target and matches can work
>> with arptables - even if we still need the userspace support, of course.
>>
>> I think that we should fix those, right?
> 
> That would be a tremendous amount of work, given that arptables (and
> ebtables too) is not quite the same codebase as iptables anymore.
> Most of the iptables development just went by arp and ebtables due
> to the nature of all these semiforks.
> 
> I think we should rather focus on a truly family-independent table
> in the very near future. In fact I have ideas floating around that,
> but am stuck with how I'd exactly funnel it into reviewable patch
> chunks.

I think we should finish the unification/resyncing efforts before
adding new features in this area. There's still *a lot* of old
cruft that could probably be removed.

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

* Re: arptables and the generic xtables issues
  2008-10-16 13:23   ` Patrick McHardy
@ 2008-10-16 17:19     ` Jan Engelhardt
  0 siblings, 0 replies; 5+ messages in thread
From: Jan Engelhardt @ 2008-10-16 17:19 UTC (permalink / raw)
  To: Patrick McHardy; +Cc: Pablo Neira Ayuso, Netfilter Development Mailinglist


On Thursday 2008-10-16 09:23, Patrick McHardy wrote:
> Jan Engelhardt wrote:
>> On Wednesday 2008-10-15 21:43, Pablo Neira Ayuso wrote:
>> > Currently, we have tagged quite a lot of targets and matches with
>> > AF_UNSPEC as they are generic for the netfilter supported protocols.
>> > This is fine if we only think of ebtables, iptables and ip6tables but
>> > not for arptables, I doubt that all those target and matches can work
>> > with arptables - even if we still need the userspace support, of course.
>> >
>> > I think that we should fix those, right?
>> 
>> That would be a tremendous amount of work, given that arptables (and
>> ebtables too) is not quite the same codebase as iptables anymore.
>> Most of the iptables development just went by arp and ebtables due
>> to the nature of all these semiforks.
>> 
>> I think we should rather focus on a truly family-independent table
>> in the very near future. In fact I have ideas floating around that,
>> but am stuck with how I'd exactly funnel it into reviewable patch
>> chunks.
>
> I think we should finish the unification/resyncing efforts before

Yesyesyes, but I think we reached a point where the next step in
Improving It™ requires a big lockstep change with userspace OR
adding a new interface, just because of the "keeping compat" fun.

> adding new features in this area. There's still *a lot* of old
> cruft that could probably be removed.

Modules ripe for removal is just the smaller piece.
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

end of thread, other threads:[~2008-10-16 17:19 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-16  1:43 arptables and the generic xtables issues Pablo Neira Ayuso
2008-10-16  2:00 ` Jan Engelhardt
2008-10-16 13:23   ` Patrick McHardy
2008-10-16 17:19     ` Jan Engelhardt
2008-10-16 11:55 ` Patrick McHardy

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.