pytcpwrap
---------
 This is version 0.2 of pytcpwrap - a Python wrapper for libwrap 

 TCPWrap wraps function hosts_ctl() which reads the /etc/hosts.deny and /etc/hosts.allow files.  
 
 for more documentation see man hosts_access(3)

(PLEASE NOTE : : TCP wrappers is a rather weak security mechanism and is interalia
not able to detect IP spoofing. On high risk systems you can not rely on TCP wrappers
alone.)

Installation
------------
Unpack the tar.gz file somewhere.

as user root:

python setup.py install


Usage
-----

see test/tester.py for an example. 

Please note that your hosts.deny file must specify a default restrictive policy to have any effect.


Tested on platforms:
--------------------

Slackware Linux 9.0, kernel 2.4.20, TCP wrappers (libwrap) 7.6 
  

License terms:
--------------
    
<pytcpwrap - Python wrapper for libwrap used for hosts.allow/hosts.deny access control>
Copyright (C) <2004>  <Eugene Coetzee>

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

    This library 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
    Lesser General Public License for more details.

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

e-mail author : eugene@reedflute.com
postal address   : Dwarsstreet 75, Potchefstroom,NW Province, 2531, Rebublic of South Africa		

