Re: iptables anti-nimda anyone?
From: José Luis Domingo López (jdomingo@internautas.org)Date: 09/23/01
- Previous message: Manuel Guesdon: "Re: iptables anti-nimda anyone?"
- In reply to: R Dicaire: "Re: iptables anti-nimda anyone?"
- Next in thread: Eric Landuyt: "Re[2]: iptables anti-nimda anyone?"
- Next in thread: Manuel Guesdon: "Re: iptables anti-nimda anyone?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Sun, 23 Sep 2001 11:46:16 +0000 From: José Luis Domingo López <jdomingo@internautas.org> To: focus-linux@securityfocus.com Subject: Re: iptables anti-nimda anyone? Message-ID: <20010923114616.A1054@dardhal.mired.net>
On Friday, 21 September 2001, at 15:38:33 -0000,
R Dicaire wrote:
> Forwarded From: Sven Michels <smichels@intradat.com>
>
> > if you've patched the kernel with string match support: yes:
> > $IPTABLES -I INPUT -p tcp --dport 80 -m string --string .exe? -m state \
> > --state ESTABLISHED -j REJECT --reject-with tcp-reset
> > (same works wizh .ida for the old one)
>
> Where can this patch be had if its not included with the kernel, or iptables
> src? I can see where having this string filter could be handy.
>
Download the last iptables tar.bz2 fron netfilter.samba.org and read the
included INSTALL. A simple:
make patch-o-matic KERNEL_DIR=<<where-your-kernel-is>>
takes you to an interactive menu where you select which iptables
extensions you want to generate kernel patches for. One of them is match
string, that lets you:
The string patch:
Author: Emmanuel Roger <winfield@freegates.be>
Status: Working
This patch adds CONFIG_IP_NF_MATCH_STRING which allows you to
match a string in a whole packet.
THIS PATCH REQUIRES AT LEAST KERNEL 2.4.9 !!!
Greetings.
-- José Luis Domingo López Linux Registered User #189436 Debian Linux Woody (P166 64 MB RAM) jdomingo EN internautas PUNTO org => ¿ Spam ? Atente a las consecuencias jdomingo AT internautas DOT org => Spam at your own risk
- Previous message: Manuel Guesdon: "Re: iptables anti-nimda anyone?"
- In reply to: R Dicaire: "Re: iptables anti-nimda anyone?"
- Next in thread: Eric Landuyt: "Re[2]: iptables anti-nimda anyone?"
- Next in thread: Manuel Guesdon: "Re: iptables anti-nimda anyone?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|