Networking Forums

Networking Forums > Computer Networking > Linux Networking > netfilter string match

Reply
Thread Tools Display Modes

netfilter string match

 
 
Eric
Guest
Posts: n/a

 
      11-06-2005, 09:49 PM
Does anyone know how to get the string match going?
I downloaded netfilter 1.3.4 and compiled it but it ignores the
libipt_string module and doesnt compile it (I'm customizing a 2.6.13
kernel), libipt_string.c is there in the extensions directory.
I hunted through the stuff there and i cant see how to enable it. also,
scanning&reading for an hour at netfilter.org was fruitless. Therte must be
some file somewhere in the package that says essentially
"compile these extensions : x,y,z etc" but I cant find it
Anyone have experience with this?
Thanks
Eric
 
Reply With Quote
 
 
 
 
buck
Guest
Posts: n/a

 
      11-07-2005, 06:39 PM
On Sun, 06 Nov 2005 14:49:29 -0800, Eric <(E-Mail Removed)> wrote:

>Does anyone know how to get the string match going?
>I downloaded netfilter 1.3.4 and compiled it but it ignores the
>libipt_string module and doesnt compile it (I'm customizing a 2.6.13
>kernel), libipt_string.c is there in the extensions directory.
>I hunted through the stuff there and i cant see how to enable it. also,
>scanning&reading for an hour at netfilter.org was fruitless. Therte must be
>some file somewhere in the package that says essentially
>"compile these extensions : x,y,z etc" but I cant find it
>Anyone have experience with this?
>Thanks
>Eric


You need to add the patch-o-matic NG stuff and then build iptables
yourself. Alternatively, there may be a binary for your distribution.
I found string match in the POM of 20040621 in the string
subdirectory.

CAVEAT: When you configure, all the examples use apostrophes or
quotes. Do not include them or your string match will fail.

CAVEAT: Construct the string match very carefully or you will affect
something unintended.
--
buck

 
Reply With Quote
 
Eric
Guest
Posts: n/a

 
      11-09-2005, 03:08 PM
buck wrote:

> On Sun, 06 Nov 2005 14:49:29 -0800, Eric <(E-Mail Removed)> wrote:
>
>>Does anyone know how to get the string match going?
>>I downloaded netfilter 1.3.4 and compiled it but it ignores the
>>libipt_string module and doesnt compile it (I'm customizing a 2.6.13
>>kernel), libipt_string.c is there in the extensions directory.
>>I hunted through the stuff there and i cant see how to enable it. also,
>>scanning&reading for an hour at netfilter.org was fruitless. Therte must
>>be some file somewhere in the package that says essentially
>>"compile these extensions : x,y,z etc" but I cant find it
>>Anyone have experience with this?
>>Thanks
>>Eric

>
> You need to add the patch-o-matic NG stuff and then build iptables
> yourself. Alternatively, there may be a binary for your distribution.
> I found string match in the POM of 20040621 in the string
> subdirectory.
>
> CAVEAT: When you configure, all the examples use apostrophes or
> quotes. Do not include them or your string match will fail.
>
> CAVEAT: Construct the string match very carefully or you will affect
> something unintended.
> --
> buck


what do you mean patch? the latest download wouldnt be patched its the
latest. I'm not upgrading my present install, that was uninstalled and i'm
building from scratch. I downloaded iptables-1.3.4.tar.bz2 I dont see what
you would patch that with, there is nothing newer.
Eric

 
Reply With Quote
 
buck
Guest
Posts: n/a

 
      11-10-2005, 12:41 AM
On Wed, 09 Nov 2005 08:08:29 -0800, Eric <(E-Mail Removed)> wrote:

>buck wrote:
>
>> On Sun, 06 Nov 2005 14:49:29 -0800, Eric <(E-Mail Removed)> wrote:
>>
>>>Does anyone know how to get the string match going?
>>>I downloaded netfilter 1.3.4 and compiled it but it ignores the
>>>libipt_string module and doesnt compile it (I'm customizing a 2.6.13
>>>kernel), libipt_string.c is there in the extensions directory.
>>>I hunted through the stuff there and i cant see how to enable it. also,
>>>scanning&reading for an hour at netfilter.org was fruitless. Therte must
>>>be some file somewhere in the package that says essentially
>>>"compile these extensions : x,y,z etc" but I cant find it
>>>Anyone have experience with this?
>>>Thanks
>>>Eric

>>
>> You need to add the patch-o-matic NG stuff and then build iptables
>> yourself. Alternatively, there may be a binary for your distribution.
>> I found string match in the POM of 20040621 in the string
>> subdirectory.
>>
>> CAVEAT: When you configure, all the examples use apostrophes or
>> quotes. Do not include them or your string match will fail.
>>
>> CAVEAT: Construct the string match very carefully or you will affect
>> something unintended.
>> --
>> buck

>
>what do you mean patch? the latest download wouldnt be patched its the
>latest. I'm not upgrading my present install, that was uninstalled and i'm
>building from scratch. I downloaded iptables-1.3.4.tar.bz2 I dont see what
>you would patch that with, there is nothing newer.
>Eric


I mean just what I said. The string match is not in the standard
iptables. If you want it, you must add it using POM or obtain a
binary for your distro that includes it. Stop screaming and read the
netfilter web site.
--
buck

 
Reply With Quote
 
Eric
Guest
Posts: n/a

 
      11-10-2005, 05:43 PM
buck wrote:

> On Wed, 09 Nov 2005 08:08:29 -0800, Eric <(E-Mail Removed)> wrote:
>
>>buck wrote:
>>
>>> On Sun, 06 Nov 2005 14:49:29 -0800, Eric <(E-Mail Removed)> wrote:
>>>
>>>>Does anyone know how to get the string match going?
>>>>I downloaded netfilter 1.3.4 and compiled it but it ignores the
>>>>libipt_string module and doesnt compile it (I'm customizing a 2.6.13
>>>>kernel), libipt_string.c is there in the extensions directory.
>>>>I hunted through the stuff there and i cant see how to enable it. also,
>>>>scanning&reading for an hour at netfilter.org was fruitless. Therte must
>>>>be some file somewhere in the package that says essentially
>>>>"compile these extensions : x,y,z etc" but I cant find it
>>>>Anyone have experience with this?
>>>>Thanks
>>>>Eric
>>>
>>> You need to add the patch-o-matic NG stuff and then build iptables
>>> yourself. Alternatively, there may be a binary for your distribution.
>>> I found string match in the POM of 20040621 in the string
>>> subdirectory.
>>>
>>> CAVEAT: When you configure, all the examples use apostrophes or
>>> quotes. Do not include them or your string match will fail.
>>>
>>> CAVEAT: Construct the string match very carefully or you will affect
>>> something unintended.
>>> --
>>> buck

>>
>>what do you mean patch? the latest download wouldnt be patched its the
>>latest. I'm not upgrading my present install, that was uninstalled and i'm
>>building from scratch. I downloaded iptables-1.3.4.tar.bz2 I dont see what
>>you would patch that with, there is nothing newer.
>>Eric

>
> I mean just what I said. The string match is not in the standard
> iptables. If you want it, you must add it using POM or obtain a
> binary for your distro that includes it. Stop screaming and read the
> netfilter web site.
> --
> buck


Well, there's patches there, but its a "patch against 1.3.3"
at this address:
http://www.netfilter.org/projects/ip...downloads.html

Where are the patches you mentioned? i just cant find them out there.
I found a reference to them but no way to get them.
ie: http://www.netfilter.org/projects/pa...pom-extra.html
Eric


 
Reply With Quote
 
Eric
Guest
Posts: n/a

 
      11-10-2005, 07:47 PM
Eric wrote:
> Where are the patches you mentioned? i just cant find them out there.
> I found a reference to them but no way to get them.
> ie: http://www.netfilter.org/projects/pa...pom-extra.html
> Eric
>


maybe searching for download at the site (left frame) will help.
And have a closer look at the documentation!

cheers,
another Eric
 
Reply With Quote
 
Eric
Guest
Posts: n/a

 
      11-11-2005, 07:02 AM
Eric wrote:

> Eric wrote:
>> Where are the patches you mentioned? i just cant find them out there.
>> I found a reference to them but no way to get them.
>> ie: http://www.netfilter.org/projects/pa...pom-extra.html
>> Eric
>>

>
> maybe searching for download at the site (left frame) will help.
> And have a closer look at the documentation!
>
> cheers,
> another Eric

I assumed (wrongly i guess) that the 3 repositories (SVN Repository,
ftp Server & rsync Server) were the same but just different ways of getting
the files. I only looked in the SVN link and then went to browse CVS link
and the patches aren't there, but there are some in the ftp repository (I
hope its the right stuff patch-o-matic-20031219.tar.bz2 seems to be the
latest
Anyway, thanks
Eric

 
Reply With Quote
 
buck
Guest
Posts: n/a

 
      11-11-2005, 04:54 PM
On Fri, 11 Nov 2005 00:02:16 -0800, Eric <(E-Mail Removed)> wrote:

>Eric wrote:
>
>> Eric wrote:
>>> Where are the patches you mentioned? i just cant find them out there.
>>> I found a reference to them but no way to get them.
>>> ie: http://www.netfilter.org/projects/pa...pom-extra.html
>>> Eric
>>>

>>
>> maybe searching for download at the site (left frame) will help.
>> And have a closer look at the documentation!
>>
>> cheers,
>> another Eric

>I assumed (wrongly i guess) that the 3 repositories (SVN Repository,
>ftp Server & rsync Server) were the same but just different ways of getting
>the files. I only looked in the SVN link and then went to browse CVS link
>and the patches aren't there, but there are some in the ftp repository (I
>hope its the right stuff patch-o-matic-20031219.tar.bz2 seems to be the
>latest
>Anyway, thanks
>Eric


This is what you're looking for:

http://netfilter.org/projects/patch-o-matic/index.html

--
buck

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
recv() till particular string Harry Linux Networking 2 06-22-2007 04:19 PM
How to encode utf-8 string in Quoted Printable? rex Linux Networking 1 11-12-2006 07:26 AM
connect string Arruba Wireless Networks 4 09-10-2004 02:57 PM
Two PCs, one piece of wet string nic Home Networking 15 05-23-2004 01:14 PM
-m --string with 3 different strings Marcel Linux Networking 0 06-25-2003 10:25 AM



1 2 3 4 5 6 7 8 9 10 11