Results 1 to 4 of 4

Thread: missing libipt_mark.so

  1. #1
    Join Date
    Jun 2004
    Location
    Delft, The Netherlands
    Posts
    62

    missing libipt_mark.so

    Hello,

    I want to use iptables MARK feature. In Oleg 1.7.5.9-5 firmware kernel config it is enabled. However, the library module is lacking in /usr/lib/iptables/. Copying it from the openwrt distribution failed because of incorrect versions

    Code:
    #iptables -t mangle -A PREROUTING -p tcp --dport 999 -j mark --set-class 22
    
    iptables: target `MARK' v1.2.9 (I'm v1.2.7a).
    Can anyone help me optainng this file? Officially the -j MARK is in capitals. Probably, the library name has capitials as well: libipt_MARK.so. What should I enable in the config to obtain it after compiling the firmware?

  2. #2
    Join Date
    Dec 2003
    Location
    Russian Federation
    Posts
    8,356
    Custom firmware does not recompiles iptables. You need to do this manually using GPL_1.7.5.6 sources.

  3. #3
    Join Date
    Jun 2004
    Location
    Delft, The Netherlands
    Posts
    62
    Thanks, I will recompile iptables and I will post the lib's on this site for other interested users.

  4. #4
    Join Date
    Jun 2004
    Location
    Delft, The Netherlands
    Posts
    62

    compiled iptable libipt do not work

    I compiled the iptables extension libraries (included in attached tar). Unfortunately, adding e.g. libipt_main.so and libipt_MAIN.so to the /usr/lib/iptables directory did not allow me to execute iptables -t mangle -j MARK --set-mark 11 or alike commands.

    Code:
    /usr/lib/iptables # iptables -A PREROUTING -t mangle -j MARK --set-mark 1
    results in
    Code:
    iptables v1.2.7a: Unknown arg `--set-mark'
    Try `iptables -h' or 'iptables --help' for more information.
    When entering
    Code:
    /usr/lib/iptables # iptables -A PREROUTING -t mangle -j MARK
    iptables v1.2.7a: Couldn't load target `MARK':/usr/lib/iptables/libipt_MARK.so: cannot open shared object file: No such file or directory
    
    Try `iptables -h' or 'iptables --help' for more information.
    Does anybody has a clue?
    Attached Files Attached Files

Similar Threads

  1. Unzip, unrar missing?
    By Reflex in forum WL-500g Q&A
    Replies: 1
    Last Post: 25-07-2005, 12:51
  2. Perl missing for gift installation
    By kdudl in forum WL-500g Q&A
    Replies: 11
    Last Post: 03-07-2005, 12:07
  3. Printer problem, Missing CD and Custom Firmware
    By CoolDude in forum WL-500g Q&A
    Replies: 0
    Last Post: 28-08-2004, 21:03

Posting Permissions

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