• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

ChangesH A D03-Mar-20081.7 KiB4637

MakefileH A D03-May-20221.1 KiB5537

Makefile.bsdmakeH A D11-Mar-20081.1 KiB5537

Makefile.gnumakeH A D11-Mar-20081 KiB5335

READMEH A D20-Feb-20082.3 KiB5845

cidr2firstlast.cH A D17-Nov-20071,022 4125

dnsblenv.cH A D21-Feb-20085.2 KiB190134

greydb.sqlH A D13-Jan-2008375 1714

greylite-patterns.conf.sampleH A D24-Jan-2008501 1211

greylite.8H A D11-Mar-200811.1 KiB294293

greylite.cH A D03-Mar-200853.1 KiB1,268932

logmsg.cH A D03-May-20221.5 KiB6749

logmsg.hH A D03-May-2022746 2516

ucspi2socket.cH A D27-Feb-20083.8 KiB12989

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