From: "Gáspár Lajos" <swifty@freemail.hu>
To: Joey <Joey@Web56.net>
Cc: IPTables <netfilter@vger.kernel.org>
Subject: Re: help with whitelist
Date: Tue, 10 Feb 2009 16:06:31 +0100 [thread overview]
Message-ID: <499197F7.10502@freemail.hu> (raw)
In-Reply-To: <000101c98b90$1112b540$33381fc0$@net>
Hi,
Okay...
Try again... :D
:LOGDROP_ASIAN - [0:0]
-A LOGDROP_ASIAN -j LOG --log-prefix "SPAM-BLOCK-CIDR-ASIAN"
-A LOGDROP_ASIAN -j DROP
:SMTP_TRAFFIC - [0:0]
-A SMTP_TRAFFIC -s 2.3.4.5 -j LOGDROP_ASIAN
-A INPUT -p tcp -m tcp --dport 25 -m state --state NEW -j SMTP_TRAFFIC
You can check the state (matching packets) with this command:
iptables -vnL
Swifty
next prev parent reply other threads:[~2009-02-10 15:06 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-09 20:34 help with whitelist Joey
2009-02-10 14:49 ` Gáspár Lajos
2009-02-10 14:58 ` Joey
2009-02-10 15:06 ` Gáspár Lajos [this message]
-- strict thread matches above, loose matches on Subject: below --
2009-03-11 18:21 Help " Joey
2009-03-11 19:22 ` Nikolay S. Rybaloff
2008-10-29 18:13 help " Joey
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=499197F7.10502@freemail.hu \
--to=swifty@freemail.hu \
--cc=Joey@Web56.net \
--cc=netfilter@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).