Table of Contents

Module: __init__ daxfi/firewalls/ipfwadm/__init__.py

ipfwadm package (daxfi.firewalls package).

Classes used to manage ipfwadm rules.

Copyright 2001 Davide Alberani <alberanid@mail.com>

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

Imported modules   
from daxfi import xml_commands
from daxfi.Rule import *
from daxfi.RuleBuilder import *
from daxfi.firewalls.ipfwadm._ipfwadm import is_supported, list_chains, list_rules
Functions   
transf_ipfwadm_proto
trasf_ipfwadm_icmptype
  transf_ipfwadm_proto 
transf_ipfwadm_proto ( v )

Ipfwadm wants a protocol name, instead of a protocol number.

  trasf_ipfwadm_icmptype 
trasf_ipfwadm_icmptype ( v )

Ipfwadm need an icmp type expressed in numeric format.

Classes   
Rule

Methods and variables used to create the command string for ipfwadm.

RuleBuilder

The RuleBuilder class for ipfwadm.


Table of Contents

This document was automatically generated on Sat Sep 1 13:50:24 2001 by HappyDoc version r1_5