{ "info": { "author": "Oliver Berger", "author_email": "diefans@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Operating System :: OS Independent" ], "description": "Ferment\n=======\n\n\nObjective\n---------\n\nCreate a ferm_ config for the current docker container setup. This seems useful\nfor automated provisioning of systems (e.g. with ansible_) which want to use\nferm_ for their firewall setup.\n\n\nUsage\n-----\n\nInstall Ferment via `pip`::\n\n pip install ferment\n\n\n\nYou just include a callback to ferment within your `ferm.conf`::\n\n # -*- shell-script -*-\n #\n # Configuration file for ferm(1).\n #\n\n table filter {\n chain INPUT {\n policy DROP;\n\n # connection tracking\n mod state state INVALID DROP;\n mod state state (ESTABLISHED RELATED) ACCEPT;\n\n # allow local packet\n interface lo ACCEPT;\n\n # respond to ping\n proto icmp ACCEPT;\n\n # allow IPsec\n proto udp dport 500 ACCEPT;\n proto (esp ah) ACCEPT;\n\n # allow SSH connections\n proto tcp dport ssh ACCEPT;\n }\n chain OUTPUT {\n policy ACCEPT;\n\n # connection tracking\n #mod state state INVALID DROP;\n mod state state (ESTABLISHED RELATED) ACCEPT;\n }\n chain FORWARD {\n policy DROP;\n\n # connection tracking\n mod state state INVALID DROP;\n mod state state (ESTABLISHED RELATED) ACCEPT;\n }\n }\n\n @include '/usr/local/bin/ferment docker config|'\n\n\nTodo\n----\n\nSince I am not the great firewall guy, I suppose there are some issues with\nmore complex docker_ setups - I am open for suggestions.\n\n\n.. _ferm: http://ferm.foo-projects.org/\n.. _ansible: http://docs.ansible.com/\n.. _docker: http://docs.docker.com/articles/networking/\n", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "UNKNOWN", "keywords": "ferm docker iptables", "license": "Apache Version 2", "maintainer": null, "maintainer_email": null, "name": "Ferment", "package_url": "https://pypi.org/project/Ferment/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/Ferment/", "project_urls": { "Download": "UNKNOWN", "Homepage": "UNKNOWN" }, "release_url": "https://pypi.org/project/Ferment/0.0.1/", "requires_dist": null, "requires_python": null, "summary": "A tool to provide the current docker config in ferm format", "version": "0.0.1" }, "last_serial": 1526186, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "483b49f79a4fb726faae38bd848482cf", "sha256": "c96f3f963d57b5a42c604093f266a51bd048ec2449930018e7775e88a83b63bb" }, "downloads": -1, "filename": "Ferment-0.0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "483b49f79a4fb726faae38bd848482cf", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 4912, "upload_time": "2015-04-29T14:19:08", "url": "https://files.pythonhosted.org/packages/6d/00/8d27298cf5c3086096a3043e04837271704ea063a0e1cf5128e266fdc1f6/Ferment-0.0.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "be9ec9e3812713f9fb1bcffe7ebebc8b", "sha256": "89494f7fe5dfa882fc7feb5bf8a2cb51eb2beabaf483118025b901079edb8f77" }, "downloads": -1, "filename": "Ferment-0.0.1.tar.gz", "has_sig": false, "md5_digest": "be9ec9e3812713f9fb1bcffe7ebebc8b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3570, "upload_time": "2015-04-29T14:19:12", "url": "https://files.pythonhosted.org/packages/c0/28/a8f5163f080224eaa679e7629b3b74ee271fdebdda1c67065358d31baf90/Ferment-0.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "483b49f79a4fb726faae38bd848482cf", "sha256": "c96f3f963d57b5a42c604093f266a51bd048ec2449930018e7775e88a83b63bb" }, "downloads": -1, "filename": "Ferment-0.0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "483b49f79a4fb726faae38bd848482cf", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 4912, "upload_time": "2015-04-29T14:19:08", "url": "https://files.pythonhosted.org/packages/6d/00/8d27298cf5c3086096a3043e04837271704ea063a0e1cf5128e266fdc1f6/Ferment-0.0.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "be9ec9e3812713f9fb1bcffe7ebebc8b", "sha256": "89494f7fe5dfa882fc7feb5bf8a2cb51eb2beabaf483118025b901079edb8f77" }, "downloads": -1, "filename": "Ferment-0.0.1.tar.gz", "has_sig": false, "md5_digest": "be9ec9e3812713f9fb1bcffe7ebebc8b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3570, "upload_time": "2015-04-29T14:19:12", "url": "https://files.pythonhosted.org/packages/c0/28/a8f5163f080224eaa679e7629b3b74ee271fdebdda1c67065358d31baf90/Ferment-0.0.1.tar.gz" } ] }