Jump to: navigation, search

Quantum-iptables-manager

Revision as of 22:04, 29 May 2012 by Juliano (talk)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Handling Iptables Manager

<<TableOfContents()>>

Abstract

The idea behind this blueprint is create a python iptables module implementing a generic iptables abstraction, this will be useful for every plugin based on iptables.

Summary

This module works with ipv4 and ipv6, supporting use of stateless or stateful firewalls.

Proposed Quantum Module Operations

Adding a filter chain

#!highlight python
from quantum.plugins.agent.linux import iptables_manager
iptables = iptables_manager.IptablesManager()
iptables.ipv4['filter'].add_chain('iptables-ipv4-chain')