/[smecontribs]/rpms/smeserver-rkhunter/contribs10/smeserver-rkhunter-1.4.0.more_options2rkhunter-conf.patch
ViewVC logotype

Contents of /rpms/smeserver-rkhunter/contribs10/smeserver-rkhunter-1.4.0.more_options2rkhunter-conf.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Fri Oct 9 14:26:36 2020 UTC (4 years, 1 month ago) by brianr
Branch: MAIN
CVS Tags: smeserver-rkhunter-1_4_0-6_el7_sme, smeserver-rkhunter-1_4_0-5_el7_sme, smeserver-rkhunter-1_4_0-7_el7_sme, HEAD
Initial import

1 diff -Nur smeserver-rkhunter-1.4.0.old/root/etc/e-smith/templates/etc/rkhunter.conf/120FilesPropertiesChecks smeserver-rkhunter-1.4.0.new/root/etc/e-smith/templates/etc/rkhunter.conf/120FilesPropertiesChecks
2 --- smeserver-rkhunter-1.4.0.old/root/etc/e-smith/templates/etc/rkhunter.conf/120FilesPropertiesChecks 1970-01-01 01:00:00.000000000 +0100
3 +++ smeserver-rkhunter-1.4.0.new/root/etc/e-smith/templates/etc/rkhunter.conf/120FilesPropertiesChecks 2015-08-18 21:24:22.280859226 +0200
4 @@ -0,0 +1,50 @@
5 +#
6 +# These options specify a command, directory or file pathname which will be
7 +# included or excluded in the file properties checks.
8 +#
9 +# For the USER_FILEPROP_FILES_DIRS option, simple command names - for example,
10 +# 'top' - and directory names are added to the internal list of directories to
11 +# be searched for each of the command names in the command list. Additionally,
12 +# full pathnames to files, which need not be commands, may be given. Any files
13 +# or directories which are already part of the internal lists will be silently
14 +# ignored from the configuration.
15 +#
16 +# For the USER_FILEPROP_FILES_DIRS option, wildcards are allowed, except for
17 +# simple command names.
18 +# For example, 'top*' cannot be given, but '/usr/bin/top*' is allowed.
19 +#
20 +# Specific files may be excluded by using the EXCLUDE_USER_FILEPROP_FILES_DIRS
21 +# option. Wildcards may be used with this option.
22 +#
23 +# By combining these two options, and using wildcards, whole directories can be
24 +# excluded. For example:
25 +#
26 +# USER_FILEPROP_FILES_DIRS=/etc/*
27 +# USER_FILEPROP_FILES_DIRS=/etc/*/*
28 +# EXCLUDE_USER_FILEPROP_FILES_DIRS=/etc/rc?.d/*
29 +#
30 +# This will look for files in the first two directory levels of '/etc'. However,
31 +# anything in '/etc/rc0.d', '/etc/rc1.d', '/etc/rc2.d' and so on, will be
32 +# excluded.
33 +#
34 +# NOTE: Only files and directories which have been added by the user, and are
35 +# not part of the internal lists, can be excluded. So, for example, it is not
36 +# possible to exclude the 'ps' command by using '/bin/ps'. These will be
37 +# silently ignored from the configuration.
38 +#
39 +# Both options can be specified more than once.
40 +#
41 +# NOTE: Whenever these options are changed 'rkhunter --propupd' must be run.
42 +#
43 +# The default value for both options is the null string.
44 +#
45 +#USER_FILEPROP_FILES_DIRS=top
46 +#USER_FILEPROP_FILES_DIRS=/usr/local/sbin
47 +#USER_FILEPROP_FILES_DIRS=/etc/rkhunter.conf
48 +#USER_FILEPROP_FILES_DIRS=/etc/rkhunter.conf.local
49 +#USER_FILEPROP_FILES_DIRS=/var/lib/rkhunter/db/*
50 +#USER_FILEPROP_FILES_DIRS=/var/lib/rkhunter/db/i18n/*
51 +#EXCLUDE_USER_FILEPROP_FILES_DIRS=/opt/ps*
52 +#EXCLUDE_USER_FILEPROP_FILES_DIRS=/var/lib/rkhunter/db/mirrors.dat
53 +#EXCLUDE_USER_FILEPROP_FILES_DIRS=/var/lib/rkhunter/db/rkhunter*
54 +
55 diff -Nur smeserver-rkhunter-1.4.0.old/root/etc/e-smith/templates/etc/rkhunter.conf/120IgnorePrelink smeserver-rkhunter-1.4.0.new/root/etc/e-smith/templates/etc/rkhunter.conf/120IgnorePrelink
56 --- smeserver-rkhunter-1.4.0.old/root/etc/e-smith/templates/etc/rkhunter.conf/120IgnorePrelink 1970-01-01 01:00:00.000000000 +0100
57 +++ smeserver-rkhunter-1.4.0.new/root/etc/e-smith/templates/etc/rkhunter.conf/120IgnorePrelink 2015-08-18 21:22:31.047811621 +0200
58 @@ -0,0 +1,18 @@
59 +#
60 +# This option can be used to tell rkhunter to ignore any prelink dependency
61 +# errors for the given commands. However, a warning will also be issued if the
62 +# error does not occur for a given command. As such this option must only be
63 +# used on commands which experience a persistent problem.
64 +#
65 +# Short-term prelink dependency errors can usually be resolved simply by
66 +# running the 'prelink' command on the given pathname.
67 +#
68 +# This is a space-separated list of command pathnames. The option can be
69 +# specified more than once.
70 +#
71 +# NOTE: Whenever this option is changed 'rkhunter --propupd' must be run.
72 +#
73 +# The default value is the null string.
74 +#
75 +#IGNORE_PRELINK_DEP_ERR=/bin/ps /usr/bin/top
76 +
77 diff -Nur smeserver-rkhunter-1.4.0.old/root/etc/e-smith/templates/etc/rkhunter.conf/120LookTimeDate smeserver-rkhunter-1.4.0.new/root/etc/e-smith/templates/etc/rkhunter.conf/120LookTimeDate
78 --- smeserver-rkhunter-1.4.0.old/root/etc/e-smith/templates/etc/rkhunter.conf/120LookTimeDate 1970-01-01 01:00:00.000000000 +0100
79 +++ smeserver-rkhunter-1.4.0.new/root/etc/e-smith/templates/etc/rkhunter.conf/120LookTimeDate 2015-08-18 20:51:18.460294734 +0200
80 @@ -0,0 +1,16 @@
81 +#
82 +# In the file properties test any modification date/time is displayed as the
83 +# number of epoch seconds. Rkhunter will try and use the 'date' command, or
84 +# failing that the 'perl' command, to display the date and time in a
85 +# human-readable format as well. This option may be used if some other command
86 +# should be used instead. The given command must understand the '%s' and
87 +# 'seconds ago' options found in the GNU 'date' command.
88 +#
89 +# A value of 'NONE' may be used to request that only the epoch seconds be shown.
90 +# A value of 'PERL' may be used to force rkhunter to use the 'perl' command, if
91 +# it is present.
92 +#
93 +# This option has no default value.
94 +#
95 +#EPOCH_DATE_CMD=""
96 +
97 diff -Nur smeserver-rkhunter-1.4.0.old/root/etc/e-smith/templates/etc/rkhunter.conf/120OperatingSystem smeserver-rkhunter-1.4.0.new/root/etc/e-smith/templates/etc/rkhunter.conf/120OperatingSystem
98 --- smeserver-rkhunter-1.4.0.old/root/etc/e-smith/templates/etc/rkhunter.conf/120OperatingSystem 1970-01-01 01:00:00.000000000 +0100
99 +++ smeserver-rkhunter-1.4.0.new/root/etc/e-smith/templates/etc/rkhunter.conf/120OperatingSystem 2015-08-18 20:49:11.416104197 +0200
100 @@ -0,0 +1,45 @@
101 +#
102 +# The following option can be used to tell rkhunter where the operating system
103 +# 'release' file is located. This file contains information specifying the
104 +# current O/S version. RKH will store this information, and check to see if it
105 +# has changed between each run. If it has changed, then the user is warned that
106 +# RKH may issue warning messages until RKH has been run with the '--propupd'
107 +# option.
108 +#
109 +# Since the contents of the file vary according to the O/S distribution, RKH
110 +# will perform different actions when it detects the file itself. As such, this
111 +# option should not be set unless necessary. If this option is specified, then
112 +# RKH will assume the O/S release information is on the first non-blank line of
113 +# the file.
114 +#
115 +# This option has no default value.
116 +#
117 +# Also see the WARN_ON_OS_CHANGE and UPDT_ON_OS_CHANGE options.
118 +#
119 +#OS_VERSION_FILE=/etc/release
120 +
121 +#
122 +# Set the following option to '0' if you do not want to receive a warning if any
123 +# O/S information has changed since the last run of 'rkhunter --propupd'. The
124 +# warnings occur during the file properties check. Setting a value of '1' will
125 +# cause rkhunter to issue a warning if something has changed.
126 +#
127 +# The default value is '1'.
128 +#
129 +#WARN_ON_OS_CHANGE=1
130 +
131 +#
132 +# Set the following option to '1' if you want rkhunter to automatically run a
133 +# file properties update ('--propupd') if the O/S has changed. Detection of an
134 +# O/S change occurs during the file properties check. Setting a value of '0'
135 +# will cause rkhunter not to do an automatic update.
136 +#
137 +# WARNING: Only set this option if you are sure that the update will work
138 +# correctly. That is, that the database directory is writeable, that a valid
139 +# hash function is available, and so on. This can usually be checked simply by
140 +# running 'rkhunter --propupd' at least once.
141 +#
142 +# The default value is '0'.
143 +#
144 +#UPDT_ON_OS_CHANGE=0
145 +
146 diff -Nur smeserver-rkhunter-1.4.0.old/root/etc/e-smith/templates/etc/rkhunter.conf/120RkhunterDownload smeserver-rkhunter-1.4.0.new/root/etc/e-smith/templates/etc/rkhunter.conf/120RkhunterDownload
147 --- smeserver-rkhunter-1.4.0.old/root/etc/e-smith/templates/etc/rkhunter.conf/120RkhunterDownload 1970-01-01 01:00:00.000000000 +0100
148 +++ smeserver-rkhunter-1.4.0.new/root/etc/e-smith/templates/etc/rkhunter.conf/120RkhunterDownload 2015-08-18 20:52:55.587323950 +0200
149 @@ -0,0 +1,25 @@
150 +#
151 +# The following option can be set to a command which rkhunter will use when
152 +# downloading files from the Internet - that is, when the '--update' or
153 +# '--versioncheck' option is used. The command can take options.
154 +#
155 +# This allows the user to use a command other than the one automatically
156 +# selected by rkhunter, but still one which it already knows about.
157 +# For example:
158 +#
159 +# WEB_CMD=curl
160 +#
161 +# Alternatively, the user may specify a completely new command. However, note
162 +# that rkhunter expects the downloaded file to be written to stdout, and that
163 +# everything written to stderr is ignored. For example:
164 +#
165 +# WEB_CMD="/opt/bin/dlfile --timeout 5m -q"
166 +#
167 +# *BSD users may want to use the 'ftp' command, provided that it supports the
168 +# HTTP protocol:
169 +#
170 +# WEB_CMD="ftp -o -"
171 +#
172 +# This option has no default value.
173 +#
174 +#WEB_CMD=""
175 diff -Nur smeserver-rkhunter-1.4.0.old/root/etc/e-smith/templates/etc/rkhunter.conf/120RkhunterLocking smeserver-rkhunter-1.4.0.new/root/etc/e-smith/templates/etc/rkhunter.conf/120RkhunterLocking
176 --- smeserver-rkhunter-1.4.0.old/root/etc/e-smith/templates/etc/rkhunter.conf/120RkhunterLocking 1970-01-01 01:00:00.000000000 +0100
177 +++ smeserver-rkhunter-1.4.0.new/root/etc/e-smith/templates/etc/rkhunter.conf/120RkhunterLocking 2015-08-18 20:53:44.080833101 +0200
178 @@ -0,0 +1,37 @@
179 +#
180 +# Set the following option to '1' if locking is to be used when rkhunter runs.
181 +# The lock is set just before logging starts, and is removed when the program
182 +# ends. It is used to prevent items such as the log file, and the file
183 +# properties file, from becoming corrupted if rkhunter is running more than
184 +# once. The mechanism used is to simply create a lock file in the TMPDIR
185 +# directory. If the lock file already exists, because rkhunter is already
186 +# running, then the current process simply loops around sleeping for 10 seconds
187 +# and then retrying the lock. A value of '0' means not to use locking.
188 +#
189 +# The default value is '0'.
190 +#
191 +# Also see the LOCK_TIMEOUT and SHOW_LOCK_MSGS options.
192 +#
193 +#USE_LOCKING=0
194 +
195 +#
196 +# If locking is used, then rkhunter may have to wait to get the lock file.
197 +# This option sets the total amount of time, in seconds, that rkhunter should
198 +# wait. It will retry the lock every 10 seconds, until either it obtains the
199 +# lock or the timeout value has been reached.
200 +#
201 +# The default value is 300 seconds (5 minutes).
202 +#
203 +#LOCK_TIMEOUT=300
204 +
205 +#
206 +# If locking is used, then rkhunter may be doing nothing for some time if it
207 +# has to wait for the lock. If this option is set to '1', then some simple
208 +# messages are echoed to the users screen to let them know that rkhunter is
209 +# waiting for the lock. Set this option to '0' if the messages are not to be
210 +# displayed.
211 +#
212 +# The default value is '1'.
213 +#
214 +#SHOW_LOCK_MSGS=1
215 +
216 diff -Nur smeserver-rkhunter-1.4.0.old/root/etc/e-smith/templates/etc/rkhunter.conf/120RkhunterLogFile smeserver-rkhunter-1.4.0.new/root/etc/e-smith/templates/etc/rkhunter.conf/120RkhunterLogFile
217 --- smeserver-rkhunter-1.4.0.old/root/etc/e-smith/templates/etc/rkhunter.conf/120RkhunterLogFile 1970-01-01 01:00:00.000000000 +0100
218 +++ smeserver-rkhunter-1.4.0.new/root/etc/e-smith/templates/etc/rkhunter.conf/120RkhunterLogFile 2015-08-18 20:56:00.534708353 +0200
219 @@ -0,0 +1,18 @@
220 +#
221 +# The two options below may be used to check if a file is missing or empty
222 +# (that is, it has a size of zero). The EMPTY_LOGFILES option will also check
223 +# if the file is missing, since that can be interpreted as a file of no size.
224 +# However, the file will only be reported as missing if the MISSING_LOGFILES
225 +# option hasn't already done this.
226 +#
227 +# Both options are space-separated lists of pathnames, and may be specified
228 +# more than once.
229 +#
230 +# NOTE: Log files are usually 'rotated' by some mechanism. At that time it is
231 +# perfectly possible for the file to be either missing or empty. As such these
232 +# options may produce false-positive warnings when log files are rotated.
233 +#
234 +# For both options the default value is the null string.
235 +#
236 +#EMPTY_LOGFILES=""
237 +#MISSING_LOGFILES=""
238 diff -Nur smeserver-rkhunter-1.4.0.old/root/etc/e-smith/templates/etc/rkhunter.conf/120RkhunterSummary smeserver-rkhunter-1.4.0.new/root/etc/e-smith/templates/etc/rkhunter.conf/120RkhunterSummary
239 --- smeserver-rkhunter-1.4.0.old/root/etc/e-smith/templates/etc/rkhunter.conf/120RkhunterSummary 1970-01-01 01:00:00.000000000 +0100
240 +++ smeserver-rkhunter-1.4.0.new/root/etc/e-smith/templates/etc/rkhunter.conf/120RkhunterSummary 2015-08-18 20:55:27.686331042 +0200
241 @@ -0,0 +1,23 @@
242 +#
243 +# This option can be set to either '0' or '1'. If set to '1' then the summary,
244 +# shown after rkhunter has run, will display the actual number of warnings
245 +# found. If it is set to '0', then the summary will simply indicate that
246 +# 'One or more' warnings were found. If no warnings were found, and this option
247 +# is set to '1', then a "0" will be shown. If the option is set to '0', then
248 +# the words 'No warnings' will be shown.
249 +#
250 +# The default value is '0'.
251 +#
252 +#SHOW_SUMMARY_WARNINGS_NUMBER=0
253 +
254 +#
255 +# This option is used to determine where, if anywhere, the summary scan time is
256 +# displayed. A value of '0' indicates that it should not be displayed anywhere.
257 +# A value of '1' indicates that the time should only appear on the screen, and a
258 +# value of '2' that it should only appear in the log file. A value of '3'
259 +# indicates that the time taken should appear both on the screen and in the log
260 +# file.
261 +#
262 +# The default value is '3'.
263 +#
264 +#SHOW_SUMMARY_TIME=3
265 diff -Nur smeserver-rkhunter-1.4.0.old/root/etc/e-smith/templates/etc/rkhunter.conf/120RkhunterTHOROUGH smeserver-rkhunter-1.4.0.new/root/etc/e-smith/templates/etc/rkhunter.conf/120RkhunterTHOROUGH
266 --- smeserver-rkhunter-1.4.0.old/root/etc/e-smith/templates/etc/rkhunter.conf/120RkhunterTHOROUGH 1970-01-01 01:00:00.000000000 +0100
267 +++ smeserver-rkhunter-1.4.0.new/root/etc/e-smith/templates/etc/rkhunter.conf/120RkhunterTHOROUGH 2015-08-18 20:54:09.000636813 +0200
268 @@ -0,0 +1,20 @@
269 +#
270 +# If this option is set to 'THOROUGH' then rkhunter will search (on a per
271 +# rootkit basis) for filenames in all of the directories (as defined by the
272 +# result of running 'find / -xdev'). While still not optimal, as it still
273 +# searches for only file names as opposed to file contents, this is one step
274 +# away from the rigidity of searching in known (evidence) or default
275 +# (installation) locations.
276 +#
277 +# THIS OPTION SHOULD NOT BE ENABLED BY DEFAULT.
278 +#
279 +# You should only activate this feature as part of a more thorough
280 +# investigation, which should be based on relevant best practices and
281 +# procedures.
282 +#
283 +# Enabling this feature implies you have the knowledge to interpret the
284 +# results properly.
285 +#
286 +# The default value is the null string.
287 +#
288 +#SCANROOTKITMODE=THOROUGH
289 diff -Nur smeserver-rkhunter-1.4.0.old/root/etc/e-smith/templates/etc/rkhunter.conf/120RkhunterUnhide smeserver-rkhunter-1.4.0.new/root/etc/e-smith/templates/etc/rkhunter.conf/120RkhunterUnhide
290 --- smeserver-rkhunter-1.4.0.old/root/etc/e-smith/templates/etc/rkhunter.conf/120RkhunterUnhide 1970-01-01 01:00:00.000000000 +0100
291 +++ smeserver-rkhunter-1.4.0.new/root/etc/e-smith/templates/etc/rkhunter.conf/120RkhunterUnhide 2015-08-18 20:54:38.988806961 +0200
292 @@ -0,0 +1,37 @@
293 +#
294 +# The following option can be set to the name(s) of the tests the 'unhide'
295 +# command is to use. Options such as '-m' and '-v' may be specified, but will
296 +# only take effect when they are seen. The test names are a space-separated
297 +# list, and will be executed in the order given.
298 +#
299 +# This option may be specified more than once.
300 +#
301 +# The default value is 'sys' in order to maintain compatibility with older
302 +# versions of 'unhide'.
303 +#
304 +#UNHIDE_TESTS=sys
305 +
306 +#
307 +# The following option can be used to set options for the 'unhide-tcp' command.
308 +# The options are space-separated.
309 +#
310 +# This option may be specified more than once.
311 +#
312 +# The default value is the null string.
313 +#
314 +#UNHIDETCP_OPTS=""
315 +
316 +#
317 +# If both the C 'unhide', and Ruby 'unhide.rb', programs exist on the system,
318 +# then it is possible to disable the execution of one of the programs if
319 +# desired. By default rkhunter will look for both programs, and execute each
320 +# of them as they are found. If the value of this option is '0', then both
321 +# programs will be executed if they are present. A value of '1' will disable
322 +# execution of the C 'unhide' program, and a value of '2' will disable the Ruby
323 +# 'unhide.rb' program. To disable both programs, then disable the
324 +# 'hidden_procs' test.
325 +#
326 +# The default value is '0'.
327 +#
328 +#DISABLE_UNHIDE=0
329 +
330 diff -Nur smeserver-rkhunter-1.4.0.old/root/etc/e-smith/templates/etc/rkhunter.conf/120WhitelistExistingFilesFolders smeserver-rkhunter-1.4.0.new/root/etc/e-smith/templates/etc/rkhunter.conf/120WhitelistExistingFilesFolders
331 --- smeserver-rkhunter-1.4.0.old/root/etc/e-smith/templates/etc/rkhunter.conf/120WhitelistExistingFilesFolders 1970-01-01 01:00:00.000000000 +0100
332 +++ smeserver-rkhunter-1.4.0.new/root/etc/e-smith/templates/etc/rkhunter.conf/120WhitelistExistingFilesFolders 2015-08-18 21:26:10.084656696 +0200
333 @@ -0,0 +1,28 @@
334 +
335 +#
336 +# This option whitelists files and directories from existing, or not existing,
337 +# on the system at the time of testing. This option is used when the
338 +# configuration file options themselves are checked, and during the file
339 +# properties check, the hidden files and directories checks, and the filesystem
340 +# check of the '/dev' directory.
341 +#
342 +# This option may be specified more than once, and may use wildcards.
343 +# Be aware though that this is probably not what you want to do as the
344 +# wildcarding will be expanded after files have been deleted. As such
345 +# deleted files won't be whitelisted if wildcarded.
346 +#
347 +# NOTE: The user must take into consideration how often the file will appear
348 +# and disappear from the system in relation to how often rkhunter is run. If
349 +# the file appears, and disappears, too often then rkhunter may not notice
350 +# this. All it will see is that the file has changed. The inode-number and DTM
351 +# will certainly be different for each new file, and rkhunter will report this.
352 +#
353 +# The default value is the null string.
354 +#
355 +#EXISTWHITELIST=""
356 +#EXISTWHITELIST=/var/log/pki-ca/system
357 +# FreeIPA Certificate Authority
358 +#EXISTWHITELIST=/var/log/pki/pki-tomcat/ca/system
359 +# Some non default installed files we check
360 +#EXISTWHITELIST=/usr/bin/GET
361 +#EXISTWHITELIST=/usr/bin/whatis
362 diff -Nur smeserver-rkhunter-1.4.0.old/root/etc/e-smith/templates/etc/rkhunter.conf/120WhitelistFoldersFiles smeserver-rkhunter-1.4.0.new/root/etc/e-smith/templates/etc/rkhunter.conf/120WhitelistFoldersFiles
363 --- smeserver-rkhunter-1.4.0.old/root/etc/e-smith/templates/etc/rkhunter.conf/120WhitelistFoldersFiles 1970-01-01 01:00:00.000000000 +0100
364 +++ smeserver-rkhunter-1.4.0.new/root/etc/e-smith/templates/etc/rkhunter.conf/120WhitelistFoldersFiles 2015-08-18 20:49:53.384137552 +0200
365 @@ -0,0 +1,41 @@
366 +#
367 +# The following two options can be used to whitelist files and directories that
368 +# would normally be flagged with a warning during the various rootkit and
369 +# malware checks. Only existing files and directories can be specified, and
370 +# these must be full pathnames not links.
371 +#
372 +# Additionally, the RTKT_FILE_WHITELIST option may include a string after the
373 +# file name (separated by a colon). This will then only whitelist that string
374 +# in that file (as part of the malware checks). For example:
375 +#
376 +# RTKT_FILE_WHITELIST=/etc/rc.local:hdparm
377 +#
378 +# If the option list includes the filename on its own as well, then the file
379 +# will be whitelisted from rootkit checks of the files existence, but still
380 +# only the specific string within the file will be whitelisted. For example:
381 +#
382 +# RTKT_FILE_WHITELIST=/etc/rc.local
383 +# RTKT_FILE_WHITELIST=/etc/rc.local:hdparm
384 +#
385 +# To whitelist a file from the existence checks, but not from the strings
386 +# checks, then include the filename on its own and on its own but with just
387 +# a colon appended. For example:
388 +#
389 +# RTKT_FILE_WHITELIST=/etc/rc.local
390 +# RTKT_FILE_WHITELIST=/etc/rc.local:
391 +#
392 +# NOTE: It is recommended that if you whitelist any files, then you include
393 +# those files in the file properties check. See the USER_FILEPROP_FILES_DIRS
394 +# configuration option.
395 +#
396 +# Both of these options may be specified more than once.
397 +#
398 +# For both options the default value is the null string.
399 +#
400 +#RTKT_DIR_WHITELIST=""
401 +#RTKT_FILE_WHITELIST=""
402 +# FreeIPA Certificate Authority
403 +#RTKT_FILE_WHITELIST=/var/log/pki-ca/system
404 +# FreeIPA Certificate Authority
405 +#RTKT_FILE_WHITELIST=/var/log/pki/pki-tomcat/ca/system
406 +
407 diff -Nur smeserver-rkhunter-1.4.0.old/root/etc/e-smith/templates/etc/rkhunter.conf/120WhitelistNetwork smeserver-rkhunter-1.4.0.new/root/etc/e-smith/templates/etc/rkhunter.conf/120WhitelistNetwork
408 --- smeserver-rkhunter-1.4.0.old/root/etc/e-smith/templates/etc/rkhunter.conf/120WhitelistNetwork 1970-01-01 01:00:00.000000000 +0100
409 +++ smeserver-rkhunter-1.4.0.new/root/etc/e-smith/templates/etc/rkhunter.conf/120WhitelistNetwork 2015-08-18 20:47:37.191280473 +0200
410 @@ -0,0 +1,41 @@
411 +#
412 +# The following options can be used to whitelist network ports which are known
413 +# to have been used by malware.
414 +#
415 +# The PORT_WHITELIST option is a space-separated list of one or more of two
416 +# types of whitelisting. These are:
417 +#
418 +# 1) a 'protocol:port' pair
419 +# 2) an asterisk ('*')
420 +#
421 +# Only the UDP or TCP protocol may be specified, and the port number must be
422 +# between 1 and 65535 inclusive.
423 +#
424 +# The asterisk can be used to indicate that any executable which rkhunter can
425 +# locate as a command, is whitelisted. (Also see BINDIR)
426 +#
427 +# The PORT_PATH_WHITELIST option specifies one of two types of whitelisting.
428 +# These are:
429 +#
430 +# 1) a pathname to an executable
431 +# 2) a combined pathname, protocol and port
432 +#
433 +# As above, the protocol can only be TCP or UDP, and the port number must be
434 +# between 1 and 65535 inclusive.
435 +#
436 +# Examples:
437 +#
438 +# PORT_WHITELIST=TCP:2001 UDP:32011
439 +# PORT_PATH_WHITELIST=/usr/sbin/squid
440 +# PORT_PATH_WHITELIST=/usr/sbin/squid:TCP:3801
441 +#
442 +# NOTE: In order to whitelist a pathname, or use the asterisk option, the
443 +# 'lsof' command must be present.
444 +#
445 +# Both options may be specified more than once.
446 +#
447 +# The default value for both options is the null string.
448 +#
449 +#PORT_WHITELIST=""
450 +#PORT_PATH_WHITELIST=""
451 +
452 diff -Nur smeserver-rkhunter-1.4.0.old/root/etc/e-smith/templates/etc/rkhunter.conf/120WhitelistSharedLibrary smeserver-rkhunter-1.4.0.new/root/etc/e-smith/templates/etc/rkhunter.conf/120WhitelistSharedLibrary
453 --- smeserver-rkhunter-1.4.0.old/root/etc/e-smith/templates/etc/rkhunter.conf/120WhitelistSharedLibrary 1970-01-01 01:00:00.000000000 +0100
454 +++ smeserver-rkhunter-1.4.0.new/root/etc/e-smith/templates/etc/rkhunter.conf/120WhitelistSharedLibrary 2015-08-18 20:50:36.102229247 +0200
455 @@ -0,0 +1,29 @@
456 +#
457 +# The following option can be used to whitelist shared library files that would
458 +# normally be flagged with a warning during the preloaded shared library check.
459 +# These library pathnames usually exist in the '/etc/ld.so.preload' file or in
460 +# the LD_PRELOAD environment variable.
461 +#
462 +# NOTE: It is recommended that if you whitelist any files, then you include
463 +# those files in the file properties check. See the USER_FILEPROP_FILES_DIRS
464 +# configuration option.
465 +#
466 +# This option is a space-separated list of library pathnames. The option may be
467 +# specified more than once.
468 +#
469 +# The default value is the null string.
470 +#
471 +#SHARED_LIB_WHITELIST=/lib/snoopy.so
472 +
473 +#
474 +# To force rkhunter to use the supplied script for the 'stat' or 'readlink'
475 +# command the following two options can be used. The value must be set to
476 +# 'BUILTIN'.
477 +#
478 +# NOTE: IRIX users will probably need to enable STAT_CMD.
479 +#
480 +# For both options the default value is the null string.
481 +#
482 +#STAT_CMD=BUILTIN
483 +#READLINK_CMD=BUILTIN
484 +

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed