Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/LudoBoggio/YourlsBlacklistIPs
Plugin for Yourls : IP blacklisting
https://github.com/LudoBoggio/YourlsBlacklistIPs
Last synced: 14 days ago
JSON representation
Plugin for Yourls : IP blacklisting
- Host: GitHub
- URL: https://github.com/LudoBoggio/YourlsBlacklistIPs
- Owner: LudoBoggio
- Created: 2012-09-02T19:23:07.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2022-02-24T20:24:57.000Z (over 2 years ago)
- Last Synced: 2024-08-02T06:14:28.690Z (4 months ago)
- Language: PHP
- Size: 16.6 KB
- Stars: 6
- Watchers: 3
- Forks: 7
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome - Blacklist IPs - A simple plugin to blacklist IPs from shortening URLs. (Plugins / B)
README
YourlsBlacklistIPs
Plugin for Yourls allowing to blacklist IPs
This plugin is intended to be used with YOURLS (cf. http://yourls.org)
It has been tested on YOURLS v1.5 and v1.5.1
Current version is 1.3, updated on 18/09/2012
Contact : Ludo at [email protected]
INSTALL :
- In /user/plugins, create a new folder named BlackListIP
- In this new directory, copy the plugin.php and ludo_blacklist_ip_Check_IP_Module.php files from this repository
- Go to the Plugins administration page and activate the pluginYou will see in the admin section a new admin page where you can add the IP addresses you want to blacklist.
Please enter one IP address per line. Other syntax should provide unexpected behaviours.
v1.0 : initialization
v1.1 : Add admin page
v1.2 : Add some checks on IP format and some warnings for use
v1.3 : Add several possibilities to provide IP ranges :
- A.B.C.D-X.Y.Z.T range : all IPs from A.B.C.D to X.Y.Z.T are blacklisted
- A.B.C.0 range : all IPs from A.B.C.0 to A.B.C.255 are blacklisted
- A.B.0.0 range : all IPs from A.B.0.0 to A.B.255.255 are blacklisted
- A.0.0.0 range : all IPs from A.0.0.0 to A.255.255.255 are blacklisted
- A.B.C.D/X.Y.Z.T : A.B.C.D is an IP address, X.Y.Z.T is a subnet mask, all IPs addresses corresponding to that IP and mask are blacklisted
- A.B.C.D/T, T between 0 TO 32 : CIDR notation.
For explanations, feel free to check http://en.wikipedia.org/wiki/IP_address .Actual roadmap is empty, but I'm open to suggestions. Feel free to contact me.