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

..03-May-2022-

bindings/H03-May-2022-89,87776,188

docs/H03-May-2022-57,34847,522

libltdl/H03-May-2022-8,8576,101

libmissing/H03-May-2022-106,43079,094

m4/H03-May-2022-11,74310,610

prelude-admin/H03-May-2022-5,6244,415

snippet/H03-Aug-2015-457174

src/H03-May-2022-77,40445,829

tests/H03-May-2022-2,5952,307

AUTHORSH A D03-Aug-2015164 76

COPYINGH A D03-Aug-201517.7 KiB340281

ChangeLogH A D03-Aug-20151.7 MiB46,73932,238

HACKING.READMEH A D03-Aug-2015823 1713

INSTALLH A D03-Aug-201515.2 KiB366284

LICENSE.READMEH A D03-Aug-2015464 117

Makefile.amH A D03-Aug-20156.9 KiB148122

Makefile.inH A D03-May-202273.6 KiB2,0501,941

NEWSH A D03-Aug-201555.1 KiB1,713988

READMEH A D03-Aug-20155.8 KiB207126

aclocal.m4H A D03-Aug-201545.2 KiB1,2551,147

client.conf.inH A D03-Aug-20152.6 KiB8273

compileH A D03-Aug-20153.7 KiB14479

config.guessH A D03-Aug-201543.9 KiB1,5021,291

config.h.inH A D03-Aug-201570 KiB2,2861,604

config.rpathH A D03-Aug-201518.1 KiB685588

config.subH A D03-Aug-201533.6 KiB1,7061,558

configureH A D03-Aug-20152.2 MiB85,73568,610

configure.inH A D03-Aug-201526.6 KiB853646

depcompH A D03-Aug-201518.2 KiB631407

global.conf.inH A D03-Aug-20152.5 KiB6760

gtk-doc.makeH A D03-Aug-20155.9 KiB197162

idmef-client.conf.inH A D03-Aug-2015102 32

install-shH A D03-Aug-201513.3 KiB521344

libprelude-config.inH A D03-Aug-20152.1 KiB12394

ltmain.shH A D03-Aug-2015237.5 KiB8,4076,475

missingH A D03-Aug-201511.2 KiB377281

prelude-config.hH A D03-Aug-2015330 1511

tls.confH A D03-Aug-2015592 233

ylwrapH A D03-Aug-20156 KiB223124

HACKING.README

1This directory and its children contain LibPrelude, a library for using
2the Prelude framework.
3
4Changes: if you wish to contribute a change which is a significant one
5in terms of the amount of code changes, please be aware that CS-SI
6wishes to retain copyright of the Prelude library. Therefore
7you will have to sign over copyright ownership of your code to CS-SI
8before we can include your changes in the main source tree.
9
10Before you start modifying anything for real, you should probably join
11the prelude-devel mailing list and send a mail describing what you want to
12do and how you want to do it so you don't waste time working on something we
13can't integrate. This also allows us to keep track of what's being worked on
14so efforts aren't duplicated.
15
16Please also read the information in the file LICENSE.README.
17

LICENSE.README

1This directory and its children contain LibPrelude, a library for using
2the Prelude framework.
3
4Copyright (C) 2005-2015 CS-SI. All rights reserved.
5
6You may use LibPrelude under the terms of the GPL v2, as appearing in the file COPYING.
7If the file COPYING is missing, you can obtain a copy of the GPL v2 from the
8Free Software Foundation Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
9
10Please also read the information in the file HACKING.README.
11

README

1Prelude Library (https://www.prelude-siem.org)
2The Prelude Library is brought to you by CS (http://www.c-s.fr).
3
4
5Prelude Library Overview
6========================
7
8The Prelude Library is used to make sensor developers' life better by
9providing features used by every sensor:
10
11    - Manager(s) Connection management (with fallback in case all
12      configured Managers are down, and automatic reconnection).
13
14    - Interface to communicate with the Prelude Manager.
15
16    - Asynchronous Message interface (allowing sensor to emit message
17      without blocking, even if there is latency on the wire).
18
19    - Asynchronous timer interface.
20
21    - Generic configuration API, providing a generic abstraction for
22      command-line, configuration file option, and wide option support.
23
24    - Wide option managment allowing sensor-exported options to be directly
25      accessible from the Manager administrative console.
26
27    - Generic plugin API.
28
29
30
31
32Prelude Communication
33=====================
34
35    Prelude SIEM uses unique optimized implementation of the XML based IDMEF
36    message format to transmit alerts between the sensors and the manager
37    and between managers.
38
39    Using IDMEF, Prelude provides a generic method for virtually any type
40    of sensors to describe precisely the content of an alert.
41
42
43
44Dependencies
45============
46
47   For Redhat based systems (CentOS, Fedora, etc.)
48       Minimal            :    gcc gcc-c++ gnutls-devel libgcrypt-devel make
49       Documentation      :    gtk-doc
50       Binding Perl       :    perl perl-devel
51       Binding Python     :    python python-devel
52       Binding LUA        :    lua lua-devel
53       Binding Ruby       :    ruby ruby-devel
54
55   For Debian systems
56       Minimal            :    gcc g++ libcurl4-gnutls-dev libglib2.0-dev make
57       Documentation      :    gtk-doc-tools
58       Binding Perl       :    perl
59       Binding Python     :    python python-dev
60       Binding Ruby       :    ruby ruby-dev
61
62       For Debian 7
63              Binding LUA :    lua5.2 liblua5.2-dev
64       For Debian 6
65              Binding LUA :    lua5.1 liblua5.1-dev
66
67
68
69IRC
70===
71
72If there's something you just can't find out elsewhere, you want to
73give feedback directly to the authors or you're just bored, visit
74#prelude on irc.freenode.net
75
76
77
78Get Support
79===========
80
81Prelude-user forums can be accessed at:
82    https://www.prelude-siem.org/projects/prelude/boards
83
84Old mailing lists can be accessed at:
85	http://news.gmane.org/gmane.comp.security.ids.prelude.user
86	news://news.gmane.org/gmane.comp.security.ids.prelude.user
87
88Commercial Support is available through the CS company:
89	http://www.c-s.fr, contact.prelude@c-s.fr
90
91
92
93Help development
94================
95
961. SUBMITTING PATCHES
97
98The Prelude source is constantly changing. If you want to submit a patch,
99please do so from the most recent GIT source tree, subscribe to the
100prelude-devel forum and post your patch with a description of functionality.
101You can also attach patches to bugs on
102
103        https://www.prelude-siem.org
104
105
1062. BUGS
107
108If you find any bugs, please report them to:
109
110	https://www.prelude-siem.org
111
112Please make sure that what you're reporting is actually a BUG and not
113a problem on your side.
114
115
1163. SUGGESTIONS
117
118Subscribe to prelude-devel and give us your suggestions.
119
120
121
122How to install the Prelude Library
123==================================
124
125
1261. Prelude Library installation
127
128If you don't want to build the Prelude Library yourself, you can get
129prebuild rpm and debian packages at https://www.prelude-siem.org.
130
131If you want to build Prelude, unpack the tarball and cd into the
132newly created directory. Then type :
133
134	./configure
135	make
136
137If everything works, su to root and type:
138
139	make install
140
141
142
1432. Generic sensor installation
144
145First, all sensors get some generic configuration files, installed in:
146 - $prefix/etc/prelude/default/idmef-client.conf [specific to sensor]
147 - $prefix/etc/prelude/default/global.conf [used by sensor and manager]
148
149These files contain entries that *may* be shared between several sensors.
150If a sensor provides the same entry in its own configuration file,
151then the sensor will by default use its own entry.
152
153Example of a shared entry (in the default provided generic sensor
154configuration file) is :
155
156server-addr = 127.0.0.1:4690 || x.x.x.x;
157
158Which tells the sensor to try to connect to both 127.0.0.1:4690
159and x.x.x.x:4690. If both connections work, only the first will be used,
160but the contrary would happen if you were to use :
161
162server-addr = 127.0.0.1:4690 && x.x.x.x;
163
164Which mean that both connections should be okay for a sensor message to
165be considered to be successfully sent.
166
167
168When linked against the Prelude Library, the sensors should be registered
169in order to setup the sensor for the first time.
170
171If you start a sensor without registering it, it'll print out a message
172like :
173
174
175"
176Basic file configuration does not exist. Please run :
177prelude-adduser register prelude-lml "idmef:w admin:r" <manager address>
178program on the analyzer host to setup this analyzer.
179"
180
181
182Starting this program with the sensor provided arguments will start
183the registration procedure for this sensor.
184
185
186The prelude-adduser program will ask you to start the prelude-adduser program
187on the Manager host:
188
189"
190  You now need to start "prelude-adduser" on the server host where
191  you need to register to:
192
193  use: "prelude-admin registration-server <analyzer-name>"
194"
195
196"analyzer-name" should be substituted by the name of your Manager
197(prelude-manager is the default, unless you provided a customized
198analyzer-name option on the prelude-manager command line, or in it's
199configuration file).
200
201The manager host prelude-adduser program will provide you a randomly
202generated password to be used when sensor side prelude-adduser request it.
203
204The prelude-adduser program will then ask you several question, and it will
205connect to the manager-adduser program. If authentication is okay, the sensors
206and the Manager will be able to exchange their certificates.
207