538 B
538 B
A simple anti-spam system for question2answer, using the stopforumspam API and ufw.
To deploy:
- modify the configuration variables in the scripts
- copy the scripts to /usr/local/bin
- add a line like
0 0 * * * /usr/local/bin/q2a_usercheck.sh
to root's crontab. Alternatively, you can addq2a_usercheck.sh
to /etc/cron.daily/ if it exists (for example, on debian).
TODO:
- add support for pf
- add support for iptables