-
Notifications
You must be signed in to change notification settings - Fork 364
/
cali2fail.conf
50 lines (45 loc) · 1.32 KB
/
cali2fail.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
#/*******************************************************************************
# * Copyright (c) 2024 Contributors to the Eclipse Foundation.
# *
# * See the NOTICE file(s) distributed with this work for additional
# * information regarding copyright ownership.
# *
# * This program and the accompanying materials
# * are made available under the terms of the Eclipse Public License v2.0
# * and Eclipse Distribution License v1.0 which accompany this distribution.
# *
# * The Eclipse Public License is available at
# * http://www.eclipse.org/legal/epl-v20.html
# * and the Eclipse Distribution License is available at
# * http://www.eclipse.org/org/documents/edl-v10.html.
# *
# * SPDX-License-Identifier: EPL-2.0 OR BSD-3-Clause
# *
# ******************************************************************************/
#
# To install, cp <file> to /etc/fail2ban/jail.d
[DEFAULT]
bantime = 1800
findtime = 300
[cali-dtls]
enabled = true
port = 5684
protocol = udp
filter = calidtls
logpath = /home/cali/logs/ban.log
# https: use nat destination port 8080!
[cali-https]
enabled = true
port = 8080
protocol = tcp
filter = calihttps
logpath = /home/cali/logs/ban.log
[cali-login]
enabled = true
port = 8080
protocol = tcp
filter = calilogin
logpath = /home/cali/logs/ban.log
bantime = 300
findtime = 150
maxretry = 3