From: macadanet@yahoo.es
To: lista de correo netfilter <netfilter-devel@lists.netfilter.org>
Subject: string match -> new option
Date: Sat, 1 Mar 2003 02:53:08 +0100 [thread overview]
Message-ID: <15760529186.20030301025308@yahoo.es> (raw)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=us-ascii, Size: 1333 bytes --]
Hi.
I'm sorry for my english
I modificated ipt_string.c and I created a new patch. This patch
acepts regular expresions.
For example:
iptables -A INPUT -m string --string '"GET"[0-9]"HTTP"' -j LOG
If some package includes the string: GET ???????8????????? HTTP
the system will write in log file.
It's a good idea, for firewalls between WAN network (Internet) and LAN
network where exists some IIS server (Internet Information Servers).
This server are great bugs when received bad requests like:
"http://www.servidor.com/msadc/..%c0%af../..%c0%af../..%c0%af../winnt/system32/cmd.exe?/c+dir+c:\"
attack with Unicodes
GET http://<ipaddress>/default.ida?NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN
NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN
NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN
NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN%u9090%u6858%ucbd3%u7
801%u9090%u6858%ucbd3%u7801%u9090%u6858%ucbd3%u7801%u9090%u9090%u8190%
u00c3%u0003%u8b00%u531b%u53ff%u0078%u0000%u00=a HTTP/1.0
Red Code Virus.
this solution can be apply to diferents kind servers.
What do people think? Is a good idea?
Thanks for read this (my) email.
___________________________________________________
Yahoo! Móviles
Personaliza tu móvil con tu logo y melodía favorito
en http://moviles.yahoo.es
next reply other threads:[~2003-03-01 1:53 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-03-01 1:53 macadanet [this message]
2003-03-01 6:39 ` string match -> new option Patrick Schaaf
2003-03-01 15:47 ` Michael Rash
2003-03-02 9:59 ` Harald Welte
2003-03-02 11:36 ` Patrick Schaaf
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=15760529186.20030301025308@yahoo.es \
--to=macadanet@yahoo.es \
--cc=netfilter-devel@lists.netfilter.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.