PHP Classes

CIDRAM: Check if an IP address is a bad source of traffic

Recommend this page to a friend!
  Info   Documentation   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 120 All time: 9,510 This week: 38Up
Version License PHP version Categories
cidram 1.0Custom (specified...5Networking, PHP 5, Security
Description 

Author

This package can be used to check if an IP address is a bad source of traffic.

It calculates the possible CIDRs (Classless Inter-Domain Routing) of a given IP addresses that is being used for instance by the remote user to access the current site.

The package attempts to match IP address CIDR value signatures read from files that contain CIDR values and IP addresses of known IP addresses regarded as being sources of undesirable traffic. If a match is found, the current request can be blocked.

Innovation Award
PHP Programming Innovation award nominee
September 2019
Number 3
Many sites are under attack from computers that use the Internet to take advantage of the site resources for unintended purposes.

Some attacks can come from computers located in known networks or computers from IP addresses that are known to be controlled by some kind of harmful software that accesses sites with bad intentions.

This package can compute the CIDR of a given IP address to and lockup on files with CIDR signatures of known IP addresses that are bad sources of traffic, so applications can block or ignore accesses from that IP address.

Manuel Lemos
Picture of Caleb
Name: Caleb <contact>
Classes: 4 packages by
Country: Australia Australia
Innovation award
Innovation award
Nominee: 2x

 

Documentation

Join the chat at https://gitter.im/CIDRAM/Lobby v1: PHP >= 5.4.0 v2: PHP >= 7.2.0 License: GPL v2 PRs Welcome

What is CIDRAM?

CIDRAM (Classless Inter-Domain Routing Access Manager) is a PHP script designed to protect websites by blocking requests originating from IP addresses regarded as being sources of undesirable traffic, including (but not limited to) traffic from non-human access endpoints, cloud services, spambots, scrapers, etc. It does this by calculating the possible CIDRs of the IP addresses supplied from inbound requests and then attempting to match these possible CIDRs against its signature files (these signature files contain lists of CIDRs of IP addresses regarded as being sources of undesirable traffic); If matches are found, the requests are blocked.

Features:

  • Licensed as GNU General Public License version 2.0 (GPLv2).
  • Easy to install, easy to customise, easy to use.
  • Works for any system with PHP+PCRE installed, regardless of OS (PHP+PCRE required).
  • Fully configurable based on your needs.
  • Ideal solution for websites and forum systems using shared hosting services.
  • Does NOT require shell access.
  • Does NOT require administrative privileges.
  • Good, strong, stable support base.

Documentation:

[\[CONTRIBUTING.md\] Want to help?](https://github.com/CIDRAM/CIDRAM/blob/v2/CONTRIBUTING.md)

Current major version development status:

?Stage reached? ?Major version? | v0 | v1 | v2 | v3 ---|---|---|---|--- Pre-Alpha<em><br />- Exploring early concepts/ideas. No code written/available yet.</em> | ? | ? | ? | ? Alpha<em><br />- Branched, but unstable. Not production-ready (high risk if used).</em> | ? | ? | ? Beta<em><br />- Branched, but unstable. Not production-ready (low risk if used).</em> | ? | ? | ? Stable<em><br />- First production-ready version has been tagged/released.</em> | ? | ? | ? Mature<em><br />- Multiple stable versions/releases exist.</em> | ? | ? | ? Locked<em><br />- Still maintained, but new features won't be implemented anymore.</em> | ? EoL/Dead<em><br />- Not maintained anymore. If possible, stop using, and update ASAP.</em> | ?

Last Updated: 31 August 2019 (2019.08.31).


  Files folder image Files (150)  
File Role Description
Files folder image.github (1 file)
Files folder imagetests (3 files, 2 directories)
Files folder imagevault (30 files, 3 directories)
Accessible without login Plain text file .travis.yml Data Auxiliary data
Accessible without login Plain text file Changelog.txt Doc. Documentation
Accessible without login Plain text file codeception.yml Data Auxiliary data
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file CONTRIBUTING.md Data Auxiliary data
Accessible without login Plain text file crowdin.yml Data Auxiliary data
Accessible without login Plain text file LICENSE.txt Lic. License
Accessible without login Plain text file loader.php Aux. Auxiliary script
Accessible without login Plain text file README.md Doc. Documentation
Accessible without login Plain text file SECURITY.md Data Auxiliary data
Accessible without login Plain text file web.config Data Auxiliary data

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 100%
Total:120
This week:0
All time:9,510
This week:38Up