Commit Graph

335 Commits

Author SHA1 Message Date
Tomasz Kojm
6eef8704ef check both st_dev and st_ino in move_infected()
git-svn: trunk@3280
2007-10-08 16:11:29 +00:00
Tomasz Kojm
0481657e96 print version details for engine and databases
git-svn: trunk@3279
2007-10-08 16:01:15 +00:00
Tomasz Kojm
73b243dc40 fix some warnings
git-svn: trunk@3278
2007-10-08 14:43:32 +00:00
Tomasz Kojm
1b38f50dea add support for LogFileMaxSize and LogTime
git-svn: trunk@3277
2007-10-08 13:07:57 +00:00
aCaB
f5354453e0 check return value of gentemp()
git-svn: trunk@3276
2007-10-06 11:37:44 +00:00
Török Edvin
8ea27f5c18 fix some warnings
git-svn: trunk@3275
2007-10-06 08:47:46 +00:00
Tomasz Kojm
aae6f809b4 shutdown conn->sd when exiting scanner_thread() (bb#674)
git-svn: trunk@3274
2007-10-06 00:10:16 +00:00
Tomasz Kojm
38fe8af4ff better error checking/reporting (bb#657)
git-svn: trunk@3273
2007-10-05 23:48:44 +00:00
Tomasz Kojm
e6fe106ee3 enable FixStaleSocket by default
git-svn: trunk@3272
2007-10-05 23:23:43 +00:00
Tomasz Kojm
d22970ec44 print filename when using --info (bb#513)
git-svn: trunk@3271
2007-10-05 21:55:02 +00:00
Tomasz Kojm
b07f9a5eba fix bb#495
git-svn: trunk@3270
2007-10-05 21:48:57 +00:00
Tomasz Kojm
3dad68eb73 code cleanup
git-svn: trunk@3269
2007-10-05 13:29:59 +00:00
Nigel Horne
4a5aa10e68 Corrected comment on the meaning of NTRIES
git-svn: trunk@3267
2007-10-05 11:02:23 +00:00
Tomasz Kojm
4286022819 fix range calculation for multipart sigs with string alternatives
git-svn: trunk@3266
2007-10-04 13:56:48 +00:00
Tomasz Kojm
1deda3bbe4 downgrade "file not found on remote server" to warning
git-svn: trunk@3265
2007-10-04 12:15:15 +00:00
Török Edvin
2e3e071963 make CL_SCAN_STDOPT consistent with clamscan/clamd's defaults.
git-svn: trunk@3264
2007-10-03 16:07:45 +00:00
Török Edvin
7191e94bd9 avoid some false positives when there are spaces in URL.
git-svn: trunk@3263
2007-10-03 12:53:09 +00:00
Tomasz Kojm
1a648b3717 add basic support for string alternatives; optimise bfs_enqueue/dequeue
git-svn: trunk@3262
2007-10-03 00:31:52 +00:00
Török Edvin
a57cfac603 remove incorrect free_if_needed call
git-svn: trunk@3261
2007-10-02 20:35:12 +00:00
Török Edvin
830c1eaed2 avoid false positives with outbind:// URLs
git-svn: trunk@3260
2007-10-02 20:19:31 +00:00
Nigel Horne
0cd8e40b5e More informative message when SPF record is passed
git-svn: trunk@3259
2007-10-01 13:47:12 +00:00
Nigel Horne
d563818f90 Increase the chance of a stack trace being printed
git-svn: trunk@3258
2007-10-01 10:35:02 +00:00
Török Edvin
97ba1aed4b more improvements to the algorithm.
git-svn: trunk@3257
2007-09-30 21:00:05 +00:00
Török Edvin
ecd2643ba9 fix off by one substring logic.
git-svn: trunk@3256
2007-09-28 18:45:58 +00:00
Török Edvin
7da9bd64eb fix NULL deref. bug, use of uninitialized variable, and memory leak from yesterday's commit.
Changelog: add log message for r3254 from svn log, forgot to update Changelog yesterday (oops)


git-svn: trunk@3255
2007-09-28 18:05:17 +00:00
Tomasz Kojm
ecf5865b53 minor optimisation
git-svn: trunk@3251
2007-09-26 22:18:44 +00:00
Nigel Horne
fe8727bce2 Only use strcasestr on Linux
git-svn: trunk@3246
2007-09-25 10:27:45 +00:00
Nigel Horne
27729d4058 MailFollowURLS: detect Trojan.IRC-Script-33
git-svn: trunk@3240
2007-09-23 13:37:03 +00:00
Török Edvin
2782c74315 seek on the underlying file descriptor and not FILE*.
Avoids problems on OpenBSD with cvd unpacking.


git-svn: trunk@3239
2007-09-22 16:00:41 +00:00
Török Edvin
6295dc5cdc configure, configure.in: add comment on origin of testcases.
git-svn: trunk@3237
2007-09-21 16:26:26 +00:00
aCaB
618943537c Avoid variadic macroes make vc6 happy.
git-svn: trunk@3236
2007-09-20 23:21:01 +00:00
Török Edvin
f33a4e578d use cli_regcomp(), instead of regcomp().
[patch idea approved by TK]


git-svn: trunk@3235
2007-09-20 22:03:53 +00:00
Török Edvin
cbc69ae811 add check to detect certain compiler bugs that cause incorrect code generation for CLI_ISCONTAINED.
So we avoid having bugs like #613, and #670 reported over and over.


git-svn: trunk@3234
2007-09-20 22:00:04 +00:00
Török Edvin
6a929d834c improve url extraction algorithm.
git-svn: trunk@3233
2007-09-20 21:05:11 +00:00
Nigel Horne
6ab97c201e Plug leak on SPF error handling
git-svn: trunk@3232
2007-09-20 11:07:00 +00:00
Tomasz Kojm
9187ef9027 properly handle alternatives in the new approach
git-svn: trunk@3227
2007-09-18 18:37:48 +00:00
Nigel Horne
ddae845f96 _POSIX2_RE_DUP_MAX
git-svn: trunk@3226
2007-09-18 13:32:31 +00:00
Török Edvin
53ff1b0490 add regcomp(), regexec() impl. from OpenBSD's libc.
This code is licensed under the 3-clause BSD.
This will be used instead of system provided regexec()/regcomp() to
have consistent behaviour across platforms.


git-svn: trunk@3225
2007-09-17 18:54:56 +00:00
Nigel Horne
584aadd53b Bugs 665/667
git-svn: trunk@3224
2007-09-17 16:59:02 +00:00
Nigel Horne
164ba3b808 Bug 664
git-svn: trunk@3223
2007-09-17 14:23:52 +00:00
aCaB
b57836c45d s/buff/epbuff/
git-svn: trunk@3222
2007-09-15 16:27:05 +00:00
Nigel Horne
73ddf91f87 More cleanups
git-svn: trunk@3221
2007-09-15 09:00:57 +00:00
Tomasz Kojm
c01ff22d4b minor optimisation
git-svn: trunk@3220
2007-09-14 19:04:14 +00:00
Nigel Horne
fb1487297c --enable-debug: fix assertion
git-svn: trunk@3219
2007-09-14 09:51:17 +00:00
Tomasz Kojm
e38ab7c147 various speed optimisations
git-svn: trunk@3218
2007-09-13 18:14:20 +00:00
Nigel Horne
be32043eb7 More optimisations
git-svn: trunk@3217
2007-09-13 17:25:37 +00:00
aCaB
5f7aa0c49f typo in upack checks
git-svn: trunk@3216
2007-09-13 12:49:46 +00:00
aCaB
a993c5ad0d Shut up a few warnings and fix some typoes
git-svn: trunk@3214
2007-09-13 11:26:26 +00:00
Nigel Horne
94f051b0ac More optimisations
git-svn: trunk@3213
2007-09-12 13:25:13 +00:00
Nigel Horne
30e18cafbe Various code clean ups and optimisations
git-svn: trunk@3212
2007-09-11 10:22:49 +00:00