README
1version: 2.3
2website: http://mij.oltrelinux.com/net/greylite/
3contact: mij <mij@bitchx.it>
4license: BSD revised (see http://www.opensource.org/licenses/bsd-license.php)
5
6Refer to the website for any information.
7
8Contents:
9Changes relevant software changes of each version
10greylite.c greylite's source file. Compile and install this one
11logmsg.* logging modules
12greylite.8 greylite's man page. Install in your OS
13greydb.sql sql commands to initialize the greylite sqlite database
14greylite-verified2cdb.sh Script to selectively consolidate greylite's
15 verified addresses into cdb (tcprules)
16cidr2firstlast.c a trivial tool to convert address blocks from CIDR format
17 to first-last as used in tcprules. Useful for whitelisting
18 addresses expressed in SPF blocks (dig +short TXT domain).
19Makefile.gnumake Makefile for GNUMake -- rename to Makefile to build with
20 gnumake
21Makefile.bsdmake Makefile for BSDMake -- rename to Makefile to build with
22 bsdmake
23dnsblenv.c source for the dnsblenv module, greylite module for polling
24 DNS Black Lists
25ucspi2socket.c source for the ucspi2socket module, greylite module for
26 interfacing greylite with SMTP servers via TCP
27greylite-patterns.conf.sample example ruleset for suspicion
28
29
30COMPILING
31
32You can compile two more modules along with greylite: dnsblenv and
33ucspi2socket.
34
351. If you use BSDmake instead of GNUmake, rename Makefile.bsdmake to Makefile
36first
37
382. compile and install with
39$ make <arguments> install
40
41Arguments is a list of zero of more of the following:
42WITH_GEOIP=yes
43 To compile greylite with support for GeoIP suspicion rules. The GeoIP
44 API and library must be installed on the system
45
46WITH_UCSPI2SOCKET=yes
47 To compile the "ucspi2socket" module along with greylite.
48
49WITH_DNSBLENV=yes
50 To compile the "dnsblenv" module along with greylite. This module requires
51 the c-ares library on the system.
52
53WITH_CARES14=yes
54 The dnsblenv by default looks for c-ares version 1.5, whose API is
55 incompatible with version 1.4 (still widespread). If c-ares 1.4 is present
56 on the system use this argument.
57
58