All of lore.kernel.org
 help / color / mirror / Atom feed
* iptables 1.3.4 kernel 2.4.31 string match
@ 2006-01-03 13:13 Gilles Espinasse
  2006-01-04 16:46 ` Pablo Neira Ayuso
  0 siblings, 1 reply; 6+ messages in thread
From: Gilles Espinasse @ 2006-01-03 13:13 UTC (permalink / raw)
  To: netfilter-devel

[snip]
>> As I understand, iptables 1.3.4 *can* use the kernel string matching
>> available starting in kernel 2.6.14.
>>
>> However, we are using kernel 2.4.31 (which iptables 1.3.4 doc says is OK).
>
>So, I updated the manpage. Attached a patch that applies to netfilter SVN.
>
>> However, according to our "compile guy" (Thomas):
>>
>> "iptables 1.3.4 does not compile when I have strings matching.  That is, the
>> string match patch does something that makes iptables 1.3.4 not compile."
>
>iptables doesn't compile the string match if it's not present in the
>current kernel, eg. if you compile iptables against a linux kernel <=
>2.6.14, the string match won't be compiled.
>
>> So, given that we continue to use kernel 2.4.31, is their any applicable
>> patch or approach;  We would like to use our kernel (2.4.31) with iptables
>> 1.3.4 and still have string matching.
>
>There's no backport available. The only existing way to add support for
>string matching is upgrading your kernel at the moment.
>

Having done a diff iptables-1.3.3 iptables-1.3.4, I extract the changes related
to string and reverse the patch against iptables-1.3.4.

It does compile and I am starting to test this solution with kernel-2.4.31 and
2.4.32.
Could something prevent this solution to work?



Gilles

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

end of thread, other threads:[~2006-01-12 11:29 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <007a01c60f31$8f1eeaa0$102a2a0a@rjk>
2006-01-02 14:12 ` iptables 1.3.4 kernel 2.4.31 string match Pablo Neira Ayuso
2006-01-03 11:40   ` Patrick McHardy
2006-01-03 13:13 Gilles Espinasse
2006-01-04 16:46 ` Pablo Neira Ayuso
2006-01-10 20:02   ` Gilles Espinasse
2006-01-12 11:29     ` Pablo Neira Ayuso

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.