public
nobgit
read
NobMail
Based on mailcow: dockerized
Languages
Repository composition by tracked source files.
PHP
49%
JavaScript
35%
HTML
9%
CSS
4%
Shell
2%
Python
1%
Lua
0%
Perl
0%
Ruby
0%
SCSS
0%
Create file
Wiki Documentation
Clone
https://nobgit.com/orgs/nobgit/nobmail.git
ssh://[email protected]:2222/orgs/nobgit/nobmail.git
Trace
data/web/inc/functions.fail2ban.inc.php
Trace helps you understand code history line by line. See who changed each line, when it changed, and which commit introduced it.
functions.fail2ban.inc.php
on main
Author
Date
Commit
Line
Code
andryyy
about 9 years ago
6c64ffb
[acme-mailcow] Auto-detect container ids for restart; Restart containers after restore
- Full commit hash
6c64ffbd49cd99f0b4649703aa68b6e4e4b390b2- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 1
<?php
<?php
FreddleSpl0it
about 3 years ago
e2e8fbe
[Web] add f2b_banlist endpoint
- Full commit hash
e2e8fbe3131327eb65f22e31fb200d55c59512dd- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 2
function fail2ban($_action, $_data = null, $_extra = null) {
function fail2ban($_action, $_data = null, $_extra = null) {
andryyy
about 9 years ago
6c64ffb
[acme-mailcow] Auto-detect container ids for restart; Restart containers after restore
- Full commit hash
6c64ffbd49cd99f0b4649703aa68b6e4e4b390b2- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 3
global $redis;
global $redis;
André
almost 8 years ago
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 4
$_data_log = $_data;
$_data_log = $_data;
andryyy
about 9 years ago
6c64ffb
[acme-mailcow] Auto-detect container ids for restart; Restart containers after restore
- Full commit hash
6c64ffbd49cd99f0b4649703aa68b6e4e4b390b2- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 5
switch ($_action) {
switch ($_action) {
same change
6c64ffb
[acme-mailcow] Auto-detect container ids for restart; Restart containers after restore
- Full commit hash
6c64ffbd49cd99f0b4649703aa68b6e4e4b390b2- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 6
case 'get':
case 'get':
andre.peters
over 8 years ago
b2032c0
[Web] Hide up time of containers that are missing
- Full commit hash
b2032c0e8afa8d4d68c57ea8eec805fed181f6f8- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 7
$f2b_options = array();
$f2b_options = array();
andryyy
about 9 years ago
6c64ffb
[acme-mailcow] Auto-detect container ids for restart; Restart containers after restore
- Full commit hash
6c64ffbd49cd99f0b4649703aa68b6e4e4b390b2- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 8
if ($_SESSION['mailcow_cc_role'] != "admin") {
if ($_SESSION['mailcow_cc_role'] != "admin") {
same change
6c64ffb
[acme-mailcow] Auto-detect container ids for restart; Restart containers after restore
- Full commit hash
6c64ffbd49cd99f0b4649703aa68b6e4e4b390b2- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 9
return false;
return false;
same change
6c64ffb
[acme-mailcow] Auto-detect container ids for restart; Restart containers after restore
- Full commit hash
6c64ffbd49cd99f0b4649703aa68b6e4e4b390b2- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 10
}
}
same change
6c64ffb
[acme-mailcow] Auto-detect container ids for restart; Restart containers after restore
- Full commit hash
6c64ffbd49cd99f0b4649703aa68b6e4e4b390b2- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 11
try {
try {
andre.peters
over 8 years ago
b2032c0
[Web] Hide up time of containers that are missing
- Full commit hash
b2032c0e8afa8d4d68c57ea8eec805fed181f6f8- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 12
$f2b_options = json_decode($redis->Get('F2B_OPTIONS'), true);
$f2b_options = json_decode($redis->Get('F2B_OPTIONS'), true);
andryyy
almost 6 years ago
877b9b7
[Web] Sync jobs: Use STARTTLS instead of TLS; Feature: Allow to edit fail2ban-like regex filters in UI
- Full commit hash
877b9b70549bc9f7424e8b3ddca8d70277be89d8- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 13
$f2b_options['regex'] = json_decode($redis->Get('F2B_REGEX'), true);
$f2b_options['regex'] = json_decode($redis->Get('F2B_REGEX'), true);
andryyy
about 9 years ago
6c64ffb
[acme-mailcow] Auto-detect container ids for restart; Restart containers after restore
- Full commit hash
6c64ffbd49cd99f0b4649703aa68b6e4e4b390b2- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 14
$wl = $redis->hGetAll('F2B_WHITELIST');
$wl = $redis->hGetAll('F2B_WHITELIST');
same change
6c64ffb
[acme-mailcow] Auto-detect container ids for restart; Restart containers after restore
- Full commit hash
6c64ffbd49cd99f0b4649703aa68b6e4e4b390b2- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 15
if (is_array($wl)) {
if (is_array($wl)) {
same change
6c64ffb
[acme-mailcow] Auto-detect container ids for restart; Restart containers after restore
- Full commit hash
6c64ffbd49cd99f0b4649703aa68b6e4e4b390b2- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 16
foreach ($wl as $key => $value) {
foreach ($wl as $key => $value) {
André
about 8 years ago
05e026d
[Netfilter] New ban method, allow to set blacklists
- Full commit hash
05e026db3a9d2ab098b26436b3b04cde0783ec4a- Author
- André <[email protected]>
- Date
- about 8 years ago
- Selected line
- 17
$tmp_wl_data[] = $key;
$tmp_wl_data[] = $key;
andryyy
about 9 years ago
6c64ffb
[acme-mailcow] Auto-detect container ids for restart; Restart containers after restore
- Full commit hash
6c64ffbd49cd99f0b4649703aa68b6e4e4b390b2- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 18
}
}
André
about 8 years ago
05e026d
[Netfilter] New ban method, allow to set blacklists
- Full commit hash
05e026db3a9d2ab098b26436b3b04cde0783ec4a- Author
- André <[email protected]>
- Date
- about 8 years ago
- Selected line
- 19
if (isset($tmp_wl_data)) {
if (isset($tmp_wl_data)) {
andryyy
over 6 years ago
b52ee0a
[Rspamd] Fix map permissions for www
- Full commit hash
b52ee0a706f1b4d0fb7989c8805623d2c842ea47- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 20
natsort($tmp_wl_data);
natsort($tmp_wl_data);
andryyy
almost 5 years ago
2cd0b56
[Web] Various PHP 8 fixes, partly fixes #4219
- Full commit hash
2cd0b56b143b8a2741488ae1735bf6d74253247f- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 21
$f2b_options['whitelist'] = implode(PHP_EOL, (array)$tmp_wl_data);
$f2b_options['whitelist'] = implode(PHP_EOL, (array)$tmp_wl_data);
andryyy
almost 9 years ago
66e06a0
[Web] Sync jobs can be created/viewed/edited by admins/domain admins; Various fixes or improvements
- Full commit hash
66e06a0c0c31aacbca146718fbbd3a1165910f7f- Author
- andryyy <[email protected]>
- Date
- almost 9 years ago
- Selected line
- 22
}
}
same change
66e06a0
[Web] Sync jobs can be created/viewed/edited by admins/domain admins; Various fixes or improvements
- Full commit hash
66e06a0c0c31aacbca146718fbbd3a1165910f7f- Author
- andryyy <[email protected]>
- Date
- almost 9 years ago
- Selected line
- 23
else {
else {
andre.peters
over 8 years ago
b2032c0
[Web] Hide up time of containers that are missing
- Full commit hash
b2032c0e8afa8d4d68c57ea8eec805fed181f6f8- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 24
$f2b_options['whitelist'] = "";
$f2b_options['whitelist'] = "";
andryyy
almost 9 years ago
66e06a0
[Web] Sync jobs can be created/viewed/edited by admins/domain admins; Various fixes or improvements
- Full commit hash
66e06a0c0c31aacbca146718fbbd3a1165910f7f- Author
- andryyy <[email protected]>
- Date
- almost 9 years ago
- Selected line
- 25
}
}
andryyy
about 9 years ago
6c64ffb
[acme-mailcow] Auto-detect container ids for restart; Restart containers after restore
- Full commit hash
6c64ffbd49cd99f0b4649703aa68b6e4e4b390b2- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 26
}
}
same change
6c64ffb
[acme-mailcow] Auto-detect container ids for restart; Restart containers after restore
- Full commit hash
6c64ffbd49cd99f0b4649703aa68b6e4e4b390b2- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 27
else {
else {
andre.peters
over 8 years ago
b2032c0
[Web] Hide up time of containers that are missing
- Full commit hash
b2032c0e8afa8d4d68c57ea8eec805fed181f6f8- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 28
$f2b_options['whitelist'] = "";
$f2b_options['whitelist'] = "";
andryyy
about 9 years ago
6c64ffb
[acme-mailcow] Auto-detect container ids for restart; Restart containers after restore
- Full commit hash
6c64ffbd49cd99f0b4649703aa68b6e4e4b390b2- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 29
}
}
André
about 8 years ago
05e026d
[Netfilter] New ban method, allow to set blacklists
- Full commit hash
05e026db3a9d2ab098b26436b3b04cde0783ec4a- Author
- André <[email protected]>
- Date
- about 8 years ago
- Selected line
- 30
$bl = $redis->hGetAll('F2B_BLACKLIST');
$bl = $redis->hGetAll('F2B_BLACKLIST');
same change
05e026d
[Netfilter] New ban method, allow to set blacklists
- Full commit hash
05e026db3a9d2ab098b26436b3b04cde0783ec4a- Author
- André <[email protected]>
- Date
- about 8 years ago
- Selected line
- 31
if (is_array($bl)) {
if (is_array($bl)) {
same change
05e026d
[Netfilter] New ban method, allow to set blacklists
- Full commit hash
05e026db3a9d2ab098b26436b3b04cde0783ec4a- Author
- André <[email protected]>
- Date
- about 8 years ago
- Selected line
- 32
foreach ($bl as $key => $value) {
foreach ($bl as $key => $value) {
same change
05e026d
[Netfilter] New ban method, allow to set blacklists
- Full commit hash
05e026db3a9d2ab098b26436b3b04cde0783ec4a- Author
- André <[email protected]>
- Date
- about 8 years ago
- Selected line
- 33
$tmp_bl_data[] = $key;
$tmp_bl_data[] = $key;
same change
05e026d
[Netfilter] New ban method, allow to set blacklists
- Full commit hash
05e026db3a9d2ab098b26436b3b04cde0783ec4a- Author
- André <[email protected]>
- Date
- about 8 years ago
- Selected line
- 34
}
}
same change
05e026d
[Netfilter] New ban method, allow to set blacklists
- Full commit hash
05e026db3a9d2ab098b26436b3b04cde0783ec4a- Author
- André <[email protected]>
- Date
- about 8 years ago
- Selected line
- 35
if (isset($tmp_bl_data)) {
if (isset($tmp_bl_data)) {
andryyy
over 6 years ago
b52ee0a
[Rspamd] Fix map permissions for www
- Full commit hash
b52ee0a706f1b4d0fb7989c8805623d2c842ea47- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 36
natsort($tmp_bl_data);
natsort($tmp_bl_data);
andryyy
almost 5 years ago
2cd0b56
[Web] Various PHP 8 fixes, partly fixes #4219
- Full commit hash
2cd0b56b143b8a2741488ae1735bf6d74253247f- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 37
$f2b_options['blacklist'] = implode(PHP_EOL, (array)$tmp_bl_data);
$f2b_options['blacklist'] = implode(PHP_EOL, (array)$tmp_bl_data);
André
about 8 years ago
05e026d
[Netfilter] New ban method, allow to set blacklists
- Full commit hash
05e026db3a9d2ab098b26436b3b04cde0783ec4a- Author
- André <[email protected]>
- Date
- about 8 years ago
- Selected line
- 38
}
}
same change
05e026d
[Netfilter] New ban method, allow to set blacklists
- Full commit hash
05e026db3a9d2ab098b26436b3b04cde0783ec4a- Author
- André <[email protected]>
- Date
- about 8 years ago
- Selected line
- 39
else {
else {
same change
05e026d
[Netfilter] New ban method, allow to set blacklists
- Full commit hash
05e026db3a9d2ab098b26436b3b04cde0783ec4a- Author
- André <[email protected]>
- Date
- about 8 years ago
- Selected line
- 40
$f2b_options['blacklist'] = "";
$f2b_options['blacklist'] = "";
same change
05e026d
[Netfilter] New ban method, allow to set blacklists
- Full commit hash
05e026db3a9d2ab098b26436b3b04cde0783ec4a- Author
- André <[email protected]>
- Date
- about 8 years ago
- Selected line
- 41
}
}
same change
05e026d
[Netfilter] New ban method, allow to set blacklists
- Full commit hash
05e026db3a9d2ab098b26436b3b04cde0783ec4a- Author
- André <[email protected]>
- Date
- about 8 years ago
- Selected line
- 42
}
}
same change
05e026d
[Netfilter] New ban method, allow to set blacklists
- Full commit hash
05e026db3a9d2ab098b26436b3b04cde0783ec4a- Author
- André <[email protected]>
- Date
- about 8 years ago
- Selected line
- 43
else {
else {
same change
05e026d
[Netfilter] New ban method, allow to set blacklists
- Full commit hash
05e026db3a9d2ab098b26436b3b04cde0783ec4a- Author
- André <[email protected]>
- Date
- about 8 years ago
- Selected line
- 44
$f2b_options['blacklist'] = "";
$f2b_options['blacklist'] = "";
same change
05e026d
[Netfilter] New ban method, allow to set blacklists
- Full commit hash
05e026db3a9d2ab098b26436b3b04cde0783ec4a- Author
- André <[email protected]>
- Date
- about 8 years ago
- Selected line
- 45
}
}
André
about 8 years ago
f828353
[Netfilter] Fix chain order watching and other fixes
- Full commit hash
f8283536ec4cebfaaff0b1fe0d5b4e31d5ba2d4d- Author
- André <[email protected]>
- Date
- about 8 years ago
- Selected line
- 46
$pb = $redis->hGetAll('F2B_PERM_BANS');
$pb = $redis->hGetAll('F2B_PERM_BANS');
same change
f828353
[Netfilter] Fix chain order watching and other fixes
- Full commit hash
f8283536ec4cebfaaff0b1fe0d5b4e31d5ba2d4d- Author
- André <[email protected]>
- Date
- about 8 years ago
- Selected line
- 47
if (is_array($pb)) {
if (is_array($pb)) {
same change
f828353
[Netfilter] Fix chain order watching and other fixes
- Full commit hash
f8283536ec4cebfaaff0b1fe0d5b4e31d5ba2d4d- Author
- André <[email protected]>
- Date
- about 8 years ago
- Selected line
- 48
foreach ($pb as $key => $value) {
foreach ($pb as $key => $value) {
prey87
about 5 years ago
f767a27
added ip address to $f2b_options['perm_bans'] and $f2b_options['active_bans'] to fail2ban.inc (#4152)
- Full commit hash
f767a27859f57ea40b6f20fd5c4417a23736dddb- Author
- prey87 <[email protected]>
- Date
- about 5 years ago
- Selected line
- 49
$f2b_options['perm_bans'][] = array(
$f2b_options['perm_bans'][] = array(
same change
f767a27
added ip address to $f2b_options['perm_bans'] and $f2b_options['active_bans'] to fail2ban.inc (#4152)
- Full commit hash
f767a27859f57ea40b6f20fd5c4417a23736dddb- Author
- prey87 <[email protected]>
- Date
- about 5 years ago
- Selected line
- 50
'network'=>$key,
'network'=>$key,
same change
f767a27
added ip address to $f2b_options['perm_bans'] and $f2b_options['active_bans'] to fail2ban.inc (#4152)
- Full commit hash
f767a27859f57ea40b6f20fd5c4417a23736dddb- Author
- prey87 <[email protected]>
- Date
- about 5 years ago
- Selected line
- 51
'ip' => strtok($key,'/')
'ip' => strtok($key,'/')
same change
f767a27
added ip address to $f2b_options['perm_bans'] and $f2b_options['active_bans'] to fail2ban.inc (#4152)
- Full commit hash
f767a27859f57ea40b6f20fd5c4417a23736dddb- Author
- prey87 <[email protected]>
- Date
- about 5 years ago
- Selected line
- 52
);
);
same change
f767a27
added ip address to $f2b_options['perm_bans'] and $f2b_options['active_bans'] to fail2ban.inc (#4152)
- Full commit hash
f767a27859f57ea40b6f20fd5c4417a23736dddb- Author
- prey87 <[email protected]>
- Date
- about 5 years ago
- Selected line
- 53
André
about 8 years ago
f828353
[Netfilter] Fix chain order watching and other fixes
- Full commit hash
f8283536ec4cebfaaff0b1fe0d5b4e31d5ba2d4d- Author
- André <[email protected]>
- Date
- about 8 years ago
- Selected line
- 54
}
}
same change
f828353
[Netfilter] Fix chain order watching and other fixes
- Full commit hash
f8283536ec4cebfaaff0b1fe0d5b4e31d5ba2d4d- Author
- André <[email protected]>
- Date
- about 8 years ago
- Selected line
- 55
}
}
same change
f828353
[Netfilter] Fix chain order watching and other fixes
- Full commit hash
f8283536ec4cebfaaff0b1fe0d5b4e31d5ba2d4d- Author
- André <[email protected]>
- Date
- about 8 years ago
- Selected line
- 56
else {
else {
same change
f828353
[Netfilter] Fix chain order watching and other fixes
- Full commit hash
f8283536ec4cebfaaff0b1fe0d5b4e31d5ba2d4d- Author
- André <[email protected]>
- Date
- about 8 years ago
- Selected line
- 57
$f2b_options['perm_bans'] = "";
$f2b_options['perm_bans'] = "";
same change
f828353
[Netfilter] Fix chain order watching and other fixes
- Full commit hash
f8283536ec4cebfaaff0b1fe0d5b4e31d5ba2d4d- Author
- André <[email protected]>
- Date
- about 8 years ago
- Selected line
- 58
}
}
André
about 8 years ago
5e590ea
[Web] Allow to blacklist, whitelist and unban networks currently blocked plus minor other fixes to fail2ban logic
- Full commit hash
5e590ea1196c8bc0e4869753e2eba72be36ae320- Author
- André <[email protected]>
- Date
- about 8 years ago
- Selected line
- 59
$active_bans = $redis->hGetAll('F2B_ACTIVE_BANS');
$active_bans = $redis->hGetAll('F2B_ACTIVE_BANS');
same change
5e590ea
[Web] Allow to blacklist, whitelist and unban networks currently blocked plus minor other fixes to fail2ban logic
- Full commit hash
5e590ea1196c8bc0e4869753e2eba72be36ae320- Author
- André <[email protected]>
- Date
- about 8 years ago
- Selected line
- 60
$queue_unban = $redis->hGetAll('F2B_QUEUE_UNBAN');
$queue_unban = $redis->hGetAll('F2B_QUEUE_UNBAN');
same change
5e590ea
[Web] Allow to blacklist, whitelist and unban networks currently blocked plus minor other fixes to fail2ban logic
- Full commit hash
5e590ea1196c8bc0e4869753e2eba72be36ae320- Author
- André <[email protected]>
- Date
- about 8 years ago
- Selected line
- 61
if (is_array($active_bans)) {
if (is_array($active_bans)) {
same change
5e590ea
[Web] Allow to blacklist, whitelist and unban networks currently blocked plus minor other fixes to fail2ban logic
- Full commit hash
5e590ea1196c8bc0e4869753e2eba72be36ae320- Author
- André <[email protected]>
- Date
- about 8 years ago
- Selected line
- 62
foreach ($active_bans as $network => $banned_until) {
foreach ($active_bans as $network => $banned_until) {
same change
5e590ea
[Web] Allow to blacklist, whitelist and unban networks currently blocked plus minor other fixes to fail2ban logic
- Full commit hash
5e590ea1196c8bc0e4869753e2eba72be36ae320- Author
- André <[email protected]>
- Date
- about 8 years ago
- Selected line
- 63
$queued_for_unban = (isset($queue_unban[$network]) && $queue_unban[$network] == 1) ? 1 : 0;
$queued_for_unban = (isset($queue_unban[$network]) && $queue_unban[$network] == 1) ? 1 : 0;
same change
5e590ea
[Web] Allow to blacklist, whitelist and unban networks currently blocked plus minor other fixes to fail2ban logic
- Full commit hash
5e590ea1196c8bc0e4869753e2eba72be36ae320- Author
- André <[email protected]>
- Date
- about 8 years ago
- Selected line
- 64
$difference = $banned_until - time();
$difference = $banned_until - time();
same change
5e590ea
[Web] Allow to blacklist, whitelist and unban networks currently blocked plus minor other fixes to fail2ban logic
- Full commit hash
5e590ea1196c8bc0e4869753e2eba72be36ae320- Author
- André <[email protected]>
- Date
- about 8 years ago
- Selected line
- 65
$f2b_options['active_bans'][] = array(
$f2b_options['active_bans'][] = array(
same change
5e590ea
[Web] Allow to blacklist, whitelist and unban networks currently blocked plus minor other fixes to fail2ban logic
- Full commit hash
5e590ea1196c8bc0e4869753e2eba72be36ae320- Author
- André <[email protected]>
- Date
- about 8 years ago
- Selected line
- 66
'queued_for_unban' => $queued_for_unban,
'queued_for_unban' => $queued_for_unban,
same change
5e590ea
[Web] Allow to blacklist, whitelist and unban networks currently blocked plus minor other fixes to fail2ban logic
- Full commit hash
5e590ea1196c8bc0e4869753e2eba72be36ae320- Author
- André <[email protected]>
- Date
- about 8 years ago
- Selected line
- 67
'network' => $network,
'network' => $network,
prey87
about 5 years ago
f767a27
added ip address to $f2b_options['perm_bans'] and $f2b_options['active_bans'] to fail2ban.inc (#4152)
- Full commit hash
f767a27859f57ea40b6f20fd5c4417a23736dddb- Author
- prey87 <[email protected]>
- Date
- about 5 years ago
- Selected line
- 68
'ip' => strtok($network,'/'),
'ip' => strtok($network,'/'),
André
about 8 years ago
5e590ea
[Web] Allow to blacklist, whitelist and unban networks currently blocked plus minor other fixes to fail2ban logic
- Full commit hash
5e590ea1196c8bc0e4869753e2eba72be36ae320- Author
- André <[email protected]>
- Date
- about 8 years ago
- Selected line
- 69
'banned_until' => sprintf('%02dh %02dm %02ds', ($difference/3600), ($difference/60%60), $difference%60)
'banned_until' => sprintf('%02dh %02dm %02ds', ($difference/3600), ($difference/60%60), $difference%60)
same change
5e590ea
[Web] Allow to blacklist, whitelist and unban networks currently blocked plus minor other fixes to fail2ban logic
- Full commit hash
5e590ea1196c8bc0e4869753e2eba72be36ae320- Author
- André <[email protected]>
- Date
- about 8 years ago
- Selected line
- 70
);
);
same change
5e590ea
[Web] Allow to blacklist, whitelist and unban networks currently blocked plus minor other fixes to fail2ban logic
- Full commit hash
5e590ea1196c8bc0e4869753e2eba72be36ae320- Author
- André <[email protected]>
- Date
- about 8 years ago
- Selected line
- 71
}
}
same change
5e590ea
[Web] Allow to blacklist, whitelist and unban networks currently blocked plus minor other fixes to fail2ban logic
- Full commit hash
5e590ea1196c8bc0e4869753e2eba72be36ae320- Author
- André <[email protected]>
- Date
- about 8 years ago
- Selected line
- 72
}
}
same change
5e590ea
[Web] Allow to blacklist, whitelist and unban networks currently blocked plus minor other fixes to fail2ban logic
- Full commit hash
5e590ea1196c8bc0e4869753e2eba72be36ae320- Author
- André <[email protected]>
- Date
- about 8 years ago
- Selected line
- 73
else {
else {
same change
5e590ea
[Web] Allow to blacklist, whitelist and unban networks currently blocked plus minor other fixes to fail2ban logic
- Full commit hash
5e590ea1196c8bc0e4869753e2eba72be36ae320- Author
- André <[email protected]>
- Date
- about 8 years ago
- Selected line
- 74
$f2b_options['active_bans'] = "";
$f2b_options['active_bans'] = "";
same change
5e590ea
[Web] Allow to blacklist, whitelist and unban networks currently blocked plus minor other fixes to fail2ban logic
- Full commit hash
5e590ea1196c8bc0e4869753e2eba72be36ae320- Author
- André <[email protected]>
- Date
- about 8 years ago
- Selected line
- 75
}
}
andryyy
about 9 years ago
6c64ffb
[acme-mailcow] Auto-detect container ids for restart; Restart containers after restore
- Full commit hash
6c64ffbd49cd99f0b4649703aa68b6e4e4b390b2- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 76
}
}
same change
6c64ffb
[acme-mailcow] Auto-detect container ids for restart; Restart containers after restore
- Full commit hash
6c64ffbd49cd99f0b4649703aa68b6e4e4b390b2- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 77
catch (RedisException $e) {
catch (RedisException $e) {
André
almost 8 years ago
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 78
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
andryyy
about 9 years ago
6c64ffb
[acme-mailcow] Auto-detect container ids for restart; Restart containers after restore
- Full commit hash
6c64ffbd49cd99f0b4649703aa68b6e4e4b390b2- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 79
'type' => 'danger',
'type' => 'danger',
André
almost 8 years ago
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 80
'log' => array(__FUNCTION__, $_action, $_data_log),
'log' => array(__FUNCTION__, $_action, $_data_log),
same change
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 81
'msg' => array('redis_error', $e)
'msg' => array('redis_error', $e)
andryyy
about 9 years ago
6c64ffb
[acme-mailcow] Auto-detect container ids for restart; Restart containers after restore
- Full commit hash
6c64ffbd49cd99f0b4649703aa68b6e4e4b390b2- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 82
);
);
same change
6c64ffb
[acme-mailcow] Auto-detect container ids for restart; Restart containers after restore
- Full commit hash
6c64ffbd49cd99f0b4649703aa68b6e4e4b390b2- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 83
return false;
return false;
same change
6c64ffb
[acme-mailcow] Auto-detect container ids for restart; Restart containers after restore
- Full commit hash
6c64ffbd49cd99f0b4649703aa68b6e4e4b390b2- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 84
}
}
andre.peters
over 8 years ago
b2032c0
[Web] Hide up time of containers that are missing
- Full commit hash
b2032c0e8afa8d4d68c57ea8eec805fed181f6f8- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 85
return $f2b_options;
return $f2b_options;
andryyy
about 9 years ago
6c64ffb
[acme-mailcow] Auto-detect container ids for restart; Restart containers after restore
- Full commit hash
6c64ffbd49cd99f0b4649703aa68b6e4e4b390b2- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 86
break;
break;
same change
6c64ffb
[acme-mailcow] Auto-detect container ids for restart; Restart containers after restore
- Full commit hash
6c64ffbd49cd99f0b4649703aa68b6e4e4b390b2- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 87
case 'edit':
case 'edit':
same change
6c64ffb
[acme-mailcow] Auto-detect container ids for restart; Restart containers after restore
- Full commit hash
6c64ffbd49cd99f0b4649703aa68b6e4e4b390b2- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 88
if ($_SESSION['mailcow_cc_role'] != "admin") {
if ($_SESSION['mailcow_cc_role'] != "admin") {
André
almost 8 years ago
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 89
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
andryyy
about 9 years ago
6c64ffb
[acme-mailcow] Auto-detect container ids for restart; Restart containers after restore
- Full commit hash
6c64ffbd49cd99f0b4649703aa68b6e4e4b390b2- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 90
'type' => 'danger',
'type' => 'danger',
André
almost 8 years ago
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 91
'log' => array(__FUNCTION__, $_action, $_data_log),
'log' => array(__FUNCTION__, $_action, $_data_log),
same change
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 92
'msg' => 'access_denied'
'msg' => 'access_denied'
andryyy
about 9 years ago
6c64ffb
[acme-mailcow] Auto-detect container ids for restart; Restart containers after restore
- Full commit hash
6c64ffbd49cd99f0b4649703aa68b6e4e4b390b2- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 93
);
);
same change
6c64ffb
[acme-mailcow] Auto-detect container ids for restart; Restart containers after restore
- Full commit hash
6c64ffbd49cd99f0b4649703aa68b6e4e4b390b2- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 94
return false;
return false;
same change
6c64ffb
[acme-mailcow] Auto-detect container ids for restart; Restart containers after restore
- Full commit hash
6c64ffbd49cd99f0b4649703aa68b6e4e4b390b2- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 95
}
}
andryyy
almost 6 years ago
877b9b7
[Web] Sync jobs: Use STARTTLS instead of TLS; Feature: Allow to edit fail2ban-like regex filters in UI
- Full commit hash
877b9b70549bc9f7424e8b3ddca8d70277be89d8- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 96
// Start to read actions, if any
// Start to read actions, if any
same change
877b9b7
[Web] Sync jobs: Use STARTTLS instead of TLS; Feature: Allow to edit fail2ban-like regex filters in UI
- Full commit hash
877b9b70549bc9f7424e8b3ddca8d70277be89d8- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 97
if (isset($_data['action'])) {
if (isset($_data['action'])) {
same change
877b9b7
[Web] Sync jobs: Use STARTTLS instead of TLS; Feature: Allow to edit fail2ban-like regex filters in UI
- Full commit hash
877b9b70549bc9f7424e8b3ddca8d70277be89d8- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 98
// Reset regex filters
// Reset regex filters
same change
877b9b7
[Web] Sync jobs: Use STARTTLS instead of TLS; Feature: Allow to edit fail2ban-like regex filters in UI
- Full commit hash
877b9b70549bc9f7424e8b3ddca8d70277be89d8- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 99
if ($_data['action'] == "reset-regex") {
if ($_data['action'] == "reset-regex") {
André
almost 8 years ago
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 100
try {
try {
andryyy
almost 6 years ago
877b9b7
[Web] Sync jobs: Use STARTTLS instead of TLS; Feature: Allow to edit fail2ban-like regex filters in UI
- Full commit hash
877b9b70549bc9f7424e8b3ddca8d70277be89d8- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 101
$redis->Del('F2B_REGEX');
$redis->Del('F2B_REGEX');
same change
877b9b7
[Web] Sync jobs: Use STARTTLS instead of TLS; Feature: Allow to edit fail2ban-like regex filters in UI
- Full commit hash
877b9b70549bc9f7424e8b3ddca8d70277be89d8- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 102
}
}
same change
877b9b7
[Web] Sync jobs: Use STARTTLS instead of TLS; Feature: Allow to edit fail2ban-like regex filters in UI
- Full commit hash
877b9b70549bc9f7424e8b3ddca8d70277be89d8- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 103
catch (RedisException $e) {
catch (RedisException $e) {
same change
877b9b7
[Web] Sync jobs: Use STARTTLS instead of TLS; Feature: Allow to edit fail2ban-like regex filters in UI
- Full commit hash
877b9b70549bc9f7424e8b3ddca8d70277be89d8- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 104
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
877b9b7
[Web] Sync jobs: Use STARTTLS instead of TLS; Feature: Allow to edit fail2ban-like regex filters in UI
- Full commit hash
877b9b70549bc9f7424e8b3ddca8d70277be89d8- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 105
'type' => 'danger',
'type' => 'danger',
same change
877b9b7
[Web] Sync jobs: Use STARTTLS instead of TLS; Feature: Allow to edit fail2ban-like regex filters in UI
- Full commit hash
877b9b70549bc9f7424e8b3ddca8d70277be89d8- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 106
'log' => array(__FUNCTION__, $_action, $_data_log),
'log' => array(__FUNCTION__, $_action, $_data_log),
same change
877b9b7
[Web] Sync jobs: Use STARTTLS instead of TLS; Feature: Allow to edit fail2ban-like regex filters in UI
- Full commit hash
877b9b70549bc9f7424e8b3ddca8d70277be89d8- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 107
'msg' => array('redis_error', $e)
'msg' => array('redis_error', $e)
same change
877b9b7
[Web] Sync jobs: Use STARTTLS instead of TLS; Feature: Allow to edit fail2ban-like regex filters in UI
- Full commit hash
877b9b70549bc9f7424e8b3ddca8d70277be89d8- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 108
);
);
same change
877b9b7
[Web] Sync jobs: Use STARTTLS instead of TLS; Feature: Allow to edit fail2ban-like regex filters in UI
- Full commit hash
877b9b70549bc9f7424e8b3ddca8d70277be89d8- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 109
return false;
return false;
same change
877b9b7
[Web] Sync jobs: Use STARTTLS instead of TLS; Feature: Allow to edit fail2ban-like regex filters in UI
- Full commit hash
877b9b70549bc9f7424e8b3ddca8d70277be89d8- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 110
}
}
same change
877b9b7
[Web] Sync jobs: Use STARTTLS instead of TLS; Feature: Allow to edit fail2ban-like regex filters in UI
- Full commit hash
877b9b70549bc9f7424e8b3ddca8d70277be89d8- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 111
// Rules will also be recreated on log events, but rules may seem empty for a second in the UI
// Rules will also be recreated on log events, but rules may seem empty for a second in the UI
same change
877b9b7
[Web] Sync jobs: Use STARTTLS instead of TLS; Feature: Allow to edit fail2ban-like regex filters in UI
- Full commit hash
877b9b70549bc9f7424e8b3ddca8d70277be89d8- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 112
docker('post', 'netfilter-mailcow', 'restart');
docker('post', 'netfilter-mailcow', 'restart');
same change
877b9b7
[Web] Sync jobs: Use STARTTLS instead of TLS; Feature: Allow to edit fail2ban-like regex filters in UI
- Full commit hash
877b9b70549bc9f7424e8b3ddca8d70277be89d8- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 113
$fail_count = 0;
$fail_count = 0;
same change
877b9b7
[Web] Sync jobs: Use STARTTLS instead of TLS; Feature: Allow to edit fail2ban-like regex filters in UI
- Full commit hash
877b9b70549bc9f7424e8b3ddca8d70277be89d8- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 114
$regex_result = json_decode($redis->Get('F2B_REGEX'), true);
$regex_result = json_decode($redis->Get('F2B_REGEX'), true);
same change
877b9b7
[Web] Sync jobs: Use STARTTLS instead of TLS; Feature: Allow to edit fail2ban-like regex filters in UI
- Full commit hash
877b9b70549bc9f7424e8b3ddca8d70277be89d8- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 115
while (empty($regex_result) && $fail_count < 10) {
while (empty($regex_result) && $fail_count < 10) {
same change
877b9b7
[Web] Sync jobs: Use STARTTLS instead of TLS; Feature: Allow to edit fail2ban-like regex filters in UI
- Full commit hash
877b9b70549bc9f7424e8b3ddca8d70277be89d8- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 116
$regex_result = json_decode($redis->Get('F2B_REGEX'), true);
$regex_result = json_decode($redis->Get('F2B_REGEX'), true);
same change
877b9b7
[Web] Sync jobs: Use STARTTLS instead of TLS; Feature: Allow to edit fail2ban-like regex filters in UI
- Full commit hash
877b9b70549bc9f7424e8b3ddca8d70277be89d8- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 117
$fail_count++;
$fail_count++;
same change
877b9b7
[Web] Sync jobs: Use STARTTLS instead of TLS; Feature: Allow to edit fail2ban-like regex filters in UI
- Full commit hash
877b9b70549bc9f7424e8b3ddca8d70277be89d8- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 118
sleep(1);
sleep(1);
same change
877b9b7
[Web] Sync jobs: Use STARTTLS instead of TLS; Feature: Allow to edit fail2ban-like regex filters in UI
- Full commit hash
877b9b70549bc9f7424e8b3ddca8d70277be89d8- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 119
}
}
same change
877b9b7
[Web] Sync jobs: Use STARTTLS instead of TLS; Feature: Allow to edit fail2ban-like regex filters in UI
- Full commit hash
877b9b70549bc9f7424e8b3ddca8d70277be89d8- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 120
if ($fail_count >= 10) {
if ($fail_count >= 10) {
same change
877b9b7
[Web] Sync jobs: Use STARTTLS instead of TLS; Feature: Allow to edit fail2ban-like regex filters in UI
- Full commit hash
877b9b70549bc9f7424e8b3ddca8d70277be89d8- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 121
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
877b9b7
[Web] Sync jobs: Use STARTTLS instead of TLS; Feature: Allow to edit fail2ban-like regex filters in UI
- Full commit hash
877b9b70549bc9f7424e8b3ddca8d70277be89d8- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 122
'type' => 'danger',
'type' => 'danger',
same change
877b9b7
[Web] Sync jobs: Use STARTTLS instead of TLS; Feature: Allow to edit fail2ban-like regex filters in UI
- Full commit hash
877b9b70549bc9f7424e8b3ddca8d70277be89d8- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 123
'log' => array(__FUNCTION__, $_action, $_data_log),
'log' => array(__FUNCTION__, $_action, $_data_log),
same change
877b9b7
[Web] Sync jobs: Use STARTTLS instead of TLS; Feature: Allow to edit fail2ban-like regex filters in UI
- Full commit hash
877b9b70549bc9f7424e8b3ddca8d70277be89d8- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 124
'msg' => array('reset_f2b_regex')
'msg' => array('reset_f2b_regex')
same change
877b9b7
[Web] Sync jobs: Use STARTTLS instead of TLS; Feature: Allow to edit fail2ban-like regex filters in UI
- Full commit hash
877b9b70549bc9f7424e8b3ddca8d70277be89d8- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 125
);
);
same change
877b9b7
[Web] Sync jobs: Use STARTTLS instead of TLS; Feature: Allow to edit fail2ban-like regex filters in UI
- Full commit hash
877b9b70549bc9f7424e8b3ddca8d70277be89d8- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 126
return false;
return false;
same change
877b9b7
[Web] Sync jobs: Use STARTTLS instead of TLS; Feature: Allow to edit fail2ban-like regex filters in UI
- Full commit hash
877b9b70549bc9f7424e8b3ddca8d70277be89d8- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 127
}
}
same change
877b9b7
[Web] Sync jobs: Use STARTTLS instead of TLS; Feature: Allow to edit fail2ban-like regex filters in UI
- Full commit hash
877b9b70549bc9f7424e8b3ddca8d70277be89d8- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 128
}
}
same change
877b9b7
[Web] Sync jobs: Use STARTTLS instead of TLS; Feature: Allow to edit fail2ban-like regex filters in UI
- Full commit hash
877b9b70549bc9f7424e8b3ddca8d70277be89d8- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 129
elseif ($_data['action'] == "edit-regex") {
elseif ($_data['action'] == "edit-regex") {
same change
877b9b7
[Web] Sync jobs: Use STARTTLS instead of TLS; Feature: Allow to edit fail2ban-like regex filters in UI
- Full commit hash
877b9b70549bc9f7424e8b3ddca8d70277be89d8- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 130
if (!empty($_data['regex'])) {
if (!empty($_data['regex'])) {
same change
877b9b7
[Web] Sync jobs: Use STARTTLS instead of TLS; Feature: Allow to edit fail2ban-like regex filters in UI
- Full commit hash
877b9b70549bc9f7424e8b3ddca8d70277be89d8- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 131
$rule_id = 1;
$rule_id = 1;
same change
877b9b7
[Web] Sync jobs: Use STARTTLS instead of TLS; Feature: Allow to edit fail2ban-like regex filters in UI
- Full commit hash
877b9b70549bc9f7424e8b3ddca8d70277be89d8- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 132
$regex_array = array();
$regex_array = array();
same change
877b9b7
[Web] Sync jobs: Use STARTTLS instead of TLS; Feature: Allow to edit fail2ban-like regex filters in UI
- Full commit hash
877b9b70549bc9f7424e8b3ddca8d70277be89d8- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 133
foreach($_data['regex'] as $regex) {
foreach($_data['regex'] as $regex) {
same change
877b9b7
[Web] Sync jobs: Use STARTTLS instead of TLS; Feature: Allow to edit fail2ban-like regex filters in UI
- Full commit hash
877b9b70549bc9f7424e8b3ddca8d70277be89d8- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 134
$regex_array[$rule_id] = $regex;
$regex_array[$rule_id] = $regex;
same change
877b9b7
[Web] Sync jobs: Use STARTTLS instead of TLS; Feature: Allow to edit fail2ban-like regex filters in UI
- Full commit hash
877b9b70549bc9f7424e8b3ddca8d70277be89d8- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 135
$rule_id++;
$rule_id++;
same change
877b9b7
[Web] Sync jobs: Use STARTTLS instead of TLS; Feature: Allow to edit fail2ban-like regex filters in UI
- Full commit hash
877b9b70549bc9f7424e8b3ddca8d70277be89d8- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 136
}
}
andryyy
almost 6 years ago
bf62f31
[Web] Fail2ban: Only write regex filters if not empty
- Full commit hash
bf62f31b9e3b5fb4205b3389170be01fbcda284c- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 137
if (!empty($regex_array)) {
if (!empty($regex_array)) {
same change
bf62f31
[Web] Fail2ban: Only write regex filters if not empty
- Full commit hash
bf62f31b9e3b5fb4205b3389170be01fbcda284c- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 138
$redis->Set('F2B_REGEX', json_encode($regex_array, JSON_UNESCAPED_SLASHES));
$redis->Set('F2B_REGEX', json_encode($regex_array, JSON_UNESCAPED_SLASHES));
same change
bf62f31
[Web] Fail2ban: Only write regex filters if not empty
- Full commit hash
bf62f31b9e3b5fb4205b3389170be01fbcda284c- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 139
}
}
andryyy
almost 6 years ago
877b9b7
[Web] Sync jobs: Use STARTTLS instead of TLS; Feature: Allow to edit fail2ban-like regex filters in UI
- Full commit hash
877b9b70549bc9f7424e8b3ddca8d70277be89d8- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 140
}
}
same change
877b9b7
[Web] Sync jobs: Use STARTTLS instead of TLS; Feature: Allow to edit fail2ban-like regex filters in UI
- Full commit hash
877b9b70549bc9f7424e8b3ddca8d70277be89d8- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 141
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
877b9b7
[Web] Sync jobs: Use STARTTLS instead of TLS; Feature: Allow to edit fail2ban-like regex filters in UI
- Full commit hash
877b9b70549bc9f7424e8b3ddca8d70277be89d8- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 142
'type' => 'success',
'type' => 'success',
same change
877b9b7
[Web] Sync jobs: Use STARTTLS instead of TLS; Feature: Allow to edit fail2ban-like regex filters in UI
- Full commit hash
877b9b70549bc9f7424e8b3ddca8d70277be89d8- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 143
'log' => array(__FUNCTION__, $_action, $_data_log),
'log' => array(__FUNCTION__, $_action, $_data_log),
same change
877b9b7
[Web] Sync jobs: Use STARTTLS instead of TLS; Feature: Allow to edit fail2ban-like regex filters in UI
- Full commit hash
877b9b70549bc9f7424e8b3ddca8d70277be89d8- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 144
'msg' => array('object_modified', htmlspecialchars($network))
'msg' => array('object_modified', htmlspecialchars($network))
same change
877b9b7
[Web] Sync jobs: Use STARTTLS instead of TLS; Feature: Allow to edit fail2ban-like regex filters in UI
- Full commit hash
877b9b70549bc9f7424e8b3ddca8d70277be89d8- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 145
);
);
same change
877b9b7
[Web] Sync jobs: Use STARTTLS instead of TLS; Feature: Allow to edit fail2ban-like regex filters in UI
- Full commit hash
877b9b70549bc9f7424e8b3ddca8d70277be89d8- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 146
return true;
return true;
same change
877b9b7
[Web] Sync jobs: Use STARTTLS instead of TLS; Feature: Allow to edit fail2ban-like regex filters in UI
- Full commit hash
877b9b70549bc9f7424e8b3ddca8d70277be89d8- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 147
}
}
same change
877b9b7
[Web] Sync jobs: Use STARTTLS instead of TLS; Feature: Allow to edit fail2ban-like regex filters in UI
- Full commit hash
877b9b70549bc9f7424e8b3ddca8d70277be89d8- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 148
same change
877b9b7
[Web] Sync jobs: Use STARTTLS instead of TLS; Feature: Allow to edit fail2ban-like regex filters in UI
- Full commit hash
877b9b70549bc9f7424e8b3ddca8d70277be89d8- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 149
// Start actions in dependency of network
// Start actions in dependency of network
same change
877b9b7
[Web] Sync jobs: Use STARTTLS instead of TLS; Feature: Allow to edit fail2ban-like regex filters in UI
- Full commit hash
877b9b70549bc9f7424e8b3ddca8d70277be89d8- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 150
if (!empty($_data['network'])) {
if (!empty($_data['network'])) {
same change
877b9b7
[Web] Sync jobs: Use STARTTLS instead of TLS; Feature: Allow to edit fail2ban-like regex filters in UI
- Full commit hash
877b9b70549bc9f7424e8b3ddca8d70277be89d8- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 151
$networks = (array)$_data['network'];
$networks = (array)$_data['network'];
same change
877b9b7
[Web] Sync jobs: Use STARTTLS instead of TLS; Feature: Allow to edit fail2ban-like regex filters in UI
- Full commit hash
877b9b70549bc9f7424e8b3ddca8d70277be89d8- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 152
foreach ($networks as $network) {
foreach ($networks as $network) {
same change
877b9b7
[Web] Sync jobs: Use STARTTLS instead of TLS; Feature: Allow to edit fail2ban-like regex filters in UI
- Full commit hash
877b9b70549bc9f7424e8b3ddca8d70277be89d8- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 153
// Unban network
// Unban network
André
almost 8 years ago
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 154
if ($_data['action'] == "unban") {
if ($_data['action'] == "unban") {
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 155
if (valid_network($network)) {
if (valid_network($network)) {
andryyy
almost 6 years ago
877b9b7
[Web] Sync jobs: Use STARTTLS instead of TLS; Feature: Allow to edit fail2ban-like regex filters in UI
- Full commit hash
877b9b70549bc9f7424e8b3ddca8d70277be89d8- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 156
try {
try {
same change
877b9b7
[Web] Sync jobs: Use STARTTLS instead of TLS; Feature: Allow to edit fail2ban-like regex filters in UI
- Full commit hash
877b9b70549bc9f7424e8b3ddca8d70277be89d8- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 157
$redis->hSet('F2B_QUEUE_UNBAN', $network, 1);
$redis->hSet('F2B_QUEUE_UNBAN', $network, 1);
same change
877b9b7
[Web] Sync jobs: Use STARTTLS instead of TLS; Feature: Allow to edit fail2ban-like regex filters in UI
- Full commit hash
877b9b70549bc9f7424e8b3ddca8d70277be89d8- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 158
}
}
same change
877b9b7
[Web] Sync jobs: Use STARTTLS instead of TLS; Feature: Allow to edit fail2ban-like regex filters in UI
- Full commit hash
877b9b70549bc9f7424e8b3ddca8d70277be89d8- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 159
catch (RedisException $e) {
catch (RedisException $e) {
same change
877b9b7
[Web] Sync jobs: Use STARTTLS instead of TLS; Feature: Allow to edit fail2ban-like regex filters in UI
- Full commit hash
877b9b70549bc9f7424e8b3ddca8d70277be89d8- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 160
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
877b9b7
[Web] Sync jobs: Use STARTTLS instead of TLS; Feature: Allow to edit fail2ban-like regex filters in UI
- Full commit hash
877b9b70549bc9f7424e8b3ddca8d70277be89d8- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 161
'type' => 'danger',
'type' => 'danger',
same change
877b9b7
[Web] Sync jobs: Use STARTTLS instead of TLS; Feature: Allow to edit fail2ban-like regex filters in UI
- Full commit hash
877b9b70549bc9f7424e8b3ddca8d70277be89d8- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 162
'log' => array(__FUNCTION__, $_action, $_data_log),
'log' => array(__FUNCTION__, $_action, $_data_log),
same change
877b9b7
[Web] Sync jobs: Use STARTTLS instead of TLS; Feature: Allow to edit fail2ban-like regex filters in UI
- Full commit hash
877b9b70549bc9f7424e8b3ddca8d70277be89d8- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 163
'msg' => array('redis_error', $e)
'msg' => array('redis_error', $e)
same change
877b9b7
[Web] Sync jobs: Use STARTTLS instead of TLS; Feature: Allow to edit fail2ban-like regex filters in UI
- Full commit hash
877b9b70549bc9f7424e8b3ddca8d70277be89d8- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 164
);
);
same change
877b9b7
[Web] Sync jobs: Use STARTTLS instead of TLS; Feature: Allow to edit fail2ban-like regex filters in UI
- Full commit hash
877b9b70549bc9f7424e8b3ddca8d70277be89d8- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 165
continue;
continue;
same change
877b9b7
[Web] Sync jobs: Use STARTTLS instead of TLS; Feature: Allow to edit fail2ban-like regex filters in UI
- Full commit hash
877b9b70549bc9f7424e8b3ddca8d70277be89d8- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 166
}
}
André
almost 8 years ago
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 167
}
}
André
about 8 years ago
5e590ea
[Web] Allow to blacklist, whitelist and unban networks currently blocked plus minor other fixes to fail2ban logic
- Full commit hash
5e590ea1196c8bc0e4869753e2eba72be36ae320- Author
- André <[email protected]>
- Date
- about 8 years ago
- Selected line
- 168
}
}
andryyy
almost 6 years ago
877b9b7
[Web] Sync jobs: Use STARTTLS instead of TLS; Feature: Allow to edit fail2ban-like regex filters in UI
- Full commit hash
877b9b70549bc9f7424e8b3ddca8d70277be89d8- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 169
// Whitelist network
// Whitelist network
André
almost 8 years ago
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 170
elseif ($_data['action'] == "whitelist") {
elseif ($_data['action'] == "whitelist") {
andryyy
almost 6 years ago
d5c22de
[Web] Compatibility: Re-add _int vars
- Full commit hash
d5c22de9b3b47c015cfec18e25198796ae487aec- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 171
if (empty($network)) { continue; }
if (empty($network)) { continue; }
André
almost 8 years ago
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 172
if (valid_network($network)) {
if (valid_network($network)) {
andryyy
almost 6 years ago
877b9b7
[Web] Sync jobs: Use STARTTLS instead of TLS; Feature: Allow to edit fail2ban-like regex filters in UI
- Full commit hash
877b9b70549bc9f7424e8b3ddca8d70277be89d8- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 173
try {
try {
same change
877b9b7
[Web] Sync jobs: Use STARTTLS instead of TLS; Feature: Allow to edit fail2ban-like regex filters in UI
- Full commit hash
877b9b70549bc9f7424e8b3ddca8d70277be89d8- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 174
$redis->hSet('F2B_WHITELIST', $network, 1);
$redis->hSet('F2B_WHITELIST', $network, 1);
same change
877b9b7
[Web] Sync jobs: Use STARTTLS instead of TLS; Feature: Allow to edit fail2ban-like regex filters in UI
- Full commit hash
877b9b70549bc9f7424e8b3ddca8d70277be89d8- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 175
$redis->hDel('F2B_BLACKLIST', $network, 1);
$redis->hDel('F2B_BLACKLIST', $network, 1);
same change
877b9b7
[Web] Sync jobs: Use STARTTLS instead of TLS; Feature: Allow to edit fail2ban-like regex filters in UI
- Full commit hash
877b9b70549bc9f7424e8b3ddca8d70277be89d8- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 176
$redis->hSet('F2B_QUEUE_UNBAN', $network, 1);
$redis->hSet('F2B_QUEUE_UNBAN', $network, 1);
same change
877b9b7
[Web] Sync jobs: Use STARTTLS instead of TLS; Feature: Allow to edit fail2ban-like regex filters in UI
- Full commit hash
877b9b70549bc9f7424e8b3ddca8d70277be89d8- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 177
}
}
same change
877b9b7
[Web] Sync jobs: Use STARTTLS instead of TLS; Feature: Allow to edit fail2ban-like regex filters in UI
- Full commit hash
877b9b70549bc9f7424e8b3ddca8d70277be89d8- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 178
catch (RedisException $e) {
catch (RedisException $e) {
same change
877b9b7
[Web] Sync jobs: Use STARTTLS instead of TLS; Feature: Allow to edit fail2ban-like regex filters in UI
- Full commit hash
877b9b70549bc9f7424e8b3ddca8d70277be89d8- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 179
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
877b9b7
[Web] Sync jobs: Use STARTTLS instead of TLS; Feature: Allow to edit fail2ban-like regex filters in UI
- Full commit hash
877b9b70549bc9f7424e8b3ddca8d70277be89d8- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 180
'type' => 'danger',
'type' => 'danger',
same change
877b9b7
[Web] Sync jobs: Use STARTTLS instead of TLS; Feature: Allow to edit fail2ban-like regex filters in UI
- Full commit hash
877b9b70549bc9f7424e8b3ddca8d70277be89d8- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 181
'log' => array(__FUNCTION__, $_action, $_data_log),
'log' => array(__FUNCTION__, $_action, $_data_log),
same change
877b9b7
[Web] Sync jobs: Use STARTTLS instead of TLS; Feature: Allow to edit fail2ban-like regex filters in UI
- Full commit hash
877b9b70549bc9f7424e8b3ddca8d70277be89d8- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 182
'msg' => array('redis_error', $e)
'msg' => array('redis_error', $e)
same change
877b9b7
[Web] Sync jobs: Use STARTTLS instead of TLS; Feature: Allow to edit fail2ban-like regex filters in UI
- Full commit hash
877b9b70549bc9f7424e8b3ddca8d70277be89d8- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 183
);
);
same change
877b9b7
[Web] Sync jobs: Use STARTTLS instead of TLS; Feature: Allow to edit fail2ban-like regex filters in UI
- Full commit hash
877b9b70549bc9f7424e8b3ddca8d70277be89d8- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 184
continue;
continue;
same change
877b9b7
[Web] Sync jobs: Use STARTTLS instead of TLS; Feature: Allow to edit fail2ban-like regex filters in UI
- Full commit hash
877b9b70549bc9f7424e8b3ddca8d70277be89d8- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 185
}
}
André
almost 8 years ago
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 186
}
}
andryyy
over 7 years ago
b74226a
[Web] Fix return for unban/ban actions via API
- Full commit hash
b74226a9dc2ec206cbdf97b7008a61f762f52db9- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 187
else {
else {
same change
b74226a
[Web] Fix return for unban/ban actions via API
- Full commit hash
b74226a9dc2ec206cbdf97b7008a61f762f52db9- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 188
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
b74226a
[Web] Fix return for unban/ban actions via API
- Full commit hash
b74226a9dc2ec206cbdf97b7008a61f762f52db9- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 189
'type' => 'danger',
'type' => 'danger',
same change
b74226a
[Web] Fix return for unban/ban actions via API
- Full commit hash
b74226a9dc2ec206cbdf97b7008a61f762f52db9- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 190
'log' => array(__FUNCTION__, $_action, $_data_log),
'log' => array(__FUNCTION__, $_action, $_data_log),
same change
b74226a
[Web] Fix return for unban/ban actions via API
- Full commit hash
b74226a9dc2ec206cbdf97b7008a61f762f52db9- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 191
'msg' => array('network_host_invalid', $network)
'msg' => array('network_host_invalid', $network)
same change
b74226a
[Web] Fix return for unban/ban actions via API
- Full commit hash
b74226a9dc2ec206cbdf97b7008a61f762f52db9- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 192
);
);
same change
b74226a
[Web] Fix return for unban/ban actions via API
- Full commit hash
b74226a9dc2ec206cbdf97b7008a61f762f52db9- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 193
continue;
continue;
same change
b74226a
[Web] Fix return for unban/ban actions via API
- Full commit hash
b74226a9dc2ec206cbdf97b7008a61f762f52db9- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 194
}
}
André
about 8 years ago
5e590ea
[Web] Allow to blacklist, whitelist and unban networks currently blocked plus minor other fixes to fail2ban logic
- Full commit hash
5e590ea1196c8bc0e4869753e2eba72be36ae320- Author
- André <[email protected]>
- Date
- about 8 years ago
- Selected line
- 195
}
}
andryyy
almost 6 years ago
877b9b7
[Web] Sync jobs: Use STARTTLS instead of TLS; Feature: Allow to edit fail2ban-like regex filters in UI
- Full commit hash
877b9b70549bc9f7424e8b3ddca8d70277be89d8- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 196
// Blacklist network
// Blacklist network
André
almost 8 years ago
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 197
elseif ($_data['action'] == "blacklist") {
elseif ($_data['action'] == "blacklist") {
andryyy
almost 6 years ago
d5c22de
[Web] Compatibility: Re-add _int vars
- Full commit hash
d5c22de9b3b47c015cfec18e25198796ae487aec- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 198
if (empty($network)) { continue; }
if (empty($network)) { continue; }
andryyy
about 6 years ago
b1db4bf
[Web] Disallow blacklisting of some special networks
- Full commit hash
b1db4bf4bcb2f3819dcd2594aa7f486a3eee42c1- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 199
if (valid_network($network) && !in_array($network, array(
if (valid_network($network) && !in_array($network, array(
same change
b1db4bf
[Web] Disallow blacklisting of some special networks
- Full commit hash
b1db4bf4bcb2f3819dcd2594aa7f486a3eee42c1- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 200
'0.0.0.0',
'0.0.0.0',
same change
b1db4bf
[Web] Disallow blacklisting of some special networks
- Full commit hash
b1db4bf4bcb2f3819dcd2594aa7f486a3eee42c1- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 201
'0.0.0.0/0',
'0.0.0.0/0',
same change
b1db4bf
[Web] Disallow blacklisting of some special networks
- Full commit hash
b1db4bf4bcb2f3819dcd2594aa7f486a3eee42c1- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 202
getenv('IPV4_NETWORK') . '0/24',
getenv('IPV4_NETWORK') . '0/24',
same change
b1db4bf
[Web] Disallow blacklisting of some special networks
- Full commit hash
b1db4bf4bcb2f3819dcd2594aa7f486a3eee42c1- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 203
getenv('IPV4_NETWORK') . '0',
getenv('IPV4_NETWORK') . '0',
same change
b1db4bf
[Web] Disallow blacklisting of some special networks
- Full commit hash
b1db4bf4bcb2f3819dcd2594aa7f486a3eee42c1- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 204
getenv('IPV6_NETWORK')
getenv('IPV6_NETWORK')
same change
b1db4bf
[Web] Disallow blacklisting of some special networks
- Full commit hash
b1db4bf4bcb2f3819dcd2594aa7f486a3eee42c1- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 205
))) {
))) {
andryyy
almost 6 years ago
877b9b7
[Web] Sync jobs: Use STARTTLS instead of TLS; Feature: Allow to edit fail2ban-like regex filters in UI
- Full commit hash
877b9b70549bc9f7424e8b3ddca8d70277be89d8- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 206
try {
try {
same change
877b9b7
[Web] Sync jobs: Use STARTTLS instead of TLS; Feature: Allow to edit fail2ban-like regex filters in UI
- Full commit hash
877b9b70549bc9f7424e8b3ddca8d70277be89d8- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 207
$redis->hSet('F2B_BLACKLIST', $network, 1);
$redis->hSet('F2B_BLACKLIST', $network, 1);
same change
877b9b7
[Web] Sync jobs: Use STARTTLS instead of TLS; Feature: Allow to edit fail2ban-like regex filters in UI
- Full commit hash
877b9b70549bc9f7424e8b3ddca8d70277be89d8- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 208
$redis->hDel('F2B_WHITELIST', $network, 1);
$redis->hDel('F2B_WHITELIST', $network, 1);
same change
877b9b7
[Web] Sync jobs: Use STARTTLS instead of TLS; Feature: Allow to edit fail2ban-like regex filters in UI
- Full commit hash
877b9b70549bc9f7424e8b3ddca8d70277be89d8- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 209
//$response = docker('post', 'netfilter-mailcow', 'restart');
//$response = docker('post', 'netfilter-mailcow', 'restart');
same change
877b9b7
[Web] Sync jobs: Use STARTTLS instead of TLS; Feature: Allow to edit fail2ban-like regex filters in UI
- Full commit hash
877b9b70549bc9f7424e8b3ddca8d70277be89d8- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 210
}
}
same change
877b9b7
[Web] Sync jobs: Use STARTTLS instead of TLS; Feature: Allow to edit fail2ban-like regex filters in UI
- Full commit hash
877b9b70549bc9f7424e8b3ddca8d70277be89d8- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 211
catch (RedisException $e) {
catch (RedisException $e) {
same change
877b9b7
[Web] Sync jobs: Use STARTTLS instead of TLS; Feature: Allow to edit fail2ban-like regex filters in UI
- Full commit hash
877b9b70549bc9f7424e8b3ddca8d70277be89d8- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 212
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
877b9b7
[Web] Sync jobs: Use STARTTLS instead of TLS; Feature: Allow to edit fail2ban-like regex filters in UI
- Full commit hash
877b9b70549bc9f7424e8b3ddca8d70277be89d8- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 213
'type' => 'danger',
'type' => 'danger',
same change
877b9b7
[Web] Sync jobs: Use STARTTLS instead of TLS; Feature: Allow to edit fail2ban-like regex filters in UI
- Full commit hash
877b9b70549bc9f7424e8b3ddca8d70277be89d8- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 214
'log' => array(__FUNCTION__, $_action, $_data_log),
'log' => array(__FUNCTION__, $_action, $_data_log),
same change
877b9b7
[Web] Sync jobs: Use STARTTLS instead of TLS; Feature: Allow to edit fail2ban-like regex filters in UI
- Full commit hash
877b9b70549bc9f7424e8b3ddca8d70277be89d8- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 215
'msg' => array('redis_error', $e)
'msg' => array('redis_error', $e)
same change
877b9b7
[Web] Sync jobs: Use STARTTLS instead of TLS; Feature: Allow to edit fail2ban-like regex filters in UI
- Full commit hash
877b9b70549bc9f7424e8b3ddca8d70277be89d8- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 216
);
);
same change
877b9b7
[Web] Sync jobs: Use STARTTLS instead of TLS; Feature: Allow to edit fail2ban-like regex filters in UI
- Full commit hash
877b9b70549bc9f7424e8b3ddca8d70277be89d8- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 217
continue;
continue;
same change
877b9b7
[Web] Sync jobs: Use STARTTLS instead of TLS; Feature: Allow to edit fail2ban-like regex filters in UI
- Full commit hash
877b9b70549bc9f7424e8b3ddca8d70277be89d8- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 218
}
}
André
almost 8 years ago
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 219
}
}
andryyy
over 7 years ago
b74226a
[Web] Fix return for unban/ban actions via API
- Full commit hash
b74226a9dc2ec206cbdf97b7008a61f762f52db9- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 220
else {
else {
same change
b74226a
[Web] Fix return for unban/ban actions via API
- Full commit hash
b74226a9dc2ec206cbdf97b7008a61f762f52db9- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 221
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
b74226a
[Web] Fix return for unban/ban actions via API
- Full commit hash
b74226a9dc2ec206cbdf97b7008a61f762f52db9- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 222
'type' => 'danger',
'type' => 'danger',
same change
b74226a
[Web] Fix return for unban/ban actions via API
- Full commit hash
b74226a9dc2ec206cbdf97b7008a61f762f52db9- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 223
'log' => array(__FUNCTION__, $_action, $_data_log),
'log' => array(__FUNCTION__, $_action, $_data_log),
same change
b74226a
[Web] Fix return for unban/ban actions via API
- Full commit hash
b74226a9dc2ec206cbdf97b7008a61f762f52db9- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 224
'msg' => array('network_host_invalid', $network)
'msg' => array('network_host_invalid', $network)
same change
b74226a
[Web] Fix return for unban/ban actions via API
- Full commit hash
b74226a9dc2ec206cbdf97b7008a61f762f52db9- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 225
);
);
same change
b74226a
[Web] Fix return for unban/ban actions via API
- Full commit hash
b74226a9dc2ec206cbdf97b7008a61f762f52db9- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 226
continue;
continue;
same change
b74226a
[Web] Fix return for unban/ban actions via API
- Full commit hash
b74226a9dc2ec206cbdf97b7008a61f762f52db9- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 227
}
}
André
about 8 years ago
5e590ea
[Web] Allow to blacklist, whitelist and unban networks currently blocked plus minor other fixes to fail2ban logic
- Full commit hash
5e590ea1196c8bc0e4869753e2eba72be36ae320- Author
- André <[email protected]>
- Date
- about 8 years ago
- Selected line
- 228
}
}
André
almost 8 years ago
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 229
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
andryyy
almost 6 years ago
877b9b7
[Web] Sync jobs: Use STARTTLS instead of TLS; Feature: Allow to edit fail2ban-like regex filters in UI
- Full commit hash
877b9b70549bc9f7424e8b3ddca8d70277be89d8- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 230
'type' => 'success',
'type' => 'success',
André
almost 8 years ago
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 231
'log' => array(__FUNCTION__, $_action, $_data_log),
'log' => array(__FUNCTION__, $_action, $_data_log),
andryyy
almost 6 years ago
877b9b7
[Web] Sync jobs: Use STARTTLS instead of TLS; Feature: Allow to edit fail2ban-like regex filters in UI
- Full commit hash
877b9b70549bc9f7424e8b3ddca8d70277be89d8- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 232
'msg' => array('object_modified', htmlspecialchars($network))
'msg' => array('object_modified', htmlspecialchars($network))
André
almost 8 years ago
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 233
);
);
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 234
}
}
andryyy
almost 6 years ago
877b9b7
[Web] Sync jobs: Use STARTTLS instead of TLS; Feature: Allow to edit fail2ban-like regex filters in UI
- Full commit hash
877b9b70549bc9f7424e8b3ddca8d70277be89d8- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 235
return true;
return true;
André
about 8 years ago
5e590ea
[Web] Allow to blacklist, whitelist and unban networks currently blocked plus minor other fixes to fail2ban logic
- Full commit hash
5e590ea1196c8bc0e4869753e2eba72be36ae320- Author
- André <[email protected]>
- Date
- about 8 years ago
- Selected line
- 236
}
}
same change
5e590ea
[Web] Allow to blacklist, whitelist and unban networks currently blocked plus minor other fixes to fail2ban logic
- Full commit hash
5e590ea1196c8bc0e4869753e2eba72be36ae320- Author
- André <[email protected]>
- Date
- about 8 years ago
- Selected line
- 237
}
}
andryyy
almost 6 years ago
877b9b7
[Web] Sync jobs: Use STARTTLS instead of TLS; Feature: Allow to edit fail2ban-like regex filters in UI
- Full commit hash
877b9b70549bc9f7424e8b3ddca8d70277be89d8- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 238
// Start default edit without specific action
// Start default edit without specific action
andryyy
about 9 years ago
6c64ffb
[acme-mailcow] Auto-detect container ids for restart; Restart containers after restore
- Full commit hash
6c64ffbd49cd99f0b4649703aa68b6e4e4b390b2- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 239
$is_now = fail2ban('get');
$is_now = fail2ban('get');
same change
6c64ffb
[acme-mailcow] Auto-detect container ids for restart; Restart containers after restore
- Full commit hash
6c64ffbd49cd99f0b4649703aa68b6e4e4b390b2- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 240
if (!empty($is_now)) {
if (!empty($is_now)) {
same change
6c64ffb
[acme-mailcow] Auto-detect container ids for restart; Restart containers after restore
- Full commit hash
6c64ffbd49cd99f0b4649703aa68b6e4e4b390b2- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 241
$ban_time = intval((isset($_data['ban_time'])) ? $_data['ban_time'] : $is_now['ban_time']);
$ban_time = intval((isset($_data['ban_time'])) ? $_data['ban_time'] : $is_now['ban_time']);
Thorbjörn Jörger
over 3 years ago
c28a6b8
Added ban_time_increment and max_ban_time to UI
- Full commit hash
c28a6b89f030caca6e208790f80751588d1868ce- Author
- Thorbjörn Jörger <[email protected]>
- Date
- over 3 years ago
- Selected line
- 242
$ban_time_increment = (isset($_data['ban_time_increment']) && $_data['ban_time_increment'] == "1") ? 1 : 0;
$ban_time_increment = (isset($_data['ban_time_increment']) && $_data['ban_time_increment'] == "1") ? 1 : 0;
andryyy
almost 6 years ago
d9b91fc
[Web] Important: Removed unnecessary *_int attributes from GET elements, _only_ returning int values now (same for all attributes which were provided as html char and int)
- Full commit hash
d9b91fc04f286eaba4266ca60254a02dc5e91867- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 243
$max_attempts = intval((isset($_data['max_attempts'])) ? $_data['max_attempts'] : $is_now['max_attempts']);
$max_attempts = intval((isset($_data['max_attempts'])) ? $_data['max_attempts'] : $is_now['max_attempts']);
Thorbjörn Jörger
over 3 years ago
c28a6b8
Added ban_time_increment and max_ban_time to UI
- Full commit hash
c28a6b89f030caca6e208790f80751588d1868ce- Author
- Thorbjörn Jörger <[email protected]>
- Date
- over 3 years ago
- Selected line
- 244
$max_ban_time = intval((isset($_data['max_ban_time'])) ? $_data['max_ban_time'] : $is_now['max_ban_time']);
$max_ban_time = intval((isset($_data['max_ban_time'])) ? $_data['max_ban_time'] : $is_now['max_ban_time']);
andryyy
about 9 years ago
6c64ffb
[acme-mailcow] Auto-detect container ids for restart; Restart containers after restore
- Full commit hash
6c64ffbd49cd99f0b4649703aa68b6e4e4b390b2- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 245
$retry_window = intval((isset($_data['retry_window'])) ? $_data['retry_window'] : $is_now['retry_window']);
$retry_window = intval((isset($_data['retry_window'])) ? $_data['retry_window'] : $is_now['retry_window']);
andre.peters
over 8 years ago
1c6d3c1
[Web] Set Fail2ban subnet sizes
- Full commit hash
1c6d3c16b6f348a06c5da609021505d77c70985b- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 246
$netban_ipv4 = intval((isset($_data['netban_ipv4'])) ? $_data['netban_ipv4'] : $is_now['netban_ipv4']);
$netban_ipv4 = intval((isset($_data['netban_ipv4'])) ? $_data['netban_ipv4'] : $is_now['netban_ipv4']);
same change
1c6d3c1
[Web] Set Fail2ban subnet sizes
- Full commit hash
1c6d3c16b6f348a06c5da609021505d77c70985b- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 247
$netban_ipv6 = intval((isset($_data['netban_ipv6'])) ? $_data['netban_ipv6'] : $is_now['netban_ipv6']);
$netban_ipv6 = intval((isset($_data['netban_ipv6'])) ? $_data['netban_ipv6'] : $is_now['netban_ipv6']);
André
about 8 years ago
05e026d
[Netfilter] New ban method, allow to set blacklists
- Full commit hash
05e026db3a9d2ab098b26436b3b04cde0783ec4a- Author
- André <[email protected]>
- Date
- about 8 years ago
- Selected line
- 248
$wl = (isset($_data['whitelist'])) ? $_data['whitelist'] : $is_now['whitelist'];
$wl = (isset($_data['whitelist'])) ? $_data['whitelist'] : $is_now['whitelist'];
same change
05e026d
[Netfilter] New ban method, allow to set blacklists
- Full commit hash
05e026db3a9d2ab098b26436b3b04cde0783ec4a- Author
- André <[email protected]>
- Date
- about 8 years ago
- Selected line
- 249
$bl = (isset($_data['blacklist'])) ? $_data['blacklist'] : $is_now['blacklist'];
$bl = (isset($_data['blacklist'])) ? $_data['blacklist'] : $is_now['blacklist'];
FreddleSpl0it
about 3 years ago
65cbc47
[Web] add manage f2b external option
- Full commit hash
65cbc478b8ac644c826bbb5153bd557f29cda10f- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 250
$manage_external = (isset($_data['manage_external'])) ? intval($_data['manage_external']) : 0;
$manage_external = (isset($_data['manage_external'])) ? intval($_data['manage_external']) : 0;
andryyy
about 9 years ago
6c64ffb
[acme-mailcow] Auto-detect container ids for restart; Restart containers after restore
- Full commit hash
6c64ffbd49cd99f0b4649703aa68b6e4e4b390b2- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 251
}
}
same change
6c64ffb
[acme-mailcow] Auto-detect container ids for restart; Restart containers after restore
- Full commit hash
6c64ffbd49cd99f0b4649703aa68b6e4e4b390b2- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 252
else {
else {
André
almost 8 years ago
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 253
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
andryyy
about 9 years ago
6c64ffb
[acme-mailcow] Auto-detect container ids for restart; Restart containers after restore
- Full commit hash
6c64ffbd49cd99f0b4649703aa68b6e4e4b390b2- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 254
'type' => 'danger',
'type' => 'danger',
André
almost 8 years ago
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 255
'log' => array(__FUNCTION__, $_action, $_data_log),
'log' => array(__FUNCTION__, $_action, $_data_log),
same change
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 256
'msg' => 'access_denied'
'msg' => 'access_denied'
andryyy
about 9 years ago
6c64ffb
[acme-mailcow] Auto-detect container ids for restart; Restart containers after restore
- Full commit hash
6c64ffbd49cd99f0b4649703aa68b6e4e4b390b2- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 257
);
);
same change
6c64ffb
[acme-mailcow] Auto-detect container ids for restart; Restart containers after restore
- Full commit hash
6c64ffbd49cd99f0b4649703aa68b6e4e4b390b2- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 258
return false;
return false;
same change
6c64ffb
[acme-mailcow] Auto-detect container ids for restart; Restart containers after restore
- Full commit hash
6c64ffbd49cd99f0b4649703aa68b6e4e4b390b2- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 259
}
}
andre.peters
over 8 years ago
b2032c0
[Web] Hide up time of containers that are missing
- Full commit hash
b2032c0e8afa8d4d68c57ea8eec805fed181f6f8- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 260
$f2b_options = array();
$f2b_options = array();
same change
b2032c0
[Web] Hide up time of containers that are missing
- Full commit hash
b2032c0e8afa8d4d68c57ea8eec805fed181f6f8- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 261
$f2b_options['ban_time'] = ($ban_time < 60) ? 60 : $ban_time;
$f2b_options['ban_time'] = ($ban_time < 60) ? 60 : $ban_time;
Thorbjörn Jörger
over 3 years ago
c28a6b8
Added ban_time_increment and max_ban_time to UI
- Full commit hash
c28a6b89f030caca6e208790f80751588d1868ce- Author
- Thorbjörn Jörger <[email protected]>
- Date
- over 3 years ago
- Selected line
- 262
$f2b_options['ban_time_increment'] = ($ban_time_increment == 1) ? true : false;
$f2b_options['ban_time_increment'] = ($ban_time_increment == 1) ? true : false;
same change
c28a6b8
Added ban_time_increment and max_ban_time to UI
- Full commit hash
c28a6b89f030caca6e208790f80751588d1868ce- Author
- Thorbjörn Jörger <[email protected]>
- Date
- over 3 years ago
- Selected line
- 263
$f2b_options['max_ban_time'] = ($max_ban_time < 60) ? 60 : $max_ban_time;
$f2b_options['max_ban_time'] = ($max_ban_time < 60) ? 60 : $max_ban_time;
andre.peters
over 8 years ago
b2032c0
[Web] Hide up time of containers that are missing
- Full commit hash
b2032c0e8afa8d4d68c57ea8eec805fed181f6f8- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 264
$f2b_options['netban_ipv4'] = ($netban_ipv4 < 8) ? 8 : $netban_ipv4;
$f2b_options['netban_ipv4'] = ($netban_ipv4 < 8) ? 8 : $netban_ipv4;
same change
b2032c0
[Web] Hide up time of containers that are missing
- Full commit hash
b2032c0e8afa8d4d68c57ea8eec805fed181f6f8- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 265
$f2b_options['netban_ipv6'] = ($netban_ipv6 < 8) ? 8 : $netban_ipv6;
$f2b_options['netban_ipv6'] = ($netban_ipv6 < 8) ? 8 : $netban_ipv6;
same change
b2032c0
[Web] Hide up time of containers that are missing
- Full commit hash
b2032c0e8afa8d4d68c57ea8eec805fed181f6f8- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 266
$f2b_options['netban_ipv4'] = ($netban_ipv4 > 32) ? 32 : $netban_ipv4;
$f2b_options['netban_ipv4'] = ($netban_ipv4 > 32) ? 32 : $netban_ipv4;
same change
b2032c0
[Web] Hide up time of containers that are missing
- Full commit hash
b2032c0e8afa8d4d68c57ea8eec805fed181f6f8- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 267
$f2b_options['netban_ipv6'] = ($netban_ipv6 > 128) ? 128 : $netban_ipv6;
$f2b_options['netban_ipv6'] = ($netban_ipv6 > 128) ? 128 : $netban_ipv6;
same change
b2032c0
[Web] Hide up time of containers that are missing
- Full commit hash
b2032c0e8afa8d4d68c57ea8eec805fed181f6f8- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 268
$f2b_options['max_attempts'] = ($max_attempts < 1) ? 1 : $max_attempts;
$f2b_options['max_attempts'] = ($max_attempts < 1) ? 1 : $max_attempts;
same change
b2032c0
[Web] Hide up time of containers that are missing
- Full commit hash
b2032c0e8afa8d4d68c57ea8eec805fed181f6f8- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 269
$f2b_options['retry_window'] = ($retry_window < 1) ? 1 : $retry_window;
$f2b_options['retry_window'] = ($retry_window < 1) ? 1 : $retry_window;
FreddleSpl0it
about 3 years ago
65cbc47
[Web] add manage f2b external option
- Full commit hash
65cbc478b8ac644c826bbb5153bd557f29cda10f- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 270
$f2b_options['banlist_id'] = $is_now['banlist_id'];
$f2b_options['banlist_id'] = $is_now['banlist_id'];
same change
65cbc47
[Web] add manage f2b external option
- Full commit hash
65cbc478b8ac644c826bbb5153bd557f29cda10f- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 271
$f2b_options['manage_external'] = ($manage_external > 0) ? 1 : 0;
$f2b_options['manage_external'] = ($manage_external > 0) ? 1 : 0;
andryyy
about 9 years ago
6c64ffb
[acme-mailcow] Auto-detect container ids for restart; Restart containers after restore
- Full commit hash
6c64ffbd49cd99f0b4649703aa68b6e4e4b390b2- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 272
try {
try {
andre.peters
over 8 years ago
b2032c0
[Web] Hide up time of containers that are missing
- Full commit hash
b2032c0e8afa8d4d68c57ea8eec805fed181f6f8- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 273
$redis->Set('F2B_OPTIONS', json_encode($f2b_options));
$redis->Set('F2B_OPTIONS', json_encode($f2b_options));
andryyy
about 9 years ago
6c64ffb
[acme-mailcow] Auto-detect container ids for restart; Restart containers after restore
- Full commit hash
6c64ffbd49cd99f0b4649703aa68b6e4e4b390b2- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 274
$redis->Del('F2B_WHITELIST');
$redis->Del('F2B_WHITELIST');
André
about 8 years ago
05e026d
[Netfilter] New ban method, allow to set blacklists
- Full commit hash
05e026db3a9d2ab098b26436b3b04cde0783ec4a- Author
- André <[email protected]>
- Date
- about 8 years ago
- Selected line
- 275
$redis->Del('F2B_BLACKLIST');
$redis->Del('F2B_BLACKLIST');
andryyy
about 9 years ago
6c64ffb
[acme-mailcow] Auto-detect container ids for restart; Restart containers after restore
- Full commit hash
6c64ffbd49cd99f0b4649703aa68b6e4e4b390b2- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 276
if(!empty($wl)) {
if(!empty($wl)) {
same change
6c64ffb
[acme-mailcow] Auto-detect container ids for restart; Restart containers after restore
- Full commit hash
6c64ffbd49cd99f0b4649703aa68b6e4e4b390b2- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 277
$wl_array = array_map('trim', preg_split( "/( |,|;|\n)/", $wl));
$wl_array = array_map('trim', preg_split( "/( |,|;|\n)/", $wl));
andryyy
about 6 years ago
b1db4bf
[Web] Disallow blacklisting of some special networks
- Full commit hash
b1db4bf4bcb2f3819dcd2594aa7f486a3eee42c1- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 278
$wl_array = array_filter($wl_array);
$wl_array = array_filter($wl_array);
andryyy
about 9 years ago
6c64ffb
[acme-mailcow] Auto-detect container ids for restart; Restart containers after restore
- Full commit hash
6c64ffbd49cd99f0b4649703aa68b6e4e4b390b2- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 279
if (is_array($wl_array)) {
if (is_array($wl_array)) {
same change
6c64ffb
[acme-mailcow] Auto-detect container ids for restart; Restart containers after restore
- Full commit hash
6c64ffbd49cd99f0b4649703aa68b6e4e4b390b2- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 280
foreach ($wl_array as $wl_item) {
foreach ($wl_array as $wl_item) {
Kraeutergarten
about 7 years ago
4cc63ce
Allow hostnames for fail2ban whitelist.
- Full commit hash
4cc63ceeb7af654c4b1cbd7ef796919c9429c4fc- Author
- Kraeutergarten <[email protected]>
- Date
- about 7 years ago
- Selected line
- 281
if (valid_network($wl_item) || valid_hostname($wl_item)) {
if (valid_network($wl_item) || valid_hostname($wl_item)) {
andryyy
about 9 years ago
6c64ffb
[acme-mailcow] Auto-detect container ids for restart; Restart containers after restore
- Full commit hash
6c64ffbd49cd99f0b4649703aa68b6e4e4b390b2- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 282
$redis->hSet('F2B_WHITELIST', $wl_item, 1);
$redis->hSet('F2B_WHITELIST', $wl_item, 1);
same change
6c64ffb
[acme-mailcow] Auto-detect container ids for restart; Restart containers after restore
- Full commit hash
6c64ffbd49cd99f0b4649703aa68b6e4e4b390b2- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 283
}
}
andryyy
about 6 years ago
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 284
else {
else {
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 285
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 286
'type' => 'danger',
'type' => 'danger',
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 287
'log' => array(__FUNCTION__, $_action, $_data_log),
'log' => array(__FUNCTION__, $_action, $_data_log),
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 288
'msg' => array('network_host_invalid', $wl_item)
'msg' => array('network_host_invalid', $wl_item)
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 289
);
);
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 290
continue;
continue;
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 291
}
}
andryyy
about 9 years ago
6c64ffb
[acme-mailcow] Auto-detect container ids for restart; Restart containers after restore
- Full commit hash
6c64ffbd49cd99f0b4649703aa68b6e4e4b390b2- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 292
}
}
same change
6c64ffb
[acme-mailcow] Auto-detect container ids for restart; Restart containers after restore
- Full commit hash
6c64ffbd49cd99f0b4649703aa68b6e4e4b390b2- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 293
}
}
same change
6c64ffb
[acme-mailcow] Auto-detect container ids for restart; Restart containers after restore
- Full commit hash
6c64ffbd49cd99f0b4649703aa68b6e4e4b390b2- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 294
}
}
André
about 8 years ago
05e026d
[Netfilter] New ban method, allow to set blacklists
- Full commit hash
05e026db3a9d2ab098b26436b3b04cde0783ec4a- Author
- André <[email protected]>
- Date
- about 8 years ago
- Selected line
- 295
if(!empty($bl)) {
if(!empty($bl)) {
same change
05e026d
[Netfilter] New ban method, allow to set blacklists
- Full commit hash
05e026db3a9d2ab098b26436b3b04cde0783ec4a- Author
- André <[email protected]>
- Date
- about 8 years ago
- Selected line
- 296
$bl_array = array_map('trim', preg_split( "/( |,|;|\n)/", $bl));
$bl_array = array_map('trim', preg_split( "/( |,|;|\n)/", $bl));
andryyy
about 6 years ago
b1db4bf
[Web] Disallow blacklisting of some special networks
- Full commit hash
b1db4bf4bcb2f3819dcd2594aa7f486a3eee42c1- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 297
$bl_array = array_filter($bl_array);
$bl_array = array_filter($bl_array);
André
about 8 years ago
05e026d
[Netfilter] New ban method, allow to set blacklists
- Full commit hash
05e026db3a9d2ab098b26436b3b04cde0783ec4a- Author
- André <[email protected]>
- Date
- about 8 years ago
- Selected line
- 298
if (is_array($bl_array)) {
if (is_array($bl_array)) {
same change
05e026d
[Netfilter] New ban method, allow to set blacklists
- Full commit hash
05e026db3a9d2ab098b26436b3b04cde0783ec4a- Author
- André <[email protected]>
- Date
- about 8 years ago
- Selected line
- 299
foreach ($bl_array as $bl_item) {
foreach ($bl_array as $bl_item) {
andryyy
about 6 years ago
b1db4bf
[Web] Disallow blacklisting of some special networks
- Full commit hash
b1db4bf4bcb2f3819dcd2594aa7f486a3eee42c1- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 300
if (valid_network($bl_item) && !in_array($bl_item, array(
if (valid_network($bl_item) && !in_array($bl_item, array(
same change
b1db4bf
[Web] Disallow blacklisting of some special networks
- Full commit hash
b1db4bf4bcb2f3819dcd2594aa7f486a3eee42c1- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 301
'0.0.0.0',
'0.0.0.0',
same change
b1db4bf
[Web] Disallow blacklisting of some special networks
- Full commit hash
b1db4bf4bcb2f3819dcd2594aa7f486a3eee42c1- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 302
'0.0.0.0/0',
'0.0.0.0/0',
same change
b1db4bf
[Web] Disallow blacklisting of some special networks
- Full commit hash
b1db4bf4bcb2f3819dcd2594aa7f486a3eee42c1- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 303
getenv('IPV4_NETWORK') . '0/24',
getenv('IPV4_NETWORK') . '0/24',
same change
b1db4bf
[Web] Disallow blacklisting of some special networks
- Full commit hash
b1db4bf4bcb2f3819dcd2594aa7f486a3eee42c1- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 304
getenv('IPV4_NETWORK') . '0',
getenv('IPV4_NETWORK') . '0',
same change
b1db4bf
[Web] Disallow blacklisting of some special networks
- Full commit hash
b1db4bf4bcb2f3819dcd2594aa7f486a3eee42c1- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 305
getenv('IPV6_NETWORK')
getenv('IPV6_NETWORK')
same change
b1db4bf
[Web] Disallow blacklisting of some special networks
- Full commit hash
b1db4bf4bcb2f3819dcd2594aa7f486a3eee42c1- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 306
))) {
))) {
André
about 8 years ago
05e026d
[Netfilter] New ban method, allow to set blacklists
- Full commit hash
05e026db3a9d2ab098b26436b3b04cde0783ec4a- Author
- André <[email protected]>
- Date
- about 8 years ago
- Selected line
- 307
$redis->hSet('F2B_BLACKLIST', $bl_item, 1);
$redis->hSet('F2B_BLACKLIST', $bl_item, 1);
same change
05e026d
[Netfilter] New ban method, allow to set blacklists
- Full commit hash
05e026db3a9d2ab098b26436b3b04cde0783ec4a- Author
- André <[email protected]>
- Date
- about 8 years ago
- Selected line
- 308
}
}
andryyy
about 6 years ago
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 309
else {
else {
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 310
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 311
'type' => 'danger',
'type' => 'danger',
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 312
'log' => array(__FUNCTION__, $_action, $_data_log),
'log' => array(__FUNCTION__, $_action, $_data_log),
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 313
'msg' => array('network_host_invalid', $bl_item)
'msg' => array('network_host_invalid', $bl_item)
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 314
);
);
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 315
continue;
continue;
same change
aef15f0
[Web] Allow CIDR as allowed API networks; other minor fixes
- Full commit hash
aef15f004a9c639a85e8ba3dc49e75a03e8dc385- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 316
}
}
André
about 8 years ago
05e026d
[Netfilter] New ban method, allow to set blacklists
- Full commit hash
05e026db3a9d2ab098b26436b3b04cde0783ec4a- Author
- André <[email protected]>
- Date
- about 8 years ago
- Selected line
- 317
}
}
same change
05e026d
[Netfilter] New ban method, allow to set blacklists
- Full commit hash
05e026db3a9d2ab098b26436b3b04cde0783ec4a- Author
- André <[email protected]>
- Date
- about 8 years ago
- Selected line
- 318
}
}
same change
05e026d
[Netfilter] New ban method, allow to set blacklists
- Full commit hash
05e026db3a9d2ab098b26436b3b04cde0783ec4a- Author
- André <[email protected]>
- Date
- about 8 years ago
- Selected line
- 319
}
}
andryyy
about 9 years ago
6c64ffb
[acme-mailcow] Auto-detect container ids for restart; Restart containers after restore
- Full commit hash
6c64ffbd49cd99f0b4649703aa68b6e4e4b390b2- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 320
}
}
same change
6c64ffb
[acme-mailcow] Auto-detect container ids for restart; Restart containers after restore
- Full commit hash
6c64ffbd49cd99f0b4649703aa68b6e4e4b390b2- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 321
catch (RedisException $e) {
catch (RedisException $e) {
André
almost 8 years ago
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 322
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
andryyy
about 9 years ago
6c64ffb
[acme-mailcow] Auto-detect container ids for restart; Restart containers after restore
- Full commit hash
6c64ffbd49cd99f0b4649703aa68b6e4e4b390b2- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 323
'type' => 'danger',
'type' => 'danger',
André
almost 8 years ago
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 324
'log' => array(__FUNCTION__, $_action, $_data_log),
'log' => array(__FUNCTION__, $_action, $_data_log),
same change
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 325
'msg' => array('redis_error', $e)
'msg' => array('redis_error', $e)
andryyy
about 9 years ago
6c64ffb
[acme-mailcow] Auto-detect container ids for restart; Restart containers after restore
- Full commit hash
6c64ffbd49cd99f0b4649703aa68b6e4e4b390b2- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 326
);
);
same change
6c64ffb
[acme-mailcow] Auto-detect container ids for restart; Restart containers after restore
- Full commit hash
6c64ffbd49cd99f0b4649703aa68b6e4e4b390b2- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 327
return false;
return false;
same change
6c64ffb
[acme-mailcow] Auto-detect container ids for restart; Restart containers after restore
- Full commit hash
6c64ffbd49cd99f0b4649703aa68b6e4e4b390b2- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 328
}
}
André
almost 8 years ago
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 329
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
andryyy
about 9 years ago
6c64ffb
[acme-mailcow] Auto-detect container ids for restart; Restart containers after restore
- Full commit hash
6c64ffbd49cd99f0b4649703aa68b6e4e4b390b2- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 330
'type' => 'success',
'type' => 'success',
André
almost 8 years ago
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 331
'log' => array(__FUNCTION__, $_action, $_data_log),
'log' => array(__FUNCTION__, $_action, $_data_log),
same change
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 332
'msg' => 'f2b_modified'
'msg' => 'f2b_modified'
andryyy
about 9 years ago
6c64ffb
[acme-mailcow] Auto-detect container ids for restart; Restart containers after restore
- Full commit hash
6c64ffbd49cd99f0b4649703aa68b6e4e4b390b2- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 333
);
);
same change
6c64ffb
[acme-mailcow] Auto-detect container ids for restart; Restart containers after restore
- Full commit hash
6c64ffbd49cd99f0b4649703aa68b6e4e4b390b2- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 334
break;
break;
FreddleSpl0it
about 3 years ago
e2e8fbe
[Web] add f2b_banlist endpoint
- Full commit hash
e2e8fbe3131327eb65f22e31fb200d55c59512dd- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 335
case 'banlist':
case 'banlist':
same change
e2e8fbe
[Web] add f2b_banlist endpoint
- Full commit hash
e2e8fbe3131327eb65f22e31fb200d55c59512dd- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 336
try {
try {
same change
e2e8fbe
[Web] add f2b_banlist endpoint
- Full commit hash
e2e8fbe3131327eb65f22e31fb200d55c59512dd- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 337
$f2b_options = json_decode($redis->Get('F2B_OPTIONS'), true);
$f2b_options = json_decode($redis->Get('F2B_OPTIONS'), true);
same change
e2e8fbe
[Web] add f2b_banlist endpoint
- Full commit hash
e2e8fbe3131327eb65f22e31fb200d55c59512dd- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 338
}
}
same change
e2e8fbe
[Web] add f2b_banlist endpoint
- Full commit hash
e2e8fbe3131327eb65f22e31fb200d55c59512dd- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 339
catch (RedisException $e) {
catch (RedisException $e) {
same change
e2e8fbe
[Web] add f2b_banlist endpoint
- Full commit hash
e2e8fbe3131327eb65f22e31fb200d55c59512dd- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 340
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
e2e8fbe
[Web] add f2b_banlist endpoint
- Full commit hash
e2e8fbe3131327eb65f22e31fb200d55c59512dd- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 341
'type' => 'danger',
'type' => 'danger',
same change
e2e8fbe
[Web] add f2b_banlist endpoint
- Full commit hash
e2e8fbe3131327eb65f22e31fb200d55c59512dd- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 342
'log' => array(__FUNCTION__, $_action, $_data_log, $_extra),
'log' => array(__FUNCTION__, $_action, $_data_log, $_extra),
same change
e2e8fbe
[Web] add f2b_banlist endpoint
- Full commit hash
e2e8fbe3131327eb65f22e31fb200d55c59512dd- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 343
'msg' => array('redis_error', $e)
'msg' => array('redis_error', $e)
same change
e2e8fbe
[Web] add f2b_banlist endpoint
- Full commit hash
e2e8fbe3131327eb65f22e31fb200d55c59512dd- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 344
);
);
FreddleSpl0it
about 3 years ago
987cfd5
[Web] f2b banlist - add http status codes
- Full commit hash
987cfd5dae4014b35c183ce4be0e1f8856950116- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 345
http_response_code(500);
http_response_code(500);
FreddleSpl0it
about 3 years ago
e2e8fbe
[Web] add f2b_banlist endpoint
- Full commit hash
e2e8fbe3131327eb65f22e31fb200d55c59512dd- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 346
return false;
return false;
same change
e2e8fbe
[Web] add f2b_banlist endpoint
- Full commit hash
e2e8fbe3131327eb65f22e31fb200d55c59512dd- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 347
}
}
same change
e2e8fbe
[Web] add f2b_banlist endpoint
- Full commit hash
e2e8fbe3131327eb65f22e31fb200d55c59512dd- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 348
if (is_array($_extra)) {
if (is_array($_extra)) {
same change
e2e8fbe
[Web] add f2b_banlist endpoint
- Full commit hash
e2e8fbe3131327eb65f22e31fb200d55c59512dd- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 349
$_extra = $_extra[0];
$_extra = $_extra[0];
same change
e2e8fbe
[Web] add f2b_banlist endpoint
- Full commit hash
e2e8fbe3131327eb65f22e31fb200d55c59512dd- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 350
}
}
same change
e2e8fbe
[Web] add f2b_banlist endpoint
- Full commit hash
e2e8fbe3131327eb65f22e31fb200d55c59512dd- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 351
if ($_extra != $f2b_options['banlist_id']){
if ($_extra != $f2b_options['banlist_id']){
FreddleSpl0it
about 3 years ago
987cfd5
[Web] f2b banlist - add http status codes
- Full commit hash
987cfd5dae4014b35c183ce4be0e1f8856950116- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 352
http_response_code(404);
http_response_code(404);
FreddleSpl0it
about 3 years ago
e2e8fbe
[Web] add f2b_banlist endpoint
- Full commit hash
e2e8fbe3131327eb65f22e31fb200d55c59512dd- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 353
return false;
return false;
same change
e2e8fbe
[Web] add f2b_banlist endpoint
- Full commit hash
e2e8fbe3131327eb65f22e31fb200d55c59512dd- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 354
}
}
same change
e2e8fbe
[Web] add f2b_banlist endpoint
- Full commit hash
e2e8fbe3131327eb65f22e31fb200d55c59512dd- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 355
same change
e2e8fbe
[Web] add f2b_banlist endpoint
- Full commit hash
e2e8fbe3131327eb65f22e31fb200d55c59512dd- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 356
switch ($_data) {
switch ($_data) {
same change
e2e8fbe
[Web] add f2b_banlist endpoint
- Full commit hash
e2e8fbe3131327eb65f22e31fb200d55c59512dd- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 357
case 'get':
case 'get':
same change
e2e8fbe
[Web] add f2b_banlist endpoint
- Full commit hash
e2e8fbe3131327eb65f22e31fb200d55c59512dd- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 358
try {
try {
FreddleSpl0it
about 3 years ago
65cbc47
[Web] add manage f2b external option
- Full commit hash
65cbc478b8ac644c826bbb5153bd557f29cda10f- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 359
$bl = $redis->hKeys('F2B_BLACKLIST');
$bl = $redis->hKeys('F2B_BLACKLIST');
same change
65cbc47
[Web] add manage f2b external option
- Full commit hash
65cbc478b8ac644c826bbb5153bd557f29cda10f- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 360
$active_bans = $redis->hKeys('F2B_ACTIVE_BANS');
$active_bans = $redis->hKeys('F2B_ACTIVE_BANS');
FreddleSpl0it
about 3 years ago
e2e8fbe
[Web] add f2b_banlist endpoint
- Full commit hash
e2e8fbe3131327eb65f22e31fb200d55c59512dd- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 361
}
}
same change
e2e8fbe
[Web] add f2b_banlist endpoint
- Full commit hash
e2e8fbe3131327eb65f22e31fb200d55c59512dd- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 362
catch (RedisException $e) {
catch (RedisException $e) {
same change
e2e8fbe
[Web] add f2b_banlist endpoint
- Full commit hash
e2e8fbe3131327eb65f22e31fb200d55c59512dd- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 363
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
e2e8fbe
[Web] add f2b_banlist endpoint
- Full commit hash
e2e8fbe3131327eb65f22e31fb200d55c59512dd- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 364
'type' => 'danger',
'type' => 'danger',
same change
e2e8fbe
[Web] add f2b_banlist endpoint
- Full commit hash
e2e8fbe3131327eb65f22e31fb200d55c59512dd- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 365
'log' => array(__FUNCTION__, $_action, $_data_log, $_extra),
'log' => array(__FUNCTION__, $_action, $_data_log, $_extra),
same change
e2e8fbe
[Web] add f2b_banlist endpoint
- Full commit hash
e2e8fbe3131327eb65f22e31fb200d55c59512dd- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 366
'msg' => array('redis_error', $e)
'msg' => array('redis_error', $e)
same change
e2e8fbe
[Web] add f2b_banlist endpoint
- Full commit hash
e2e8fbe3131327eb65f22e31fb200d55c59512dd- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 367
);
);
FreddleSpl0it
about 3 years ago
987cfd5
[Web] f2b banlist - add http status codes
- Full commit hash
987cfd5dae4014b35c183ce4be0e1f8856950116- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 368
http_response_code(500);
http_response_code(500);
FreddleSpl0it
about 3 years ago
e2e8fbe
[Web] add f2b_banlist endpoint
- Full commit hash
e2e8fbe3131327eb65f22e31fb200d55c59512dd- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 369
return false;
return false;
same change
e2e8fbe
[Web] add f2b_banlist endpoint
- Full commit hash
e2e8fbe3131327eb65f22e31fb200d55c59512dd- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 370
}
}
FreddleSpl0it
about 3 years ago
65cbc47
[Web] add manage f2b external option
- Full commit hash
65cbc478b8ac644c826bbb5153bd557f29cda10f- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 371
$banlist = implode("\n", array_merge($bl, $active_bans));
$banlist = implode("\n", array_merge($bl, $active_bans));
FreddleSpl0it
about 3 years ago
e2e8fbe
[Web] add f2b_banlist endpoint
- Full commit hash
e2e8fbe3131327eb65f22e31fb200d55c59512dd- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 372
return $banlist;
return $banlist;
same change
e2e8fbe
[Web] add f2b_banlist endpoint
- Full commit hash
e2e8fbe3131327eb65f22e31fb200d55c59512dd- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 373
break;
break;
same change
e2e8fbe
[Web] add f2b_banlist endpoint
- Full commit hash
e2e8fbe3131327eb65f22e31fb200d55c59512dd- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 374
case 'refresh':
case 'refresh':
same change
e2e8fbe
[Web] add f2b_banlist endpoint
- Full commit hash
e2e8fbe3131327eb65f22e31fb200d55c59512dd- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 375
if ($_SESSION['mailcow_cc_role'] != "admin") {
if ($_SESSION['mailcow_cc_role'] != "admin") {
same change
e2e8fbe
[Web] add f2b_banlist endpoint
- Full commit hash
e2e8fbe3131327eb65f22e31fb200d55c59512dd- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 376
return false;
return false;
same change
e2e8fbe
[Web] add f2b_banlist endpoint
- Full commit hash
e2e8fbe3131327eb65f22e31fb200d55c59512dd- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 377
}
}
same change
e2e8fbe
[Web] add f2b_banlist endpoint
- Full commit hash
e2e8fbe3131327eb65f22e31fb200d55c59512dd- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 378
same change
e2e8fbe
[Web] add f2b_banlist endpoint
- Full commit hash
e2e8fbe3131327eb65f22e31fb200d55c59512dd- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 379
$f2b_options['banlist_id'] = uuid4();
$f2b_options['banlist_id'] = uuid4();
same change
e2e8fbe
[Web] add f2b_banlist endpoint
- Full commit hash
e2e8fbe3131327eb65f22e31fb200d55c59512dd- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 380
try {
try {
same change
e2e8fbe
[Web] add f2b_banlist endpoint
- Full commit hash
e2e8fbe3131327eb65f22e31fb200d55c59512dd- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 381
$redis->Set('F2B_OPTIONS', json_encode($f2b_options));
$redis->Set('F2B_OPTIONS', json_encode($f2b_options));
same change
e2e8fbe
[Web] add f2b_banlist endpoint
- Full commit hash
e2e8fbe3131327eb65f22e31fb200d55c59512dd- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 382
}
}
same change
e2e8fbe
[Web] add f2b_banlist endpoint
- Full commit hash
e2e8fbe3131327eb65f22e31fb200d55c59512dd- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 383
catch (RedisException $e) {
catch (RedisException $e) {
same change
e2e8fbe
[Web] add f2b_banlist endpoint
- Full commit hash
e2e8fbe3131327eb65f22e31fb200d55c59512dd- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 384
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
e2e8fbe
[Web] add f2b_banlist endpoint
- Full commit hash
e2e8fbe3131327eb65f22e31fb200d55c59512dd- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 385
'type' => 'danger',
'type' => 'danger',
same change
e2e8fbe
[Web] add f2b_banlist endpoint
- Full commit hash
e2e8fbe3131327eb65f22e31fb200d55c59512dd- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 386
'log' => array(__FUNCTION__, $_action, $_data_log, $_extra),
'log' => array(__FUNCTION__, $_action, $_data_log, $_extra),
same change
e2e8fbe
[Web] add f2b_banlist endpoint
- Full commit hash
e2e8fbe3131327eb65f22e31fb200d55c59512dd- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 387
'msg' => array('redis_error', $e)
'msg' => array('redis_error', $e)
same change
e2e8fbe
[Web] add f2b_banlist endpoint
- Full commit hash
e2e8fbe3131327eb65f22e31fb200d55c59512dd- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 388
);
);
same change
e2e8fbe
[Web] add f2b_banlist endpoint
- Full commit hash
e2e8fbe3131327eb65f22e31fb200d55c59512dd- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 389
return false;
return false;
same change
e2e8fbe
[Web] add f2b_banlist endpoint
- Full commit hash
e2e8fbe3131327eb65f22e31fb200d55c59512dd- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 390
}
}
same change
e2e8fbe
[Web] add f2b_banlist endpoint
- Full commit hash
e2e8fbe3131327eb65f22e31fb200d55c59512dd- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 391
same change
e2e8fbe
[Web] add f2b_banlist endpoint
- Full commit hash
e2e8fbe3131327eb65f22e31fb200d55c59512dd- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 392
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
e2e8fbe
[Web] add f2b_banlist endpoint
- Full commit hash
e2e8fbe3131327eb65f22e31fb200d55c59512dd- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 393
'type' => 'success',
'type' => 'success',
same change
e2e8fbe
[Web] add f2b_banlist endpoint
- Full commit hash
e2e8fbe3131327eb65f22e31fb200d55c59512dd- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 394
'log' => array(__FUNCTION__, $_action, $_data_log, $_extra),
'log' => array(__FUNCTION__, $_action, $_data_log, $_extra),
same change
e2e8fbe
[Web] add f2b_banlist endpoint
- Full commit hash
e2e8fbe3131327eb65f22e31fb200d55c59512dd- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 395
'msg' => 'f2b_banlist_refreshed'
'msg' => 'f2b_banlist_refreshed'
same change
e2e8fbe
[Web] add f2b_banlist endpoint
- Full commit hash
e2e8fbe3131327eb65f22e31fb200d55c59512dd- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 396
);
);
same change
e2e8fbe
[Web] add f2b_banlist endpoint
- Full commit hash
e2e8fbe3131327eb65f22e31fb200d55c59512dd- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 397
return true;
return true;
same change
e2e8fbe
[Web] add f2b_banlist endpoint
- Full commit hash
e2e8fbe3131327eb65f22e31fb200d55c59512dd- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 398
break;
break;
same change
e2e8fbe
[Web] add f2b_banlist endpoint
- Full commit hash
e2e8fbe3131327eb65f22e31fb200d55c59512dd- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 399
}
}
same change
e2e8fbe
[Web] add f2b_banlist endpoint
- Full commit hash
e2e8fbe3131327eb65f22e31fb200d55c59512dd- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 400
break;
break;
andryyy
about 9 years ago
6c64ffb
[acme-mailcow] Auto-detect container ids for restart; Restart containers after restore
- Full commit hash
6c64ffbd49cd99f0b4649703aa68b6e4e4b390b2- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 401
}
}
André
over 8 years ago
ade4b9e
[Postfix, Web] Feature: BCC maps
- Full commit hash
ade4b9e7ae7e28535ed261535526bc4e98ff48b4- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 402
}
}