"ebtables --limit" fails to load ebt_limit.ko when xt_limit.ko is loaded.

Solution Unverified - Updated -

Issue

  • "ebtables --limit" fails to load ebt_limit.ko when xt_limit.ko is loaded.

Steps to Reproduce:

# modprobe xt_limit
# ebtables -I INPUT --limit 1/s -j ACCEPT
Unable to update the kernel. Two possible causes:
1. Multiple ebtables programs were executing simultaneously. The ebtables
   userspace tool doesn't by default support multiple ebtables programs running
   concurrently. The ebtables option --concurrent or a tool like flock can be
   used to support concurrent scripts that update the ebtables kernel tables.
2. The kernel doesn't support a certain ebtables extension, consider
   recompiling your kernel or insmod the extension.
.
# dmesg | tail -1
[14392.227465] x_tables: eb_tables: limit.0 match: invalid size 40 (kernel) != (user) 32

Environment

  • Red Hat Enterprise Linux 7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content