From: "Joey" <Joey@Web56.net>
To: IPTables <netfilter@vger.kernel.org>
Subject: help with whitelist
Date: Mon, 9 Feb 2009 15:34:34 -0500 [thread overview]
Message-ID: <000001c98af5$d31f3c30$795db490$@net> (raw)
Hello All,
Im having a problem with a whitelist I am trying to implement and apparently
we still block IP's on the whitelist.
First I execute the whitelist like so:
:CIDR-WHITE-LIST - [0:0]
:LOG_WHITE-LIST - [0:0]
-A CIDR-WHITE-LIST -s 1.2.3.4 -j LOG_WHITE-LIST
-A LOG_WHITE-LIST -j LOG --log-prefix "CIDR-WHITE-LIST"
-A LOG_WHITE-LIST -j ACCEPT
-A SMTP_TRAFFIC -j CIDR-WHITE-LIST
Then the blacklist like so:
:CIDR-ASIAN - [0:0]
:LOG_ASIAN - [0:0]
:SMTP_TRAFFIC - [0:0]
-A INPUT -p tcp -m tcp --dport 25 -m state --state NEW -j SMTP_TRAFFIC
-A CIDR-ASIAN -s 2.3.4.5 -j LOG_ASIAN
-A LOG_ASIAN -j LOG --log-prefix "SPAM-BLOCK-CIDR-ASIAN"
-A SMTP_TRAFFIC -j CIDR-ASIAN
I am basically blocking port 25 traffic to blocked IP's.
I must be missing something stupid, but cant see it.
Any help is greatly appreciated!
Thanks!
next reply other threads:[~2009-02-09 20:34 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-09 20:34 Joey [this message]
2009-02-10 14:49 ` help with whitelist Gáspár Lajos
2009-02-10 14:58 ` Joey
2009-02-10 15:06 ` Gáspár Lajos
-- 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='000001c98af5$d31f3c30$795db490$@net' \
--to=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