Error "/lib/iptables/libipt_statistic.so is missing from the iptables rpm " while adding rules. How to fix it?

Solution Verified - Updated -

Issue

While adding a rule containg statistic parameter the following error is logged due the statistics module for iptables cannot be found:

# /sbin/iptables -A INPUT -m statistic --mode random --prob=0.3 -j DROP  
    iptables v1.3.5: Couldn't load match `statistic':/lib64/iptables/libipt_statistic.so: cannot open shared object file: No such file or directory

Environment

  • Red Hat Enterprise Linux 5

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.