From: "Juan Torres" Subject: RV: Problems loading a Patch-O-Matic match Date: Tue, 18 Mar 2003 11:37:40 +0100 Sender: netfilter-devel-admin@lists.netfilter.org Message-ID: <000101c2ed3a$67cf2530$0300000a@juan> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0002_01C2ED42.C9938D30" Return-path: To: "Netfilter-devel" Errors-To: netfilter-devel-admin@lists.netfilter.org List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: List-Id: netfilter-devel.vger.kernel.org This is a multi-part message in MIME format. ------=_NextPart_000_0002_01C2ED42.C9938D30 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi, I'm trying to load a new match which comes in the Patch-O-Matic package. I have run Patch-O-Matic and I have selected the match I'm interested in (mport), then I have compiled the new kernel selecting in the xconfig the new option. But after all of these steps I can't use the new match. I have seen in the documentation that I have to go to the userspace/ directory (I suppose that it is the "userspace" directory into the Patch-O-Matic package) and execute make all install, but, when I do that the response is the next: make: *** No rule to make target 'all'. Stop. If I try to use the new match (for example, if I write iptables -A INPUT -p tcp -m mport --ports 20:23,80 -j DROP) the answer that I receive is: iptables v1.2.5: Couldn't load match `mport':/usr/lib/iptables/libipt_mport.so: cannot open shared object file: No such file or directory There are two mport files that are created: /usr /src/linux-2.4.18.SuSE/include/config/ip/nf/match/mport/module.h and /lib/modules/2.4.18-64GB-SMP/kernel/net/ipv4/netfilter/ipt_mport.o but it doesn't exist the libipt_mport.so file. Can anybody tell me what it's my problem? Thank you very much. Juan. ------=_NextPart_000_0002_01C2ED42.C9938D30 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Problems loading a Patch-O-Matic match

 

Hi, I’m trying to load a new match which comes in the Patch-O-Matic package. I have run Patch-O-Matic and I have selected the = match I’m interested in (mport), then I have compiled the new kernel = selecting in the xconfig the new option. But after all of these steps I = can’t use the new match. I have seen in the documentation that I have to go to the userspace/ directory (I suppose that it is the “userspace” directory into the Patch-O-Matic package) and execute make all install, = but, when I do that the response is the next:

make: *** No rule to make target ‘all’. = Stop.

If I try to = use the new match (for example, if I write iptables -A INPUT -p tcp -m mport --ports = 20:23,80 –j DROP)

 

the answer = that I receive is: 

 

iptables = v1.2.5: Couldn't load match `mport':/usr/lib/iptables/libipt_mport.so: cannot open shared = object file: No such file or directory

 

There are two = mport files that are created:

 

   = /usr /src/linux-2.4.18.SuSE/include/config/ip/nf/match/mport/module.h =

and =

   /lib/modules/2.4.18-64GB-SMP/kernel/net/ipv4/netfilter/ipt_mport.o =

 

but it = doesn’t exist the libipt_mport.so file.

 

 

Can anybody tell me what it’s my problem?

Thank you very much.

        = Juan.

------=_NextPart_000_0002_01C2ED42.C9938D30--