[ Zeke / Woozie ] bot / IP / referrer blocker https://davidawindham.com/til/docs/computers/woozie
|
2 years ago | |
---|---|---|
README.md | 2 years ago | |
bad-referrer-words.conf | 2 years ago | |
blacklist-ips.conf | 2 years ago | |
blacklist-user-agents.conf | 2 years ago | |
globalblacklist.conf | 2 years ago | |
whitelist-domains.conf | 2 years ago | |
whitelist-ips.conf | 2 years ago |
An amusing of web traffic are automated bots either trying to send referral spam, looking for vulnerabilities, and other bullshit!
This started off as a fork of a popular bot blocker and has morphed into a general firewall of sorts for my servers. I double check and add IPs and referrers based on my server logs.
edit/prune upstream on localhost
git checkout master
git fetch upstream
git merge upstream/master
(edit README.md, git add, git commit)
git merge upstream/master
git filter-branch -f --prune-empty --subdirectory-filter Apache_2.4/custom.d master
gpom #git push origin master
gpcm #git push code master
add to nginx/apache .conf
######## CUSTOM GLOBAL BLACKLIST ##########
<Location "/">
AuthMerging And
Include custom.d/globalblacklist.conf
</Location>
Sync remote host
cd /etc/apache2/
git clone https://github.com/windhamdavid/custom.d/
cd custom.d
sudo git pull origin/code master
sudo apache2ctl configtest
sudo service apache2 reload
23.03.05
re: sync referrer-words:
23.02.11
2021/03
2022/02
2022/06