Port knocking.

Support for security such as Firewalls and securing linux
Post Reply
hack3rcon
Posts: 663
Joined: 2014/11/24 11:04:37

Port knocking.

Post by hack3rcon » 2020/08/22 14:01:42

Hello,
When a server using Fail2ban then is Port Knocking needed?

Thank you.

lightman47
Posts: 1183
Joined: 2014/05/21 20:16:00
Location: Central New York, USA

Re: Port knocking.

Post by lightman47 » 2020/08/22 21:35:40

Two unrelated things.
Fail2ban blocks repeated bad login attempts from an I.P address by reading the logs, then 'refusing connections' from a repeat offender.
Port knocking, as I understand it, is a scheme to complicate access to a machine - long before any login attempt..
Remember - importing/building packages will likely "byte you in the butt" come update time, long after you'd forgotten you did that! Use repos whenever possible.

hack3rcon
Posts: 663
Joined: 2014/11/24 11:04:37

Re: Port knocking.

Post by hack3rcon » 2020/08/23 03:03:54

lightman47 wrote:
2020/08/22 21:35:40
Two unrelated things.
Fail2ban blocks repeated bad login attempts from an I.P address by reading the logs, then 'refusing connections' from a repeat offender.
Port knocking, as I understand it, is a scheme to complicate access to a machine - long before any login attempt..
Is it just for SSH service? No FTP or MariaDB?

aks
Posts: 3022
Joined: 2014/09/20 11:22:14

Re: Port knocking.

Post by aks » 2020/08/23 07:35:34

I guess you could implement port knocking for any TCP based socket.
A little pointless really IMO

Post Reply

Return to “CentOS 8 - Security Support”