Sign In
Access your IPWhois.net account
No account? Create one
Home / Blacklist / Docs / Drupal Integration

Drupal Integration

Block blacklisted IPs on Drupal with custom module. Step-by-step setup guide with code examples.
186,817 IPs 8,269 reports Free API
Drupal Integration
Drupal 9+ PHP 8.0+

Custom Drupal module that blocks blacklisted IPs on admin pages and user login routes.

Block
Check visitor IPs against the blacklist and return 403 for threats.
Report
Report detected attacks back to the IPWhois.net Blacklist community.
Coming Soon

This integration guide is being written. In the meantime, you can use the Blacklist API directly:

Check if an IP is blacklisted
GET https://bl.ipwhois.net/api/check?ip=1.2.3.4
Report a malicious IP
POST https://bl.ipwhois.net/api/report ip=1.2.3.4&type=brute-force&message=Description

Need this integration? Contact us and we'll prioritize it.