Skip to content

Commit

Permalink
Add mod_firewall anti spam
Browse files Browse the repository at this point in the history
  • Loading branch information
lunarthegrey committed Oct 29, 2020
1 parent 27acac6 commit 153f72b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions etc/prosody/prosody.cfg.lua
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ authentication = "internal_hashed"
"block_registrations";
"limits";
"limit_auth";
"firewall"

-- Optimzation --

Expand Down Expand Up @@ -136,6 +137,11 @@ authentication = "internal_hashed"
key = "/etc/prosody/certs/privkey.pem";
}

-- mod_firewall --
firewall_scripts = {
"module:scripts/spam-blocking.pfw"; -- Base anti-spam ruleset
}

-- mod_limits --

limits = {
Expand Down

0 comments on commit 153f72b

Please sign in to comment.