A "cloud native" service in AWS that will check if an IP address exists in a Firehol blocklist
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
git clone [email protected]:<YOURUSERNAME>/ipblock-microservice.git
vscode
or your favorite editor and install the dependenciescd ipblock-microservice && code . && npm install
npm install -g serverless
serverless config credentials --provider aws --key <YOUR KEY> --secret <YOUR SECRET>
Deploying can be done with
serverless deploy
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
We use SemVer for versioning. For the versions available, see the tags on this repository.
See also the list of contributors who participated in this project.
This project is licensed under the MIT License - see the LICENSE.md file for details
Inbound request
IP and origin
Return a array of Files ending in .ipset from the git repository master branch
An array of file:File
Primary function for comparing input/request IP to a list of blocked IPSets from Firehol
JSON object with success or error data
Strips out comment lines and converts the IP address lines to an array of IP addresses
File object from which to grab the path
A sanitized list of IP Addresses
Validate IP Address as either ipV4 or ipV6
v4 or v6 IP address
Valid IP address?
Generated using TypeDoc
Evaluate incoming request for querystring AND|OR origin
{InValidArgumentException} Invalid IP Address