Kwiki Blog

 
Wed Sep 29 13:12:30 2004 PyTCPWrap

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

Tue Jul 29 19:48:34 2003 PlesRoadMap
  • July 2003
    • ples project goes online at Source Forge
    • Launch mailing list and contact people
    • Project planning
  • August 2003
    • Specification finalised
    • UML completed
  • September 2003
    • The first ples implementation will be a REST interface written in Perl to interface with the PostreSQL database via the popular DBI::DBD modules obtainable from CPAN.
    • Coding of first ples interface (ples-pl.pgsql) commences
  • Oktober 2003
    • ples-pl.pgsql alpha released
  • November 2003
    • ples-pl.pgsql beta released
  • January 2003
    • Project status review
Tue Jul 29 19:46:09 2003 Home

What is ples? >> ples is a set of ReSTful HTTP interfaces to commonly used Open Source databases for the Perl, Python and PHP scripting languages. An application exposes its database to other applications as a REST web service i.e. URI-addressable resources. ples will provide a simple HTTP based mechanism for interoperability between applications and databases over networks and the Internet.

What is ples-utils? >> A hodgepodge of simple, small but very useful programs written in Perl, Python or PHP. For example - untill quite recently there was no way to access hosts.deny/allow from within Python - now we have PyTCPWrap, courtesy of the ples project.

Latest News

  • Change the license agreement for ples to LGPL on 2004-10-21.
  • Can't believe it - September 2004 and yet not one single line of code written. OK - that is if you don't count PyTCPWrap - a wrapper for libwrap (TCP wrappers) which is going to be hosted under ples-utils. Keep watching this space!
  • January 2004. I love to work on this project but - need a little help. The UML is complete (lets rather say good enough to start working) but I don't have time to cut any code. Contact me if you can give a hand!
  • It is mid October and we are little behind schedule. Hopefully the UML will be near complete by end October.
  • First UML framework published on 2003-07-29.
  • The ples project goes online on 2003-07-16.

Open Source Collaboration >> The following pages can be edited on-line (see the KwikiFormattingRules and visit www.kwiki.org to learn more about a fabulous Kwiki:)

  1. PlesWhatIsRest
  2. PlesSpecification
  3. PlesUml
  4. PlesPerl
  5. PlesPython
  6. PlesPhp.

Please help us to build a solid conceptual framework for this project. Also visit the Source Forge project page for the usual stuff about contacting and joining the development team.

Fri Jul 18 07:21:43 2003 PlesSpecification

ples intends to provide a common conceptual framework for developing REST interfaces to SQL databases in the Perl, Python and PHP scripting languages. The modules will first be designed and defined in terms of UML to provide a language independent framework to work from. The "UML" notation used doesn't necessarily comply with any recognised standard and has been modified so that it can easily be published and edited on-line.

The following basic functionality will be rendered by a ples database interface :

  1. Navigation from root data objects (databases) to tables and associated tables.
  2. Viewing of data from a table through the HTTP GET method.
  3. Addition of new data to a table through the HTTP PUT method.
  4. Updating of existing data in a table through the HTTP POST method.

Example of a Java REST interface to a SQL database

Have a look at the screen shots from sqlrest project to get an idea of how the interface should work.

Thu Jul 17 13:58:19 2003 PlesPhp

Describe the new page here.

Thu Jul 17 13:57:40 2003 PlesPython

python-utils

PyTCPWrap - TCP Wrapper for python

Thu Jul 17 13:57:11 2003 PlesPerl

Describe the new page here.