This file is indexed.

/usr/share/augeas/lenses/dist/tests/test_clamav.aug is in augeas-lenses 1.4.0-0ubuntu1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  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
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
module Test_ClamAV =

let clamd_conf ="##
## Example config file for the Clam AV daemon
## Please read the clamd.conf(5) manual before editing this file.
##

# Comment or remove the line below.
Example
# LogFile must be writable for the user running daemon.
LogFile /var/log/clamav/clamd.log
LogFileUnlock yes
LogFileMaxSize 0
LogTime yes
LogClean yes
LogSyslog yes
LogFacility LOG_MAIL
LogVerbose yes
LogRotate yes
ExtendedDetectionInfo yes
PidFile /var/run/clamav/clamd.pid
TemporaryDirectory /var/tmp
DatabaseDirectory /var/lib/clamav
OfficialDatabaseOnly no
LocalSocket /var/run/clamav/clamd.sock
LocalSocketGroup virusgroup
LocalSocketMode 660
FixStaleSocket yes
TCPSocket 3310
TCPAddr 127.0.0.1
MaxConnectionQueueLength 30
StreamMaxLength 10M
StreamMinPort 30000
StreamMaxPort 32000
MaxThreads 50
ReadTimeout 300
CommandReadTimeout 5
SendBufTimeout 200
MaxQueue 200
IdleTimeout 60
ExcludePath ^/proc/
ExcludePath ^/sys/
MaxDirectoryRecursion 20
FollowDirectorySymlinks yes
FollowFileSymlinks yes
CrossFilesystems yes
SelfCheck 600
VirusEvent /usr/local/bin/send_sms 123456789 \"VIRUS ALERT: %v\"
User clam
AllowSupplementaryGroups yes
ExitOnOOM yes
Foreground yes
Debug yes
LeaveTemporaryFiles yes
AllowAllMatchScan no
DetectPUA yes
ExcludePUA NetTool
ExcludePUA PWTool
IncludePUA Spy
IncludePUA Scanner
IncludePUA RAT
AlgorithmicDetection yes
ForceToDisk yes
DisableCache yes
ScanPE yes
DisableCertCheck yes
ScanELF yes
DetectBrokenExecutables yes
ScanOLE2 yes
OLE2BlockMacros no
ScanPDF yes
ScanSWF yes
ScanMail yes
ScanPartialMessages yes
PhishingSignatures yes
PhishingScanURLs yes
PhishingAlwaysBlockSSLMismatch no
PhishingAlwaysBlockCloak no
PartitionIntersection no
HeuristicScanPrecedence yes
StructuredDataDetection yes
StructuredMinCreditCardCount 5
StructuredMinSSNCount 5
StructuredSSNFormatNormal yes
StructuredSSNFormatStripped yes
ScanHTML yes
ScanArchive yes
ArchiveBlockEncrypted no
MaxScanSize 150M
MaxFileSize 30M
MaxRecursion 10
MaxFiles 15000
MaxEmbeddedPE 10M
MaxHTMLNormalize 10M
"

let freshclam_conf ="##
## Example config file for freshclam
## Please read the freshclam.conf(5) manual before editing this file.
##


# Comment or remove the line below.
Example

DatabaseDirectory /var/lib/clamav
UpdateLogFile /var/log/clamav/freshclam.log
LogFileMaxSize 2M
LogTime yes
LogVerbose yes
LogSyslog yes
LogFacility LOG_MAIL
LogRotate yes
PidFile /var/run/freshclam.pid
DatabaseOwner clam
AllowSupplementaryGroups yes
DNSDatabaseInfo current.cvd.clamav.net
DatabaseMirror db.XY.clamav.net
DatabaseMirror database.clamav.net
MaxAttempts 5
ScriptedUpdates yes
CompressLocalDatabase no
DatabaseCustomURL http://myserver.com/mysigs.ndb
DatabaseCustomURL file:///mnt/nfs/local.hdb
PrivateMirror mirror1.mynetwork.com
PrivateMirror mirror2.mynetwork.com
Checks 24
HTTPProxyServer myproxy.com
HTTPProxyPort 1234
HTTPProxyUsername myusername
HTTPProxyPassword mypass
HTTPUserAgent SomeUserAgentIdString
LocalIPAddress aaa.bbb.ccc.ddd
NotifyClamd /etc/clamd.conf
OnUpdateExecute command
OnErrorExecute command
OnOutdatedExecute command
Foreground yes
Debug yes
ConnectTimeout 60
ReceiveTimeout 60
TestDatabases yes
SubmitDetectionStats /etc/clamd.conf
DetectionStatsCountry za
DetectionStatsCountry zw
SafeBrowsing yes
Bytecode yes
ExtraDatabase dbname1
ExtraDatabase dbname2
"

test ClamAV.lns get clamd_conf =
    { "#comment" = "#" }
    { "#comment" = "# Example config file for the Clam AV daemon" }
    { "#comment" = "# Please read the clamd.conf(5) manual before editing this file." }
    { "#comment" = "#" }
    {  }
    { "#comment" = "Comment or remove the line below." }
    { "Example" }
    { "#comment" = "LogFile must be writable for the user running daemon." }
    { "LogFile" = "/var/log/clamav/clamd.log" }
    { "LogFileUnlock" = "yes" }
    { "LogFileMaxSize" = "0" }
    { "LogTime" = "yes" }
    { "LogClean" = "yes" }
    { "LogSyslog" = "yes" }
    { "LogFacility" = "LOG_MAIL" }
    { "LogVerbose" = "yes" }
    { "LogRotate" = "yes" }
    { "ExtendedDetectionInfo" = "yes" }
    { "PidFile" = "/var/run/clamav/clamd.pid" }
    { "TemporaryDirectory" = "/var/tmp" }
    { "DatabaseDirectory" = "/var/lib/clamav" }
    { "OfficialDatabaseOnly" = "no" }
    { "LocalSocket" = "/var/run/clamav/clamd.sock" }
    { "LocalSocketGroup" = "virusgroup" }
    { "LocalSocketMode" = "660" }
    { "FixStaleSocket" = "yes" }
    { "TCPSocket" = "3310" }
    { "TCPAddr" = "127.0.0.1" }
    { "MaxConnectionQueueLength" = "30" }
    { "StreamMaxLength" = "10M" }
    { "StreamMinPort" = "30000" }
    { "StreamMaxPort" = "32000" }
    { "MaxThreads" = "50" }
    { "ReadTimeout" = "300" }
    { "CommandReadTimeout" = "5" }
    { "SendBufTimeout" = "200" }
    { "MaxQueue" = "200" }
    { "IdleTimeout" = "60" }
    { "ExcludePath" = "^/proc/" }
    { "ExcludePath" = "^/sys/" }
    { "MaxDirectoryRecursion" = "20" }
    { "FollowDirectorySymlinks" = "yes" }
    { "FollowFileSymlinks" = "yes" }
    { "CrossFilesystems" = "yes" }
    { "SelfCheck" = "600" }
    { "VirusEvent" = "/usr/local/bin/send_sms 123456789 \"VIRUS ALERT: %v\"" }
    { "User" = "clam" }
    { "AllowSupplementaryGroups" = "yes" }
    { "ExitOnOOM" = "yes" }
    { "Foreground" = "yes" }
    { "Debug" = "yes" }
    { "LeaveTemporaryFiles" = "yes" }
    { "AllowAllMatchScan" = "no" }
    { "DetectPUA" = "yes" }
    { "ExcludePUA" = "NetTool" }
    { "ExcludePUA" = "PWTool" }
    { "IncludePUA" = "Spy" }
    { "IncludePUA" = "Scanner" }
    { "IncludePUA" = "RAT" }
    { "AlgorithmicDetection" = "yes" }
    { "ForceToDisk" = "yes" }
    { "DisableCache" = "yes" }
    { "ScanPE" = "yes" }
    { "DisableCertCheck" = "yes" }
    { "ScanELF" = "yes" }
    { "DetectBrokenExecutables" = "yes" }
    { "ScanOLE2" = "yes" }
    { "OLE2BlockMacros" = "no" }
    { "ScanPDF" = "yes" }
    { "ScanSWF" = "yes" }
    { "ScanMail" = "yes" }
    { "ScanPartialMessages" = "yes" }
    { "PhishingSignatures" = "yes" }
    { "PhishingScanURLs" = "yes" }
    { "PhishingAlwaysBlockSSLMismatch" = "no" }
    { "PhishingAlwaysBlockCloak" = "no" }
    { "PartitionIntersection" = "no" }
    { "HeuristicScanPrecedence" = "yes" }
    { "StructuredDataDetection" = "yes" }
    { "StructuredMinCreditCardCount" = "5" }
    { "StructuredMinSSNCount" = "5" }
    { "StructuredSSNFormatNormal" = "yes" }
    { "StructuredSSNFormatStripped" = "yes" }
    { "ScanHTML" = "yes" }
    { "ScanArchive" = "yes" }
    { "ArchiveBlockEncrypted" = "no" }
    { "MaxScanSize" = "150M" }
    { "MaxFileSize" = "30M" }
    { "MaxRecursion" = "10" }
    { "MaxFiles" = "15000" }
    { "MaxEmbeddedPE" = "10M" }
    { "MaxHTMLNormalize" = "10M" }

test ClamAV.lns get freshclam_conf =
    { "#comment" = "#" }
    { "#comment" = "# Example config file for freshclam" }
    { "#comment" = "# Please read the freshclam.conf(5) manual before editing this file." }
    { "#comment" = "#" }
    {  }
    {  }
    { "#comment" = "Comment or remove the line below." }
    { "Example" }
    {  }
    { "DatabaseDirectory" = "/var/lib/clamav" }
    { "UpdateLogFile" = "/var/log/clamav/freshclam.log" }
    { "LogFileMaxSize" = "2M" }
    { "LogTime" = "yes" }
    { "LogVerbose" = "yes" }
    { "LogSyslog" = "yes" }
    { "LogFacility" = "LOG_MAIL" }
    { "LogRotate" = "yes" }
    { "PidFile" = "/var/run/freshclam.pid" }
    { "DatabaseOwner" = "clam" }
    { "AllowSupplementaryGroups" = "yes" }
    { "DNSDatabaseInfo" = "current.cvd.clamav.net" }
    { "DatabaseMirror" = "db.XY.clamav.net" }
    { "DatabaseMirror" = "database.clamav.net" }
    { "MaxAttempts" = "5" }
    { "ScriptedUpdates" = "yes" }
    { "CompressLocalDatabase" = "no" }
    { "DatabaseCustomURL" = "http://myserver.com/mysigs.ndb" }
    { "DatabaseCustomURL" = "file:///mnt/nfs/local.hdb" }
    { "PrivateMirror" = "mirror1.mynetwork.com" }
    { "PrivateMirror" = "mirror2.mynetwork.com" }
    { "Checks" = "24" }
    { "HTTPProxyServer" = "myproxy.com" }
    { "HTTPProxyPort" = "1234" }
    { "HTTPProxyUsername" = "myusername" }
    { "HTTPProxyPassword" = "mypass" }
    { "HTTPUserAgent" = "SomeUserAgentIdString" }
    { "LocalIPAddress" = "aaa.bbb.ccc.ddd" }
    { "NotifyClamd" = "/etc/clamd.conf" }
    { "OnUpdateExecute" = "command" }
    { "OnErrorExecute" = "command" }
    { "OnOutdatedExecute" = "command" }
    { "Foreground" = "yes" }
    { "Debug" = "yes" }
    { "ConnectTimeout" = "60" }
    { "ReceiveTimeout" = "60" }
    { "TestDatabases" = "yes" }
    { "SubmitDetectionStats" = "/etc/clamd.conf" }
    { "DetectionStatsCountry" = "za" }
    { "DetectionStatsCountry" = "zw" }
    { "SafeBrowsing" = "yes" }
    { "Bytecode" = "yes" }
    { "ExtraDatabase" = "dbname1" }
    { "ExtraDatabase" = "dbname2" }