sarg  2.4.0
About: SARG ia a Squid Analysis Report Generator.
  Fossies Dox: sarg-2.4.0.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

conf.h
Go to the documentation of this file.
1 #include "config.h"
2 #include "info.h"
3 #include "btree_cache.h"
4 
5 #ifdef HAVE_WINSOCK2_H
6 #include <winsock2.h>
7 #endif
8 #ifdef HAVE_WINDOWS_H
9 #include <windows.h>
10 #endif
11 #ifdef HAVE_STDIO_H
12 #include <stdio.h>
13 #endif
14 #ifdef HAVE_STDLIB_H
15 #include <stdlib.h>
16 #endif
17 #ifdef HAVE_STRING_H
18 #include <string.h>
19 #endif
20 #ifdef HAVE_STRINGS_H
21 #include <strings.h>
22 #endif
23 #ifdef HAVE_SYS_TIME_H
24 #include <sys/time.h>
25 #endif
26 #ifdef HAVE_TIME_H
27 #include <time.h>
28 #endif
29 #ifdef HAVE_SYS_RESOURCE_H
30 #include <sys/resource.h>
31 #endif
32 #ifdef HAVE_UNISTD_H
33 #include <unistd.h>
34 #endif
35 #if defined(HAVE_SYS_DIRENT_H) && !defined(HAVE_DIRENT_H)
36 #include <sys/dirent.h>
37 #endif
38 #ifdef HAVE_DIRENT_H
39 #include <dirent.h>
40 #endif
41 #ifdef HAVE_SYS_SOCKET_H
42 #include <sys/socket.h>
43 #endif
44 #ifdef HAVE_NETDB_H
45 #include <netdb.h>
46 #endif
47 #ifdef HAVE_TYPES_H
48 #include <types.h>
49 #endif
50 #ifdef HAVE_NETINET_IN_H
51 #include <netinet/in.h>
52 #endif
53 #ifdef HAVE_ARPA_INET_H
54 #include <arpa/inet.h>
55 #endif
56 #ifdef HAVE_SYS_STAT_H
57 #include <sys/stat.h>
58 #endif
59 #ifdef HAVE_CTYPE_H
60 #include <ctype.h>
61 #endif
62 #ifdef HAVE_ERRNO_H
63 #include <errno.h>
64 #endif
65 #ifdef HAVE_SYS_WAIT_H
66 #include <sys/wait.h>
67 #endif
68 #ifdef HAVE_GD_H
69 #define HAVE_GD 1
70 #include <gd.h>
71 #endif
72 #ifdef HAVE_GDFONTL_H
73 #include <gdfontl.h>
74 #endif
75 #ifdef HAVE_GDFONTT_H
76 #include <gdfontt.h>
77 #endif
78 #ifdef HAVE_GDFONTS_H
79 #include <gdfonts.h>
80 #endif
81 #ifdef HAVE_GDFONTMB_H
82 #include <gdfontmb.h>
83 #endif
84 #ifdef HAVE_GDFONTG_H
85 #include <gdfontg.h>
86 #endif
87 #ifdef HAVE_STDARG_H
88 #include <stdarg.h>
89 #endif
90 #ifdef HAVE_INTTYPES_H
91 #include <inttypes.h>
92 #endif
93 #ifdef HAVE_LIMITS_H
94 #include <limits.h>
95 #endif
96 #ifdef HAVE_WINSOCK_H
97 #include <winsock.h>
98 #endif
99 #ifdef HAVE_MATH_H
100 #include <math.h>
101 #endif
102 #ifdef HAVE_LOCALE_H
103 #include <locale.h>
104 #endif
105 #ifdef HAVE_EXECINFO_H
106 #include <execinfo.h>
107 #endif
108 #ifdef HAVE_LIBGEN_H
109 #include <libgen.h>
110 #endif
111 #ifdef HAVE_STDBOOL_H
112 #include <stdbool.h>
113 #else
114 typedef int bool;
115 #define true 1
116 #define false 0
117 #endif
118 #ifdef HAVE_FCNTL_H
119 #include <fcntl.h>
120 #endif
121 #ifdef HAVE_FNMATCH_H
122 #include <fnmatch.h>
123 #endif
124 
125 #if defined(HAVE_FOPEN64)
126 #define _FILE_OFFSET_BITS 64
127 #define MY_FOPEN fopen64
128 #else
129 #define MY_FOPEN fopen
130 #endif
131 
132 #if !defined(HAVE_BZERO)
133 #define bzero(mem,size) memset(mem,0,size)
134 #endif
135 
136 #if defined(IBERTY_LIB) && !defined(HAVE_MKSTEMP)
137 int mkstemps(char *template, int suffixlen);
138 #define mkstemp(template) mkstemps(template,0)
139 #endif
140 
141 #ifdef __MINGW32__
142 #define pgettext(msgctxt,msgid) (msgid)
143 #define ngettext(singular,plural,number) (plural)
144 #else
145 #include "gettext.h"
146 #endif
147 #if defined(ENABLE_NLS) && defined(HAVE_LIBINTL_H)
148 #define _(String) gettext(String)
149 #ifdef gettext_noop
150 #define N_(String) gettext_noop(String)
151 #else
152 #define N_(String) (String)
153 #endif
154 #else /* No NLS */
155 #define _(String) (String)
156 #define N_(String) (String)
157 #endif //NLS
158 
159 #if defined(__MINGW32__)
160 #define mkdir(p,m) _mkdir(p)
161 
162 #ifndef WIFEXITED
163  #define WIFEXITED(S) 1
164 #endif
165 
166 #ifndef WEXITSTATUS
167  #define WEXITSTATUS(S) (S)
168 #endif
169 
170 #endif /*__MINGW32__*/
171 
172 #ifndef __GNUC__
173 # define __attribute__(x)
174 #endif
175 
176 #define MAXLEN 20000
177 #define MAX_URL_LEN 40000
178 #define MAX_TRUNCATED_URL 250
179 #define MAX_USER_LEN 256
180 #define MAX_USER_FNAME_LEN 128
181 #define MAX_IP_LEN 64
182 #define MAX_DATETIME_LEN 32
183 #define MAX_REDIRECTOR_LOGS 64
184 #define MAX_REDIRECTOR_FILELEN 1024
185 
189 #define MAX_DATETIME_DAYS 1000
190 
191 #define REPORT_TYPE_USERS_SITES 0x0001UL
192 #define REPORT_TYPE_SITE_USER_TIME_DATE 0x0002UL
193 #define REPORT_TYPE_TOPUSERS 0x0004UL
194 #define REPORT_TYPE_TOPSITES 0x0008UL
195 #define REPORT_TYPE_SITES_USERS 0x0010UL
196 #define REPORT_TYPE_DATE_TIME 0x0020UL
197 #define REPORT_TYPE_DENIED 0x0040UL
198 #define REPORT_TYPE_AUTH_FAILURES 0x0080UL
199 #define REPORT_TYPE_DOWNLOADS 0x0100UL
200 #define REPORT_TYPE_USERAGENT 0x0200UL
201 
202 #define DATA_FIELD_USER 0x0001UL
203 #define DATA_FIELD_DATE 0x0002UL
204 #define DATA_FIELD_TIME 0x0004UL
205 #define DATA_FIELD_URL 0x0008UL
206 #define DATA_FIELD_CONNECT 0x0010UL
207 #define DATA_FIELD_BYTES 0x0020UL
208 #define DATA_FIELD_IN_CACHE 0x0040UL
209 #define DATA_FIELD_OUT_CACHE 0x0080UL
210 #define DATA_FIELD_ELAPSED 0x0100UL
211 
212 #define TOPUSERFIELDS_NUM 0x0001UL
213 #define TOPUSERFIELDS_DATE_TIME 0x0002UL
214 #define TOPUSERFIELDS_USERID 0x0004UL
215 #define TOPUSERFIELDS_CONNECT 0x0008UL
216 #define TOPUSERFIELDS_BYTES 0x0010UL
217 #define TOPUSERFIELDS_SETYB 0x0020UL
218 #define TOPUSERFIELDS_IN_CACHE_OUT 0x0040UL
219 #define TOPUSERFIELDS_USED_TIME 0x0080UL
220 #define TOPUSERFIELDS_MILISEC 0x0100UL
221 #define TOPUSERFIELDS_PTIME 0x0200UL
222 #define TOPUSERFIELDS_TOTAL 0x0400UL
223 #define TOPUSERFIELDS_AVERAGE 0x0800UL
224 #define TOPUSERFIELDS_USERIP 0x1000UL
225 
226 #define USERREPORTFIELDS_CONNECT 0x0001UL
227 #define USERREPORTFIELDS_BYTES 0x0002UL
228 #define USERREPORTFIELDS_SETYB 0x0004UL
229 #define USERREPORTFIELDS_IN_CACHE_OUT 0x0008UL
230 #define USERREPORTFIELDS_USED_TIME 0x0010UL
231 #define USERREPORTFIELDS_MILISEC 0x0020UL
232 #define USERREPORTFIELDS_PTIME 0x0040UL
233 #define USERREPORTFIELDS_TOTAL 0x0080UL
234 #define USERREPORTFIELDS_AVERAGE 0x0100UL
235 
236 #define INDEX_YES 0x0001UL
237 #define INDEX_NO 0x0002UL
238 #define INDEX_ONLY 0x0004UL
239 
240 #define INDEX_TREE_DATE 0x0001UL
241 #define INDEX_TREE_FILE 0x0002UL
242 
243 #define INDEXFIELDS_DIRSIZE 0x0001UL
244 
245 #define NTLMUSERFORMAT_USER 0x0001UL
246 #define NTLMUSERFORMAT_DOMAINUSER 0x0002UL
247 
248 #define RECORDWITHOUTUSER_IP 0x0001UL
249 #define RECORDWITHOUTUSER_IGNORE 0x0002UL
250 #define RECORDWITHOUTUSER_EVERYBODY 0x0004UL
251 
252 #define DATAFILEURL_IP 0x0001UL
253 #define DATAFILEURL_NAME 0x0002UL
254 
255 #define DISPLAY_BYTES 0x0001UL
256 #define DISPLAY_ABBREV 0x0002UL
257 
258 #define DATETIME_ELAP 0x0001UL
259 #define DATETIME_BYTE 0x0002UL
260 
261 #define REALTIME_UNAUTH_REC_SHOW 0x0001UL
262 #define REALTIME_UNAUTH_REC_IGNORE 0x0002UL
263 
264 #define SORT_REVERSE 0x0001
265 
266 #define TOPUSER_SORT_REVERSE SORT_REVERSE
267 #define TOPUSER_SORT_BYTES 0x0002UL
268 #define TOPUSER_SORT_USER 0x0004UL
269 #define TOPUSER_SORT_CONNECT 0x0008UL
270 #define TOPUSER_SORT_TIME 0x0010UL
271 
272 #define TOPSITE_SORT_REVERSE SORT_REVERSE
273 #define TOPSITE_SORT_BYTES 0x0002UL
274 #define TOPSITE_SORT_CONNECT 0x0004UL
275 #define TOPSITE_SORT_TIME 0x0008UL
276 #define TOPSITE_SORT_USER 0x0010UL
277 
278 #define USER_SORT_REVERSE SORT_REVERSE
279 #define USER_SORT_BYTES 0x0002UL
280 #define USER_SORT_SITE 0x0004UL
281 #define USER_SORT_CONNECT 0x0008UL
282 #define USER_SORT_TIME 0x0010UL
283 
285 #define HTML_JS_NONE 0x0000
286 #define HTML_JS_SORTTABLE 0x0001
288 
290 #define ALIAS_PREFIX '*'
291 
293 #define MAX_USER_LIMITS 16
294 
296 #define INDEX_HTML_FILE "index.html"
297 
299 {
301  struct tm start;
303  struct tm end;
305  char text[90];
307  char html[90];
308 };
309 
313 char code[MAXLEN];
314 char code2[MAXLEN];
315 char tmp[MAXLEN];
317 char html[MAXLEN];
319 char df;
322 char ReplaceIndex[256];
323 unsigned long int Index;
325 unsigned long int RecordsWithoutUser;
326 bool UseComma;
327 char MailUtility[PATH_MAX];
330 char ExcludeCodes[256];
331 unsigned long int TopsitesSort;
332 unsigned long int ReportType;
333 char UserTabFile[255];
334 char warea[MAXLEN];
335 char name[MAXLEN];
336 bool LongUrl;
337 bool Ip2Name;
339 char Title[MAXLEN];
348 char Width[MAXLEN];
359 unsigned long int TopuserSort;
360 unsigned long int UserSort;
361 char module[255];
362 char ExcludeHosts[255];
363 char ExcludeUsers[255];
365 bool UserIp;
366 char MaxElapsed[255];
367 unsigned long int datetimeby;
368 char CharSet[255];
369 char UserInvalidChar[255];
370 bool Graphs;
372 bool Privacy;
373 char PrivacyString[255];
378 unsigned long int TopUserFields;
379 unsigned long int UserReportFields;
382 unsigned long int DataFileFields;
383 unsigned long int DataFileUrl;
408 unsigned long int DisplayedValues;
413 char BlockIt[255];
414 unsigned long int NtlmUserFormat;
416 unsigned long int IndexTree;
418 unsigned long int IndexFields;
423 char val1[MAXLEN];
424 char val3[MAXLEN];
425 char val5[MAXLEN];
426 char val6[MAXLEN];
427 char val7[MAXLEN];
428 char val8[MAXLEN];
429 char val9[MAXLEN];
430 char val10[MAXLEN];
431 char val11[MAXLEN];
432 char mask[MAXLEN];
433 char site[MAXLEN];
434 char us[50];
435 char email[MAXLEN];
436 char test[1];
437 char user2[MAXLEN];
438 char wentp[512];
439 char addr[MAXLEN];
440 char Ulimit[6];
441 char RealtimeTypes[1024];
442 char cmd[255];
443 char ImageFile[255];
444 unsigned long int RealtimeUnauthRec;
445 char LDAPHost[255];
446 char LDAPBindDN[512];
447 char LDAPBindPW[255];
450 char LDAPBaseSearch[255];
452 char LDAPTargetAttr[64];
457 char SortTableJs[256];
459 char HostAliasFile[512];
461 char UserAliasFile[512];
471 unsigned long int lines_read;
473 unsigned long int records_kept;
475 unsigned long int nusers;
476 
477 int idate;
481 int z1, z2, z3;
482 int ttopen;
484 int isalog;
485 bool dataonly;
487 bool iprel;
489 int debug;
490 int debugz;
500 int rc;
503 bool squid24;
506 
507 long long int nocost;
508 float cost;
ExcludeUsers
char ExcludeUsers[255]
Definition: conf.h:363
idate
int idate
Definition: conf.h:477
val7
char val7[20000]
Definition: conf.h:427
val11
char val11[20000]
Definition: conf.h:431
MAX_REDIRECTOR_FILELEN
#define MAX_REDIRECTOR_FILELEN
Definition: conf.h:184
TitleFontSize
char TitleFontSize[5]
Definition: conf.h:410
val9
char val9[20000]
Definition: conf.h:429
langcode
int langcode
Definition: conf.h:488
LogoImage
char LogoImage[20000]
Definition: conf.h:345
AnonymousOutputFiles
bool AnonymousOutputFiles
True to use anonymous file and directory names in the report.
Definition: conf.h:422
LDAPProtocolVersion
int LDAPProtocolVersion
Definition: conf.h:449
cost
float cost
Definition: conf.h:508
MaxElapsed
char MaxElapsed[255]
Definition: conf.h:366
info.h
TopsitesSort
unsigned long int TopsitesSort
Definition: conf.h:331
DataFile
char DataFile[20000]
Definition: conf.h:380
Ulimit
char Ulimit[6]
Definition: conf.h:440
ShowReadPercent
bool ShowReadPercent
Definition: conf.h:392
RemoveTempFiles
bool RemoveTempFiles
Definition: conf.h:321
rc
int rc
Definition: conf.h:500
IndexSortOrder
char IndexSortOrder[5]
Definition: conf.h:393
HostAliasFile
char HostAliasFile[512]
The name of the file containing the host names to replace by an alias in the report.
Definition: conf.h:459
parse_out
char parse_out[20000]
Definition: conf.h:316
Index
unsigned long int Index
Definition: conf.h:323
TempDir
char TempDir[20000]
Definition: conf.h:355
LDAPNativeCharset
char LDAPNativeCharset[20]
Character set to convert the LDAP returned string to.
Definition: conf.h:454
site
char site[20000]
Definition: conf.h:433
DansguardianFilterOutDate
bool DansguardianFilterOutDate
Definition: conf.h:395
PasswdFile
char PasswdFile[20000]
Definition: conf.h:354
UserInvalidChar
char UserInvalidChar[255]
Definition: conf.h:369
UserTabFile
char UserTabFile[255]
Definition: conf.h:333
outdir
char outdir[20000]
Definition: conf.h:310
addr
char addr[20000]
Definition: conf.h:439
FontFace
char FontFace[20000]
Definition: conf.h:350
NumLogTotalErrors
int NumLogTotalErrors
Definition: conf.h:469
HeaderFontSize
char HeaderFontSize[5]
Definition: conf.h:409
code
char code[20000]
Definition: conf.h:313
RedirectorFilterOutDate
bool RedirectorFilterOutDate
Definition: conf.h:402
module
char module[255]
Definition: conf.h:361
AuthfailReportLimit
int AuthfailReportLimit
Definition: conf.h:491
z3
int z3
Definition: conf.h:481
LDAPFilterSearch
char LDAPFilterSearch[512]
Definition: conf.h:451
LastLog
int LastLog
Definition: conf.h:320
DeniedReportLimit
int DeniedReportLimit
Definition: conf.h:492
RedirectorLogFormat
char RedirectorLogFormat[4096]
Definition: conf.h:398
val5
char val5[20000]
Definition: conf.h:425
KeepTempLog
bool KeepTempLog
True to keep the temporary files for inspection.
Definition: conf.h:505
val3
char val3[20000]
Definition: conf.h:424
AccessLogFromCmdLine
int AccessLogFromCmdLine
Definition: conf.h:338
NRedirectorLogs
int NRedirectorLogs
Definition: conf.h:399
OutputDir
char OutputDir[20000]
Definition: conf.h:357
LDAPHost
char LDAPHost[255]
Definition: conf.h:445
periodstruct
Definition: conf.h:298
ParsedOutputLog
char ParsedOutputLog[20000]
Definition: conf.h:406
HeaderBgColor
char HeaderBgColor[20000]
Definition: conf.h:352
ReplaceIndex
char ReplaceIndex[256]
Definition: conf.h:322
wentp
char wentp[512]
Definition: conf.h:438
redirector_count
int redirector_count
Definition: conf.h:479
MAXLEN
#define MAXLEN
Definition: conf.h:176
TempDirPath
char TempDirPath[20000]
Definition: conf.h:356
TxColor
char TxColor[20000]
Definition: conf.h:342
SquidGuardReportLimit
int SquidGuardReportLimit
Definition: conf.h:496
BgColor
char BgColor[20000]
Definition: conf.h:340
Width
char Width[20000]
Definition: conf.h:348
periodstruct::start
struct tm start
The first date of the period.
Definition: conf.h:301
OutputEmail
char OutputEmail[20000]
Definition: conf.h:358
LDAPPort
int LDAPPort
Definition: conf.h:448
DataFileFields
unsigned long int DataFileFields
Definition: conf.h:382
LogoTextColor
char LogoTextColor[20000]
Definition: conf.h:347
warea
char warea[20000]
Definition: conf.h:334
name
char name[20000]
Definition: conf.h:335
ConfigFile
char ConfigFile[20000]
Definition: conf.h:318
DansGuardianConf
char DansGuardianConf[20000]
Definition: conf.h:394
lines_read
unsigned long int lines_read
Count the number of lines read from the input log files.
Definition: conf.h:471
UserAuthentication
bool UserAuthentication
Definition: conf.h:419
SquidGuarddbHome
char SquidGuarddbHome[255]
Definition: conf.h:397
DisplayedValues
unsigned long int DisplayedValues
Definition: conf.h:408
BgImage
char BgImage[20000]
Definition: conf.h:341
GraphDaysBytesBarColor
char GraphDaysBytesBarColor[255]
Definition: conf.h:371
DateFormat
char DateFormat
Definition: conf.h:364
val6
char val6[20000]
Definition: conf.h:426
UserSort
unsigned long int UserSort
Definition: conf.h:360
HeaderColor
char HeaderColor[20000]
Definition: conf.h:351
IndexFields
unsigned long int IndexFields
The columns to show in the index of the reports.
Definition: conf.h:418
wwwDocumentRoot
char wwwDocumentRoot[20000]
Definition: conf.h:411
ReportType
unsigned long int ReportType
Definition: conf.h:332
SortTableJs
char SortTableJs[256]
The full path to sorttable.js if the table in the reports must be dynamicaly sorted.
Definition: conf.h:457
IndexTree
unsigned long int IndexTree
How to display the index of the reports.
Definition: conf.h:416
email
char email[20000]
Definition: conf.h:435
UserReportLimit
int UserReportLimit
Definition: conf.h:497
ImageFile
char ImageFile[255]
Definition: conf.h:443
mask
char mask[20000]
Definition: conf.h:432
val1
char val1[20000]
Definition: conf.h:423
TopUsersNum
int TopUsersNum
Definition: conf.h:329
periodstruct::html
char html[90]
The HTML representation of the date.
Definition: conf.h:307
datetimeby
unsigned long int datetimeby
Definition: conf.h:367
sarglog
int sarglog
Definition: conf.h:483
TopUserFields
unsigned long int TopUserFields
Definition: conf.h:378
gettext.h
nocost
long long int nocost
Definition: conf.h:507
UserAliasFile
char UserAliasFile[512]
The name of the file containing the user names to replace by an alias in the report.
Definition: conf.h:461
ParsedOutputLogCompress
char ParsedOutputLogCompress[512]
Definition: conf.h:407
df
char df
Definition: conf.h:319
dataonly
bool dataonly
Definition: conf.h:485
z2
int z2
Definition: conf.h:481
RealtimeUnauthRec
unsigned long int RealtimeUnauthRec
Definition: conf.h:444
ExcludeString
char ExcludeString[20000]
Definition: conf.h:376
BytesInSitesUsersReport
bool BytesInSitesUsersReport
Definition: conf.h:404
bool
int bool
Definition: conf.h:114
SuccessfulMsg
bool SuccessfulMsg
Definition: conf.h:377
ExternalCSSFile
char ExternalCSSFile[20000]
Definition: conf.h:412
RedirectorLogFromCmdLine
int RedirectorLogFromCmdLine
Definition: conf.h:401
DownloadReportLimit
int DownloadReportLimit
Definition: conf.h:493
Height
char Height[20000]
Definition: conf.h:349
iprel
bool iprel
Definition: conf.h:487
val8
char val8[20000]
Definition: conf.h:428
ExcludeCodes
char ExcludeCodes[256]
Definition: conf.h:330
ntopsites
int ntopsites
Definition: conf.h:501
NtlmUserFormat
unsigned long int NtlmUserFormat
Definition: conf.h:414
test
char test[1]
Definition: conf.h:436
SiteUsersReportLimit
int SiteUsersReportLimit
Definition: conf.h:494
LDAPTargetAttr
char LDAPTargetAttr[64]
Definition: conf.h:452
UserReportFields
unsigned long int UserReportFields
Definition: conf.h:379
Privacy
bool Privacy
Definition: conf.h:372
squid24
bool squid24
Definition: conf.h:503
IncludeUsers
char IncludeUsers[20000]
Definition: conf.h:375
ttopen
int ttopen
Definition: conf.h:482
LDAPBaseSearch
char LDAPBaseSearch[255]
Definition: conf.h:450
realtime_refresh
int realtime_refresh
Definition: conf.h:498
ShowSargInfo
bool ShowSargInfo
Definition: conf.h:403
TiColor
char TiColor[20000]
Definition: conf.h:344
dansguardian_count
int dansguardian_count
Definition: conf.h:478
PrivacyString
char PrivacyString[255]
Definition: conf.h:373
AuthUserTemplateFile
char AuthUserTemplateFile[1024]
Definition: conf.h:420
ShowSargLogo
bool ShowSargLogo
Definition: conf.h:405
FontSize
char FontSize[20000]
Definition: conf.h:353
periodstruct::text
char text[90]
The textual representation of the date.
Definition: conf.h:305
code2
char code2[20000]
Definition: conf.h:314
us
char us[50]
Definition: conf.h:434
LDAPBindPW
char LDAPBindPW[255]
Definition: conf.h:447
NumLogSuccessiveErrors
int NumLogSuccessiveErrors
The number of consecutive errors allowed in an input log file before the process is interrupted.
Definition: conf.h:463
SquidGuardConf
char SquidGuardConf[20000]
Definition: conf.h:396
PrivacyStringColor
char PrivacyStringColor[30]
Definition: conf.h:374
tmp
char tmp[20000]
Definition: conf.h:315
RealtimeTypes
char RealtimeTypes[1024]
Definition: conf.h:441
useragent_count
int useragent_count
Definition: conf.h:480
config.h
TopuserSort
unsigned long int TopuserSort
Definition: conf.h:359
CharSet
char CharSet[255]
Definition: conf.h:368
MAX_REDIRECTOR_LOGS
#define MAX_REDIRECTOR_LOGS
Definition: conf.h:183
LogoText
char LogoText[20000]
Definition: conf.h:346
LDAPBindDN
char LDAPBindDN[512]
Definition: conf.h:446
outdirname
char outdirname[20000]
Definition: conf.h:311
html
char html[20000]
Definition: conf.h:317
btree_cache.h
DataFileDelimiter
char DataFileDelimiter[3]
Definition: conf.h:381
BlockIt
char BlockIt[255]
Definition: conf.h:413
RecordsWithoutUser
unsigned long int RecordsWithoutUser
Definition: conf.h:325
z1
int z1
Definition: conf.h:481
RedirectorLogs
char RedirectorLogs[64][1024]
Definition: conf.h:400
DansGuardianReportLimit
int DansGuardianReportLimit
Definition: conf.h:495
debugz
int debugz
Definition: conf.h:490
period
struct periodstruct period
Definition: conf.h:312
cmd
char cmd[255]
Definition: conf.h:442
ExcludeHosts
char ExcludeHosts[255]
Definition: conf.h:362
val10
char val10[20000]
Definition: conf.h:430
TopSitesNum
int TopSitesNum
Definition: conf.h:328
realtime_access_log_lines
int realtime_access_log_lines
Definition: conf.h:499
DataFileUrl
unsigned long int DataFileUrl
Definition: conf.h:383
Title
char Title[20000]
Definition: conf.h:339
indexonly
bool indexonly
Definition: conf.h:486
MailUtility
char MailUtility[PATH_MAX]
Definition: conf.h:327
ShowReadStatistics
bool ShowReadStatistics
if true, show the number of lines read from the input log file during the reading of the file.
Definition: conf.h:385
nusers
unsigned long int nusers
Count the number of users.
Definition: conf.h:475
periodstruct::end
struct tm end
The last date of the period.
Definition: conf.h:303
UserIp
bool UserIp
Definition: conf.h:365
LongUrl
bool LongUrl
Definition: conf.h:336
records_kept
unsigned long int records_kept
Count the number of records kept for the processing.
Definition: conf.h:473
OverwriteReport
bool OverwriteReport
Definition: conf.h:324
debug
int debug
Definition: conf.h:489
TxBgColor
char TxBgColor[20000]
Definition: conf.h:343
user2
char user2[20000]
Definition: conf.h:437
Ip2Name
bool Ip2Name
Definition: conf.h:337
UseComma
bool UseComma
Definition: conf.h:326
isalog
int isalog
Definition: conf.h:484
Graphs
bool Graphs
Definition: conf.h:370
nrepday
int nrepday
Definition: conf.h:502
GraphFont
char GraphFont[20000]
Definition: conf.h:455