All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gordon Fisher <gordfisherman@gmail.com>
To: "Lars Noodén" <lars.nooden@gmx.com>, netfilter@vger.kernel.org
Subject: Re: Question on rate limiting on nftables
Date: Thu, 25 Jun 2026 10:20:57 -0700	[thread overview]
Message-ID: <e244a0d0-49ec-4ea4-aba7-3aee899ef0ed@gmail.com> (raw)
In-Reply-To: <6141c93d-ca25-4b3f-8a6b-b048f2ec595f@gmx.com>

On 6/8/26 8:57 AM, Lars Noodén wrote:
> On 6/8/26 18:01, Andre Rodier wrote:
>> Also, a connection attempts on a
>> different port should immediately raise attention, as it is involving
>> more than a basic SSH scan bot.
>
> Shifting ports might quiet the logs somewhat, but your SSH port will 
> be found both quickly and easily by bots.  That has been the case for 
> a long time:
>
>  https://bsdly.blogspot.com/2013/02/theres-no-protection-in-high-ports.html 
>
>
> It is difficult to fit nftables into mitigations for those probes 
> because modern scans usually come from a wide spread of addresses and 
> networks.  In the case of SSH, using SSH keys (or even SSH 
> certificates) and turning off password authentication clears out a lot 
> of the bots, but that has been mentioned already.
>
You can just block access (drop) to all and only allow to specific 
address(es), then probes are taken out of the picture entirely.

-- 
gfish


  parent reply	other threads:[~2026-06-25 17:21 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-06-08 11:30 Question on rate limiting on nftables Andre Rodier
2026-06-08 12:45 ` Kerin Millar
2026-06-08 13:14   ` Andre Rodier
2026-06-08 14:32   ` Slavko
2026-06-08 15:01     ` Andre Rodier
2026-06-08 15:57       ` Lars Noodén
2026-06-08 17:05         ` Kerin Millar
2026-06-25 17:20         ` Gordon Fisher [this message]
2026-06-08 16:05       ` Reindl Harald
2026-06-08 17:10         ` Kerin Millar
2026-06-26 17:04         ` Gordon Fisher
2026-06-08 16:56       ` Slavko
2026-06-08 17:24         ` Kerin Millar
2026-06-08 15:25     ` Kerin Millar
2026-06-25 16:55   ` Gordon Fisher
2026-06-08 21:54 ` imnozi

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=e244a0d0-49ec-4ea4-aba7-3aee899ef0ed@gmail.com \
    --to=gordfisherman@gmail.com \
    --cc=lars.nooden@gmx.com \
    --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.