Incorrect usage or bug in ebtables ?

Francois-Xavier Le Bail <[email protected]> Thu, 26 Oct 2006 15:01:10 +0200
Newsgroups gmane.linux.network.bridge.ebtables.user
Message-ID <[email protected]>
Hello,

Here is my setup :
- Last ebtables userspace from CVS (at 20061026 date) - v2.0.8-rc2-CVS (March
2006)
- Linux kernel 2.6.17

I use ebtables :
- with --ulog to catch, with a daemeon, some frames in filter table, on INPUT
and OUTPUT chains.
- then the daemon create, based on analysis of the cached frames, rules like :
  - ebtables -t filter -I OUTPUT 2 -d 1:2:3:4:5:6 --out-if eth0 -j ACCEPT
  - ebtables -t filter -D OUTPUT -d 1:2:3:4:5:6 --out-if eth0 -j ACCEPT
  - ebtables -t filter -I OUTPUT 2 -d 1:2:3:4:5:7 --out-if eth1 -j ACCEPT
  - ebtables -t filter -D OUTPUT -d 1:2:3:4:5:7 --out-if eth1 -j ACCEPT

Sometimes the kernel print :
kernel msg: ebtables bug: please report to author: Wrong nr. of counters
requested
kernel msg: ebtables bug: please report to author: Wrong nr of counters

Sometimes the rule is not inserted, sometimes the rule is not deleted, and then
the automatic process fail.

Do I use ebtables incorrectly ? Is this a bug ?

Cheers,
Francois -Xavier

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642