source: branches/monitor-improvement/Distribution/doc/txt/oscam.conf.txt@ 1189

Last change on this file since 1189 was 1189, checked in by alno, 12 years ago

WebIf:

  • Merging revisions 1180-1185 of trunk
File size: 9.4 KB
Line 
1oscam.conf(5) oscam.conf(5)
2
3
4
5NAME
6 oscam.conf - main configuration file for OSCam
7
8SYNOPSIS
9 The main configuration file for OSCam contains global parameters such
10 as debugging, logging, monitor, protocols and anti-cascading. sections
11 in oscam.conf are nonrecurring. The [global] section is required. All
12 other sections are optional.
13
14DESCRIPTIONS
15 The [global] section
16 serverip = IP address
17 bind service to specified IP address, default:all
18
19 logfile = filename|/dev/null|/dev/tty|syslog
20 logging target, default: /var/log/oscam.log
21
22 pidfile = filename
23 PID file, default:no PID file
24
25 usrfile = filename
26 log file for user logging, default:none
27
28 log file format:
29
30 date
31 time
32 CWs per second
33 username
34 IP address of client
35 TCP/IP port
36 CWs found
37 CWs from cache
38 CWS not found
39 login time in unix/POSIX format
40 logout time in unix/POSIX format
41 protocol
42
43 cwlogdir = path
44 directory for CW logging, default:none
45
46 clienttimeout = seconds
47 value for client process to wait for key, default:5
48
49 fallbacktimeout = seconds
50 time falling back to fallback reader, default:2
51
52 clientmaxidle = seconds
53 value for client process being idle before disconnect, default:120
54
55 cachedelay = milli-seconds
56 value to delay cached requests , default:0
57
58 bindwait = seconds
59 value to wait for bind request to complete, default:120
60
61 netprio = priority
62 network priority, default:system given
63
64 resolvedelay = seconds
65 delay for DNS resolving, default:30
66
67 sleep = minutes
68 time waiting for inactive users, default:none, can be overwritten
69 per user in oscam.user
70
71 unlockparental = 0|1
72 1 = unlock parental mode option to disable Seca pin code request for
73 adult movie, default:0
74
75 nice = -20..+20
76 system priority, default:99
77
78 serialreadertimeout = milli-seconds
79 timeout for serial reader, default:1500
80
81 maxlogsize = kbytes
82 max log file size, default:10
83
84 showecmdw = 0|1
85 1 = show DW in log file, default:0
86
87 waitforcards = 0|1
88 1 = wait for local SCs on startup before opening network ports,
89 default:0
90
91 preferlocalcards = 0|1
92 1 = try decoding on local cards first, default:0
93
94 The [monitor] section
95 port = 0|port
96 UDP port for monitor, port=0 monitor disabled, default:0
97
98 serverip = IP address
99 bind service to specified IP address, default:all
100
101 nocrypt = IP address|IP address range[,IP address|IP address range]...
102 unsecured monitor connection, default:none
103
104 example: nocrypt = 127.0.0.1,192.168.0.0-192.168.255.255
105
106 aulow = minutes
107 time no EMM occurs so that client is set to low, default:30
108
109 monlevel = 0|1|2|3|4
110 monitor level:
111
112 0 = no access to monitor
113 1 = only server and own procs
114 2 = all procs, but viewing only, default
115 3 = all procs, reload of oscam.user possible
116 4 = complete access
117
118 monlevel can be overwritten per user in oscam.user
119
120 hideclient_to = minutes
121 time to hide clients in the monitor if not sending requests, 0 =
122 disabled, default:0
123
124 The [camd33] section
125 port = 0|port
126 TCP/IP port for camd 3.3x clients, 0 = disabled, default:0
127
128 serverip = IP address
129 bind service to specified IP address, default:all
130
131 nocrypt = IP address|IP address range[,IP address|IP address range]...
132 unsecured camd 3.3x client connection, default:none
133
134 example: nocrypt = 127.0.0.1,192.168.0.0-192.168.255.255
135
136 passive = 0|1
137 1=force passive camd 3.3x client, default:0
138
139 key = 128 bit key
140 key for camd 3.3x client encryption, default:none
141
142 example: key = 01020304050607080910111213141516
143
144 The [camd35] section
145 port = 0|port
146 UDP port for camd 3.5x clients, 0 = disabled, default:0
147
148 serverip = IP address
149 bind service to specified IP address, default:all
150
151 The [newcamd] section
152 port = port@CAID[:ident][,ident]...[;port@CAID[:ident][,ident]...]...
153 TCP port/CAID/ident definitions, default:none
154
155 example: port = 10000@0100:100000;20000@0200:200000,300000,400000
156
157 Each CAID requires a separate port.
158
159 serverip = IP address
160 bind service to specified IP address, default:all
161
162 key = DES key
163 key for newcamd client encryption, default:none
164
165 example key = 0102030405060708091011121314
166
167 The [radegast] section
168 port = 0|port
169 TCP/IP port for radegast clients, 0=disabled, default:0
170
171 serverip = IP address
172 bind service to specified IP address, default:all
173
174 allowed = IP address|IP address range[,IP address|IP address range]...
175 client connections allowed from, default:none
176
177 example: allowed = 127.0.0.1,192.168.0.0-192.168.255.255
178
179 user = username
180 user name for radegast client
181
182 The [serial] section
183 device = <user>@<device>[:baud][?option1=value1[&option2=value2]]
184 parameters:
185 user = account
186 device = serial device name
187 option = timeout = milli-seconds, timeout for connection,
188 default:50
189 delay = milli-seconds, additional delay between two
190 characters, default:0
191
192 supported serial devices:
193 HSIC (humax sharing interface client)
194 SSSP (simple serial sharing protocol)
195 bomba (BOMBA firmware)
196 dsr9500 (DSR 9500)
197
198 The [cs357x] section
199 port = 0|port
200 UDP port for camd 3.57x clients, 0 = disabled, default:0
201
202 serverip = IP address
203 bind service to specified IP address, default:all
204
205 The [cs378x] section
206 port = 0|port@CAID[:ident][,ident]...[;port@CAID[:ident][,ident]...]...
207 TCP port/CAID/ident definitions for camd 3.78x clients,0 = disabled,
208 default:0
209
210 example: port = 10000@0100:100000;20000@0200:200000,300000,400000
211
212 Each CAID requires a separate port.
213
214 serverip = IP address
215 bind service to specified IP address, default:all
216
217 The [gbox] section
218 password = password
219 password for gbox server
220
221 maxdist = distance
222 maximum distance to gbox servers, default:5
223
224 ignorelist = filename
225 listing of providers to be ignored, format: G:{<CAID><provider ID>},
226 default:none
227
228 example: G:{01001234}
229
230 onlineinfos = filename
231 file to store online information, default:none
232
233 cardinfos = filename
234 file to store card information, default:none
235
236 locals = <CAID><provider ID>[,<CAID><provider ID>]...
237 backwards sharing of local cards,default:none
238
239 example: locals = 01001234,02005678
240
241 The [dvbapi] section (only if DVB API module enabled)
242 enabled = 0|1
243 1 = DVB API enabled, default:0
244
245 user = username
246 user name for DVB API client, default:anonymous
247
248 ignore = CAID[,CAID]...
249 CAIDs to be ignored, default:none
250
251 priority = CAID[,CAID]...
252 CAIDs to be prioritized, default:CAIDs of local SCs will be priori
253 tized
254
255 au = 0|1
256 1 = enable AU, default:0
257
258 boxtype = dbox2|dreambox|ufs910
259 set boxtype, auto detection of DVB API will be aspired,
260 default:dreambox
261
262 The [anticasc] section (only if anti-cascading enabled)
263 enabled = 0|1
264 1 = enabled anti-cascading, default:0
265
266 numusers = quantity
267 anti-cascading: user per account, 0 = anti-cascading not permitted,
268 default:0
269
270 sampletime = minutes
271 duration of sample, default:2
272
273 samples = quantity
274 quantity of samples over limit, default:10
275
276 penalty = 0|1|2
277 level of penalty:
278
279 0 = only logging
280 1 = send fake CWs
281 2 = disbable user temporary
282
283 default:0, penalty can be overwritten per user in oscam.user
284
285 aclogfile = filename
286 file for anti-cascading logging, default:none
287
288 fakedelay = milli-seconds
289 fake delay time, default:1000
290
291 denysamples = quantity
292 How many samples should be penalized?, default:8
293
294MONITOR
295 monitor commands:
296
297 login <user> <password> = login (for unencrypted connections only)
298 exit = exit monitor
299 log <on|onwohist|off> = enable|enable without hitory|disable
300 logging for 2 minutes
301 status = list of current processes and clients
302 shutdown = showdown OSCam
303 reload = reinit user db, clients and anti-cascading,
304 for newcamd connections: after reloading
305 the ident, please restart newcamd client
306 details <PID> = details about selected PID
307 debug <level> = set debug level (monlevel > 3 required)
308 debug level mask:
309 0 = no debugging (default)
310 1 = debug dumps
311 2 = debug master process
312 4 = debug reader/proxy process
313 8 = debug client process
314 16 = debug reader I/O
315 32 = debug watchdog
316 63 = debug all
317 version = show OSCam version
318
319EXAMPLES
320 [global]
321 logfile = /var/log/oscam/oscam.log
322 usrfile = /var/log/oscam/oscamuser.log
323 pidfile = /var/run/oscam.pid
324
325 waitforcards = 1
326
327 [monitor]
328 port = 988
329 monlevel = 1
330 nocrypt = 127.0.0.1
331
332 [newcamd]
333 key = 0102030405060708091011121314
334 port = 10000@0100:100000;20000@0200:200000,300000,400000
335
336 [radegast]
337 port = 30000
338 user = radegastuser
339 allowed = 127.0.0.1,192.168.0.0-192.168.255.255
340
341 [camd33]
342 port = 40000
343 serverip = 192.168.0.1
344 key = 01020304050607080910111213141516
345
346 [cs378x]
347 port = 50000@0300:600000
348
349SEE ALSO
350 oscam(1), oscam.user(5), oscam.server(5), oscam.srvid(5),
351 oscam.guess(5), oscam.cert(5), oscam.services(5), oscam.ird(5),
352 oscam.ac(5)
353
354
355
356 oscam.conf(5)
Note: See TracBrowser for help on using the repository browser.