root/honeyclient/tags/bug/POST-62/etc/honeyclient.xml

Revision 130, 18.3 kB (checked in by kindlund, 2 years ago)

sc: merging branch using tags svn+ssh://kindlund@www.honeyclient.org/home/svn/honeyclient/honeyclient/tags/bug/PRE-42 and svn+ssh://kindlund@www.honeyclient.org/home/svn/honeyclient/honeyclient/tags/bug/POST-42

  • Property svn:keywords set to Id "$file"
Line 
1 <?xml version="1.0" encoding="utf-8"?>
2 <!--
3 #######################################################################
4 HoneyClient Configuration File
5
6 This configuration file is used by the HoneyClient perl modules in
7 order to specify and use the following global configuration options.
8
9 For information about the syntax of this file format, please type
10 "perldoc XML::Simple".
11
12 CVS: $Id$
13
14 #######################################################################
15
16 Syntax Notes:
17
18 Note: During processing, if the HoneyClient expects a module-specific
19 variable to be present within this configuration file (e.g., "address")
20 but it is not listed or commented out, then the code will attempt
21 to look for the same variable within any of the module's parents.
22
23 For example, the code may expect:
24 <HoneyClient>
25     <Agent>
26         <Driver>
27             <address>localhost</address>
28         </Driver>
29     </Agent>
30 </HoneyClient>
31
32 But the following will work as well:
33 <HoneyClient>
34     <Agent>
35         <address>localhost</address>
36     </Agent>
37 </HoneyClient>
38
39 <HoneyClient>
40     <address>localhost</address>
41 </HoneyClient>
42
43 Keep in mind, though, that some variables should remain module-specific
44 (i.e., "port") in order to avoid collisions between modules.
45
46 -->
47 <HoneyClient>
48     <!-- Global Options -->
49     <!-- Note: This timeout should be long enough so that the Agent watchdog code will properly let the integrity checking code finish, before detecting a faulty timeout in processing. -->
50     <timeout description="Default timeout used for all communications between each module (in seconds)." default="900">
51         1800
52     </timeout>
53     <log_config description="The global Log4perl configuration file, used throughout all modules.  This setting should not need to be changed." default="etc/honeyclient_log.conf">
54         etc/honeyclient_log.conf
55     </log_config>
56     <!-- HoneyClient::Agent Options -->
57     <Agent>
58         <!-- TODO: Update this. -->
59         <address description="The IP or hostname that all Agent modules should use, when accepting SOAP requests." default="0.0.0.0">
60             0.0.0.0
61         </address>
62         <!-- TODO: Update this. -->
63         <!-- Note: This port should be unique and not already in use by other modules, services, or daemons running inside the VM. -->
64         <port description="The TCP port number that the SOAP server for all Agent modules will listen on for requests." default="9000">
65             9000
66         </port>
67         <!-- HoneyClient::Agent::Driver Options -->
68         <Driver>
69             <!-- TODO: Update this. -->
70             <timeout description="How long the Driver waits during a drive operation, before timing out (in seconds)." default="60">
71                 5
72             </timeout>
73             <Browser>
74                 <!-- HoneyClient::Agent::Driver::IE Options -->
75                 <!-- TODO: Update this. -->
76                 <ignore_links_timed_out description="If this parameter is 1, then the browser will never attempt to revisit any links that caused the browser to initially time out." default="0">
77                     1
78                 </ignore_links_timed_out>
79                 <!-- TODO: Update this. -->
80                 <process_name description="The name of the Internet Explorer application process, as it appears in the Task Manager." default="iexplore.exe">
81                     iexplore.exe
82                 </process_name>
83                 <max_relative_links_to_visit description="An integer, representing the maximum number of relative links that the browser should visit, before moving onto another website.  If negative, then the browser will exhaust all possible relative links found, before moving on.  This functionality is best effort; it's possible for the browser to visit new links on previously visited websites." default="-1">
84                     -1
85                 </max_relative_links_to_visit>
86                 <IE>
87                     <!-- HoneyClient::Agent::Driver::IE Options -->
88                     <!-- TODO: Update this. -->
89                     <ignore_links_timed_out description="If this parameter is 1, then the browser will never attempt to revisit any links that caused the browser to initially time out." default="0">
90                         1
91                     </ignore_links_timed_out>
92                     <!-- TODO: Update this. -->
93                     <process_name description="The name of the Internet Explorer application process, as it appears in the Task Manager." default="iexplore.exe">
94                         iexplore.exe
95                     </process_name>
96                     <max_relative_links_to_visit description="An integer, representing the maximum number of relative links that the browser should visit, before moving onto another website.  If negative, then the browser will exhaust all possible relative links found, before moving on.  This functionality is best effort; it's possible for the browser to visit new links on previously visited websites." default="-1">
97                         -1
98                     </max_relative_links_to_visit>
99                 </IE>
100                 <FF>
101                     <max_relative_links_to_visit description="An integer, representing the maximum number of relative links that the browser should visit, before moving onto another website.  If negative, then the browser will exhaust all possible relative links found, before moving on.  This functionality is best effort; it's possible for the browser to visit new links on previously visited websites." default="-1">
102                         5
103                     </max_relative_links_to_visit>
104                     <!-- http://gatekeeper-w.mitre.org:80 -->
105                     <http_proxy description="Set to your HTTP Proxy if you have one, otherwise set to 'none'">
106                         none
107                     </http_proxy>
108                     <ff_exec description="path to the firefox executable (default install path is C:\Program Files\Mozilla Firefox\firefox.exe)">
109                         C:\Program Files\Mozilla Firefox\firefox.exe
110                     </ff_exec>
111                 </FF>
112             </Browser>
113             <EmailClient>
114             </EmailClient>
115         </Driver>
116         <perform_integrity_checks description="An integer, representing whether the Agent should perform any integrity checks. 1 enables, 0 disables." default="1">
117             1
118         </perform_integrity_checks>
119         <!-- HoneyClient::Agent::Integrity Options -->
120         <Integrity>
121             <!-- Files which are read in only. -->
122             <!-- TODO: Update this. -->
123             <file_checklist description="The file containing the list of files and directories to check during filesystem checking." default="none">
124                 etc/file_checklist.txt
125             </file_checklist>
126             <!-- TODO: Update this. -->
127             <file_exclude description="The file containing the list of files or directories to exclude if found in subdirectories during filesystem checking." default="none">
128                 ../../../etc/file_exclude.txt
129             </file_exclude>
130             <!-- Files which are written out only. -->
131             <!-- TODO: Update this. -->
132             <clean_file description="File to store hashes for files selected during baseline process.">
133                 /tmp/cleanfile.txt
134             </clean_file>
135             <!-- TODO: Update this. -->
136             <change_file description="File to write any found changes to.">
137                 /tmp/changes.txt
138             </change_file>
139             <!-- Files to read and write. -->
140             <!-- TODO: Update this. -->
141             <test_dir description="If you're testing integrity checks, this is the directory that you can specify to minimize testing time. Only the files in this directory will be part of the integrity check.">
142                 ../t/testintegrity
143             </test_dir>
144             <Registry>
145                 <!-- HoneyClient::Agent::Integrity::Registry::Test Options -->
146                 <Test>
147                     <!--
148                         Note: you should *never* need to change *any* values
149                         within this section of the configuration.  All contents
150                         are *only* used for unit testing.
151                     -->
152                     <before_registry_file description="The relative path to a (before) sample registry dump, that's used during unit testing." default="t/test_registry/before.reg">
153                         t/test_registry/before.reg
154                     </before_registry_file>
155                     <after_registry_file description="The relative path to an (after) sample registry dump, that's used during unit testing." default="t/test_registry/after.reg">
156                         t/test_registry/after.reg
157                     </after_registry_file>
158                 </Test>
159                 <Parser>
160                     <!-- HoneyClient::Agent::Integrity::Registry::Parser::Test Options -->
161                     <Test>
162                         <!--
163                             Note: you should *never* need to change *any* values
164                             within this section of the configuration.  All contents
165                             are *only* used for unit testing.
166                         -->
167                         <registry_file description="The relative path to a sample registry dump, that's used during unit testing." default="t/test_registry/dump.reg">
168                             t/test_registry/dump.reg
169                         </registry_file>
170                     </Test>
171                 </Parser>
172             </Registry>
173         </Integrity>
174     </Agent>
175     <Manager>
176         <!-- TODO: Update this. -->
177         <address description="The IP or hostname that all Manager modules should use, when accepting SOAP requests." default="localhost">
178             localhost
179         </address>
180         <!-- TODO: Update this. -->
181         <!-- Note: This port should be unique and not already in use by other modules, services, or daemons running on the host system. -->
182         <port description="The TCP port number that the SOAP server for all Manager modules will listen on for requests." default="8089">
183             8089
184         </port>
185         <vmnet_nat_router_address description="The IP address assigned to the VMware NAT interface (usually called vmnet8)." default="192.168.0.1">
186             192.168.0.1
187         </vmnet_nat_router_address>
188         <!-- TODO: Update this. -->
189         <conffile description="Logging options that can be applied to specify the layout of the logging messages.">
190             etc/honeyclient_log.conf
191         </conffile>
192         <!-- HoneyClient::Manager::FW Options -->
193         <FW>
194             <!-- TODO: Update this. -->
195             <address description="eth0 interface static IP">
196                 192.168.0.128
197             </address>
198             <!-- TODO: Update this. -->
199             <port description="Default FW port number" default="8083">
200                 8083
201             </port>
202             <!-- TODO: Update this. -->
203             <primaryDns description="Primary DNS IP Address">
204                 128.29.154.150
205             </primaryDns>
206             <!-- TODO: Update this. -->
207             <secondaryDns description="Secondary DNS IP address">
208                 128.29.40.1
209             </secondaryDns>
210             <!-- TODO: Update this. -->
211             <gsx_gateway description="IP address of GSX or VMware Server">
212                 10.0.0.1/32
213             </gsx_gateway>
214             <!-- TODO: Update this. -->
215             <fwGateway description="Gateway IP address of the Firewall">
216                 10.0.0.254/32
217             </fwGateway>
218             <!-- TODO: Update this. -->
219             <honeyclientnet description="CIDR notation for honeyclient netblock">
220                 10.0.0.0/24
221             </honeyclientnet>
222             <!-- TODO: Update this. -->
223             <fwconfig description="Location of Firewall VM configuration file">
224                 /vm/honeywall-test/honeywall.vmx
225             </fwconfig>
226             <!-- TODO: Update this. -->
227             <outputdir description="Output directory where logs will go on Firewall">
228                 fw-output
229             </outputdir>
230             <!-- TODO: Update this. -->
231             <argus description="Argus binary location">
232                 /usr/local/sbin/argus
233             </argus>
234             <!-- TODO: Update this. -->
235             <argusconfig description="Argus configuration file.">
236                 /etc/argus.conf
237             </argusconfig>
238             <!-- TODO: Update this. -->
239             <argusoutput description="Argus logging directory">
240                 /var/log/argus
241             </argusoutput>
242             <!-- TODO: Update this. -->
243             <arguspid description="Argus Process ID">
244                 /var/run/argus.pid
245             </arguspid>
246             <!-- TODO: Update this. -->
247             <tcpdumplog description="Tcpdump log location directory">
248                 /var/log/tcpdump
249             </tcpdumplog>
250             <!-- TODO: Update this. -->
251             <tcpdump description="Tcpdump binary">
252                 /usr/sbin/tcpdump
253             </tcpdump>
254             <!-- TODO: Update this. -->
255             <dnspath description="DNS nameserver file">
256                 /etc/resolv.conf
257             </dnspath>
258             <!-- TODO: Update this. -->
259             <dnsport description="DNS port number">
260                 53
261             </dnsport>
262             <!-- TODO: Update this. -->
263             <LOCALHOST description="localhost address">
264                 127.0.0.1
265             </LOCALHOST>
266             <!-- TODO: Update this. -->
267             <sshport description="SSH port number listening on">
268                 22
269             </sshport>
270             <!-- TODO: Update this. -->
271             <debug description="Debug value (0 for no debugging, 1 for debugging output)">
272                 0
273             </debug>
274             <!-- TODO: Update this. -->
275             <fwprocess description="Name of external SOAP listener.">
276                 startFWListener.pl
277             </fwprocess>
278             <!-- TODO: Update this. -->
279             <config_file description="Location of config_file">
280                 etc/honeyclient_log.conf
281             </config_file>
282         </FW>
283         <!-- HoneyClient::Manager::DB Options -->
284         <DB>
285             <!-- TODO: Update this. -->
286             <address description="eth0 interface static IP">
287                 192.168.0.128
288             </address>
289             <!-- TODO: Update this. -->
290             <port description="Default FW port number" default="8083">
291                 8089
292             </port>
293         </DB>
294         <!-- HoneyClient::Manager::VM Options -->
295         <VM>
296             <!-- TODO: Update this. -->
297             <!-- Note: This port should be unique and not already in use by other modules, services, or daemons running on the host system. -->
298             <port description="The TCP port number that the SOAP server for all Manager modules will listen on for requests." default="8089">
299                 8089
300             </port>
301             <!-- TODO: Update this. -->
302             <datastore_path description="The absolute path to the parent directory, where all HoneyClient VM data is stored on the host server.  It is assumed that individual VM data is stored in separate subdirectories within this parent directory." default="/vm">
303                 /vm
304             </datastore_path>
305             <!-- TODO: Update this. -->
306             <snapshot_path description="The absolute path to the directory that contains all snapshot data, associated with every HoneyClient VM." default="/vm/snapshots">
307                 /vm/snapshots
308             </snapshot_path>
309             <!-- TODO: Update this. -->
310             <vmware_port description="The TCP port that VMware Server / GSX uses for console communication.  By default, this TCP port is 902.  Unless you've explicitly changes this port during the vmware-config.pl setup process, leave this setting as the default." default="902">
311                 902
312             </vmware_port>
313             <!-- TODO: Update this. -->
314             <bin_tar description="The absolute path to the 'tar' executable, accessible on the host filesystem." default="/bin/tar">
315                 /bin/tar
316             </bin_tar>
317             <!-- TODO: Update this. -->
318             <vm_id_length description="The length of each corresponding VM identifier (VMID).  This value can be any integer between 1 and 32, inclusive.  The VMID is a hexadecimal string that represents the VM's name.  It is designed to be generated once per clone and remain for the life of the VM (regardless of where it runs).  The VMID is used externally by HoneyClient::Manager and HoneyClient::Manager::FW.  The HoneyClient::Manager::FW package uses IPTables and binds each rule to a specific VMID.  However, IPTable's firewall rule labels can only be a maximum of 30 characters in length.  Thus, 26 is specified here, to account for 'VMID-OUT' as a possible chain name." default="26">
319                 26
320             </vm_id_length>
321             <!-- TODO: Update this. -->
322             <dhcp_log description="The absolute path to the file that contains the DHCP logs, when a new VM gets a DHCP lease from the VMware Server / GSX server." default="/var/log/messages">
323                 /var/log/messages
324             </dhcp_log>
325             <!-- HoneyClient::Manager::VM::Test Options -->
326             <Test>
327                 <!--
328                     Note: you should *never* need to change *any* values
329                     within this section of the configuration.  All contents
330                     are *only* used for unit testing.
331                 -->
332                 <test_vm_config description="The relative path to the (empty) test VM, that's used during unit testing." default="t/testVM/winXPPro.vmx">
333                     t/testVM/winXPPro.vmx
334                 </test_vm_config>
335             </Test>
336         </VM>
337     </Manager>
338     <!-- HoneyClient::Util Options -->
339     <Util>
340         <!-- HoneyClient::Util::Config Options -->
341         <Config>
342             <!-- HoneyClient::Util::Config::Test Options -->
343             <Test>
344                 <!--
345                     Note: you should *never* need to change *any* values
346                     within this section of the configuration.  All contents
347                     are *only* used for unit testing.
348                 -->
349                 <address description="The IP or hostname that this module should use, when performing unit tests." default="localhost" zing="foobar">localhost</address>
350                 <zingers>foobar</zingers>
351                 <Foo>
352                     <Bar>
353                         <address>baz</address>
354                     </Bar>
355                 </Foo>
356             </Test>
357         </Config>
358     </Util>
359 </HoneyClient>
Note: See TracBrowser for help on using the browser.