myconfig, configure option testing and fixing, monitor_fs()

This commit is contained in:
joonicks
2018-04-15 03:57:44 +02:00
parent db4842c42e
commit 5f0fdada3e
26 changed files with 462 additions and 264 deletions

View File

@@ -68,6 +68,9 @@ BEG const char SPYSTR_BOTNET[] MDEF("botnet");
#ifdef URLCAPTURE
BEG const char SPYSTR_URL[] MDEF("url");
#endif /* URLCAPTURE */
#ifdef URLCAPTURE
BEG const char SPYSTR_SYSMON[] MDEF("sysmon");
#endif /* URLCAPTURE */
BEG const char STR_MECHRESET[] MDEF("MECHRESET=");
@@ -117,7 +120,7 @@ BEG User __internal_users[2];
* generic output buffer, can be used as buffer in any `leaf' function
* (functions that do not call any other non-trivial functions)
*/
BEG char gsockdata[MAXLEN];
BEG char globaldata[MAXLEN];
BEG char nick_buf[MAXHOSTLEN];
BEG char nuh_buf[NUHLEN];
@@ -452,6 +455,19 @@ LS coreServerGroup defaultServerGroup =
"default" /* name */
};
LS struct
{
const char *string;
const int id;
} meventstrings[] = {
{ "parse", MEV_PARSE },
{ "timer", MEV_TIMER },
{ "command", MEV_COMMAND },
{ "botnet", MEV_BOTNET },
{ "dcc_complete", MEV_DCC_COMPLETE },
{ "dnsresult", MEV_DNSRESULT }};
#else /* MAIN_C */
extern const uchar tolowertab[];