Re: [BUG] ebt_accept is not 64-bit clean
Bart De Schuymer <[email protected]>
| Newsgroups | gmane.linux.network.bridge.ebtables.devel |
|---|---|
| Message-ID | <[email protected]> |
On Saturday 20 November 2004 01:15, Peter Nelson wrote: > I was testing ebtables on my AMD64 and the among extension refused to > work stating: > > $ ebtables -A FORWARD --among-src 00:11:22:33:44:55 -j DROP > The kernel doesn't support a certain ebtables extension, consider > recompiling your kernel or insmod the extension. > > Even though I had ebt_among probed. Looking at dmesg I get this: > > Ebtables v2.0 registered > ebtables: among: wrong size: 1060against expected 1056, rounded to 1056 > kernel msg: ebtables bug: please report to author: match->check failed > > It seems likely there is a pointer in there that is assumed to be 4 > bytes instead of 8 bytes, but I don't see anything obvious from the > source. I'm using Debian 2.6.8-9-amd64-k8 Please apply the attached patch to the ebtables userspace tool and send back the output of the same ebtables rule. Apply the patch by # cd ebtables_src_dir # patch <patch_file # make # ./ebtables -A FORWARD --among-src 00:11:22:33:44:55 -j DROP cheers, Bart ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8