Changeset 283 for trunk/include


Ignore:
Timestamp:
May 4, 2010, 10:28:11 PM (15 years ago)
Author:
katerina
Message:

Patch for ticket #207 (server logs client reports to prelude).

Location:
trunk/include
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/samhain.h

    r265 r283  
    3636#define REPLACE_OLD
    3737
    38 /* Standard buffer sizes.
    39  */
     38/* Standard buffer sizes.
     39 * IPv6 is 8 groups of 4 hex digits seperated by colons.
     40 */
     41#define SH_IP_BUF        40
    4042#define SH_MINIBUF       64
    4143#define SH_BUFSIZE     1024
  • trunk/include/sh_error.h

    r279 r283  
    101101
    102102#ifdef SH_WITH_SERVER
     103
    103104void sh_error_set_peer(const char * str);
     105#ifdef HAVE_LIBPRELUDE
     106void sh_error_set_peer_ip(const char * str);
     107#endif
    104108int  set_flag_sep_log (const char * str);
    105109#endif
  • trunk/include/sh_prelude.h

    r170 r283  
    99
    1010int sh_prelude_alert (int priority, int class, char * message,
    11                       long msgflags, unsigned long msgid);
     11                      long msgflags, unsigned long msgid, char * inet_peer_ip);
    1212
    1313/* map severity levels
Note: See TracChangeset for help on using the changeset viewer.