comparison mod_firewall/README.md @ 6427:03e46a11eac6

mod_firewall/README.md: Clarify layout how to seperate Rules.
author Menel <menel@snikket.de>
date Tue, 10 Mar 2026 12:18:08 +0100
parents fe081789f7b5
children 9112a0d25e5b
comparison
equal deleted inserted replaced
6426:bf8f96ee2605 6427:03e46a11eac6
14 - scripts 14 - scripts
15 --- 15 ---
16 16
17 ------------------------------------------------------------------------ 17 ------------------------------------------------------------------------
18 18
19 **Note:** mod\_firewall is in its very early stages. This documentation 19 **Note:** mod\_firewall is in its early stages. This documentation
20 is liable to change, and some described functionality may be missing, 20 is liable to change, and some described functionality may be missing,
21 incomplete or contain bugs. 21 incomplete or contain bugs.
22 22
23 ------------------------------------------------------------------------ 23 ------------------------------------------------------------------------
24 24
44 syntax is unusual, but straightforward. 44 syntax is unusual, but straightforward.
45 45
46 A firewall script is dominated by rules. Each rule has two parts: 46 A firewall script is dominated by rules. Each rule has two parts:
47 conditions, and actions. When a stanza matches all of the conditions, 47 conditions, and actions. When a stanza matches all of the conditions,
48 all of the actions are executed in order. 48 all of the actions are executed in order.
49 Different Rules are seperated from each other by an empty newline.
49 50
50 Here is a simple example to block stanzas from spammer@example.com: 51 Here is a simple example to block stanzas from spammer@example.com:
51 52
52 FROM: spammer@example.com 53 FROM: spammer@example.com
53 DROP. 54 DROP.