Project

General

Profile

Anomalie #1246

Demande #1287: module puppet pour postfix

Nagios SMTP absent

Added by Quentin CHERGUI over 6 years ago. Updated about 3 years ago.

Status:
Fermé
Priority:
Normale
Assignee:
-
Category:
-
Target version:
Start date:
03/28/2013
Due date:
% Done:

0%

Estimated time:
Difficulté:
2 Facile

Description

Il semblerait qu'il n'y ai pas de monitoring du serveur SMTP.

Il faudrait en ajouter une.

History

#1

Updated by Loïc Dachary over 6 years ago

root@pavot:/etc# git show
commit cc7999bd323d197306425bf07bae8cc7534f2cb4
Author: Loic Dachary <loic@dachary.org>
Date:   Mon Apr 29 15:20:40 2013 +0200

    le VPN accepte maintenant 25,143,587,993,995 pour le monitory mail

diff --git a/init.d/firewall.sh b/init.d/firewall.sh
index 8748263..7019313 100755
--- a/init.d/firewall.sh
+++ b/init.d/firewall.sh
@@ -317,6 +317,16 @@ fwstart() {
         ${IPT} -I INPUT  -s $NET_VPN -d $NET_VPN -p icmp -j ACCEPT
         ${IPT} -I INPUT  -s $NET_VPN -d $NET_VPN -p tcp --dport 22  -j ACCEPT
         ${IPT} -I OUTPUT -s $NET_VPN -d $NET_VPN -p tcp --dport 22  -j ACCEPT
+        ${IPT} -I INPUT  -s $NET_VPN -d $NET_VPN -p tcp --dport 25  -j ACCEPT
+        ${IPT} -I OUTPUT -s $NET_VPN -d $NET_VPN -p tcp --dport 25  -j ACCEPT
+        ${IPT} -I INPUT  -s $NET_VPN -d $NET_VPN -p tcp --dport 143  -j ACCEPT
+        ${IPT} -I OUTPUT -s $NET_VPN -d $NET_VPN -p tcp --dport 143  -j ACCEPT
+        ${IPT} -I INPUT  -s $NET_VPN -d $NET_VPN -p tcp --dport 587  -j ACCEPT
+        ${IPT} -I OUTPUT -s $NET_VPN -d $NET_VPN -p tcp --dport 587  -j ACCEPT
+        ${IPT} -I INPUT  -s $NET_VPN -d $NET_VPN -p tcp --dport 993  -j ACCEPT
+        ${IPT} -I OUTPUT -s $NET_VPN -d $NET_VPN -p tcp --dport 993  -j ACCEPT
+        ${IPT} -I INPUT  -s $NET_VPN -d $NET_VPN -p tcp --dport 995  -j ACCEPT
+        ${IPT} -I OUTPUT -s $NET_VPN -d $NET_VPN -p tcp --dport 995  -j ACCEPT
         ${IPT} -I INPUT  -s $NET_VPN -d $NET_VPN -p tcp --dport 53  -j ACCEPT
         ${IPT} -I OUTPUT -s $NET_VPN -d $NET_VPN -p tcp --dport 53  -j ACCEPT
        ${IPT} -I INPUT  -s $NET_VPN -d $NET_VPN -p udp --dport 53  -j ACCEPT
#2

Updated by Loïc Dachary over 6 years ago

root@ns1:/etc# git show
commit 595b7bf6397d6c9b8a0fb90b76dcc28ca9f331bd
Author: Loic Dachary <loic@dachary.org>
Date:   Mon Apr 29 15:22:44 2013 +0200

    le VPN accepte maintenant 25,143,587,993,995 pour le monitory mail

diff --git a/init.d/firewall b/init.d/firewall
index a5f3a1d..335d57b 100755
--- a/init.d/firewall
+++ b/init.d/firewall
@@ -527,6 +527,16 @@ fwstart() {
         ${IPT} -I INPUT  -s $NET_VPN -d $NET_VPN -p icmp -j ACCEPT
         ${IPT} -I INPUT  -s $NET_VPN -d $NET_VPN -p tcp --dport 22  -j ACCEPT
         ${IPT} -I OUTPUT -s $NET_VPN -d $NET_VPN -p tcp --dport 22  -j ACCEPT
+        ${IPT} -I INPUT  -s $NET_VPN -d $NET_VPN -p tcp --dport 25  -j ACCEPT
+        ${IPT} -I OUTPUT -s $NET_VPN -d $NET_VPN -p tcp --dport 25  -j ACCEPT
+        ${IPT} -I INPUT  -s $NET_VPN -d $NET_VPN -p tcp --dport 143  -j ACCEPT
+        ${IPT} -I OUTPUT -s $NET_VPN -d $NET_VPN -p tcp --dport 143  -j ACCEPT
+        ${IPT} -I INPUT  -s $NET_VPN -d $NET_VPN -p tcp --dport 587  -j ACCEPT
+        ${IPT} -I OUTPUT -s $NET_VPN -d $NET_VPN -p tcp --dport 587  -j ACCEPT
+        ${IPT} -I INPUT  -s $NET_VPN -d $NET_VPN -p tcp --dport 993  -j ACCEPT
+        ${IPT} -I OUTPUT -s $NET_VPN -d $NET_VPN -p tcp --dport 993  -j ACCEPT
+        ${IPT} -I INPUT  -s $NET_VPN -d $NET_VPN -p tcp --dport 995  -j ACCEPT
+        ${IPT} -I OUTPUT -s $NET_VPN -d $NET_VPN -p tcp --dport 995  -j ACCEPT
         ${IPT} -I INPUT  -s $NET_VPN -d $NET_VPN -p tcp --dport 53  -j ACCEPT
         ${IPT} -I OUTPUT -s $NET_VPN -d $NET_VPN -p tcp --dport 53  -j ACCEPT
        ${IPT} -I INPUT  -s $NET_VPN -d $NET_VPN -p udp --dport 53  -j ACCEPT
#3

Updated by Quentin CHERGUI over 6 years ago

  • Status changed from Nouveau to En cours de traitement
  • Target version set to Juin 2013
  • Parent task set to #1287
#4

Updated by Frédéric Couchet about 6 years ago

  • Target version changed from Juin 2013 to Backlog
#5

Updated by François Poulain about 3 years ago

  • Description updated (diff)

Il y en a.

#6

Updated by François Poulain about 3 years ago

  • Status changed from En cours de traitement to Fermé

Also available in: Atom PDF