Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
| Beide Seiten der vorigen Revision Vorhergehende Überarbeitung Nächste Überarbeitung | Vorhergehende Überarbeitung | ||
|
coraza [2026/02/24 11:24] jango |
coraza [2026/02/24 16:12] (aktuell) jango |
||
|---|---|---|---|
| Zeile 16: | Zeile 16: | ||
| cd coraza-spoa | cd coraza-spoa | ||
| - | go run mage.go build | + | sudo go run mage.go build |
| # binary is in build now | # binary is in build now | ||
| Zeile 73: | Zeile 73: | ||
| Include @coraza.conf-recommended | Include @coraza.conf-recommended | ||
| Include @crs-setup.conf.example | Include @crs-setup.conf.example | ||
| + | | ||
| + | SecRule REQUEST_FILENAME " | ||
| + | | ||
| Include @owasp_crs/ | Include @owasp_crs/ | ||
| Zeile 117: | Zeile 120: | ||
| root@ubuntuserver: | root@ubuntuserver: | ||
| + | </ | ||
| + | |||
| + | < | ||
| + | backend coraza-spoa-backend | ||
| + | mode tcp | ||
| + | timeout connect 5s | ||
| + | timeout server | ||
| + | server coraza1 172.21.1.170: | ||
| + | | ||
| + | frontend outlook | ||
| + | bind 172.21.1.169: | ||
| + | mode http | ||
| + | log global | ||
| + | log-format " | ||
| + | filter spoe engine coraza config / | ||
| + | http-response set-header X-Coraza-Action %[var(txn.coraza.action)] if { var(txn.coraza.action) -m found } | ||
| + | default_backend outlook | ||
| </ | </ | ||