root/honeyclient/tags/exp/PRE-stephenson-link_scoring/etc/honeyclient.xml

Revision 13, 17.2 kB (checked in by kindlund, 2 years ago)

Initialized public repository with 0.9 release.

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