From: Allen Wayne Best <iptables@atoka-software.com>
To: netfilter@lists.samba.org
Subject: -m string --string cmd.exe
Date: Tue, 11 Jun 2002 09:11:00 -0700 [thread overview]
Message-ID: <20020611161436.F3A0D4891@lists.samba.org> (raw)
hello:
i read in the linux journal the article "A NATural Progression" about a rule
which twinked my interest:
iptables -t filter -I FORWARD -m string \
--string=root.exe -j DROP
this set me to thinking, "ahhhh, a way to stop all those microcosm virii.
they have the commonality of the string 'cmd.exe.'" so off i go to build a
rule of similar bent, that is:
iptables -A INPUT -i $EXTERNAL -p tcp --dport 80 \
-m string --string=cmd.exe -j DROP
when i try to use this rule, i get the following error:
iptables v1.1.1: Couldn't load match `string'
have i missed something, or do i need to recompile the kernel (please say it
ain't so.....) fyi, i am using rh 7.0 and rh 7.2 on the servers.
--
regards,
allen wayne best, esq
"your friendly neighborhood rambler owner"
"my rambler will go from 0 to 105"
Current date: 20:54:8::161:2002
"Gort, klaatu nikto barada."
-- The Day the Earth Stood Still
next reply other threads:[~2002-06-11 16:11 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-06-11 16:11 Allen Wayne Best [this message]
2002-06-11 16:15 ` -m string --string cmd.exe Maciej Soltysiak
2002-06-11 16:50 ` Allen Wayne Best
2002-06-11 17:50 ` Maciej Soltysiak
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=20020611161436.F3A0D4891@lists.samba.org \
--to=iptables@atoka-software.com \
--cc=netfilter@lists.samba.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox