Search.setIndex({"alltitles": {"About python-iptables": [[2, "about-python-iptables"]], "Autocommit": [[0, "autocommit"]], "Chain": [[3, "chain"]], "Chains and tables": [[0, "chains-and-tables"]], "Compiling from source": [[2, "compiling-from-source"]], "Counters": [[0, "counters"]], "Easy rules with dictionaries": [[0, "easy-rules-with-dictionaries"]], "Examples": [[0, null]], "High level abstractions": [[0, "high-level-abstractions"]], "IPTCError": [[3, "iptcerror"]], "Indices and tables": [[1, "indices-and-tables"]], "Installing via pip": [[2, "installing-via-pip"]], "Introduction": [[2, null]], "Known Issues": [[0, "known-issues"]], "Match": [[3, "match"]], "More about matches and targets": [[0, "more-about-matches-and-targets"]], "Policy": [[3, "policy"]], "Rule": [[3, "rule"]], "Rule6": [[3, "rule6"]], "Rules": [[0, "rules"]], "Table": [[3, "table"]], "Table6": [[3, "table6"]], "Target": [[3, "target"]], "Usage": [[3, null]], "Using a custom iptables install": [[2, "using-a-custom-iptables-install"]], "Welcome to python-iptables\u2019s documentation!": [[1, null]], "What is supported": [[2, "what-is-supported"]]}, "docnames": ["examples", "index", "intro", "usage"], "envversion": {"sphinx": 64, "sphinx.domains.c": 3, "sphinx.domains.changeset": 1, "sphinx.domains.citation": 1, "sphinx.domains.cpp": 9, "sphinx.domains.index": 1, "sphinx.domains.javascript": 3, "sphinx.domains.math": 2, "sphinx.domains.python": 4, "sphinx.domains.rst": 2, "sphinx.domains.std": 2, "sphinx.ext.intersphinx": 1, "sphinx.ext.todo": 2}, "filenames": ["examples.rst", "index.rst", "intro.rst", "usage.rst"], "indexentries": {}, "objects": {}, "objnames": {}, "objtypes": {}, "terms": {"": [0, 2], "0": 0, "00": 0, "0xff": 0, "0xffff": 0, "1": 0, "10": 0, "100": 0, "1031": 0, "106": 0, "11": 0, "1234": 0, "127": 0, "168": 0, "172": 0, "192": 0, "2": [0, 2], "200": 0, "201": 0, "204": 0, "22": 0, "255": 0, "286": 0, "3": [0, 2], "32": 0, "33": 0, "369": 0, "4": 2, "44": 0, "516": 0, "53": 0, "55": 0, "56": 0, "6": 2, "7": [0, 2], "736": 0, "8": 0, "80": 0, "A": [0, 3], "As": [0, 2], "For": [0, 3], "If": [0, 2], "In": 0, "It": [0, 2], "Of": 2, "One": 0, "That": 0, "The": [0, 2, 3], "There": 0, "These": 0, "To": [0, 2, 3], "_": 0, "__setattr__": 0, "_pars": 0, "_ptrptr": 0, "abl": 2, "about": 1, "abov": 0, "abstract": 1, "accept": 0, "access": 0, "achiev": [2, 3], "add": 0, "add_chain": 0, "add_match": 0, "address": [0, 3], "after": [0, 2], "all": [0, 2], "also": [0, 2, 3], "altern": 0, "alwai": 0, "an": [0, 2], "ani": 0, "anoth": 0, "anyth": 3, "api": [2, 3], "appli": [0, 3], "ar": [0, 2], "arg": 0, "argv": 0, "ask": 2, "assum": 0, "attribut": 0, "autocommit": 1, "autogen": 2, "automat": 0, "avail": [0, 2], "back": 0, "basic": [0, 2], "batch": 0, "been": 0, "belong": 3, "binari": 2, "bind": 2, "blacklist": 0, "break": 0, "build": 2, "built": [2, 3], "byte": 0, "c": [0, 2], "c_void_p": 0, "call": [0, 2, 3], "can": [0, 2, 3], "case": 0, "cast": 0, "caus": 0, "cd": 2, "certain": 0, "chain": [1, 2], "chang": [0, 2], "check": [0, 2], "class": 3, "clearli": 0, "clone": 2, "close": 0, "co": 2, "code": 0, "come": [0, 2], "command": [0, 3], "comment": 0, "commit": 0, "compil": 1, "complex": [0, 2], "conf": 2, "configur": 2, "connect": 0, "consist": 0, "construct": 0, "constructor": 0, "contain": [0, 2], "content": 1, "continu": 2, "convert": 0, "could": 0, "counter": 1, "cours": [0, 2], "creat": [0, 3], "create_chain": 0, "create_match": 0, "create_target": 0, "criteria": 0, "ct": 0, "custom": 1, "d": 2, "date": 2, "decid": 0, "decode_iptc_rul": 0, "default": [0, 2], "defin": [0, 2], "delet": 0, "delete_chain": 0, "delete_rul": 0, "depend": 2, "design": 0, "destin": 0, "detail": 3, "dictionari": 1, "differ": 2, "directori": 2, "disabl": 0, "distribut": 2, "distutil": 2, "dn": 0, "do": [0, 2, 3], "document": 2, "don": 2, "dport": 0, "drawback": 0, "drop": 0, "dst": 0, "dst_rang": 0, "dump_chain": 0, "dump_tabl": 0, "dynam": 2, "e": 0, "each": [0, 2, 3], "easi": 1, "ebtabl": 2, "effect": 0, "effort": 0, "either": 0, "enabl": 0, "encode_iptc_rul": 0, "end": 3, "entri": 0, "environ": 2, "equival": 0, "error": 0, "establish": 0, "etc": [0, 2], "eth": 0, "eth0": 0, "even": 0, "everyth": 2, "exampl": 1, "except": 0, "exist": 0, "expect": 0, "explicitli": 0, "extens": [0, 2, 3], "fals": 0, "few": 3, "file": [0, 2], "filter": [0, 2, 3], "find": 0, "fire": 2, "firewal": 2, "first": [0, 2], "fix": 0, "flush": 0, "fn": 0, "folder": 2, "follow": 0, "foobar": 0, "former": 0, "forward": 0, "framework": 2, "from": [0, 1, 3], "front": 0, "full": 2, "function": 0, "g": 0, "get": 0, "get_count": 0, "git": 2, "go": 0, "good": 0, "googl": 0, "goto": 0, "gre": 0, "ha": 3, "happen": 0, "hashlimit": 0, "hashlimit_htable_expir": 0, "have": [0, 2, 3], "here": [0, 2], "hide": 3, "high": [1, 3], "hit": 0, "home": 0, "how": 0, "howev": 0, "i": [0, 1, 3], "ideal": 0, "immedi": 0, "implement": [0, 3], "import": [0, 2], "improv": 0, "in_interfac": 0, "includ": [0, 2], "index": 1, "inform": 0, "input": 0, "insert": 0, "insert_rul": 0, "insid": 3, "inspect": 2, "instal": 1, "instanc": 0, "instanti": 0, "instead": 0, "intefac": 0, "interact": 0, "interfac": [0, 2], "interoper": 2, "introduct": 1, "inv": 0, "ip": 0, "ip4tc": 0, "iprang": 0, "ipset": 0, "iptabl": [0, 3], "iptables_libdir": 2, "iptc": [0, 2], "iptcerror": 1, "ipv4": [0, 2, 3], "ipv6": [0, 2, 3], "issu": 1, "its": 2, "j": 0, "jump": [2, 3], "just": 0, "kernel": 2, "kind": 3, "known": 1, "l": 0, "last": 0, "ld": 2, "len": 0, "let": 0, "level": [1, 3], "lib": 2, "libiptc": 2, "librari": [0, 2], "libxtabl": 2, "like": [0, 2], "line": [0, 3], "linker": 2, "linux": 2, "list": [0, 2], "local": 2, "locat": 2, "logic": 3, "look": 2, "low": [0, 3], "m": 0, "mac": 0, "mac_sourc": 0, "machin": 2, "mai": [0, 2], "mainli": 0, "maintain": 2, "make": 2, "manag": 2, "mandatori": 0, "mangl": [0, 3], "manipul": 2, "manpag": [0, 2], "manual": 0, "mark": 0, "masquerad": 0, "match": [1, 2], "match_nam": 0, "match_set": 0, "meant": 2, "method": 0, "might": 0, "mimic": 3, "mkvirtualenv": 2, "modifi": 3, "modul": [0, 1], "more": [1, 2, 3], "most": [0, 2], "multipl": 0, "n": [0, 2], "name": 0, "nat": [0, 3], "necessari": 2, "need": [0, 2, 3], "negat": 0, "netfilt": [0, 2], "network": 3, "new": 0, "note": 0, "notrack": 0, "now": 2, "number": 2, "object": [0, 3], "obtain": 0, "often": 2, "old": 2, "onc": 2, "one": [0, 2, 3], "ones": 2, "onli": [0, 3], "oper": 0, "opt": 0, "option": 0, "org": 2, "organ": 0, "other": 3, "otherwis": 2, "out": [0, 2], "out_interfac": 0, "output": [0, 2], "own": 3, "p": 0, "packag": 2, "packet": [0, 2, 3], "page": 1, "paramet": 0, "pars": [0, 2], "parse_match": 0, "part": 2, "pass": 0, "path": 2, "perfectli": 0, "perform": 0, "pip": 1, "place": 2, "pleas": 0, "plethora": 3, "point": 2, "pointer": 0, "polici": [0, 1], "port": 0, "postrout": 0, "prefix": 2, "prerout": 0, "primarili": 2, "print": 0, "problemat": 0, "product": 2, "program": 2, "project": 0, "properti": 0, "prot": 0, "proto": 0, "protocol": 0, "provid": [0, 2], "put": [0, 2], "py": [0, 2], "python": [0, 3], "pythonesqu": 2, "queri": 0, "quit": [0, 3], "rang": 0, "raw": [0, 3], "reach": 3, "readabl": 0, "readi": 0, "recent": 0, "refer": [0, 2], "refresh": 0, "reject": 0, "relat": 0, "remov": 0, "replac": 0, "represent": 0, "requir": 0, "reset": 2, "restart": 0, "result": 0, "ret": 0, "rich": 0, "root": 2, "router": 2, "rule": [1, 2], "rule6": 1, "rule_d": 0, "rule_goto_d": 0, "run": 2, "same": [0, 2], "save": 0, "search": [1, 2], "secur": [0, 3], "see": 0, "self": 0, "send": 0, "set": [0, 2], "set_mark": 0, "setup": 2, "sever": 2, "sh": 2, "share": 2, "should": 3, "show": 0, "signific": 0, "simplifi": 0, "sinc": [0, 2], "singleton": 0, "sleep": 0, "snippet": 0, "so": 2, "some": 0, "somehow": 0, "someth": 0, "sourc": [0, 1], "specif": 0, "specifi": [0, 2, 3], "sport": 0, "src": 0, "src_rang": 0, "standard": 2, "state": 0, "stdout": 0, "still": 0, "string": 0, "stuck": 2, "sudo": [0, 2], "suppli": 0, "support": [0, 1], "sure": 2, "sy": 0, "system": 2, "t": [0, 2], "tabl": 2, "table6": 1, "take": 0, "target": [1, 2], "target_nam": 0, "tcp": 0, "tell": [0, 3], "test": [0, 2], "testchain": 0, "testchaingoto": 0, "than": 0, "thei": [2, 3], "them": [0, 3], "thi": [0, 2, 3], "throw": 0, "time": 0, "tmp": 2, "to_port": 0, "togeth": 0, "tool": 2, "traceback": 0, "traffic": 0, "transform": 0, "translat": 3, "travers": 0, "tri": [0, 3], "true": 0, "two": 0, "typic": 0, "ubuntu": 2, "udp": 0, "under": 2, "underli": 0, "up": [0, 2], "updat": [0, 2], "upgrad": 2, "upstream": 0, "us": [0, 1, 3], "usabl": 0, "usag": 1, "user": [0, 2, 3], "usr": 2, "usual": [0, 2], "valid": 0, "valu": 0, "variou": 3, "veri": 0, "version": 2, "via": [0, 1], "virtual": 3, "virtualenv": 2, "wa": 0, "wai": [2, 3], "want": 0, "warn": 2, "we": 0, "well": 2, "what": [0, 1, 3], "when": [0, 3], "where": 2, "whether": [0, 2], "which": [0, 2, 3], "while": 0, "wish": 2, "word": 0, "work": 0, "workaround": 0, "would": 2, "wrapper": 2, "xtabl": [0, 2], "xtables_libdir": 2, "xtableserror": 0, "y": 2, "you": [0, 2, 3], "your": [0, 2, 3], "zero": 3}, "titles": ["Examples", "Welcome to python-iptables\u2019s documentation!", "Introduction", "Usage"], "titleterms": {"": 1, "about": [0, 2], "abstract": 0, "autocommit": 0, "chain": [0, 3], "compil": 2, "counter": 0, "custom": 2, "dictionari": 0, "document": 1, "easi": 0, "exampl": 0, "from": 2, "high": 0, "i": 2, "indic": 1, "instal": 2, "introduct": 2, "iptabl": [1, 2], "iptcerror": 3, "issu": 0, "known": 0, "level": 0, "match": [0, 3], "more": 0, "pip": 2, "polici": 3, "python": [1, 2], "rule": [0, 3], "rule6": 3, "sourc": 2, "support": 2, "tabl": [0, 1, 3], "table6": 3, "target": [0, 3], "us": 2, "usag": 3, "via": 2, "welcom": 1, "what": 2}})