Table of Contents

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

ipfwadm package (daxfi.firewalls package).

Class used to manage ipfwadm rules.

Copyright 2001, 2002 Davide Alberani <alberanid@libero.it>

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.Rule import *
Functions   
get_policy
is_supported
list_chains
list_rules
transf_ipfwadm_proto
transf_ipfwadm_target
trasf_ipfwadm_icmptype
trasf_ipfwadm_nat
  get_policy 
get_policy ( direction )

  is_supported 
is_supported ()

  list_chains 
list_chains ()

  list_rules 
list_rules ( direction )

  transf_ipfwadm_proto 
transf_ipfwadm_proto ( v )

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

  transf_ipfwadm_target 
transf_ipfwadm_target ( v )

  trasf_ipfwadm_icmptype 
trasf_ipfwadm_icmptype ( v )

Ipfwadm need an icmp type expressed in numeric format.

  trasf_ipfwadm_nat 
trasf_ipfwadm_nat ( v )

Classes   
Rule

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


Table of Contents

This document was automatically generated on Tue Dec 17 17:48:18 2002 by HappyDoc version r1_5