Linux Netfilter discussions
 help / color / mirror / Atom feed
From: "Joey" <Joey@Web56.net>
To: IPTables <netfilter@vger.kernel.org>
Subject: RE: help with whitelist
Date: Tue, 10 Feb 2009 09:58:41 -0500	[thread overview]
Message-ID: <000101c98b90$1112b540$33381fc0$@net> (raw)
In-Reply-To: <49919410.9040906@freemail.hu>

Sorry I forgot the 

-A LOG_ASIAN -j DROP

Any idea on why the accept isn’t working?

> -----Original Message-----
> From: Gáspár Lajos [mailto:swifty@freemail.hu]
> Sent: Tuesday, February 10, 2009 9:50 AM
> To: Joey
> Cc: IPTables
> Subject: Re: help with whitelist
> 
> Hi,
> 
> Am I blind or there is no DROP/REJECT target at all???
> 
> Swifty
> 
> Joey írta:
> > 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!
> >
> >
> > --
> > To unsubscribe from this list: send the line "unsubscribe netfilter" in
> > the body of a message to majordomo@vger.kernel.org
> > More majordomo info at  http://vger.kernel.org/majordomo-info.html
> >
> >



  reply	other threads:[~2009-02-10 14:58 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 [this message]
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='000101c98b90$1112b540$33381fc0$@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