All of lore.kernel.org
 help / color / mirror / Atom feed
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 15:49:52 +0100	[thread overview]
Message-ID: <49919410.9040906@freemail.hu> (raw)
In-Reply-To: <000001c98af5$d31f3c30$795db490$@net>

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:49 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 [this message]
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=49919410.9040906@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 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.