iptables-dynamic
Dynamically save and restore iptables rules for some chain(s)
Description
When there’s an iptables service restart, all of the docker rules gets wiped out. This script was written to dynamically save and restore iptables rules pertaining to some chain(s) and make them persist.
Dependencies
iptables (Must have the commands iptables-save and iptables-restore commands available)
Installation
pip install iptables-dynamic
Usage
iptables-dynamic --chains DOCKER SOME-OTHER-CHAIN --save
which would save them at /etc/iptables/rules.v4
One can restore those rules by
iptables-dynamic --restore
One may also use ip6tables-dynamic for IPv6.
Credits
The copyright owner is Regents of the University of California and this script is published under a BSD 3-Clause license.
Developed at UCSB LSIT
Metadata
Release files for iptables-dynamic 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| iptables-dynamic-0.2.1.tar.gz | 5.9 kB | Without provenance | Details for iptables-dynamic-0.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| iptables_dynamic-0.2.1-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for iptables_dynamic-0.2.1-py2.py3-none-any.whl |
Total release size: 16.4 kB
Release files / iptables-dynamic-0.2.1.tar.gz
| Download URL | iptables-dynamic-0.2.1.tar.gz |
|---|---|
| Size | 5.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
960d7b86c309426d90c509fd869841742c433b044393f1769170372125917205
|
|
BLAKE2b-256 checksum How to use checksums |
695473f2843eb66fbb543783ddf6aa47d9a4419409cba71b35d7515cba20e548
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / iptables_dynamic-0.2.1-py2.py3-none-any.whl
| Download URL | iptables_dynamic-0.2.1-py2.py3-none-any.whl |
|---|---|
| Size | 10.5 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
616c091061b3f18394e4c7ee761f3455e3789f22914eac6ad09fc6fa1bbd8ebb
|
|
BLAKE2b-256 checksum How to use checksums |
5d05b77d3dafdb47dbf36a1866dfdc72fed787af59e06ffbfca952892cb9f869
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for iptables-dynamic 0.2.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.