driver ability to use iptables?
Subsystems (2)
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
Quoted 4 lines · Hendrik Wiese
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 [email protected] 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.
Quoted 3 lines
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".
Quoted 2 lines
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.
Signature · 5 lines
- Harald Welte <[email protected]> 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