{ "info": { "author": "Johannes Hubertz", "author_email": "johannes@hubertz.de", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: System Administrators", "License :: OSI Approved :: Apache Software License", "License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)", "Operating System :: POSIX :: Linux", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Topic :: Security", "Topic :: System :: Networking :: Firewalls", "Topic :: Utilities" ], "description": ".. image:: https://travis-ci.org/sl0/conv.svg?branch=master\n :target: https://travis-ci.org/sl0/conv\n :align: right\n\niptables-converter\n==================\n\n\n**iptables-converter**: convert iptables to iptables-save format, output\ncomes with [0:0] for iptables-restore -c\n\n**ip6tables-converter**: convert ip6tables to ip6tables-save format,\noutput comes with [0:0] for ip6tables-restore -c\n\n**Source**: https://github.com:sl0/conv.git\n\n**Version**: 0.9.10\n\n**Date**: 2017-11-16\n\n**Licenses**:\n\n - GNU GENERAL PUBLIC LICENSE Version 3 later\n - Apache License Version 2.0\n\n**Author**: Johannes Hubertz johannes@hubertz.de\n\n**iptables-converter** speeds up loading of iptables-commands by\nconverting them to iptables-save format, and then loading them through\niptables-restore is much more quicker than loading the plain commands.\nThe loading itself is not part of iptables-converter.\n\nUsage:\n\n::\n\n iptables-converter [ -d destination ] [ -s source ] [ --sloppy ]\n ip6tables-converter [ -d destination ] [ -s source ] [ --sloppy ]\n\nThis assumes that **source** is a plain ascii-file containing lines\nstarting with **iptables** to build a firewall ruleset. Lines starting\nwith **/sbin/iptables** are understood as well. Omitting -s source\ndefaults to reading a file named **rules**. An optional **sloppy**\nparameter makes premature definitions (-N name) of any user defined\nchains unneccessary, they are defined automatically by first mentioning\nthem. Optionally **-d destination** writes everything into the given\ndestination file since verstion 0.9.10. Omitting this option results in\nwriting Output to stdout, which is the default behavior. Packet-counters\nand byte-counters include [0:0] which keeps compatibility to\niptables-restore as well as to **iptables-restore -c**.\n\n**ip6tables-converter** works for ip6tables just the same way.\n\nBoth they work for **filter**, **mangle**, **nat** and **raw** tables,\n**security** tables are not supported for now.\n\nFrom version 0.9.10 on it works as a python-module using entry-points\nfor easier imports. For your convienience, the module is named\n**iptables\\_conv**.\n\nAt travis-ci.org the **tests** are run automatically, thanks to Guido!\nTo run them locally, please use python:\n\n::\n\n python setup test\n\nor tox, which is the preferred testrunner.\n**iptables-converter** is tested to work well with python2.7, python3.5\nand python3.6. The tests are\ndone using pytest for easier writing future testcases. Some sphinx\ndocumentation is prepared. Debian packages are provided for the\n`binaries `__ and\n`sphinx-documentation `__.\ngit-buildpackage creates them on the fly. RPMs may be created by python::\n\n setup.py bdist_rpm\n\nAny comments welcome.\n\nHave fun!\n\nJohannes", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/sl0/conv.git", "keywords": "", "license": "GNU General Public License version 3 or later, Apache License Version 2", "maintainer": "", "maintainer_email": "", "name": "iptables-converter", "package_url": "https://pypi.org/project/iptables-converter/", "platform": "Linux", "project_url": "https://pypi.org/project/iptables-converter/", "project_urls": { "Homepage": "https://github.com/sl0/conv.git" }, "release_url": "https://pypi.org/project/iptables-converter/0.9.10/", "requires_dist": null, "requires_python": "", "summary": "convert set of iptables-commands to iptables-save format", "version": "0.9.10" }, "last_serial": 3339715, "releases": { "0.9.10": [ { "comment_text": "", "digests": { "md5": "dd5519357cbea4f88011a6b22fd19602", "sha256": "52715e45bdf1fa00febf92af12aa6fe34af8202ae0f7e128611ce040a7902d64" }, "downloads": -1, "filename": "iptables-converter-0.9.10.tar.gz", "has_sig": false, "md5_digest": "dd5519357cbea4f88011a6b22fd19602", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 39252, "upload_time": "2017-11-16T20:46:14", "url": "https://files.pythonhosted.org/packages/84/5e/8992cf87d5e01ca88bfc8a65ce88c167993c7ad6c4c409c6a1ff130ef949/iptables-converter-0.9.10.tar.gz" } ], "0.9.10rc1": [ { "comment_text": "", "digests": { "md5": "4f3ceda4aa8832672c3f82a65d28783c", "sha256": "f26f4eead95d58b6c8d0f0b73d3f0fb746f342006f58090c39c91c3f339542e3" }, "downloads": -1, "filename": "iptables-converter-0.9.10rc1.tar.gz", "has_sig": false, "md5_digest": "4f3ceda4aa8832672c3f82a65d28783c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 24196, "upload_time": "2017-11-10T21:16:34", "url": "https://files.pythonhosted.org/packages/a6/25/607e83c4522bdb6e45bef5802b57feefcac141e48e9b19e4f3c7d0d3ceac/iptables-converter-0.9.10rc1.tar.gz" } ], "0.9.10rc2": [ { "comment_text": "", "digests": { "md5": "6948bf970ed88da5e2c6a9de197d8510", "sha256": "92b59e3862a54a43ed42240f7ec7937eebfbc2743ef6ba56148a19142ccc8200" }, "downloads": -1, "filename": "iptables-converter-0.9.10rc2.tar.gz", "has_sig": false, "md5_digest": "6948bf970ed88da5e2c6a9de197d8510", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 39279, "upload_time": "2017-11-16T19:53:41", "url": "https://files.pythonhosted.org/packages/93/c9/81204cbc13fe4b7c38936ba9e451f907b25094ee568f1e9f59a8627d86c0/iptables-converter-0.9.10rc2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "dd5519357cbea4f88011a6b22fd19602", "sha256": "52715e45bdf1fa00febf92af12aa6fe34af8202ae0f7e128611ce040a7902d64" }, "downloads": -1, "filename": "iptables-converter-0.9.10.tar.gz", "has_sig": false, "md5_digest": "dd5519357cbea4f88011a6b22fd19602", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 39252, "upload_time": "2017-11-16T20:46:14", "url": "https://files.pythonhosted.org/packages/84/5e/8992cf87d5e01ca88bfc8a65ce88c167993c7ad6c4c409c6a1ff130ef949/iptables-converter-0.9.10.tar.gz" } ] }