BSD Ports

www/nginx-ultimate-bad-bot-blocker 4.2024.11.4907 DragonFly

Nginx bad bot and other things blocker

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
MIT
Categories
security, www
Package size
11.7 KiB, 41.1 KiB installed

Description

The "Ultimate Nginx Bad Bot" blocker, handles also user-agent, spam referrer, adware, malware, ransomware, clickjacking, click directing, SEO companies bad IPs, Wordpress theme detectors and fake Googlebots. It includes an anti DDoS system and nginx rate limiting.

In the other systems

The newest version among them is 4.2024.11.4907, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlywww/nginx-ultimate-bad-bot-blocker4.2024.11.4907 newestnone known-[email protected]-
FreeBSDwww/nginx-ultimate-bad-bot-blocker4.2024.11.4907 newestnone known-[email protected]-
HardenedBSDwww/nginx-ultimate-bad-bot-blocker4.2024.11.4907 newestno data-[email protected]-
GhostBSDwww/nginx-ultimate-bad-bot-blocker4.2024.11.4907 newestno data-[email protected]-

Install

Binary package:

pkg install nginx-ultimate-bad-bot-blocker

From DPorts:

cd /usr/dports/www/nginx-ultimate-bad-bot-blocker && make install clean

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Run dependencies 3

No port depends on this one.

Configuration

No options to configure.

Service scripts
none

Message after installing

This ports installs only the scripts, the data/config files are to be installed
by the 
   /usr/local/sbin/install-ngxblocker
   /usr/local/sbin/update-ngxblocker
scripts (they change too frequently).

While reading
   https://github.com/netchild/nginx-ultimate-bad-bot-blocker/blob/freebsdport/AUTO-CONFIGURATION.md
for setup instructions keep in mind that the port of the scripts is using FreeBSD
locations of things, like
   /usr/local/etc/nginx/
and
   service nginx reload
(this includes the test-config functionality on reload).

FreeBSD does not define a standard location and naming convention for sites/vhosts,
this port uses
   /usr/local/etc/nginx/sites/*.conf
by default. The scripts allow to override this via command line flags.

Example crontab entry for /etc/cron.d/nginx-bad-bot-blocker:
---snip---
#
SHELL=/bin/sh
PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin

# See crontab(5) for field format.
53	10	*	*	*	root	/usr/local/sbin/update-ngxblocker -q
---snip---
See
   /usr/local/sbin/update-ngxblocker -h
for mail-sending options.