netfilter.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Daniel <tech@tootai.net>
To: Netfilter list <netfilter@vger.kernel.org>
Subject: Re: IP not banned in interval set
Date: Mon, 18 Mar 2024 21:57:45 +0100	[thread overview]
Message-ID: <e8b74206-90a3-42d3-9393-dce4d856d713@tootai.net> (raw)
In-Reply-To: <eb843fc3-8b22-48e0-a9ca-d6ac94f28c8e@gmail.com>


Le 18/03/2024 à 21:14, Gordon Fisher a écrit :
> On 3/18/24 09:36, List Support wrote:
> [...]
>> set toban4-smtp {
>>     type ipv4_addr
>>     flags interval
>>     auto-merge
>>     elements = { 194.169.175.17-194.169.175.18 }
>> }
>>
>> chain input {
>>     type filter hook input priority -100; policy accept;
>>     ip saddr @toban4-smtp tcp dport { 25, 462, 587 } drop
>> }
>
> [...]
>
> Side question, are you really using port 462, or did you mean to write 
> 465 (standard SMTP SSL port)instead?
Indeed :)

-- 
Daniel

      reply	other threads:[~2024-03-18 20:57 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-18 16:36 IP not banned in interval set List Support
2024-03-18 16:56 ` List Support
2024-03-18 17:16 ` Kerin Millar
2024-03-18 18:44   ` List Support
2024-03-18 20:14 ` Gordon Fisher
2024-03-18 20:57   ` Daniel [this message]

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=e8b74206-90a3-42d3-9393-dce4d856d713@tootai.net \
    --to=tech@tootai.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 read-only IMAP folder(s) and NNTP newsgroup(s).