{ "info": { "author": "Alexander Herrmann", "author_email": "darignac@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Operating System :: POSIX :: Linux", "Programming Language :: Python :: 3.4", "Topic :: Utilities" ], "description": "ip_assembler\n============\n\nThis is a project that gathers together all IPs that are being reported as banned by the Wordpress plugins\n\n* Better WP Security (now iThemes Security and not working any more)\n* Login Security Solution\n\nThe IPs are taken from a mailbox where the plugins send their mails to. The mails are parsed, the IP(s) extracted and added to the database.\n\nNecessary settings are:\n\n- ``IMAP_SERVER``\n- ``IMAP_USERNAME``\n- ``IMAP_PASSWORD``\n\nThere is a \"unification\" of the IPs, that means the following IPs\n\n* 10.10.10.10\n* 10.10.10.11\n* 10.10.10.12\n* 10.10.10.13\n* 10.10.10.14\n\nwill be merged to the \"IP\" 10.10.10.*. So instead of the 5 single IPs there will be only a single wildcard IP. This will work for at least 3 IPs being in a group.\n\nYou can specify the paths to Wordpress ``.htaccess`` files on the host the ip_assembler is running. This will result in adjusting all these .htaccess files if there\nare new IPs added and the number of new IPs is greater than 10 (default) or ``settings.IP_ASSEMBLER_IP_CHANGED_THRESHOLD``.\n\nThe number of IPs of the last update of ``.htaccess`` files is saved in ``settings.IP_ASSEMBLER_IP_CHANGED_FILE`` (default: ``/tmp/ipa-last``).\n\nFor each IP, the following will be added\n\n.. code-block:\n SetEnvIF REMOTE_ADDR DenyAccess\n SetEnvIF X-FORWARDED-FOR DenyAccess\n SetEnvIF X-CLUSTER-CLIENT-IP DenyAccess\n\nThe place where this will be put is determined by checking if ``SetEnvIF REMOTE_ADDR ...`` already is there. If so, this is the start position.\nThe last ``SetEnvIF X-CLUSTER-CLIENT-IP`` is the end position. Everything in between will be updated with the IPs from the database. If the ``.htaccess`` does not\ncontain these entries, than the content will be written to the beginning of the file.\n\nThere is an additional view in the admin site of the IP model with which you can batch add IPs. It's linked near the \"Add IP\" button.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/dArignac/ip_assembler", "keywords": null, "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "ip_assembler", "package_url": "https://pypi.org/project/ip_assembler/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/ip_assembler/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/dArignac/ip_assembler" }, "release_url": "https://pypi.org/project/ip_assembler/0.0.1/", "requires_dist": null, "requires_python": null, "summary": "Banned IP processing for .htaccess locations like Wordpress.", "version": "0.0.1" }, "last_serial": 1805528, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "0e7526c03f6ee9c32adca0cdde97f0d9", "sha256": "9e57e6d79c62a21e025d74f5830971396f37ab613c23bd1ff90ccf98f4b9e601" }, "downloads": -1, "filename": "ip_assembler-0.0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "0e7526c03f6ee9c32adca0cdde97f0d9", "packagetype": "bdist_wheel", "python_version": "3.4", "requires_python": null, "size": 12473, "upload_time": "2015-11-07T09:58:28", "url": "https://files.pythonhosted.org/packages/0a/25/ebc2a8f8dba8ee8219912ab314a43a9a605013ebf536b64f5775570a5bee/ip_assembler-0.0.1-py2.py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "0e7526c03f6ee9c32adca0cdde97f0d9", "sha256": "9e57e6d79c62a21e025d74f5830971396f37ab613c23bd1ff90ccf98f4b9e601" }, "downloads": -1, "filename": "ip_assembler-0.0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "0e7526c03f6ee9c32adca0cdde97f0d9", "packagetype": "bdist_wheel", "python_version": "3.4", "requires_python": null, "size": 12473, "upload_time": "2015-11-07T09:58:28", "url": "https://files.pythonhosted.org/packages/0a/25/ebc2a8f8dba8ee8219912ab314a43a9a605013ebf536b64f5775570a5bee/ip_assembler-0.0.1-py2.py3-none-any.whl" } ] }