abuseipdb2iptables


Nameabuseipdb2iptables JSON
Version 0.2.1 PyPI version JSON
download
home_page
Summary
upload_time2024-02-11 00:19:03
maintainer
docs_urlNone
authorBruno Thomas
requires_python>=3.8,<4.0
license
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # abuseipdb2iptables [![Python application](https://github.com/iroco-co/abuseipdb2iptables/actions/workflows/python-app.yml/badge.svg)](https://github.com/iroco-co/abuseipdb2iptables/actions/workflows/python-app.yml)

Small python utility to convert abuseipdb json file into iptables rules.

## Install

With pip : 
```shell
pip install abuseipdb2iptables
```

## Usage

It will group similar ip addresses with networks CIDR.

```shell
abuseipdb2iptables path/to/abuseipdb.json
-A INPUT -s 192.168.1.12/32 -j DROP
-A INPUT -s 172.16.0.0/31 -j DROP
-A INPUT -s 10.9.8.7/31 -j DROP
...
```

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "abuseipdb2iptables",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8,<4.0",
    "maintainer_email": "",
    "keywords": "",
    "author": "Bruno Thomas",
    "author_email": "bruno@barreverte.fr",
    "download_url": "https://files.pythonhosted.org/packages/2c/69/7c16e778da5f17de42cec8051c460af05f72b4debb9b32a9a943b7ba4250/abuseipdb2iptables-0.2.1.tar.gz",
    "platform": null,
    "description": "# abuseipdb2iptables [![Python application](https://github.com/iroco-co/abuseipdb2iptables/actions/workflows/python-app.yml/badge.svg)](https://github.com/iroco-co/abuseipdb2iptables/actions/workflows/python-app.yml)\n\nSmall python utility to convert abuseipdb json file into iptables rules.\n\n## Install\n\nWith pip : \n```shell\npip install abuseipdb2iptables\n```\n\n## Usage\n\nIt will group similar ip addresses with networks CIDR.\n\n```shell\nabuseipdb2iptables path/to/abuseipdb.json\n-A INPUT -s 192.168.1.12/32 -j DROP\n-A INPUT -s 172.16.0.0/31 -j DROP\n-A INPUT -s 10.9.8.7/31 -j DROP\n...\n```\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "",
    "version": "0.2.1",
    "project_urls": null,
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c037194a41dc5fb7de98806088785d0cb9063472f36c7915becf92b7e8c09071",
                "md5": "3cbcd45191590aa12f8a57b8afa46336",
                "sha256": "9cd0f4d39e84222e5dd95e66802d93173d84593bec10c7badb615af62ab2b838"
            },
            "downloads": -1,
            "filename": "abuseipdb2iptables-0.2.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "3cbcd45191590aa12f8a57b8afa46336",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8,<4.0",
            "size": 3586,
            "upload_time": "2024-02-11T00:19:02",
            "upload_time_iso_8601": "2024-02-11T00:19:02.428345Z",
            "url": "https://files.pythonhosted.org/packages/c0/37/194a41dc5fb7de98806088785d0cb9063472f36c7915becf92b7e8c09071/abuseipdb2iptables-0.2.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "2c697c16e778da5f17de42cec8051c460af05f72b4debb9b32a9a943b7ba4250",
                "md5": "d0d8422164aea42894cee862016e4466",
                "sha256": "4cb7684f662b72b0a7ee27eab9d3622740c93e198c627f052e5f1d291bb2cb30"
            },
            "downloads": -1,
            "filename": "abuseipdb2iptables-0.2.1.tar.gz",
            "has_sig": false,
            "md5_digest": "d0d8422164aea42894cee862016e4466",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8,<4.0",
            "size": 2432,
            "upload_time": "2024-02-11T00:19:03",
            "upload_time_iso_8601": "2024-02-11T00:19:03.474659Z",
            "url": "https://files.pythonhosted.org/packages/2c/69/7c16e778da5f17de42cec8051c460af05f72b4debb9b32a9a943b7ba4250/abuseipdb2iptables-0.2.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-02-11 00:19:03",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "abuseipdb2iptables"
}
        
Elapsed time: 0.23187s