Things evolve to become ever more complex - not more simple.
Edward De Bono

Home
What is ReST?
Road map
Specification
UML
Perl
Python
PHP
Downloads
Mailing List
Project Page
Contact

SourceForge Logo

Blog
RecentChanges
Preferences
Kwiki Formatting

LATEST RELEASE

version 0.2

README

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.)

Download

http://prdownloads.sourceforge.net/ples/pytcpwrap_0.2.tar.gz?download from http://ples.sf.net

Current version is 0.2 which can be described as stable.

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.

Supported platforms

*nixes

Unfortunately nothing for Windows - yet another good reason to get yourself a decent operating system ;)

Tested on platforms

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

License terms

LGPL 

Bugs and issues

PlesContact