All of lore.kernel.org
 help / color / mirror / Atom feed
* RV: Problems installing Netfilter extensions
@ 2003-06-20  4:52 Juan Torres
  2003-06-20  9:36 ` [PATCH] " Filip Sneppe (Cronos)
  0 siblings, 1 reply; 5+ messages in thread
From: Juan Torres @ 2003-06-20  4:52 UTC (permalink / raw)
  To: Netfilter-devel

[-- Attachment #1: Type: text/plain, Size: 1103 bytes --]


	Hi!!

	I'm trying to install a Netfilter extension, mport, but it
doesn't work

	I make all the steps that comes on the Netfilter Extensions
HOWTO, but, when I try to use the new match, it appears an error saying
that it doesn't exists the libipt_mport.so file, I have observed that
there are the ipt_mport.c and ipt_mport.h files, but no this other file.

	I think that the problem is because I can't make the last step
explained in the documentation, where is written:

		Once your new kernel is installed, you can go ahead and
compile and install the "iptables" package, from the "userspace/"
directory as follows:
			# make all install

	This last step doesn't work!! When I execute this command in the
userspace/ subdirectory inside the patch-o-matic directory, It appears
an error saying that It can't find the "all" option (or something
similar), I have proved to do "make all" and "make install", but it
doesn't work anyway


	What I'm not doing properly??


Maybe this is not the best list to send this message, but in the
Netfilter-users list nobody could help me...


	Than you very much



[-- Attachment #2: Type: text/html, Size: 4554 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH] Re: RV: Problems installing Netfilter extensions
  2003-06-20  4:52 RV: Problems installing Netfilter extensions Juan Torres
@ 2003-06-20  9:36 ` Filip Sneppe (Cronos)
  2003-06-21 19:59   ` Fabrice MARIE
  0 siblings, 1 reply; 5+ messages in thread
From: Filip Sneppe (Cronos) @ 2003-06-20  9:36 UTC (permalink / raw)
  To: Juan Torres; +Cc: Netfilter-devel

[-- Attachment #1: Type: text/plain, Size: 733 bytes --]

On Fri, 2003-06-20 at 06:52, Juan Torres wrote:

> 			# make all install
> 
> 	This last step doesn't work!! When I execute this command in the
> userspace/ subdirectory inside the patch-o-matic directory, It appears
> an error saying that It can't find the "all" option (or something
> similar), I have proved to do "make all" and "make install", but it
> doesn't work anyway
> 
> 
> 	What I'm not doing properly??
> 
Hi Juan,

There appears to be an error in the Netfilter extensions HOWTO.
As you can see from the INSTALL file in the userspace directory,
there is no "make all", only a "make" to build the binaries.

I think the patch below updates the documentation to reflect
this. Thanks for pointing this out.

Regards,
Filip

[-- Attachment #2: docufix.diff --]
[-- Type: text/x-patch, Size: 1924 bytes --]

diff -urN netfilter/documentation/HOWTO/de/netfilter-extensions-HOWTO.sgml netfilter-docfix/documentation/HOWTO/de/netfilter-extensions-HOWTO.sgml
--- netfilter/documentation/HOWTO/de/netfilter-extensions-HOWTO.sgml	2002-10-22 12:15:19.000000000 +0200
+++ netfilter-docfix/documentation/HOWTO/de/netfilter-extensions-HOWTO.sgml	2003-06-20 11:28:41.000000000 +0200
@@ -181,7 +181,7 @@
 
 <tscreen>
 <verb>
-# make all install
+# make; make install
 </verb>
 </tscreen>
 
diff -urN netfilter/documentation/HOWTO/fr/netfilter-extensions-HOWTO.sgml netfilter-docfix/documentation/HOWTO/fr/netfilter-extensions-HOWTO.sgml
--- netfilter/documentation/HOWTO/fr/netfilter-extensions-HOWTO.sgml	2003-03-10 01:16:56.000000000 +0100
+++ netfilter-docfix/documentation/HOWTO/fr/netfilter-extensions-HOWTO.sgml	2003-06-20 11:29:25.000000000 +0200
@@ -242,7 +242,7 @@
 
 <tscreen>
 <verb>
-# make all install
+# make; make install
 </verb>
 </tscreen>
 
diff -urN netfilter/documentation/HOWTO/netfilter-extensions-HOWTO.sgml netfilter-docfix/documentation/HOWTO/netfilter-extensions-HOWTO.sgml
--- netfilter/documentation/HOWTO/netfilter-extensions-HOWTO.sgml	2003-06-01 12:01:32.000000000 +0200
+++ netfilter-docfix/documentation/HOWTO/netfilter-extensions-HOWTO.sgml	2003-06-20 11:27:35.000000000 +0200
@@ -235,7 +235,7 @@
 
 <tscreen>
 <verb>
-# make all install
+# make; make install
 </verb>
 </tscreen>
 
diff -urN netfilter/documentation/HOWTO/pl/netfilter-extensions-HOWTO.sgml netfilter-docfix/documentation/HOWTO/pl/netfilter-extensions-HOWTO.sgml
--- netfilter/documentation/HOWTO/pl/netfilter-extensions-HOWTO.sgml	2002-02-09 10:47:39.000000000 +0100
+++ netfilter-docfix/documentation/HOWTO/pl/netfilter-extensions-HOWTO.sgml	2003-06-20 11:30:21.000000000 +0200
@@ -178,7 +178,7 @@
 
 <tscreen>
 <verb>
-# make all install
+# make; make install
 </verb>
 </tscreen>
 

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] Re: RV: Problems installing Netfilter extensions
@ 2003-06-20 18:02 ISLERO77.CASA
  2003-06-23  9:14 ` Filip Sneppe
  0 siblings, 1 reply; 5+ messages in thread
From: ISLERO77.CASA @ 2003-06-20 18:02 UTC (permalink / raw)
  To: filip.sneppe; +Cc: netfilter-devel

Hi Filip,  
	First, thanks for your help 
 
	I don't know if I'm looking another directory, but in my directory 
/userspace inside the patch-o-matic packet (I'm using 
patch-o-matic-20030107) there is no any INSTALL file, so, when I use 
"make" to build the binaries, I receive the next error message: 
 
	make: *** No targets specified and no makefile found.  Stop. 
 
	Thank you very much 
 
		Juan 
 
>       >                       # make all install 
>       >  
>       >    This last step doesn't work!! When I execute this 
> command in the 
>       > userspace/ subdirectory inside the patch-o-matic  
> directory, It 
> appears 
>       > an error saying that It can't find the "all" option (or 
> something 
>       > similar), I have proved to do "make all" and "make install", 
> but it 
>       > doesn't work anyway 
>       >  
>       >  
>       >         What I'm not doing properly?? 
>       >  
>       Hi Juan, 
>        
>       There appears to be an error in the Netfilter extensions HOWTO. 
>       As you can see from the INSTALL file in the userspace  
> directory,       there is no "make all", only a "make" to build the  
> binaries.        
>       I think the patch below updates the documentation to reflect 
>       this. Thanks for pointing this out. 
>        
>       Regards, 
>       Filip 
>  

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] Re: RV: Problems installing Netfilter extensions
  2003-06-20  9:36 ` [PATCH] " Filip Sneppe (Cronos)
@ 2003-06-21 19:59   ` Fabrice MARIE
  0 siblings, 0 replies; 5+ messages in thread
From: Fabrice MARIE @ 2003-06-21 19:59 UTC (permalink / raw)
  To: Netfilter-devel


Hello,

On Friday 20 June 2003 17:36, Filip Sneppe (Cronos) wrote:
> On Fri, 2003-06-20 at 06:52, Juan Torres wrote:
> make all install
> > This last step doesn't work!! When I execute this command in the
> > userspace/ subdirectory inside the patch-o-matic directory, It appears
> > an error saying that It can't find the "all" option (or something
> > similar), I have proved to do "make all" and "make install", but it
> > doesn't work anyway
> > What I'm not doing properly??
> Hi Juan,
> There appears to be an error in the Netfilter extensions HOWTO.
> As you can see from the INSTALL file in the userspace directory,
> there is no "make all", only a "make" to build the binaries.
> I think the patch below updates the documentation to reflect
> this. Thanks for pointing this out.

Thanks for the patch. I just applied it.

Have a nice day,

Fabrice.
--
Fabrice MARIE

"Silly hacker, root is for administrators"
       -Unknown

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] Re: RV: Problems installing Netfilter extensions
  2003-06-20 18:02 ISLERO77.CASA
@ 2003-06-23  9:14 ` Filip Sneppe
  0 siblings, 0 replies; 5+ messages in thread
From: Filip Sneppe @ 2003-06-23  9:14 UTC (permalink / raw)
  To: ISLERO77.CASA@telefonica.net; +Cc: netfilter-devel

On Fri, 2003-06-20 at 20:02, ISLERO77.CASA@telefonica.net wrote: 
> Hi Filip,  
> 	First, thanks for your help 
>  
> 	I don't know if I'm looking another directory, but in my directory 
> /userspace inside the patch-o-matic packet (I'm using 
> patch-o-matic-20030107) there is no any INSTALL file, so, when I use 
> "make" to build the binaries, I receive the next error message: 
>  
> 	make: *** No targets specified and no makefile found.  Stop. 
>  
> 	Thank you very much 
>  
> 		Juan 
>  
Hi Juan, 

Ok, I've just downloaded this pom tarball myself. 
The thing is: if you want to extend the netfilter/iptables 
functionality with new matches and/or new targets, you 
need to patch and recompile both your kernel and 
iptables userspace application. 

AFAIK, the patch-o-matic tarbal you downloaded can only 
be used to patch the kernel, but not the iptables 
userspace application. 

The iptables userspace command is compiled with a simple 

make && make install 

when the KERNEL_DIR variable is set correctly, and the 
kernel is compiled and installed the standard way. 

So, when you want to compile a new iptables program, you 
will need to download the iptables tarball and go from 
there. 

While you're at it, please realize that the patch-o-matic 
tarball you refer to is quite old - if you are using 
a recent kernel (i.e. 2.4.20+), you'll probably be 
better off downloading everything from CVS. 

Regards, 
Filip

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2003-06-23  9:14 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-20  4:52 RV: Problems installing Netfilter extensions Juan Torres
2003-06-20  9:36 ` [PATCH] " Filip Sneppe (Cronos)
2003-06-21 19:59   ` Fabrice MARIE
  -- strict thread matches above, loose matches on Subject: below --
2003-06-20 18:02 ISLERO77.CASA
2003-06-23  9:14 ` Filip Sneppe

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.