netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* driver ability to use iptables?
@ 2004-11-15 12:32 Hendrik Wiese
  2004-11-21 19:15 ` Harald Welte
  0 siblings, 1 reply; 2+ messages in thread
From: Hendrik Wiese @ 2004-11-15 12:32 UTC (permalink / raw)
  To: netdev

Hello there,

I hope I do right posting this here. So please don't be angry if I'm 
wrong. I'm kind of newbie.

We developed a driver which puts an IP-layer onto the VME-bus. So we are 
able to do normal
network traffic over the VME-bus, transfer files between active VME 
modules and so on. But
as soon as we want to use iptables to establish one of the modules as a 
router to the outer world
(tp network connected via front panel eth device) this doesn't work... 
everything is configured
correctly as it works for to eth devices. Is there any ability else a 
network device driver must
have to work with iptables?

Thanks in advance

kind regards
Hendrik (Germany)

PS: kernel is version 2.6.7, System is an LFS 5

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

* Re: driver ability to use iptables?
  2004-11-15 12:32 driver ability to use iptables? Hendrik Wiese
@ 2004-11-21 19:15 ` Harald Welte
  0 siblings, 0 replies; 2+ messages in thread
From: Harald Welte @ 2004-11-21 19:15 UTC (permalink / raw)
  To: Hendrik Wiese; +Cc: netdev

[-- Attachment #1: Type: text/plain, Size: 1412 bytes --]

On Mon, Nov 15, 2004 at 01:32:14PM +0100, Hendrik Wiese wrote:
> Hello there,
> 
> I hope I do right posting this here. So please don't be angry if I'm 
> wrong. I'm kind of newbie.

There is a netfilter-devel@lists.netfilter.org lists for
iptables/netfilter related questions.  But I think netdev is quite ok in
this case, since at this time it is unclear (and I think very unlikely)
to be a netfilter/iptables issue.

> as soon as we want to use iptables to establish one of the modules as a 
> router to the outer world (tp network connected via front panel eth
> device) this doesn't work... 

_please_ give us more detailed descriptions than "doesn't work".

> correctly as it works for to eth devices. Is there any ability else a
> network device driver must have to work with iptables?

no, as iptables is based on netfilter IPv4 hooks which are embedded into
the IPv4 stack.  Between your driver and iptables is the ipv4 stack and
the generic networking core.  There is no driver/iptables interface at
all.

-- 
- Harald Welte <laforge@netfilter.org>             http://www.netfilter.org/
============================================================================
  "Fragmentation is like classful addressing -- an interesting early
   architectural error that shows how much experimentation was going
   on while IP was being designed."                    -- Paul Vixie

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

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

end of thread, other threads:[~2004-11-21 19:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-15 12:32 driver ability to use iptables? Hendrik Wiese
2004-11-21 19:15 ` Harald Welte

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).