This file is indexed.

/usr/share/doc/python-tcpwrap/README is in python-tcpwrap 0.2-2.3.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
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