Re: [Prelude Hybrid IDS] #268: libprelude-0.9.16 compile error on RedHat ES 4 Update 4 x86_64
"Prelude Hybrid IDS" <[email protected]>
| Newsgroups | gmane.comp.security.ids.prelude.devel |
|---|---|
| Message-ID | <[email protected]> |
#268: libprelude-0.9.16 compile error on RedHat ES 4 Update 4 x86_64 ---------------------------------+------------------------------------------ Reporter: [email protected] | Owner: yoann Type: defect | Status: closed Priority: normal | Milestone: Libprelude 0.9.16.1 Component: libprelude | Version: 0.9 Severity: blocker | Resolution: fixed Keywords: | ---------------------------------+------------------------------------------ Comment(by yoann): (In [10737]) Squashed commit of the following: commit 876984d7209d99a4fca597d443fd5e1e02fdfc27 Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Thu Jul 24 11:58:25 2008 +0000 Add missing git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10736 09c5ec92-17d4-0310-903a-819935f44dba commit 08de6d98ea57671ad2223fefc58ddb8c82922e14 Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Thu Jul 24 11:58:21 2008 +0000 Add missing git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10735 09c5ec92-17d4-0310-903a-819935f44dba commit d5735641eb9efe4a3d26ed2a458dcf98cebcfe82 Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Thu Jul 24 08:00:04 2008 +0000 Use autoconf AM_PATH_PYTHON(), implement AM_PATH_RUBY, based on AM_PATH_PYTHON(). Build Python/Ruby modules using the automake build system. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10731 09c5ec92-17d4-0310-903a-819935f44dba commit 939c55d77dd3717de3c71b9e25038260352b7bd1 Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Tue Jul 22 16:44:27 2008 +0000 Disable ruby support for now, since we haven't been able to find a way to install these binding cleanly. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10726 09c5ec92-17d4-0310-903a-819935f44dba commit fbb5d38873825af8315faa4e5c058bfd88944ef9 Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Tue Jul 22 13:45:11 2008 +0000 Fix reference to an inexisting variable. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10712 09c5ec92-17d4-0310-903a-819935f44dba commit 26f9ee544d8e8746690a5813d653200bfe6d7c4d Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Wed Jun 25 14:48:25 2008 +0000 Fix the profile name git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10607 09c5ec92-17d4-0310-903a-819935f44dba commit 10aa052077d33b3ceec87fc23c8c6c39cb6ee308 Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Wed Jun 25 14:45:30 2008 +0000 Update pooling test to fit latest RecvIDMEF API changes. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10606 09c5ec92-17d4-0310-903a-819935f44dba commit c1464ce1ffc35b4a1c04d237d5cc2ed654bbbe1d Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Mon May 26 15:01:49 2008 +0000 Modify RecvIDMEF prototype so that it might return information about whether or not a message was received. Update alert_saver.py example. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10593 09c5ec92-17d4-0310-903a-819935f44dba commit 053d3f33f1c92d0a06755ec25cf63e360c9d6bd9 Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Mon May 26 15:01:42 2008 +0000 Remove confusing operator. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10592 09c5ec92-17d4-0310-903a-819935f44dba commit 116c684f4ce43e411b858afbf3162a03b7031a55 Author: toady <toady@09c5ec92-17d4-0310-903a-819935f44dba> Date: Sun May 25 22:17:59 2008 +0000 uninstall target to remove ruby PreludeEasy library git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10591 09c5ec92-17d4-0310-903a-819935f44dba commit 4282aa16a50f2b509656c804fa292c00bab6b605 Author: toady <toady@09c5ec92-17d4-0310-903a-819935f44dba> Date: Mon May 19 21:12:51 2008 +0000 remove my dirty hack away from svn git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10590 09c5ec92-17d4-0310-903a-819935f44dba commit e69c1b357d4be2dbf50814000692b08e4a56e7bb Author: pollux <pollux@09c5ec92-17d4-0310-903a-819935f44dba> Date: Mon May 12 15:00:42 2008 +0000 Update comments in ruby and lua examples git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10589 09c5ec92-17d4-0310-903a-819935f44dba commit b2c876c6da0b07e2ffdce482d805eeba2f45f0df Author: pollux <pollux@09c5ec92-17d4-0310-903a-819935f44dba> Date: Mon May 12 14:54:24 2008 +0000 Lua bindings: check if argument for Read/Write is a file, and throw an exception if not. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10588 09c5ec92-17d4-0310-903a-819935f44dba commit f834fe45a7c9762bdf4c80c3fb07de2aceee1ad2 Author: pollux <pollux@09c5ec92-17d4-0310-903a-819935f44dba> Date: Mon May 12 14:40:55 2008 +0000 Fix Lua >= 5.1 detection git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10587 09c5ec92-17d4-0310-903a-819935f44dba commit ed1400545f14274d5f98f09489093fdfa0b60dd4 Author: pollux <pollux@09c5ec92-17d4-0310-903a-819935f44dba> Date: Mon May 12 14:05:32 2008 +0000 Python bindings: check if argument for Read/Write is a file, and throw an exception if not. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10586 09c5ec92-17d4-0310-903a-819935f44dba commit 858b1604c6c2fdd4ac524594d7795780f1e93a2f Author: pollux <pollux@09c5ec92-17d4-0310-903a-819935f44dba> Date: Wed May 7 13:00:44 2008 +0000 Update examples for alert saving/replaying to current Easy bindings API. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10580 09c5ec92-17d4-0310-903a-819935f44dba commit dcb45dbbc823d61963d69887b99db546fda4ac41 Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Wed May 7 09:19:51 2008 +0000 Include idmef-message-helpers.h, not idmef-message-helper.h git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10579 09c5ec92-17d4-0310-903a-819935f44dba commit 52fd7b2ce1d1f3daabefa8cb7aa041a427fc027d Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Wed May 7 08:55:50 2008 +0000 Cleanup. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10578 09c5ec92-17d4-0310-903a-819935f44dba commit e0486b17d2174ca7a9995a1a4f1fdd26363c69fb Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Wed May 7 07:51:44 2008 +0000 Rename readIDMEF / writeIDMEF to Read() / Write(). git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10576 09c5ec92-17d4-0310-903a-819935f44dba commit 26367d3ab6daae49a4ff95e6efc48bbcddb56f3d Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Wed May 7 07:51:40 2008 +0000 Helper is plural... git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10575 09c5ec92-17d4-0310-903a-819935f44dba commit bd4bd43e827dc5b8d4a3d1b2a2873e5045017372 Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Wed May 7 07:43:14 2008 +0000 Implement a bunch of C IDMEF messages helpers functions: idmef_message_set_value(); idmef_message_get_value(); idmef_message_set_string(); idmef_message_get_string(); idmef_message_set_number(); idmef_message_get_number(); idmef_message_set_data(); idmef_message_get_data(); git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10574 09c5ec92-17d4-0310-903a-819935f44dba commit 5e78cfb2d64e5ad3244c5650c3fddbd050b30cff Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Wed May 7 07:43:06 2008 +0000 Ability to cast IDMEF value to string. Move casting to/from string to separate functions. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10573 09c5ec92-17d4-0310-903a-819935f44dba commit 5f39a7e60f87ad0df7c1ecad787f2142b4e8ddad Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Wed Apr 30 15:28:02 2008 +0000 Implement _idmef_value_copy_internal(), that is able to make use of _idmef_value_cast() without modifying the input value. Modify idmef_path_set() to use _idmef_value_copy_internal() in place of _idmef_value_cast(): avoid modifying the input value. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10563 09c5ec92-17d4-0310-903a-819935f44dba commit 0dd89971d2a8c42818155d2e5e35deed7bf039e4 Author: toady <toady@09c5ec92-17d4-0310-903a-819935f44dba> Date: Tue Apr 29 12:56:42 2008 +0000 use the sed variable from autotools git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10560 09c5ec92-17d4-0310-903a-819935f44dba commit efe2d5ea8f3072908fe11c1287133f7f9bcf410b Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Tue Apr 29 12:40:49 2008 +0000 Add missing. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10559 09c5ec92-17d4-0310-903a-819935f44dba commit 46ae22f69b7a557869d5c0861dc88728e85146bc Author: toady <toady@09c5ec92-17d4-0310-903a-819935f44dba> Date: Tue Apr 29 12:39:26 2008 +0000 handling ruby mkmf crap to have a clean install that respects the prefix git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10558 09c5ec92-17d4-0310-903a-819935f44dba commit 2b0be608b049893f2140250534ea606bf57829aa Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Tue Apr 29 12:36:53 2008 +0000 More prelude-easy -> preludecpp renaming. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10557 09c5ec92-17d4-0310-903a-819935f44dba commit abcd6d931831c09ff28f15188cd5e8b489a2e5d6 Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Tue Apr 29 12:36:20 2008 +0000 Start renaming prelude-easy to preludecpp git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10556 09c5ec92-17d4-0310-903a-819935f44dba commit be1823ef3160a675f08e4754a25097218410be26 Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Fri Apr 25 12:47:19 2008 +0000 Remove unused PreludeIO wrapper. Start fixing distcheck. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10544 09c5ec92-17d4-0310-903a-819935f44dba commit 4e9c45ce1cd7a932ee42bcac8f72fe56fa0320b3 Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Fri Apr 25 09:23:05 2008 +0000 Handle redirection operator. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10543 09c5ec92-17d4-0310-903a-819935f44dba commit fbf996fe3086fa657edc8b0e74ed3353d165c702 Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Thu Apr 24 08:14:50 2008 +0000 Remove debugging spew, fix coding style. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10533 09c5ec92-17d4-0310-903a-819935f44dba commit 86477c68ee5f246badc53b49e6a49900e2ec3f4a Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Thu Apr 24 08:14:20 2008 +0000 Handle read/write error correctly. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10532 09c5ec92-17d4-0310-903a-819935f44dba commit 5365c57bde7ab9c3f62bf0955712d486683df485 Author: pollux <pollux@09c5ec92-17d4-0310-903a-819935f44dba> Date: Wed Apr 23 12:22:00 2008 +0000 Implement basic stream operator to set timeout when reading idmef object. Example: client >> SetRecvTimeout(10) >> idmef; git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10518 09c5ec92-17d4-0310-903a-819935f44dba commit 17fdd2177974759c902ebcf6dacf4c5da7d806a6 Author: pollux <pollux@09c5ec92-17d4-0310-903a-819935f44dba> Date: Mon Apr 21 13:19:44 2008 +0000 Test code for read/write IDMEF in lua, ruby, perl and python git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10508 09c5ec92-17d4-0310-903a-819935f44dba commit 4334a0fb491ee15830790278630ab553f1e0bf33 Author: pollux <pollux@09c5ec92-17d4-0310-903a-819935f44dba> Date: Mon Apr 21 13:13:06 2008 +0000 Fix installation of ruby bindings (now respect ) git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10507 09c5ec92-17d4-0310-903a-819935f44dba commit 652426c44525fd64377ae0ccc211e7a454610356 Author: pollux <pollux@09c5ec92-17d4-0310-903a-819935f44dba> Date: Mon Apr 21 12:06:31 2008 +0000 Fix read/write functions: extract PerlIO object from SV git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10506 09c5ec92-17d4-0310-903a-819935f44dba commit 24cdee039978d0baa49205753865d73023d60a3e Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Mon Apr 21 09:33:38 2008 +0000 Fix invalid member function declaration. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10505 09c5ec92-17d4-0310-903a-819935f44dba commit c064630ed223fb749b4d99a6af9963678abf06db Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Mon Apr 21 08:54:53 2008 +0000 Start modularizing of IDMEF read/write code. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10504 09c5ec92-17d4-0310-903a-819935f44dba commit 19d3d1d6225def9c62d476d9195d32a8ebaa159e Author: pollux <pollux@09c5ec92-17d4-0310-903a-819935f44dba> Date: Sun Apr 20 13:55:36 2008 +0000 Ruby bindings: add functions to read/write IDMEF files from/to Ruby IO objects. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10503 09c5ec92-17d4-0310-903a-819935f44dba commit 4dc6df114573099fff46be8b43ef9de29edbaf60 Author: pollux <pollux@09c5ec92-17d4-0310-903a-819935f44dba> Date: Sun Apr 20 12:52:47 2008 +0000 LUA bindings: add functions to read/write IDMEF files from/to LUA IO objects. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10502 09c5ec92-17d4-0310-903a-819935f44dba commit 7ba9bd72b1e9107fd8ece944f78a2a9accf03e8c Author: toady <toady@09c5ec92-17d4-0310-903a-819935f44dba> Date: Thu Apr 17 09:54:18 2008 +0000 ruby workaround to cleanly install lib git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10496 09c5ec92-17d4-0310-903a-819935f44dba commit 1e95b4c2252b50f1dc16ac5af8bf38619e5c1fc1 Author: pollux <pollux@09c5ec92-17d4-0310-903a-819935f44dba> Date: Thu Apr 17 08:03:34 2008 +0000 Fix lua detection to work with version 5.0 git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10492 09c5ec92-17d4-0310-903a-819935f44dba commit 9b4df0521d1b97b5a8c04687d9be50db1a8b8661 Author: pollux <pollux@09c5ec92-17d4-0310-903a-819935f44dba> Date: Wed Apr 16 19:26:59 2008 +0000 Recent versions of lua (>= 5.1) use pkg-config (and not the previous tool lua-config). git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10491 09c5ec92-17d4-0310-903a-819935f44dba commit 11b70c8b9950c119f61627a7ac111cd6aa600db9 Author: pollux <pollux@09c5ec92-17d4-0310-903a-819935f44dba> Date: Wed Apr 16 18:51:01 2008 +0000 Python bindings: add functions to read/write IDMEF files from/to Python IO objects. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10490 09c5ec92-17d4-0310-903a-819935f44dba commit 15649e060be4813f162ebf9707d6d76e9244c707 Author: pollux <pollux@09c5ec92-17d4-0310-903a-819935f44dba> Date: Wed Apr 16 18:50:07 2008 +0000 Perl bindings: add functions to read/write IDMEF files from/to perl IO objects. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10489 09c5ec92-17d4-0310-903a-819935f44dba commit d1da1a34feb08a5c307c77b67320adda02d3e560 Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Thu Apr 3 14:45:07 2008 +0000 Fix a harmless race in the way we checked for global async_flags change. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10471 09c5ec92-17d4-0310-903a-819935f44dba commit b3a86091420706ac99ead0ea0e5ec2fe49b0d75a Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Thu Apr 3 14:45:03 2008 +0000 Remove old cross bindings initialization code, replaced with language specific call to prelude_init(). git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10470 09c5ec92-17d4-0310-903a-819935f44dba commit 42b4b45b05505baec2f1383cbd38e1b7f2a73b71 Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Thu Mar 27 16:59:55 2008 +0000 When the module initialize, retrieve argc/argv from lua/perl/ruby/python, and use the result to call prelude_init(). git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10446 09c5ec92-17d4-0310-903a-819935f44dba commit f0eaef2e7b1c3afc50c9d92ce2f81481c066f936 Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Thu Mar 13 18:01:02 2008 +0000 Add idmef << client, and client >> idmef operator for reading IDMEF messages. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10404 09c5ec92-17d4-0310-903a-819935f44dba commit 183ece0cb35a3c5773b04f461930e9fdeb95fde7 Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Thu Mar 13 18:00:52 2008 +0000 When casting a double/float to idmef_data_t, make sure we're not dealing with an integer value. If we are, set the resulting idmef_data_t to integer. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10403 09c5ec92-17d4-0310-903a-819935f44dba commit 1a835e13d8f04c6a2ec547de7bb3947170bf336d Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Thu Mar 13 18:00:48 2008 +0000 data / time and enum are special types. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10402 09c5ec92-17d4-0310-903a-819935f44dba commit d0c5607fd704f2341ff84fa76c48f07acec23f20 Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Thu Mar 13 12:27:37 2008 +0000 Fix check when casting double and float value. Compute the relative difference between the two values and then error out if it exceed a certain threshold. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10398 09c5ec92-17d4-0310-903a-819935f44dba commit 083ba414d1123e0b50e5ea519ff5a4d940928d75 Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Wed Mar 12 17:21:53 2008 +0000 Remove home made implementation of RecvIDMEF(), and wrap the new prelude_client_recv_idmef() API function as a Client class method. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10397 09c5ec92-17d4-0310-903a-819935f44dba commit b942e0a32026ebea69815d4551966fd8dbc01a88 Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Wed Mar 12 17:21:43 2008 +0000 Implement prelude_client_recv_msg() and prelude_client_recv_idmef(). git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10396 09c5ec92-17d4-0310-903a-819935f44dba commit f0b780d086f04267b3597d34f763bc7bd449ec32 Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Wed Mar 12 17:21:35 2008 +0000 Use the provided timeout parameter. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10395 09c5ec92-17d4-0310-903a-819935f44dba commit a4020b390583b98da854085dcb6e7f8f4d5aefbf Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Tue Mar 11 15:32:37 2008 +0000 Return an empty list if _value is NULL. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10391 09c5ec92-17d4-0310-903a-819935f44dba commit eab69d13e655acc4cf2ab93f33d7b311c6b21c95 Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Tue Mar 11 14:08:07 2008 +0000 Return _idmef_value_cast() error if any. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10389 09c5ec92-17d4-0310-903a-819935f44dba commit 8b52caf9f02d1fafda6a947cc869f926756f3130 Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Tue Mar 11 14:08:00 2008 +0000 When casting a value, appropriatly detect target value overflow and issue the appropriate error. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10388 09c5ec92-17d4-0310-903a-819935f44dba commit f0943248cfe5804ca96cc613befa4eef1f465970 Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Mon Mar 10 11:44:37 2008 +0000 Some cleanup, update for latest code. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10384 09c5ec92-17d4-0310-903a-819935f44dba commit 3791a4cd50884034e41826b778bffaba0cf80aab Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Mon Mar 10 11:44:32 2008 +0000 Pass IDMEF message by value, allow using pointer to an IDMEFValue instead of a reference (allow for NULL value). git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10383 09c5ec92-17d4-0310-903a-819935f44dba commit 76e0081d51f6773f5ad659a198d144b09ad8c236 Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Mon Mar 10 11:44:25 2008 +0000 Fix double declaration. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10382 09c5ec92-17d4-0310-903a-819935f44dba commit 30fceea065952bae2ba4f27add86f7664d01f61a Author: Yoann Vandoorselaere <yoann@arwen.(none)> Date: Fri Mar 7 12:11:28 2008 +0100 When we encounter a TLS fatal error on close, close the connection fd immediatly. commit afc21d31c516d33f956173ed852da85a10b3bfbc Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Thu Mar 6 16:24:24 2008 +0000 Adapt to trunk build system modification. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10353 09c5ec92-17d4-0310-903a-819935f44dba commit 600d68b534f25612e6923659a3e51d6e2c599723 Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Thu Mar 6 16:24:20 2008 +0000 Adapt to trunk latest build fixes. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10352 09c5ec92-17d4-0310-903a-819935f44dba commit d5a7144fac43a79b3a466b81f35a61b735b145fc Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Thu Mar 6 11:57:15 2008 +0000 Revert "Revert "Merge ../libprelude"" This reverts commit 649250f27acfefab2271f2bddfabd024951e7c2e. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10345 09c5ec92-17d4-0310-903a-819935f44dba commit a684d07ec9cbe604a18c94c7243a7b9a9376664c Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Thu Mar 6 11:57:01 2008 +0000 Revert "Merge ../libprelude" This reverts commit 396e763eb281266e37a7501f4f2ea084656435d0. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10344 09c5ec92-17d4-0310-903a-819935f44dba commit 21a42c7aba965cb5808b4e2c8f6cc626b557a207 Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Thu Mar 6 11:56:52 2008 +0000 Revert "Fix conflict." This reverts commit 120920f7947aa65e739cd01a3eeb97684c26e465. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10343 09c5ec92-17d4-0310-903a-819935f44dba commit 14b9cfac90a19ea8f696b28c3939eb7786d99e22 Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Thu Mar 6 11:56:38 2008 +0000 Fix conflict. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10342 09c5ec92-17d4-0310-903a-819935f44dba commit 821f6be190aee6e4f7b0ceba996bd833482dec51 Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Thu Mar 6 11:56:21 2008 +0000 Fix retrieval of IDMEFTime (this actually will break retrieval of static IDMEF time within the tree - work in progress). git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10340 09c5ec92-17d4-0310-903a-819935f44dba commit 0b7337ae8d229c2ac455fab40c1550b9ee66822d Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Thu Mar 6 11:56:15 2008 +0000 Reference connection before pushing it into the list. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10339 09c5ec92-17d4-0310-903a-819935f44dba commit 0ad844c2c7c24fce04afc788e7234709d69a8136 Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Thu Mar 6 11:56:10 2008 +0000 Use reference on object copy. Implement Clone() method. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10338 09c5ec92-17d4-0310-903a-819935f44dba commit b87c8f2b71553c6a6dd5bffb940a3ca80da233b2 Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Wed Mar 5 16:32:11 2008 +0000 Use reference to object, and Clone() method to copy. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10335 09c5ec92-17d4-0310-903a-819935f44dba commit d533456bb82fc47a48f5e3fb625c345ca09dd128 Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Tue Mar 4 15:24:25 2008 +0000 Fix possible ClientProfile leak. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10333 09c5ec92-17d4-0310-903a-819935f44dba commit 55f17201fd04b1cc3ac7b0a3e9b2ffe3e469f30b Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Tue Mar 4 14:56:13 2008 +0000 Proper handling of ConnectionPool copy/reference. Reference connection before calling prelude_connection_pool_add_connection(), since it's not owned by prelude_connection_pool. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10332 09c5ec92-17d4-0310-903a-819935f44dba commit 4fbbcb84b67ddb5709d5baa2ce28ac0f6e4cd35a Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Tue Mar 4 14:56:09 2008 +0000 Implement prelude_connection_pool_ref(), necessary for proper handling of ConnectionPool class. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10331 09c5ec92-17d4-0310-903a-819935f44dba commit 47147c9690571099ed45c0fcec2e7608695c496c Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Tue Mar 4 14:56:05 2008 +0000 Reference the connection where needed. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10330 09c5ec92-17d4-0310-903a-819935f44dba commit a1d461e86066ec29a3d089831bda5bd6f22d2324 Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Tue Mar 4 14:55:58 2008 +0000 Handle AUTOCONFIG Client flags. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10329 09c5ec92-17d4-0310-903a-819935f44dba commit 3fbe98dc80b47a4f2edd1178729eadd18b866e0b Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Tue Mar 4 12:35:01 2008 +0000 Add refcount support to prelude_connection_t API. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10323 09c5ec92-17d4-0310-903a-819935f44dba commit 7a446f171e73d73d5a05035ccc27110e80bf1df0 Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Tue Mar 4 12:34:55 2008 +0000 Add refcount support to idmef_criteria_t API. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10322 09c5ec92-17d4-0310-903a-819935f44dba commit 75e43a10d4ba339258ffbd2df1906c6ca273604d Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Mon Mar 3 17:57:04 2008 +0000 Link to libpelude.la, should fix build breakage experienced by certain users. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10319 09c5ec92-17d4-0310-903a-819935f44dba commit bb06cfeecf3885b54909b1512789dee62699921d Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Mon Mar 3 17:14:16 2008 +0000 Add support for --c++ command line option. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10318 09c5ec92-17d4-0310-903a-819935f44dba commit 323072028d109db690a58bdc7be3d120c60dbbb8 Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Mon Mar 3 16:56:05 2008 +0000 Correct include path, and include install directory. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10317 09c5ec92-17d4-0310-903a-819935f44dba commit 6048e941d0c3f0315a5b79b1785307cf0d9a7955 Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Wed Feb 27 11:42:18 2008 +0000 Pass IDMEFTime() and IDMEFValue() by reference. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10296 09c5ec92-17d4-0310-903a-819935f44dba commit de95b4535f3b06a1634c5afe47e7a4a77db06f39 Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Tue Feb 26 13:50:09 2008 +0000 New sample test for LUA, Perl, Ruby, Python. Each test program demonstrate how to set and retrieved IDMEF fields, creating a client and sending the created IDMEF message to this client. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10295 09c5ec92-17d4-0310-903a-819935f44dba commit 0ed5547ccd9d339d7fb416e81d5ad0e08d041e0e Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Tue Feb 26 13:45:35 2008 +0000 Remove debugging code, use in-class ToString() declaration in place of renaming un-handled std::string operator. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10294 09c5ec92-17d4-0310-903a-819935f44dba commit e13bc89763a70ed89e1931614d1c1fea3c3e43a8 Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Tue Feb 26 13:45:32 2008 +0000 Correctly automate printing of class with LUA. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10293 09c5ec92-17d4-0310-903a-819935f44dba commit 4b37406eb41b24e437e9c8a16c5104757c606be4 Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Tue Feb 26 13:45:28 2008 +0000 Implement ToString() method, used by operator std::string(). git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10292 09c5ec92-17d4-0310-903a-819935f44dba commit 8bbcc0691574d01b2c0db26ea7471de30e04e72a Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Tue Feb 26 12:33:47 2008 +0000 Move language specific stuff to language specific typemaps. Kill most Swig warnings. Corrected implementation of Perl listed IDMEFValue retrieval. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10291 09c5ec92-17d4-0310-903a-819935f44dba commit dc4588699f60a213283fadc021dfbc9b4c4009b2 Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Tue Feb 26 12:33:32 2008 +0000 Consistency work on 'const' keyword use. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10290 09c5ec92-17d4-0310-903a-819935f44dba commit 7b0e628b079c9034fd95437837ddb968b9ca397a Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Tue Feb 26 12:33:23 2008 +0000 Fix a bug that prevented generation of Python swig generated code to be triggered in case easy_python.i changed. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10289 09c5ec92-17d4-0310-903a-819935f44dba commit 66a091afbdf721614b319e944d725c5c67682b80 Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Mon Feb 25 17:11:35 2008 +0000 Update connection list on GetConnectionList(), since the list might have been updated in the backend. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10288 09c5ec92-17d4-0310-903a-819935f44dba commit fb24d374a0931a4a7e68bfad858526af334077d7 Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Mon Feb 25 17:11:22 2008 +0000 Fix compilation error with certain GCC version. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10287 09c5ec92-17d4-0310-903a-819935f44dba commit a76483c397db41e2dae266f3aa357d7449392712 Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Mon Feb 25 17:11:13 2008 +0000 Make _profile member accessible from the Client class. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10286 09c5ec92-17d4-0310-903a-819935f44dba commit beb77a02331b4fb2e59c45e731dc49cd8f3e22c1 Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Mon Feb 25 17:11:10 2008 +0000 Make the Client class inherit from ClientProfile. Additionally, update the profile on Init() method call. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10285 09c5ec92-17d4-0310-903a-819935f44dba commit 79012e82948129655c6576472924542737048018 Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Mon Feb 25 17:11:04 2008 +0000 Add missing include file dependencies. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10284 09c5ec92-17d4-0310-903a-819935f44dba commit c7fe144077b04b26a4d553ba3a4f64026774e99a Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Mon Feb 25 16:29:55 2008 +0000 Use redirection operator. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10283 09c5ec92-17d4-0310-903a-819935f44dba commit 2636216438a99c3b2f571a2cacdd49d15d848d63 Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Mon Feb 25 16:07:44 2008 +0000 Implement LUA and Ruby bindings. All bindings now feature retrieval of listed IDMEFValue (except Perl, still having problem). git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10282 09c5ec92-17d4-0310-903a-819935f44dba commit ae2579b5e2f8841eeb6a261e42cf158927773d2d Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Sat Feb 23 10:32:21 2008 +0000 Fix undefined reference. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10281 09c5ec92-17d4-0310-903a-819935f44dba commit 35218bd73c529383676045cce0edadf13e5426d5 Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Sat Feb 23 10:28:30 2008 +0000 More work on automatic cast, remove old accessors. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10280 09c5ec92-17d4-0310-903a-819935f44dba commit 7b9da50d9cc76d18881e05a79f3e2559b2c9f2a9 Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Sat Feb 23 10:28:24 2008 +0000 More automatic cast. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10279 09c5ec92-17d4-0310-903a-819935f44dba commit 85dbe62ffee478c8de6f244c54a38d88ccf980f1 Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Sat Feb 23 10:28:20 2008 +0000 Fix broken overload for AddConnection() method. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10278 09c5ec92-17d4-0310-903a-819935f44dba commit 5f0e8157dfad4af4a36d36b290b6789603dea083 Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Sat Feb 23 10:28:16 2008 +0000 Implement some missing methods. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10277 09c5ec92-17d4-0310-903a-819935f44dba commit 5423ff98e93d229285a2bd97ee87045ea02d6774 Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Sat Feb 23 10:28:12 2008 +0000 Rewrite bindings for prelude-connection-pool. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10276 09c5ec92-17d4-0310-903a-819935f44dba commit 2a6ea017255b68ccdaa718a8081400f1b2f39463 Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Sat Feb 23 10:28:08 2008 +0000 Automatic cast to prelude_connection_t. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10275 09c5ec92-17d4-0310-903a-819935f44dba commit a2a2b6f90cf2a4cfb039658aa6a24825efbd7a02 Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Sat Feb 23 10:28:04 2008 +0000 Add the Connection class, bindings for prelude-connection. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10274 09c5ec92-17d4-0310-903a-819935f44dba commit 432449b32b55ea0122f4d25bab53697b6fc6177d Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Sat Feb 23 10:27:59 2008 +0000 Code cleanup, Start() has to be called by the user. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10273 09c5ec92-17d4-0310-903a-819935f44dba commit 5443ae8805123934e64b428da8ac4cd0b9385734 Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Sat Feb 23 10:27:27 2008 +0000 Support copying of IDMEF object. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10272 09c5ec92-17d4-0310-903a-819935f44dba commit 589c766e6377a494580922c0694f19381847940c Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Fri Feb 22 15:10:34 2008 +0000 Minor cleanup, add << and >> operator to IDMEF and Client class: - client << idmef - idmef >> client git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10271 09c5ec92-17d4-0310-903a-819935f44dba commit 1b9eb6a1e4aa742d4aa4b58ea5f13466290a9bd7 Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Fri Feb 22 15:10:11 2008 +0000 Publicly inherit Prelude::Client, remove SendIDMEF method, use the parent method. Add code to handle option message on RecvIDMEF(). git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10270 09c5ec92-17d4-0310-903a-819935f44dba commit 6e95a8d968aefa2bcc3120abf879a97fff70b031 Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Fri Feb 22 15:09:35 2008 +0000 Add a new constructor, taking the profile name as argument, and a GetClientProfile() method. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10269 09c5ec92-17d4-0310-903a-819935f44dba commit 19b9975ca0d09fc37d668fbc8ed4528593d8f8bf Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Thu Feb 21 16:19:39 2008 +0000 Encapsulate every class into the Prelude namespace. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10268 09c5ec92-17d4-0310-903a-819935f44dba commit ae97c8a59c9f5e747e111e9c3f55eafd9ab7be48 Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Thu Feb 21 14:20:44 2008 +0000 Exception class improvements. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10267 09c5ec92-17d4-0310-903a-819935f44dba commit 6a7f345af76fa53b4d4d5b2f8ea43ea311292b89 Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Thu Feb 21 13:44:22 2008 +0000 Update test. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10266 09c5ec92-17d4-0310-903a-819935f44dba commit 4c73f94695f1ec4071848491080a155ff66d5be6 Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Thu Feb 21 13:44:18 2008 +0000 Update.. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10265 09c5ec92-17d4-0310-903a-819935f44dba commit 9ba90b2f7f721894ab6b08e786426e6f4917aa1b Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Thu Feb 21 13:40:42 2008 +0000 Do not try to send a final heartbeat on prelude_client_destroy() if the client object was not at least at the starting status (fix possible assertion on destroy). git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10264 09c5ec92-17d4-0310-903a-819935f44dba commit bed1239acff5e297006a9cc690da276e0eff77a4 Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Thu Feb 21 13:10:24 2008 +0000 Implement ClientEasy() class, inheriting from the Client() class, and allowing easy implementation of a Prelude client. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10262 09c5ec92-17d4-0310-903a-819935f44dba commit f458c885e6fb501431f9353bdf9759814240b9e5 Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Thu Feb 21 13:10:19 2008 +0000 Don't provide any helper in Client() bindings to PreludeClient, wrap the interface in a strict fashion. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10261 09c5ec92-17d4-0310-903a-819935f44dba commit 1e318df2e70939c2ddf73d4a31589accebd41868 Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Thu Feb 21 11:41:19 2008 +0000 Introduce prelude_msg_get_message_data(), that provide access to the whole message buffer. Modify IDMEF class so that it make use of this function in order to write a message to an ofstream. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10260 09c5ec92-17d4-0310-903a-819935f44dba commit 1e519edf7fe0cb83680b826c39e9373d13d6dc55 Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Wed Feb 20 17:58:37 2008 +0000 Major rework, IDMEFValue is not returned as a pointer anymore. Reference to low level idmef_value_t are handled cleanly. The C++ code for retrieving listed idmef-value is in place. Major IDMEF class rework, implement << and >> operator on ofstream and ifstream. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10259 09c5ec92-17d4-0310-903a-819935f44dba commit 3d55ee0345ff115b436b658de49bbd95addc4ffa Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Wed Feb 20 17:39:18 2008 +0000 Cleanup. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10258 09c5ec92-17d4-0310-903a-819935f44dba commit aca082c7b81cdea41ba0e5b3567391c6aab88f8f Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Wed Feb 20 16:32:45 2008 +0000 Whitespace police. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10257 09c5ec92-17d4-0310-903a-819935f44dba commit 9976f32f03a6db186a5ef502e40cfaa16381bc8a Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Wed Feb 20 09:39:09 2008 +0000 [PATCH] Allow user to associate it's own callback function to a prelude_io_t object. Implement: - prelude_io_set_write_callback() - prelude_io_set_read_callback() - prelude_io_set_pending_callback() - prelude_io_set_fdptr(). git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10255 09c5ec92-17d4-0310-903a-819935f44dba commit d53df1f86ca276041adcdf5c6cc0556b4bd32ace Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Wed Feb 20 09:20:32 2008 +0000 Fix string translation of IDMEF_CRITERION_OPERATOR_(NOT_)NULL to string. Remove gratuitous space insertion when dumping criteria. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10253 09c5ec92-17d4-0310-903a-819935f44dba commit 1543baddabb6e2eb65fdfe63914d67ef355b503d Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Wed Feb 20 09:20:23 2008 +0000 Whitespace police. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10252 09c5ec92-17d4-0310-903a-819935f44dba commit ecbfde59ff580c6499405c090d4f3b6547a6175c Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Wed Feb 20 09:20:18 2008 +0000 In case of invalid enumeration value, print <invalid enum value>. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10251 09c5ec92-17d4-0310-903a-819935f44dba commit bb0db770a8b3c044490ebdd2336dde7e9333c859 Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Wed Feb 20 09:20:14 2008 +0000 (bindings): for functions returning pointers to integers, dereference the pointer and return either the integer, or the native equivalent to NULL (None for Python, undef for Perl). git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10250 09c5ec92-17d4-0310-903a-819935f44dba commit 302083efd0879aff28d62b3dfcd519480de1c718 Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Wed Feb 20 09:19:59 2008 +0000 Update NEWS, bump version number. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10249 09c5ec92-17d4-0310-903a-819935f44dba commit db00d5721d4b26dd62a25340c3c6706605f1bbee Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Wed Feb 20 09:19:46 2008 +0000 Update GnuLib code. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10248 09c5ec92-17d4-0310-903a-819935f44dba commit 70d612feda3534fa40a15ce359b9305c284ded2a Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Wed Feb 20 09:19:17 2008 +0000 SWIG bindings: add typemaps to arguments of *_get_next* functions, to allow NULL arguments, which are forbidden by default by SWIG (Fix #269) git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10247 09c5ec92-17d4-0310-903a-819935f44dba commit 7fdec558ecc252a3421922f9cced4cbe9f3cd92a Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Wed Feb 20 09:19:12 2008 +0000 FreeBSD compilation fix. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10246 09c5ec92-17d4-0310-903a-819935f44dba commit 62473da95bddc6916a0ecb8a26354d2e32968b05 Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Wed Feb 20 09:18:57 2008 +0000 Whitespace police. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10245 09c5ec92-17d4-0310-903a-819935f44dba commit 0acb1e511dacc9e0e46083184ab3bd4125f7b2ef Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Wed Feb 20 09:18:52 2008 +0000 Update to newer acx_pthread.m4 git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10244 09c5ec92-17d4-0310-903a-819935f44dba commit f6fde960b5dc523763084cc32f549d0a9d908d1c Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Wed Feb 20 09:18:41 2008 +0000 Solaris warnings fixes. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10243 09c5ec92-17d4-0310-903a-819935f44dba commit 5925b970e442bf769c7821e2a1ff294d38c2daa6 Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Wed Feb 20 09:18:29 2008 +0000 Update NEWS, bump version number. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10242 09c5ec92-17d4-0310-903a-819935f44dba commit d15000d45ebf673bb7eda8fb0d79f764f3a6cc70 Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Wed Feb 20 09:18:10 2008 +0000 Avoid warning while generating the documentation due to change in the way we named function argument for auto generated IDMEF functions. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10241 09c5ec92-17d4-0310-903a-819935f44dba commit 1d887995620714dc70e29c09fd9da027d78a49c2 Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Wed Feb 20 09:17:39 2008 +0000 Update GnuLib code. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10240 09c5ec92-17d4-0310-903a-819935f44dba commit 5629a11e5cc932eb9c4acea90f3967fb2f96eade Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Wed Feb 20 09:16:52 2008 +0000 Improve error message in case of locking error. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10239 09c5ec92-17d4-0310-903a-819935f44dba commit f3c4b7f5ab1828f4249d0db60efd762e95a39609 Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Wed Feb 20 09:16:36 2008 +0000 Fix invalid use of 'GNUTLS_X509_CRT_LIST_IMPORT_FAIL_IF_EXCEED' with early GnuTLS version (close #268). git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10238 09c5ec92-17d4-0310-903a-819935f44dba commit 1c508db0b07346390bd7b75bfce6a3c0e646b467 Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Wed Feb 20 09:16:18 2008 +0000 Small improvement to the way pthread_cond_timedwait() absolute time is computed. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10237 09c5ec92-17d4-0310-903a-819935f44dba commit 23601dc70afb42daebf2e021314046804a18bc70 Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Wed Feb 20 09:15:56 2008 +0000 Send heartbeat as high priority message. It is important that heartbeat are delivred in time, since they give indication about the health of the system. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10236 09c5ec92-17d4-0310-903a-819935f44dba commit 05a8c3c98aca5d4c8f104a37fe076fc21849541b Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Wed Feb 20 09:15:44 2008 +0000 Whitespace police. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10235 09c5ec92-17d4-0310-903a-819935f44dba commit 22c91712a43a79df5c4687cdd62777f86d8f7270 Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Wed Feb 20 09:15:22 2008 +0000 Patch from Pierre Chifflier <[email protected]> to propagate CC variable when building bindings (fix #264). git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10234 09c5ec92-17d4-0310-903a-819935f44dba commit e8dca7863e99cd34e677b1b4ca71a249c7b52bef Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Wed Feb 20 09:15:17 2008 +0000 (enhancement): Improving assertion messages by separating variables check git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10233 09c5ec92-17d4-0310-903a-819935f44dba commit 07fb53105b257b616fe24ca35776bfb9170794eb Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Wed Feb 20 09:15:06 2008 +0000 (bugfix): This assert should check the two values git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10232 09c5ec92-17d4-0310-903a-819935f44dba commit e05e1058d8b0790c031b2cd779d94389f3f9feb4 Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Wed Feb 20 09:14:55 2008 +0000 (enhancement): Improving assertion messages by separating variables check git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10231 09c5ec92-17d4-0310-903a-819935f44dba commit 0ec128392085e0fc39f2a899b443aebf54f6e5ec Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Wed Feb 20 09:14:38 2008 +0000 Directory creation permissions fixes. Specify our own umask() before creating any profile with prelude- admin, so that the created group will always have the correct permissions. Make the profile backup directory group writable. The profile directory itself remain group readable. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10230 09c5ec92-17d4-0310-903a-819935f44dba commit 56d3f8ac32591f21ab3f2f63fa4624bf2a656e3f Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Wed Feb 20 09:14:31 2008 +0000 Revert "Mask group write / other all permissions before creating any files." This reverts commit b0ce0a5e2a7604c9062fd463a37e4999a375994e. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10229 09c5ec92-17d4-0310-903a-819935f44dba commit 83dfab83c76cc63bfdfcee4fd18e523f098fb027 Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Wed Feb 20 09:14:23 2008 +0000 Mask group write / other all permissions before creating any files. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10228 09c5ec92-17d4-0310-903a-819935f44dba commit 1f908d3d52e5fd0003787fa498fe9fecaf6bec08 Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Wed Feb 20 08:56:40 2008 +0000 (enhancement): Improving assertion messages by separating variables check git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10227 09c5ec92-17d4-0310-903a-819935f44dba commit 7140f4558b9bfc42a5acba83e806dc465c08a223 Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Wed Feb 20 08:56:30 2008 +0000 Set appropriate umask() before creating failover files. Additionally set the failover file group writable. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10226 09c5ec92-17d4-0310-903a-819935f44dba commit e209631acf282f618a0dadf9f3b7b7d35ef8c74a Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Wed Feb 20 08:56:21 2008 +0000 Directory creation permissions fixes. Specify our own umask() before creating any profile with prelude- admin, so that the created group will always have the correct permissions. Make the profile backup directory group writable. The profile directory itself remain group readable. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10225 09c5ec92-17d4-0310-903a-819935f44dba commit 82d36bbaa70c7b6c0df59f4f92d5efd51c95a34b Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Wed Feb 20 08:56:12 2008 +0000 Revert "Mask group write / other all permissions before creating any files." This reverts commit b0ce0a5e2a7604c9062fd463a37e4999a375994e. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10224 09c5ec92-17d4-0310-903a-819935f44dba commit c60ad49214494877d0bb601aa002aeaace4b5924 Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Wed Feb 20 08:56:07 2008 +0000 Mask group write / other all permissions before creating any files. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10223 09c5ec92-17d4-0310-903a-819935f44dba commit 559eafb13ac1e1f2eab83d5be4d2c6f15bd6b2cb Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Wed Feb 20 08:55:57 2008 +0000 Correctly format "send" command help output. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10222 09c5ec92-17d4-0310-903a-819935f44dba commit 766913b62ab9f1ca00e89b924e7af56f36b44b01 Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Wed Feb 20 08:52:43 2008 +0000 (fix): when the analyzer has a white space in its name git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10221 09c5ec92-17d4-0310-903a-819935f44dba commit 0417cf36fd9a9a4e4121a576ac675c9f8a919061 Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Wed Feb 20 08:50:09 2008 +0000 Constructor taking the native C type as argument now take an optional own_data integer (default to FALSE). git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10220 09c5ec92-17d4-0310-903a-819935f44dba commit 7df8222ee5e4154ca00123c645bf2b6985bbd5f6 Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Wed Feb 20 08:50:04 2008 +0000 Remove Clone() and Copy() method, that are now handled by specialized operator. Add the necessary operator for time comparison. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10219 09c5ec92-17d4-0310-903a-819935f44dba commit bf5ce9a85f1d86cdd26df7e82d9f1643e61258ac Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Wed Feb 20 08:49:59 2008 +0000 Implement ToString() method, add std::string operator. Copy/clone the criteria on object copy. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10218 09c5ec92-17d4-0310-903a-819935f44dba commit a100f1dbaad6c7c8469d64a93a126d39078e8073 Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Wed Feb 20 08:49:16 2008 +0000 Avoid undefined reference with bindings. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10217 09c5ec92-17d4-0310-903a-819935f44dba commit c6f0d771e9c17d5eadeaed936926a96f0df9f5c0 Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Sat Feb 16 17:37:56 2008 +0000 More idmef-value to 'data' cast fixes. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10213 09c5ec92-17d4-0310-903a-819935f44dba commit 40450c24c7f1f893287c6046ce3166aaa7f1ec1f Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Sat Feb 16 14:07:55 2008 +0000 Fix double idmef_time_t free. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10212 09c5ec92-17d4-0310-903a-819935f44dba commit e61cef469800e50f1e6d369943dc13d6b73a76d2 Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Sat Feb 16 13:58:48 2008 +0000 Missing idmef-value update for 'data' type cast. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10211 09c5ec92-17d4-0310-903a-819935f44dba commit 0f16531bfdcfa910f3c0efe6eaa4f5278b193fd5 Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Sat Feb 16 13:58:44 2008 +0000 Move operator definition where they belong, and properly handle most contained idmef_value_t. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10210 09c5ec92-17d4-0310-903a-819935f44dba commit 18b14783855ec7c1fa2dcee70faaedf7a296bfbd Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Sat Feb 16 13:58:39 2008 +0000 Implement prelude_except_if_fail(), improve PreludeError class. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10209 09c5ec92-17d4-0310-903a-819935f44dba commit 25c9594a8278beebdd746ba96da5b0d0dba16b48 Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Sat Feb 16 13:58:04 2008 +0000 Attempt to cast the provided value if it not compatible with the path. Until now, if an user tried to set a path of a specific type with an idmef_value_t object containing another type, idmef_path_set() would return an error. We now attempt to cast the user provided idmef_value_t to the path defined value. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10208 09c5ec92-17d4-0310-903a-819935f44dba commit bef23efc49d837da13d06694d89693fab59d34be Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Sat Feb 16 13:25:45 2008 +0000 Allow casting idmef_value_t to an idmef_value_t of another type. This provide a set of enhancements to the idmef-value interface: - idmef_value_set() function for every idmef-value type. - _idmef_value_cast() to convert the given idmef_value_t, to the provided idmef_value_type_id_t argument. - Refactor some code. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10207 09c5ec92-17d4-0310-903a-819935f44dba commit 8264ef2b9bd6b977e5be8c6b0de6a7976da9d557 Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Fri Feb 15 09:07:21 2008 +0000 Improved error message, in case no compatible data is found. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10206 09c5ec92-17d4-0310-903a-819935f44dba commit e528bca7469b7b0c32830bdce4cd629fd4532d91 Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Fri Feb 15 09:07:13 2008 +0000 Declare optional arguments in the IDMEFPath header. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10205 09c5ec92-17d4-0310-903a-819935f44dba commit e2a0ea9ab1054aaaeafce89a10d0c3aa1e2cb59e Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Fri Feb 15 09:07:04 2008 +0000 Ability to set IDMEFTime object. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10204 09c5ec92-17d4-0310-903a-819935f44dba commit b1b140076356c3aa708ff3adb607810b5a24a5b1 Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Fri Feb 15 09:06:59 2008 +0000 Handle Get() for value of type data. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10203 09c5ec92-17d4-0310-903a-819935f44dba commit b1771660acfd3436f0f74a4a6a5e4cc4609d715e Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Fri Feb 15 09:06:52 2008 +0000 Detailled error message in case of unsupported value. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10202 09c5ec92-17d4-0310-903a-819935f44dba commit 459907eb014bc1678dfd74824ef3724cbfd12d18 Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Thu Feb 14 17:00:31 2008 +0000 Provide the ability to specify our own PreludeError() message. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10201 09c5ec92-17d4-0310-903a-819935f44dba commit dfae951a38633c4efd5925ee0460042dddcd7920 Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Thu Feb 14 17:00:18 2008 +0000 Compile c++ before low-level bindings. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10200 09c5ec92-17d4-0310-903a-819935f44dba commit c6f130d24a4446941ffc4744426d6709eef7d949 Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Thu Feb 14 17:00:11 2008 +0000 More detailed error messages, bind IDMEFTime operator. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10199 09c5ec92-17d4-0310-903a-819935f44dba commit 67ac54e4dd487738026e7ee5d8e29a9976a643db Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Thu Feb 14 16:58:42 2008 +0000 Implement int, long, double, and std::string operator for IDMEFTime. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10198 09c5ec92-17d4-0310-903a-819935f44dba commit 03b385ddeebb4cd05083e980aa1d2f0449a4f79c Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Thu Feb 14 10:00:16 2008 +0000 Handle IDMEFTime * return from Get() method. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10197 09c5ec92-17d4-0310-903a-819935f44dba commit 896776f2788d09fea9602de86887f3c5777be24b Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Thu Feb 14 08:54:09 2008 +0000 Return undef/None when required, and handle a Perl specific issue where returned values would always be undef. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10196 09c5ec92-17d4-0310-903a-819935f44dba commit c90879076c4371cbfb2453a7990c57326fbf058e Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Thu Feb 14 08:49:03 2008 +0000 Continued work on idmef-tree-wrap.hxx auto-generation. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10195 09c5ec92-17d4-0310-903a-819935f44dba commit 5fbf3c51a350e0e78e192e665ad3765fcfd9ab97 Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Thu Feb 14 08:16:31 2008 +0000 Map prelude low-level datatype to type understood by Swig. Additionally, check that IDMEFValue pointer is not NULL in the IDMEFValue * typemap. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10194 09c5ec92-17d4-0310-903a-819935f44dba commit b3b93701d598c8b214e5191e99a611bb6bc11763 Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Thu Feb 14 08:16:27 2008 +0000 Perl headers define a Copy() macro that conflict with our Copy methods, this should fix the compilation problem. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10193 09c5ec92-17d4-0310-903a-819935f44dba commit 0a7a09766235043aafa4e311e845bb9dff701fbd Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Thu Feb 14 08:16:23 2008 +0000 Avoid undefined reference in perl/python bindings. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10192 09c5ec92-17d4-0310-903a-819935f44dba commit 5c0cc2d05ed70948703a6e60f38aa903222a9ff2 Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Thu Feb 14 08:16:01 2008 +0000 Returned IDMEFValue are a pointer again, so we can handle NULL value, which is not an error. Implement missing Set() operator. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10191 09c5ec92-17d4-0310-903a-819935f44dba commit 6eceff3af6b21dc608fb7e6168854ab75dac1c73 Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Thu Feb 14 08:15:55 2008 +0000 Implement language independant exception handling. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10190 09c5ec92-17d4-0310-903a-819935f44dba commit d58032eeb74a85c787ed1f2ba9f6bd98c62e43d1 Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Thu Feb 14 08:15:50 2008 +0000 Further work on generic exception handling. Implement GetMessage() and GetError() methods. Declare a const char* operator. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10189 09c5ec92-17d4-0310-903a-819935f44dba commit 1a76e40aa6c706dac7cc44f5f815b5e769c6dfa7 Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Thu Feb 14 08:13:46 2008 +0000 Do not use prelude_string_get_string_released, since it modify the source string. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10188 09c5ec92-17d4-0310-903a-819935f44dba commit 21fed04533be391e0cc3117aae7f66f1db0510f4 Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Mon Feb 11 20:53:39 2008 +0000 New IDMEFTime C++ wrapper, requirement for wrapping IDMEF tree. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10187 09c5ec92-17d4-0310-903a-819935f44dba commit c7da494c6b0a84cc398c0dec386febe3475b45c9 Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Mon Feb 11 18:03:47 2008 +0000 More work on wrapping the whole IDMEF tree. Still not functional throught. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10186 09c5ec92-17d4-0310-903a-819935f44dba commit 60bf274de1de4f9933bea538eafd095db55be2dd Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Mon Feb 11 16:43:57 2008 +0000 Update low-level bindings directory. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10185 09c5ec92-17d4-0310-903a-819935f44dba commit e5960c18de5e495e5b5962f814b457211b21e69f Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Mon Feb 11 16:36:27 2008 +0000 Remove debug spew. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10184 09c5ec92-17d4-0310-903a-819935f44dba commit 429f1035f437ca3730e1c7274ced41e4ed37e713 Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Mon Feb 11 16:35:29 2008 +0000 make distcheck fixes. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10183 09c5ec92-17d4-0310-903a-819935f44dba commit 05a376171f87f57e1aa783d34f583db7fb9b2ab7 Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Mon Feb 11 15:40:56 2008 +0000 Generate SWIG bindings for idmef-criteria. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10182 09c5ec92-17d4-0310-903a-819935f44dba commit ceb7792e59ae5ca02f486a1628edfec24e524092 Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Mon Feb 11 15:30:44 2008 +0000 Add missing copyright notice. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10181 09c5ec92-17d4-0310-903a-819935f44dba commit 5ab5c174b41cab6dd7754dc60fadaca05dfb9511 Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Mon Feb 11 15:24:32 2008 +0000 Add idmef-criteria.cxx to the build. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10180 09c5ec92-17d4-0310-903a-819935f44dba commit 9c7871d2fd27c593bb40f036cda366d587d3cfb2 Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Mon Feb 11 15:24:28 2008 +0000 C++ bindings for idmef-criteria API. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10179 09c5ec92-17d4-0310-903a-819935f44dba commit d1cf3fbe828498b5f181b31b9e12e695d84f03d6 Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Mon Feb 11 15:23:06 2008 +0000 Add missing. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10178 09c5ec92-17d4-0310-903a-819935f44dba commit 92579fa7afaed39274d58970be79720fe1a7008d Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Mon Feb 11 15:21:53 2008 +0000 Fix include filename. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10177 09c5ec92-17d4-0310-903a-819935f44dba commit 03b049598c98fe73e79d1833a0c87ed05eaa6001 Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Mon Feb 11 14:49:00 2008 +0000 Generate idmef-tree-wrap.hxx within 'bindings/c++/include'. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10176 09c5ec92-17d4-0310-903a-819935f44dba commit f73f14bd6d8a67956d4876eaa932d9d7e704df92 Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Mon Feb 11 14:47:12 2008 +0000 Normalize C++ bindings filename, move headers to 'include' subdirectory. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10175 09c5ec92-17d4-0310-903a-819935f44dba commit eba4e4c4b592635b041e7c6974b8934b0ac8af35 Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Mon Feb 11 09:24:09 2008 +0000 Apply IDMEFValue typemap to IDMEF::Get(). git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10174 09c5ec92-17d4-0310-903a-819935f44dba commit 5c6ccd058ad4070f377d985606edff2b4715ce77 Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Mon Feb 11 09:24:00 2008 +0000 Multiple input datatype for IDMEF::Set() git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10173 09c5ec92-17d4-0310-903a-819935f44dba commit 00818054eea2f13e48d2f5c597c4d426437a04ab Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Mon Feb 11 09:05:07 2008 +0000 Modify IDMEF::Set() and IDMEF::Get() so that they use IDMEFValue. Simplify the code by using the IDMEFPath() API. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10172 09c5ec92-17d4-0310-903a-819935f44dba commit c91490528bfaaa1859b87b7ec186f00de3d0ab11 Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Sun Feb 10 18:59:58 2008 +0000 Make IDMEFPath::Get() return a copy of the IDMEFValue object git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10171 09c5ec92-17d4-0310-903a-819935f44dba commit 0a58a8fb88daa10b466baabf8f21d940b3e9c19b Author: pollux <pollux@09c5ec92-17d4-0310-903a-819935f44dba> Date: Sun Feb 10 18:41:17 2008 +0000 Bindings: set dependencies on c++ headers git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10170 09c5ec92-17d4-0310-903a-819935f44dba commit 83707b695b46fba9a1afb04ed1ecf1021c1fd961 Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Sun Feb 10 18:33:35 2008 +0000 IDMEFValue::Get() typemap, convert to native language type. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10169 09c5ec92-17d4-0310-903a-819935f44dba commit d58d1b77f7b4fee7a43643c213ec5e6362055055 Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Sun Feb 10 18:33:26 2008 +0000 Header update. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10168 09c5ec92-17d4-0310-903a-819935f44dba commit d7b915743ea758846f4fbe158f7c93feab6a143d Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Sun Feb 10 18:33:07 2008 +0000 Handle Set() for std::string, char string, and integer. More input type to come (specific integer size, etc). git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10167 09c5ec92-17d4-0310-903a-819935f44dba commit f1a42b6d90ed0ab398acf3fabe259457aa62998a Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Sun Feb 10 18:32:58 2008 +0000 Implement IDMEFValue->GetType(). git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10166 09c5ec92-17d4-0310-903a-819935f44dba commit 386e2aac6eaa609df5a88ad6610b8c6b5108acc7 Author: pollux <pollux@09c5ec92-17d4-0310-903a-819935f44dba> Date: Sun Feb 10 18:32:30 2008 +0000 Bindings: do not build easy bindings if the flag was not specified when calling configure. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10165 09c5ec92-17d4-0310-903a-819935f44dba commit a37cace8b1719d53fd244394f4e16be1d68f6fe0 Author: pollux <pollux@09c5ec92-17d4-0310-903a-819935f44dba> Date: Sun Feb 10 15:35:12 2008 +0000 Bindings: fix build flags to link perl and python modules to the C++ lib. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10164 09c5ec92-17d4-0310-903a-819935f44dba commit 342295177a586259f8fad2b7436d66c7045ec898 Author: pollux <pollux@09c5ec92-17d4-0310-903a-819935f44dba> Date: Sun Feb 10 14:23:39 2008 +0000 Bindings: - include generated files in dist target - remove -noproxy option from swig, this prevent generating the .py file - fix names in python module git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10163 09c5ec92-17d4-0310-903a-819935f44dba commit 0707bdb92f9cf57a15956c6159e239efc4b48ce5 Author: pollux <pollux@09c5ec92-17d4-0310-903a-819935f44dba> Date: Sun Feb 10 14:12:56 2008 +0000 Bindings: use similar method than low-level bindings to install: - ask autotools to generate a Makefile.PL and setup.py - move swig files to the bindings/ directory, and generate files in proper subdirectory - use perl and python native system to build extensions - make install also uses native system This makes installation work to Prelude Easy bindings. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10162 09c5ec92-17d4-0310-903a-819935f44dba commit df7120fea947709b51bdce52820a86dc6c93d65f Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Sat Feb 9 18:05:47 2008 +0000 Generate low-level typemap in the correct bindings directory. Start implementing GenerateIDMEFTreeWrapHxx.pm. Some renaming. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10161 09c5ec92-17d4-0310-903a-819935f44dba commit e7dc9144db84caa56cf4e1ed748a7595a3ba2d78 Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Sat Feb 9 17:38:49 2008 +0000 Update Makefile.am and libprelude-easy.i Completly wrap the idmef_path_t API. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10160 09c5ec92-17d4-0310-903a-819935f44dba commit f321364a5883f04738e3e2852c158dafda38d577 Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Sat Feb 9 17:36:01 2008 +0000 Start wrapping idmef_value_t interface. Start of PreludeError exception class. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10159 09c5ec92-17d4-0310-903a-819935f44dba commit ee2765a6e425921aa56ddf0414fe935f7c842b32 Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Sat Feb 9 17:34:28 2008 +0000 Missing 'extern C' for C++ build. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10158 09c5ec92-17d4-0310-903a-819935f44dba commit 23dc9b24459a02adc6055d7548e08ac25b111849 Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Fri Feb 8 12:54:40 2008 +0000 More fixes. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10156 09c5ec92-17d4-0310-903a-819935f44dba commit bc11cbd77355a63a0a268e642af4a45cf3a00fd7 Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Fri Feb 8 09:25:42 2008 +0000 More IDMEFTreeWrap C++ bindings work. - Each IDMEF object should get it's own class. - Remove extra code. - Call underlying C function. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10155 09c5ec92-17d4-0310-903a-819935f44dba commit 832f4b10f4b018340b0b72d55d01558589bd7aaf Author: toady <toady@09c5ec92-17d4-0310-903a-819935f44dba> Date: Thu Feb 7 23:31:48 2008 +0000 Start wrapping idmef tree git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10154 09c5ec92-17d4-0310-903a-819935f44dba commit 164445798d393fbc779cfa684527084a81ceb1a9 Author: pollux <pollux@09c5ec92-17d4-0310-903a-819935f44dba> Date: Tue Feb 5 19:59:09 2008 +0000 Bindings: move swig files into proper directories, and delete swig subdirectory git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10145 09c5ec92-17d4-0310-903a-819935f44dba commit c64d47649390151f05ef7dfa1f041d3dd2fd1211 Author: pollux <pollux@09c5ec92-17d4-0310-903a-819935f44dba> Date: Fri Feb 1 20:19:54 2008 +0000 (bindings) Add function to get unique message ID git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10139 09c5ec92-17d4-0310-903a-819935f44dba commit 04174e2265c1f2962a7c87f5fbba6181b4135e09 Author: pollux <pollux@09c5ec92-17d4-0310-903a-819935f44dba> Date: Fri Feb 1 15:54:46 2008 +0000 Remove perl and python code from C++ library. Remove test code from bindings (Fix #276) git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10138 09c5ec92-17d4-0310-903a-819935f44dba commit 4d142ddffbf2f98bbe4bd94a3e4031e9527858d2 Author: pollux <pollux@09c5ec92-17d4-0310-903a-819935f44dba> Date: Fri Feb 1 11:07:16 2008 +0000 Add configure flag to enable Easy bindings (disabled by default). git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10137 09c5ec92-17d4-0310-903a-819935f44dba commit c4964bf05e65116aade731020255ca6ea83b4514 Author: pollux <pollux@09c5ec92-17d4-0310-903a-819935f44dba> Date: Fri Feb 1 10:28:01 2008 +0000 Bindings: new directory hierarchy - move traditional bindings to "low-level" - build c++ code as a standalone library (which can be used as a c++ interface to libprelude) - split perl and python code for high-level bindings git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10136 09c5ec92-17d4-0310-903a-819935f44dba commit 57d40e6524d2abecfb81b34e8e5f767ea5c873a0 Author: pollux <pollux@09c5ec92-17d4-0310-903a-819935f44dba> Date: Wed Jan 30 12:20:33 2008 +0000 Create directories for now bindings tree git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10135 09c5ec92-17d4-0310-903a-819935f44dba commit fb65fedb52c5d623a2a1b4eb7ae06ae874877604 Author: pollux <pollux@09c5ec92-17d4-0310-903a-819935f44dba> Date: Sat Jan 26 12:45:47 2008 +0000 (bindings): for functions returning pointers to integers, dereference the pointer and return either the integer, or the native equivalent to NULL (None for Python, undef for Perl). (Fix #274) git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10132 09c5ec92-17d4-0310-903a-819935f44dba commit 2f9ce0f14ded7203346551c91642b8e73e72dc45 Author: pollux <pollux@09c5ec92-17d4-0310-903a-819935f44dba> Date: Tue Jan 22 13:29:41 2008 +0000 Backport r10125 to PreludeEasy branch. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10126 09c5ec92-17d4-0310-903a-819935f44dba commit fd2eaaf38578d20d7ea026db16ef07259499ef52 Author: pollux <pollux@09c5ec92-17d4-0310-903a-819935f44dba> Date: Mon Jan 21 19:27:07 2008 +0000 Backport r10123 from trunk: Improve prototype for get_next functions, use _cur as a suffix for the iterative argument (shall be used to special case get_next code using swig typemap, without breaking others functions - refs #269). git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10124 09c5ec92-17d4-0310-903a-819935f44dba commit ccd360b9b2b4bcbe1dee886d2d26cce71a8d3239 Author: toady <toady@09c5ec92-17d4-0310-903a-819935f44dba> Date: Mon Jan 14 10:47:54 2008 +0000 Use GvGen to produce nice graphs git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10122 09c5ec92-17d4-0310-903a-819935f44dba commit bb0f7c7a84ba10a65caa7456ec7f408791480f3d Author: toady <toady@09c5ec92-17d4-0310-903a-819935f44dba> Date: Thu Jan 3 16:35:45 2008 +0000 Graph alerts using rtg git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10119 09c5ec92-17d4-0310-903a-819935f44dba commit 20b431b84958ccf3968ea6012d7386ecd9e0c459 Author: pollux <pollux@09c5ec92-17d4-0310-903a-819935f44dba> Date: Wed Nov 28 21:32:42 2007 +0000 Enhancement: allow user to specify alerts directory on command line git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10076 09c5ec92-17d4-0310-903a-819935f44dba commit f146120a0d75d70bb134837718f4f5b593ceb7ad Author: pollux <pollux@09c5ec92-17d4-0310-903a-819935f44dba> Date: Wed Nov 28 21:27:47 2007 +0000 Small tool to replay alerts git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10075 09c5ec92-17d4-0310-903a-819935f44dba commit 0f027e9c471e2033831c0b3bd6e2d2ab3dbdb585 Author: pollux <pollux@09c5ec92-17d4-0310-903a-819935f44dba> Date: Wed Nov 28 21:13:16 2007 +0000 New utility to connect to a prelude manager, and save all alerts in files (for replay) git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10074 09c5ec92-17d4-0310-903a-819935f44dba commit ba0cc62057fb910eb42b4a9ff7fff767a6af9572 Author: pollux <pollux@09c5ec92-17d4-0310-903a-819935f44dba> Date: Sun Nov 25 15:44:46 2007 +0000 Add extern "C" to generators for files idmef-message-{read,write}, so they can be included in C++ files. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10070 09c5ec92-17d4-0310-903a-819935f44dba commit 213ee9e2392822ff0d32dbfaf3c3187b2ef9e3f8 Author: pollux <pollux@09c5ec92-17d4-0310-903a-819935f44dba> Date: Sun Nov 25 15:19:55 2007 +0000 Add functions to read/write IDMEF messages to files. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10069 09c5ec92-17d4-0310-903a-819935f44dba commit 36f877ed8c2243b0fe6d0e46cf7b3c2945253b9a Author: pollux <pollux@09c5ec92-17d4-0310-903a-819935f44dba> Date: Sun Nov 25 15:17:22 2007 +0000 Export header functions as C (using extern "C") for idmef- message-{read,write} headers, so they can be used in C++ files. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10068 09c5ec92-17d4-0310-903a-819935f44dba commit 579f7b349baa6d156ae2773c3fe629875a4e2b77 Author: toady <toady@09c5ec92-17d4-0310-903a-819935f44dba> Date: Tue Nov 20 16:28:33 2007 +0000 Graph uniques alerts from classification.text git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10063 09c5ec92-17d4-0310-903a-819935f44dba commit e23d1fc48f07f4e0df6121874c2ffbbaad30ac63 Author: toady <toady@09c5ec92-17d4-0310-903a-819935f44dba> Date: Tue Nov 20 14:01:54 2007 +0000 Multi-dimensional IDMEF messages plotting using gd git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10062 09c5ec92-17d4-0310-903a-819935f44dba commit eee584c50c3ec244cfe94d2f0162f2c64469bc37 Author: pollux <pollux@09c5ec92-17d4-0310-903a-819935f44dba> Date: Mon Nov 19 15:19:25 2007 +0000 Better error handling: tell swig to catch exceptions of type (const char*) and use them in constructors and functions. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10057 09c5ec92-17d4-0310-903a-819935f44dba commit 6971a44d98c897f48ae49ce5a77d0752816a4827 Author: pollux <pollux@09c5ec92-17d4-0310-903a-819935f44dba> Date: Mon Nov 19 13:34:01 2007 +0000 Suppress CR when waiting for alert git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10056 09c5ec92-17d4-0310-903a-819935f44dba commit 327553459bb94d5a20cab7a5c6c2c200c42c19dc Author: pollux <pollux@09c5ec92-17d4-0310-903a-819935f44dba> Date: Mon Nov 19 13:28:00 2007 +0000 Dot not try to convert IDMEF value if we do not have one git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10055 09c5ec92-17d4-0310-903a-819935f44dba commit faa412135e33af5ad65de869c07952015df10b63 Author: pollux <pollux@09c5ec92-17d4-0310-903a-819935f44dba> Date: Mon Nov 19 12:15:58 2007 +0000 Use idmef_value_to_string to convert values git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10054 09c5ec92-17d4-0310-903a-819935f44dba commit 4f7f5994ea44a3d42984cb202e413aeb327c778e Author: toady <toady@09c5ec92-17d4-0310-903a-819935f44dba> Date: Mon Nov 19 08:58:33 2007 +0000 ÂGraph IDMEF messages tool git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10053 09c5ec92-17d4-0310-903a-819935f44dba commit 1f213322a64ce9633e538cfb9e48104caf63261f Author: pollux <pollux@09c5ec92-17d4-0310-903a-819935f44dba> Date: Sat Nov 17 16:02:14 2007 +0000 Remove debug code git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10052 09c5ec92-17d4-0310-903a-819935f44dba commit 7856d807e488bdf9f9ea4bc05b9e4b38d3c1e371 Author: pollux <pollux@09c5ec92-17d4-0310-903a-819935f44dba> Date: Sat Nov 17 15:58:58 2007 +0000 Add function Get to IDMEF object. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10051 09c5ec92-17d4-0310-903a-819935f44dba commit a2b117c47218db2c1319c7deed34977eb5145f8c Author: pollux <pollux@09c5ec92-17d4-0310-903a-819935f44dba> Date: Sat Nov 17 15:25:24 2007 +0000 Implement read of IDMEF messages using polling (and a pool ;) git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10050 09c5ec92-17d4-0310-903a-819935f44dba commit a1d50d8a1958fc6f49654bf661168151d1427b56 Author: pollux <pollux@09c5ec92-17d4-0310-903a-819935f44dba> Date: Sat Nov 17 13:53:44 2007 +0000 mark file as executable git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10049 09c5ec92-17d4-0310-903a-819935f44dba commit fec825ab328ec7dfad8d49661cdd70ca74b5abce Author: pollux <pollux@09c5ec92-17d4-0310-903a-819935f44dba> Date: Sat Nov 17 13:42:29 2007 +0000 all paths to test file, and show error when importing if any git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10048 09c5ec92-17d4-0310-903a-819935f44dba commit c0a35c2f063b62e0f277cd7c24f5f87483edc670 Author: toady <toady@09c5ec92-17d4-0310-903a-819935f44dba> Date: Fri Nov 16 15:55:02 2007 +0000 Test stuff git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10047 09c5ec92-17d4-0310-903a-819935f44dba commit 62ac443d5a404198ac4dd503a3c2d19c6a3346ff Author: pollux <pollux@09c5ec92-17d4-0310-903a-819935f44dba> Date: Fri Nov 16 09:18:12 2007 +0000 Display python error if import fails git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10046 09c5ec92-17d4-0310-903a-819935f44dba commit 8c4d94601f19115a3dea030028a90d956a0a7be0 Author: toady <toady@09c5ec92-17d4-0310-903a-819935f44dba> Date: Thu Nov 15 16:49:00 2007 +0000 C++ stuff git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10045 09c5ec92-17d4-0310-903a-819935f44dba commit be99e5e0e2f7ce8408efaf66a3922c807fdfdaea Author: toady <toady@09c5ec92-17d4-0310-903a-819935f44dba> Date: Thu Nov 15 09:24:46 2007 +0000 Removed useless code (used to print on strerr the idmef message only) git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10044 09c5ec92-17d4-0310-903a-819935f44dba commit c904ad7de41a43628345fabec728e80ea158b88e Author: pollux <pollux@09c5ec92-17d4-0310-903a-819935f44dba> Date: Wed Nov 14 16:49:06 2007 +0000 Create IDMEF object from prelude alert. Now all we have to do is to run the callback. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10043 09c5ec92-17d4-0310-903a-819935f44dba commit 6172b059269d23736ce19c78af1367c30804b870 Author: toady <toady@09c5ec92-17d4-0310-903a-819935f44dba> Date: Wed Nov 14 16:30:07 2007 +0000 Code to manage pooling git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10042 09c5ec92-17d4-0310-903a-819935f44dba commit db6bdb8efb24742fc37fa1fce0b1dc596c7f51cc Author: pollux <pollux@09c5ec92-17d4-0310-903a-819935f44dba> Date: Wed Nov 14 15:05:59 2007 +0000 Add support functions to send an IDMEF object to the callback. Trying to build and send the object directly is quite impossible, due to the way SWIG generates and wraps its objects. This problem was solved in a tricky way, by (temporarily) storing the object in memory, and passing a unique id to the callback. The callback can then use it to get the object (which is removed from the array after). git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10041 09c5ec92-17d4-0310-903a-819935f44dba commit da77683d874567fd09bbe29142d6a0477f1e8406 Author: pollux <pollux@09c5ec92-17d4-0310-903a-819935f44dba> Date: Tue Nov 13 14:59:11 2007 +0000 Tests for callbacks git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10040 09c5ec92-17d4-0310-903a-819935f44dba commit 88dbf76653d56186db78bfa6a5cd3f1e29a29e2a Author: pollux <pollux@09c5ec92-17d4-0310-903a-819935f44dba> Date: Sun Nov 11 13:18:33 2007 +0000 Proof-of-concept code for calling Perl callbacks from SWIG. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10038 09c5ec92-17d4-0310-903a-819935f44dba commit 51f6fcbdee9973d07e4951da1132f709768c5c77 Author: pollux <pollux@09c5ec92-17d4-0310-903a-819935f44dba> Date: Fri Nov 9 10:04:21 2007 +0000 Proof-of-concept code for registering and calling Python callbacks from SWIG code. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10035 09c5ec92-17d4-0310-903a-819935f44dba commit 921ec9059f783db476af24a4b52adb548ced2246 Author: toady <toady@09c5ec92-17d4-0310-903a-819935f44dba> Date: Tue Oct 23 15:00:19 2007 +0000 Preliminary support for prelude connection pool git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10021 09c5ec92-17d4-0310-903a-819935f44dba commit 002dff8cc340ad8d0981e76c63222ebdf3328a87 Author: toady <toady@09c5ec92-17d4-0310-903a-819935f44dba> Date: Tue Oct 23 08:35:20 2007 +0000 Python test for easy bindings git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10020 09c5ec92-17d4-0310-903a-819935f44dba commit f02871549cc21fc4b2bf32426e2210c382efb6ff Author: pollux <pollux@09c5ec92-17d4-0310-903a-819935f44dba> Date: Mon Oct 22 20:02:49 2007 +0000 Move initialization code to module init. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10019 09c5ec92-17d4-0310-903a-819935f44dba commit 1b1d9dc8c93d80aefd61698f1acc7f413aff1634 Author: toady <toady@09c5ec92-17d4-0310-903a-819935f44dba> Date: Mon Oct 22 15:58:15 2007 +0000 (bugfix): Missing initialization and more verbose error messages git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10018 09c5ec92-17d4-0310-903a-819935f44dba commit fe6911eb42e61334cd83c35e077dda185ffab53d Author: pollux <pollux@09c5ec92-17d4-0310-903a-819935f44dba> Date: Mon Oct 22 14:25:57 2007 +0000 Merge trunk modifications 10014 to 10016 git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10017 09c5ec92-17d4-0310-903a-819935f44dba commit 0288c8737c4e521e773d68cabfce37f522a9498a Author: pollux <pollux@09c5ec92-17d4-0310-903a-819935f44dba> Date: Sat Oct 20 09:22:36 2007 +0000 * Use local headers (to allow build even if other headers are installed in system paths) * Set default arguments for Client constructor, and allow swig to wrap them * Use prelude_string_set_ref_fast instead of prelude_string_set_constant git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10014 09c5ec92-17d4-0310-903a-819935f44dba commit c3d3552efdb7ebe0db7b36f91c9fa477cdb8b568 Author: pollux <pollux@09c5ec92-17d4-0310-903a-819935f44dba> Date: Fri Oct 19 14:52:50 2007 +0000 Merge trunk modifications 10006 to 10012 git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10013 09c5ec92-17d4-0310-903a-819935f44dba commit 1452ff2c667fe05bacb9c792a802c2c68d60683e Author: pollux <pollux@09c5ec92-17d4-0310-903a-819935f44dba> Date: Fri Oct 19 14:02:45 2007 +0000 Merge patches 9998 to 10004 from trunk git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@10005 09c5ec92-17d4-0310-903a-819935f44dba commit 9634ab885480c1a863042183764229fd86e36c33 Author: pollux <pollux@09c5ec92-17d4-0310-903a-819935f44dba> Date: Fri Oct 19 12:10:17 2007 +0000 Add code to setup analyzer informations when creating client git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@9997 09c5ec92-17d4-0310-903a-819935f44dba commit b0cd57a74459811f5000ccb8fa7aa3d4c4e3c613 Author: pollux <pollux@09c5ec92-17d4-0310-903a-819935f44dba> Date: Thu Oct 18 10:10:45 2007 +0000 Fix Makefile for swig generation git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@9987 09c5ec92-17d4-0310-903a-819935f44dba commit 4afd50b056ca408749ff7ef61bd2cfb011a58b45 Author: pollux <pollux@09c5ec92-17d4-0310-903a-819935f44dba> Date: Thu Oct 18 09:58:43 2007 +0000 Remove generated swig files from svn, and ask configure to generate swig makefile git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@9986 09c5ec92-17d4-0310-903a-819935f44dba commit f06aa230f18e5725ed641cde08d1d31268efb704 Author: pollux <pollux@09c5ec92-17d4-0310-903a-819935f44dba> Date: Tue Oct 16 17:30:33 2007 +0000 Prelude::Easy bindings (autotools conf) git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@9985 09c5ec92-17d4-0310-903a-819935f44dba commit 3175ff08eecff7f88abe42bb23f168e9598458dd Author: pollux <pollux@09c5ec92-17d4-0310-903a-819935f44dba> Date: Tue Oct 16 17:29:50 2007 +0000 Prelude::Easy bindings (c++ code) git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@9984 09c5ec92-17d4-0310-903a-819935f44dba commit ac462139fa0f448773dd4eda4aba6d6779cbf77e Author: pollux <pollux@09c5ec92-17d4-0310-903a-819935f44dba> Date: Tue Oct 16 17:28:51 2007 +0000 Prelude::Easy bindings (swig) git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@9983 09c5ec92-17d4-0310-903a-819935f44dba commit b9d87377fa44729b6ae3a3184791d2ce57967f46 Author: pollux <pollux@09c5ec92-17d4-0310-903a-819935f44dba> Date: Mon Oct 8 18:16:35 2007 +0000 Doh ! const char* *is* the correct type ! git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@9979 09c5ec92-17d4-0310-903a-819935f44dba commit c0fa12d1abff23c7cd34633ed85d18b47245634b Author: pollux <pollux@09c5ec92-17d4-0310-903a-819935f44dba> Date: Mon Oct 8 18:11:46 2007 +0000 Change cast from char* to unsigned char*, to be stricter on the conversion git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@9978 09c5ec92-17d4-0310-903a-819935f44dba commit 5c689149401a00071cf2025d4159cc268c04ab36 Author: pollux <pollux@09c5ec92-17d4-0310-903a-819935f44dba> Date: Sun Oct 7 20:30:30 2007 +0000 Conversion from void * to char * needs an explicit cast in c++ git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@9974 09c5ec92-17d4-0310-903a-819935f44dba commit 073d0319ccfa6a2b51cfc66a61c988b6ea3103b7 Author: pollux <pollux@09c5ec92-17d4-0310-903a-819935f44dba> Date: Sun Oct 7 20:16:15 2007 +0000 Conversion from void * to char * needs a cast in c++ git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@9973 09c5ec92-17d4-0310-903a-819935f44dba commit d1522aa8ab60310baf7bfedede906ef1ee52df67 Author: pollux <pollux@09c5ec92-17d4-0310-903a-819935f44dba> Date: Sun Oct 7 20:03:00 2007 +0000 Fix use of c++ keywords in swig wrappers git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@9972 09c5ec92-17d4-0310-903a-819935f44dba commit e614b42e00339aaa6651d1e479e1039a3cc208ff Author: pollux <pollux@09c5ec92-17d4-0310-903a-819935f44dba> Date: Sun Oct 7 19:41:24 2007 +0000 * Allow perl and python bindings to use $CC variable when building This makes build of bindings work correctly when using ccache * Move cleaning of targets in clean-local This does not override standard clean command, and allows building other targets in the same Makefile.am git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@9971 09c5ec92-17d4-0310-903a-819935f44dba commit 43aa071d90bc5f01ab08b95dbb202041acb4f400 Author: yoann <yoann@09c5ec92-17d4-0310-903a-819935f44dba> Date: Fri Oct 5 14:46:53 2007 +0000 Branche libprelude for Pierre Chifflier <[email protected]> bindings work: easy libprelude bindings for more languages. git-svn-id: https://svn.prelude-ids.org/libprelude/branches /libprelude-easy-bindings@9969 09c5ec92-17d4-0310-903a-819935f44dba -- Ticket URL: </ticket/268#comment:4> Prelude Hybrid IDS <http://www.prelude-ids.org> The Prelude Hybrid Intrusion Detection System suite _______________________________________________ Prelude-devel site list [email protected] http://lists.prelude-ids.org/mailman/listinfo/prelude-devel