Add whitelist function to Fail2ban
This commit is contained in:
1 parent
6cd44b4136
commit
b9ffcf2bf8
3 files changed
+62
-5
No files matched your search
@@ -289,6 +289,10 @@ $tfa_data = get_tfa();
|
||||
<label for="retry_window">Retry window (s) for max. attempts:</label>
|
||||
<input type="number" class="form-control" id="retry_window" name="retry_window" value="<?=$f2b_data['retry_window'];?>" required>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="retry_window">Whitelisted networks/hosts</label>
|
||||
<textarea class="form-control" id="whitelist" name="whitelist" rows="5"><?=$f2b_data['whitelist'];?></textarea>
|
||||
</div>
|
||||
<button class="btn btn-default" id="add_item" data-id="f2b" data-api-url='edit/fail2ban' data-api-attr='{}' href="#"><span class="glyphicon glyphicon-check"></span> <?=$lang['admin']['save'];?></button>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user