summaryrefslogtreecommitdiff
path: root/security/drweb/files/patch-aa
blob: c40169b94b75e11c1c80e0b836d94ed13307eb4f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
--- etc/drweb/drweb32.ini.orig	Sat May 11 16:44:26 2002
+++ etc/drweb/drweb32.ini	Mon May 13 18:46:14 2002
@@ -1,11 +1,11 @@
 [BSD]
-EnginePath = "/opt/drweb/lib/drweb32.dll"
-VirusBase = "/var/drweb/bases/*.vdb"
-MoveFilesTo = "/var/drweb/infected"
-;LngFileName = "/opt/drweb/lib/russian.dwl"
+EnginePath = "%INSTALL%/lib/drweb32.dll"
+VirusBase = "%INSTALL%/bases/*.vdb"
+MoveFilesTo = "%INSTALL%/infected"
+;LngFileName = "%INSTALL%/lib/russian.dwl"
 
-Key = "/opt/drweb/drweb.key"
-LogFileName = "/var/drweb/log/drweb.log"
+Key = "%INSTALL%/drweb.key"
+LogFileName = "/dev/null"
 RenameFilesTo = #??
 FilesTypes = EXE,COM,SYS,OV?,BAT,BIN,DRV,PRG,BOO,SCR,CMD,VXD,386,DLL,FON,DO?
 FilesTypes = XL?,WIZ,RTF,CL*,HT*,VB*,JS*,INF,AR?,ZIP,R??,PP?,OBJ,LIB,HLP,MD?
@@ -30,39 +30,39 @@
 ScanSubDirectories = Yes
 PromptOnAction = No
 LimitLog = No
-MaxLogSize = 512
+;MaxLogSize = 512
 OutputMode = Terminal
 FollowLinks = No
 
-UpdatePath = "/opt/drweb/updates"
+UpdatePath = "%INSTALL%/updates"
 
 [BSD:Daemon]
-EnginePath = "/opt/drweb/lib/drweb32.dll"
-VirusBase = "/var/drweb/bases/*.vdb"
-MoveFilesTo = "/var/drweb/infected"
-;LngFileName = "/opt/drweb/lib/russian.dwl"
+EnginePath = "%INSTALL%/lib/drweb32.dll"
+VirusBase = "%INSTALL%/bases/*.vdb"
+MoveFilesTo = "%INSTALL%/infected"
+;LngFileName = "%INSTALL%/lib/russian.dwl"
 
-Key = "/opt/drweb/drwebd.key"
+Key = "%INSTALL%/drwebd.key"
 LogTime = Yes
 LogFileName = "syslog"
-;LogFileName = "/var/drweb/log/drwebd.log"
-;BusyFile = "/var/drweb/run/drwebd.bsy"
-SocketMode = TCP
-SocketFile = "/var/drweb/run/drwebd.socket"
-;SocketMode = Unix
-;SocketAccess 0666
+PidFile = "%INSTALL%/run/drwebd.pid"
+;BusyFile = "%INSTALL%/run/drwebd.bsy"
+;SocketMode = TCP
+SocketFile = "%INSTALL%/run/drwebd.sock"
+SocketMode = Unix
+SocketAccess 0660
 DaemonPort = 3000
 SocketTimeout = 40
 SocketReuseAddr = Yes
-FileTimeout = 5
-OutputMode = Terminal
+FileTimeout = 10
+OutputMode = Quiet
 LimitLog = No
-MaxLogSize = 512
+;MaxLogSize = 512
 LogScanned = Yes
 LogInfo = Yes
 LogPacked = Yes
 Interfaces = "localhost"
-;User = drweb
+User = drweb
 ;UserID = 
 ;GroupID = 
 ScanFiles = All
@@ -72,8 +72,8 @@
 SyslogPriority = "Alert"
 
 FilterRule X-Mailer ".*Mass.*Sender.*" Reject
-FilterRule To ".*undisclosed.*recipient.*" Reject
-FilterRule Subject ".*free.*xxx.*" Reject
+;FilterRule To ".*undisclosed.*recipient.*" Reject
+;FilterRule Subject ".*free.*xxx.*" Reject
 
-UpdatePath = "/opt/drweb/updates"
-InfectedFiles = Cure
+UpdatePath = "%INSTALL%/updates"
+;InfectedFiles = Cure