rust/cargo-c: update to 0.10.7+cargo-0.84.0
[oi-userland.git] / components / network / fail2ban / patches / 03-solaris-readme.patch
blob42ec24e268246bb4c4f537668c8a97be6d8c8f1c
1 --- fail2ban-1.0.2/README.Solaris.old 2024-01-17 16:38:53.107504489 -0500
2 +++ fail2ban-1.0.2/README.Solaris 2024-01-17 16:43:33.623667891 -0500
3 @@ -120,3 +120,17 @@
4 * Fail2ban adds lines like these to /etc/hosts.deny:
6 sshd: 1.2.3.4
8 +* Solaris IP Filter uses a "last matching rule" algorithm. If the packet
9 + matches a rule containing the "quick" keyword, the action for that rule is
10 + taken and no subsequent rules are checked. This concept is not compatible
11 + with fail2ban. It appends rules at the end of a rule set and will never match
12 + (i.e. block a connection) if an earlier rule matches (i.e. pass a connection)
13 + with quick. If you want an incoming firewall on a system that only supports
14 + incoming web connections, the rules would look like this to support fail2ban:
16 + block in from any to any
17 + pass in from any to any port = 80 keep state
19 + fail2ban would then append to the end:
20 + block in quick from x.x.x.x/32 to any