From 6453490e7750e144fea4ca6a2b6911bc558167d5 Mon Sep 17 00:00:00 2001
From: Zhang Huangbin
Date: Thu, 11 Mar 2021 22:49:22 +0800
Subject: [PATCH] Typo
---
en_US/cluster/0-haproxy.keepalived.glusterfs.md | 2 +-
en_US/upgrade/0-upgrade.iredmail.1.3.2-1.4.0.md | 4 +++-
html/haproxy.keepalived.glusterfs.html | 2 +-
html/upgrade.iredmail.1.3.2-1.4.0.html | 4 +++-
4 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/en_US/cluster/0-haproxy.keepalived.glusterfs.md b/en_US/cluster/0-haproxy.keepalived.glusterfs.md
index f2df0a7c..04be0603 100644
--- a/en_US/cluster/0-haproxy.keepalived.glusterfs.md
+++ b/en_US/cluster/0-haproxy.keepalived.glusterfs.md
@@ -354,7 +354,7 @@ mkdir /glusterfs2
Update /etc/fstab:
```
-/dev/sdb1 /glusterfs1 ext4 defaults 1 2
+/dev/sdb1 /glusterfs2 ext4 defaults 1 2
```
remount all
diff --git a/en_US/upgrade/0-upgrade.iredmail.1.3.2-1.4.0.md b/en_US/upgrade/0-upgrade.iredmail.1.3.2-1.4.0.md
index 3b5c13ff..524496bd 100644
--- a/en_US/upgrade/0-upgrade.iredmail.1.3.2-1.4.0.md
+++ b/en_US/upgrade/0-upgrade.iredmail.1.3.2-1.4.0.md
@@ -75,7 +75,9 @@ Script `/usr/local/bin/fail2ban_banned_db` shipped in iRedMail-1.3.2 and
earlier releases have few issues:
- It can not store IP address when its country name contains quotes
-- It can not correctly store all matched log lines in SQL database.
+- In some cases it can not correctly store matched log lines in SQL database.
+ We now store (base64) encoded log lines instead, it also helps avoid possible
+ SQL injection.
Please run command below as root user to get latest script with both issues fixed:
diff --git a/html/haproxy.keepalived.glusterfs.html b/html/haproxy.keepalived.glusterfs.html
index cd83e336..20060843 100644
--- a/html/haproxy.keepalived.glusterfs.html
+++ b/html/haproxy.keepalived.glusterfs.html
@@ -370,7 +370,7 @@ mkdir /glusterfs2
Update /etc/fstab:
-/dev/sdb1 /glusterfs1 ext4 defaults 1 2
+/dev/sdb1 /glusterfs2 ext4 defaults 1 2
remount all
diff --git a/html/upgrade.iredmail.1.3.2-1.4.0.html b/html/upgrade.iredmail.1.3.2-1.4.0.html
index 3dc67e20..d1efd169 100644
--- a/html/upgrade.iredmail.1.3.2-1.4.0.html
+++ b/html/upgrade.iredmail.1.3.2-1.4.0.html
@@ -105,7 +105,9 @@ latest stable release:
earlier releases have few issues:
- It can not store IP address when its country name contains quotes
-- It can not correctly store all matched log lines in SQL database.
+- In some cases it can not correctly store matched log lines in SQL database.
+ We now store (base64) encoded log lines instead, it also helps avoid possible
+ SQL injection.
Please run command below as root user to get latest script with both issues fixed:
wget -O /usr/local/bin/fail2ban_banned_db \