-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathprometeo.xml.sample
executable file
·145 lines (124 loc) · 4.6 KB
/
prometeo.xml.sample
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
<?xml version="1.0" encoding="iso-8859-1"?>
<Key name="root">
<Note>
$Id: prometeo.xml.sample,v 1.2 2003-10-23 17:28:32 tellini Exp $
Nothing should appear outside the root Key.
This XML file holds the complete configuration of prometeo.
You can edit it by hand: just remember to preserve the
well-formedness of the document.
Use Note elements to contain your comments: this way they
will be preserved by configuration editors.
</Note>
<Note> ---------- General settings ----------- </Note>
<Key name="General">
<Note>
spooldir - where to place cache files
</Note>
<Value type="string" name="spooldir">/var/spool/prometeo</Value>
</Key>
<Note> --------------- Modules --------------- </Note>
<Key name="Modules">
<Note>
Each module has its own key, with an unique
name. Each module has its own set of configuration
values, although you need to specify at least
the "module" string value, containing the file name
of the module (with no path nor extension)
</Note>
<Key name="cfg">
<Value type="string" name="module">mod_cfg</Value>
<Value type="integer" name="enabled">1</Value>
<Value type="integer" name="port">8081</Value>
</Key>
<Key name="example tunnel">
<Value type="string" name="module">mod_tunnel</Value>
<Value type="integer" name="enabled">0</Value>
<Value type="integer" name="srcport">2048</Value>
<Value type="integer" name="dstport">110</Value>
<Value type="string" name="dsthost">host.destination.com</Value>
</Key>
<Key name="http">
<Value type="string" name="module">mod_http</Value>
<Value type="integer" name="enabled">0</Value>
<Value type="integer" name="port">8080</Value>
<Value type="integer" name="logrequests">0</Value>
<Value type="integer" name="gzipencoding">0</Value>
<Value type="integer" name="maxcachesize">100</Value>
<Value type="integer" name="maxobjectsize">400000</Value>
<Key name="Filters">
<Key name="Banner - img">
<Value type="string" name="url">http://.*/banner.*\.(gif|jpg)</Value>
<Value type="string" name="action">redirect</Value>
<Value type="string" name="redirect">http://myhost/spacer.gif</Value>
</Key>
</Key>
</Key>
<Key name="ftp">
<Value type="string" name="module">mod_ftp</Value>
<Value type="integer" name="enabled">0</Value>
<Value type="integer" name="port">8021</Value>
<Value type="integer" name="minchildren">0</Value>
<Value type="integer" name="maxchildren">20</Value>
<Value type="integer" name="childrenttl">30</Value>
<Value type="integer" name="trytls">1</Value>
<Value type="integer" name="requiretls">0</Value>
<Value type="integer" name="datatls">1</Value>
</Key>
<Key name="pop3">
<Value type="string" name="module">mod_pop3</Value>
<Value type="integer" name="enabled">0</Value>
</Key>
<Key name="socks5">
<Value type="string" name="module">mod_socks5</Value>
<Value type="integer" name="enabled">0</Value>
</Key>
<Key name="sfnews">
<Value type="string" name="module">mod_ssl</Value>
<Value type="integer" name="enabled">0</Value>
<Value type="integer" name="srcport">8563</Value>
<Value type="integer" name="dstport">563</Value>
<Value type="integer" name="minchildren">0</Value>
<Value type="integer" name="maxchildren">5</Value>
<Value type="integer" name="childrenttl">10</Value>
<Value type="string" name="dsthost">nntp.sourceforge.net</Value>
</Key>
</Key>
<Note> --------------- Logging --------------- </Note>
<Key name="Log">
<Note>
ident - the identification string used when logging
</Note>
<Value type="string" name="ident">prometeo</Value>
</Key>
<Note> --------------- DNS Cache ------------- </Note>
<Key name="DNSCache">
<Note>
children - the number of helper processes to spawn
ttl - lifetime of a cached query, in seconds
slots - how many queries will be cached
</Note>
<Value type="integer" name="children">3</Value>
<Value type="integer" name="ttl">300</Value>
<Value type="integer" name="slots">512</Value>
</Key>
<Note> ------------------ ACL ---------------- </Note>
<Key name="ACL">
<Key name="Users">
<Note>
Each user has his own key in this section.
In that key there are all her permissions as
integer values: the name of the value is the
permission name; the value can be 1 to grant the
permission or 0 to forbid it.
</Note>
<Key name="root">
<Note>
This entry is actually useless, as root always
has access, but at least it serves as portable
example :-)
</Note>
<Value type="integer" name="mod_cfg/access">1</Value>
</Key>
</Key>
</Key>
</Key>