Find the answer to your Linux question:
Results 1 to 5 of 5
Hi All, i am using a kernel of version 2.6.32 . I installed iptables of version 1.4.2 and it got installed successfully. but while adding some rule to the iptable ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Dec 2010
    Posts
    2

    Error while adding rules to the iptables


    Hi All,
    i am using a kernel of version 2.6.32 . I installed iptables of version 1.4.2 and it got installed successfully.
    but while adding some rule to the iptable i faced an error like the following

    iptables v1.4.2: Couldn't load target `standard':/usr/local//libexec/xtables/libipt_standard.so: cannot open shared object file: No such file or directory


    i basically want to add a rule like the following
    iptables -A INPUT -p icmp -j QUEUE


    one more thing i would like to add post is tat
    i did not find a library called libipt_standard.so in iptables folder(/usr/local/libexec/xtables)
    instead i found a library libxt_standard.so

    i tried renaming libxt_standard.so to libipt_standard.so
    but even then i found the same error.

    kindly help me in resolving this issue.
    Last edited by iptables; 12-22-2010 at 02:27 PM.

  2. #2
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    Location
    The Keystone State
    Posts
    2,677
    May I ask why you are using this version instead of the version that ships with RH/Fedora/CentOS?

    Regards
    Robert

    Linux
    The adventure of a life time.

    Linux User #296285
    Get Counted

  3. #3
    Just Joined!
    Join Date
    Dec 2010
    Posts
    2
    The current sys had a lower version and according to my requirement i need 1.4.2 version iptable

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    Location
    The Keystone State
    Posts
    2,677
    So how did you install this version? Yum or by some other means? RH normally keeps there versions patched well even though they don't increase the version number to the latest. This is one reason not to install system software that is not provided by the provider as you may not have everything you need.

    please provide output from cat /etc/redhat-release

    Regards
    Robert

    Linux
    The adventure of a life time.

    Linux User #296285
    Get Counted

  6. #5
    Just Joined!
    Join Date
    Feb 2008
    Location
    Mauritius
    Posts
    8
    try to reinstall it by yum and try again or same edit the file
    /etc/sysconfig /iptables iptables must be running to see this file then add whatever rules you need (enjoy)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •