Skip to content

Commit 2831de2

Browse files
committed
Perf: Do not resolve ip's when listing iptables rules. Fixes slow loading server tab
1 parent 0878fec commit 2831de2

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ All notable changes to this project will be documented in this file.
3232
- Fixed issue with sftp-jail not working for users restored from backups
3333
- SecImprove: Improved input validation in multiple cli scripts
3434
- Performance: Do not load complete notifications list on every page load, reduced load time from over 1sec to under 100ms
35+
- Performance: Do not resolve ip when listing iptables rules. Server tab could take multiple minutes to load in some cases.
3536

3637
## [1.0.5] - 2019-08-06 - Hotfix
3738
### Bugfixes

bin/v-list-sys-services

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ fi
273273
# Checking FIREWALL system
274274
if [ ! -z "$FIREWALL_SYSTEM" ] && [ "$FIREWALL_SYSTEM" != 'remote' ]; then
275275
state="stopped"
276-
/sbin/iptables -L fail2ban-HESTIA >/dev/null 2>&1
276+
/sbin/iptables -n -L fail2ban-HESTIA >/dev/null 2>&1
277277
if [ "$?" -eq 0 ]; then
278278
state="running"
279279
fi

0 commit comments

Comments
 (0)