2003-12-09 Yoann Vandoorselaere <yoann@prelude-ids.org>
* NEWS: updated.
* configure.in: bump version to 0.8.10.
Release with libtool 1.5 (yet more libtool problem).
2003-12-08 Yoann Vandoorselaere <yoann@prelude-ids.org>
* src/common.c (prelude_open_persistant_tmpfile):
include the filename in the error message.
2003-11-19 Yoann Vandoorselaere <yoann@prelude-ids.org>
* configure.in: bump version to 0.8.9.
* src/Makefile.am (libprelude_la_LDFLAGS):
Add the ability to have several libprelude version installed
at the same time. The new 0.8 prefix might also cause problem,
and it would be a good thing if people start testing this.
* NEWS: updated.
2003-11-10 Yoann Vandoorselaere <yoann@prelude-ids.org>
* src/prelude-io.c (prelude_io_pending):
(sys_pending): nop.
(file_pending): nop.
(socket_pending): return number of byte available to read.
(ssl_pending): ditto + return number of byte buffered by OpenSSL.
(prelude_io_set_file_io):
(prelude_io_set_ssl_io):
(prelude_io_set_sys_io):
(prelude_io_set_socket_io): set the pending function pointer.
2003-11-09 Nicolas Delon <delon.nicolas@wanadoo.fr>
* src/prelude-client-mgr.c:
fix some bad english
* src/prelude-io.c:
(is_tcp_connection_still_established)
new function
(socket_write)
new function, dedicated to socket write operation (check
tcp connection state)
(ssl_write)
add a check of tcp connection state
(prelude_io_set_socket_io)
create a pseudo new io subsystem for socket
* src/prelude-client.c:
(handle_plaintext_connection)
(start_inet_connection)
(start_unix_connection)
use the new prelude_io_set_socket_io instead
of prelude_io_set_sys_io
2003-11-03 Yoann Vandoorselaere <yoann@prelude-ids.org>
* sensor-adduser/sensor-adduser.c (handle_argument):
allow sensor-adduser to be called without the --uid
option, but print a big warning telling that sensor added without
a provided UID will have to be run using the registration UID.
(setup_sensor_files): Use -1 as the gid argument to fchown, so that
it doesn't fail in case it is called by root.
* src/ssl-gencrypto.c (generate_self_signed_certificate):
set the certificate to start being valid one day before of
the current time. This can avoid problem in case one of the
machine involved in the communication doesn't have it's time
set right.
2003-11-01 Yoann Vandoorselaere <yoann@prelude-ids.org>
* src/prelude-getopt.c (prelude_option_get_parent):
implemented, return the parent of an option.
(prelude_option_new):
(prelude_option_add): set the option parent.
Useful because allowing a children option to access the
data stored in it's parent.
2003-10-31 Yoann Vandoorselaere <yoann@prelude-ids.org>
* src/plugin-common.c (plugin_load_from_dir):
use lt_dlforeachfile instead of using our own search function.
This should finally get rid of all compatibility problem.
(libltdl_load_cb): call plugin_load_single from there.
2003-10-21 Yoann Vandoorselaere <yoann@prelude-ids.org>
* configure.in: bump version to 0.8.8.
* NEWS: updated.
* src/prelude-ident.c (prelude_ident_new):
Use MS_SYNC mmap flags. This should work around problem
with desynchronized ident that people were getting in
case of machine, or manager crash.
2003-10-21 Nicolas Delon <delon.nicolas@wanadoo.fr>
* idmef-tree-func.c (free_analyzer):
free_analyzer and prelude_analyzer_fill_infos conflict when
idmef-tree-func functions and prelude_analyzer_fill_infos are
used together:
prelude_analyzer_fill_infos dynamically allocates the node and
process fields whereas these fields are static variables in
idmef-tree-func.c for idmef-tree-func functions. this leads to a
memory leak when analyzer has been filled with
prelude_analyzer_fill_infos and is freed with free_analyzer (via
idmef_message_free)
Prelude-LML is affected by this bug, not Prelude-NIDS
2003-10-16 Yoann Vandoorselaere <yoann@prelude-ids.org>
* configure.in: move test that might add library path
to the libprelude-config output at the end of the other
library check in order to avoid any perturbation.
* libprelude-config.in: Invert @libprelude_libs@ and
$libdirs. $libdirs define where the path to libprelude
when @libprelude_libs@ define other system library path.
This could result in linking to the wrong version of
libprelude being linked when dual libprelude version
were installed.
2003-09-30 Stephane Loeuillet <stephane.loeuillet@tiscali.fr>
* README : update references to IRC channel and
mailing list which were not changed since project has
quit sourceforge and openproject changed its name