Lines 1-6
Link Here
|
1 |
--- /dev/null 2010-01-12 16:33:00.000000000 -0500 |
1 |
--- /dev/null 2012-11-27 18:04:17.000000000 +0100 |
2 |
+++ ./config/action.d/bsd-ipfw.conf 2010-01-12 16:26:51.000000000 -0500 |
2 |
+++ config/action.d/bsd-ipfw.conf 2012-11-27 18:06:29.000000000 +0100 |
3 |
@@ -0,0 +1,65 @@ |
3 |
@@ -0,0 +1,72 @@ |
4 |
+# Fail2Ban configuration file |
4 |
+# Fail2Ban configuration file |
5 |
+# |
5 |
+# |
6 |
+# Author: Nick Munger |
6 |
+# Author: Nick Munger |
Lines 36-45
Link Here
|
36 |
+# Tags: <ip> IP address |
36 |
+# Tags: <ip> IP address |
37 |
+# <failures> number of failures |
37 |
+# <failures> number of failures |
38 |
+# <time> unix timestamp of the ban time |
38 |
+# <time> unix timestamp of the ban time |
|
|
39 |
+# <table> ipfw table to use |
39 |
+# Values: CMD |
40 |
+# Values: CMD |
40 |
+# |
41 |
+# |
41 |
+# requires an ipfw rule like "deny ip from table(1) to me" |
42 |
+# requires an ipfw rule like "deny ip from table(1) to me" |
42 |
+actionban = ipfw table 1 add <ip> |
43 |
+actionban = ipfw table <table> add <ip> |
43 |
+ |
44 |
+ |
44 |
+ |
45 |
+ |
45 |
+# Option: actionunban |
46 |
+# Option: actionunban |
Lines 48-56
Link Here
|
48 |
+# Tags: <ip> IP address |
49 |
+# Tags: <ip> IP address |
49 |
+# <failures> number of failures |
50 |
+# <failures> number of failures |
50 |
+# <time> unix timestamp of the ban time |
51 |
+# <time> unix timestamp of the ban time |
|
|
52 |
+# <table> ipfw table to use |
51 |
+# Values: CMD |
53 |
+# Values: CMD |
52 |
+# |
54 |
+# |
53 |
+actionunban = ipfw table 1 delete <ip> |
55 |
+actionunban = ipfw table <table> delete <ip> |
54 |
+ |
56 |
+ |
55 |
+[Init] |
57 |
+[Init] |
56 |
+ |
58 |
+ |
Lines 66-68
Link Here
|
66 |
+# Values: IP |
68 |
+# Values: IP |
67 |
+# |
69 |
+# |
68 |
+localhost = 127.0.0.1 |
70 |
+localhost = 127.0.0.1 |
|
|
71 |
+ |
72 |
+# Option: table |
73 |
+# Notes: the ipfw table to use |
74 |
+# Values: NUM |
75 |
+table = 1 |