arp support with 2.4 kernel patch and v2.0.4

Malcolm V <[email protected]>
Newsgroups gmane.linux.network.bridge.ebtables.devel
Message-ID <[email protected]>
The current patch (version 2.0.003) for the 2.4.20 kernel does not have 
the support for ARP MAC address matching which is in the latest 
userspace release (version 2.0.4).

This means trying to use any of the arp match extensions, eg 
--arp-ip-dst will return an error (from the function deliver_table in 
communication.c ) "The kernel doesn't support a certain ebtables 
       extension, consider recompiling your kernel or insmod the extension"

The reason is the change in the size of the struct ebt_arp_info in ebt_arp.h

2.0.4 has the new, larger struct whilst 2.0.003 has the old style, the 
check in the kernel errors because the data structs are different sizes.

I fixed it by downloading the new ebt_arp.h and ebt_arp.c for the kernel 
from the CVS repository. Now that it is working, it solves a network 
problem of mine very nicely.

Keep up the good work,
Malcolm V.




-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.