diff --git a/content/posts/fail2ban-basics.pt.md b/content/posts/fail2ban-basics.pt.md index b0f5f51..6ea3c4c 100644 --- a/content/posts/fail2ban-basics.pt.md +++ b/content/posts/fail2ban-basics.pt.md @@ -7,6 +7,7 @@ tags = [ "GNU/Linux", "Basics Series", ] +canonical = "posts/fail2ban-basics" +++ [Fail2ban](https://github.com/fail2ban/fail2ban) é um software que escaneia arquivos de logs como o `/var/log/auth.log` e bane IPs com muitas falhas de login. diff --git a/content/posts/first-post.pt.md b/content/posts/first-post.pt.md index 4bcd49b..b91ed9b 100644 --- a/content/posts/first-post.pt.md +++ b/content/posts/first-post.pt.md @@ -6,6 +6,7 @@ tags = [ "webserver", "Hugo", ] +canonical = "/posts/first-post" +++ ## Um blog de um sysadmin diff --git a/content/posts/iptables-basics.pt.md b/content/posts/iptables-basics.pt.md index 4d41143..d4ddc26 100644 --- a/content/posts/iptables-basics.pt.md +++ b/content/posts/iptables-basics.pt.md @@ -7,6 +7,7 @@ tags = [ "GNU/Linux", "Basics Series", ] +canonical = "/posts/iptables-basics" +++ Ao configurar um novo servidor Linux, uma das primeiras coisas que você deve fazer é protegê-lo configurando um firewall. O iptables, uma poderosa ferramenta de firewall disponível na maioria das distribuições Linux, é uma excelente opção para gerenciar regras de tráfego. diff --git a/content/posts/ssh-hardening.pt.md b/content/posts/ssh-hardening.pt.md index ed100d8..0e48517 100644 --- a/content/posts/ssh-hardening.pt.md +++ b/content/posts/ssh-hardening.pt.md @@ -7,6 +7,7 @@ tags = [ "GNU/Linux", "Basics Series", ] +canonical = "/posts/ssh-hardening" +++ Como voce pode ver no meu ultimo post sobre [fail2ban]({{< ref "/posts/fail2ban-basics" >}} "Fail2ban basics"), o serviço SSH é um alvo popular de ataques de força bruta, nós devemos tomar nosso tempo para melhorar a segurança de nossos servidores. diff --git a/layouts/partials/head.html b/layouts/partials/head.html index f048c92..1a2d6b4 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -106,6 +106,11 @@ {{ end }} {{ end }} +{{- if isset .Params "canonical" -}} + +{{- else -}} + +{{- end }}