Home | Trees | Index | Help |
---|
Package nattraverso :: Module utils |
|
Version: 0.1.0
Author: Raphael Slinckx
Contact: raphael@slinckx.net
Copyright: Copyright 2005
License: LGPL
Function Summary | |
---|---|
Checks if the given ip address is bogus, i.e. | |
Checks if the given ip address is a rfc1918 one. | |
Translate a string ip address to a packed number. |
Variable Summary | |
---|---|
str |
__revision__ = '$id'
|
list |
_nets = [(2130706432L, 4278190080L), (3232235520L, 42949...
|
list |
_rfc1918_networks = [('127', 8), ('192.168', 16), ('10',...
|
Function Details |
---|
is_bogus_ip(ip)Checks if the given ip address is bogus, i.e. 0.0.0.0 or 127.0.0.1.
|
is_rfc1918_ip(ip)Checks if the given ip address is a rfc1918 one.
|
_ip_to_number(ipstr)Translate a string ip address to a packed number.
|
Variable Details |
---|
__revision__
|
_nets
|
_rfc1918_networks
|
Home | Trees | Index | Help |
---|
Generated by Epydoc 2.1 on Tue Aug 30 14:56:47 2005 | http://epydoc.sf.net |