1 | oscam.conf(5) oscam.conf(5)
|
---|
2 |
|
---|
3 |
|
---|
4 |
|
---|
5 | NAME
|
---|
6 | oscam.conf - main configuration file for OSCam
|
---|
7 |
|
---|
8 | SYNOPSIS
|
---|
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 |
|
---|
14 | DESCRIPTIONS
|
---|
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
|
---|
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 | au = 0|1
|
---|
249 | 1 = enable AU, default:0
|
---|
250 |
|
---|
251 | socket = filename
|
---|
252 | camd socket file, default:none
|
---|
253 |
|
---|
254 | example: socket = /tmp/camd.socket
|
---|
255 |
|
---|
256 | The [anticasc] section
|
---|
257 | enabled = 0|1
|
---|
258 | 1 = enabled anti-cascading, default:0
|
---|
259 |
|
---|
260 | numusers = quantity
|
---|
261 | anti-cascading: user per account, 0 = anti-cascading not permitted,
|
---|
262 | default:0
|
---|
263 |
|
---|
264 | sampletime = minutes
|
---|
265 | duration of sample, default:2
|
---|
266 |
|
---|
267 | samples = quantity
|
---|
268 | quantity of samples over limit, default:10
|
---|
269 |
|
---|
270 | penalty = 0|1|2
|
---|
271 | level of penalty:
|
---|
272 |
|
---|
273 | 0 = only logging
|
---|
274 | 1 = send fake CWs
|
---|
275 | 2 = disbable user temporary
|
---|
276 |
|
---|
277 | default:0, penalty can be overwritten per user in oscam.user
|
---|
278 |
|
---|
279 | aclogfile = filename
|
---|
280 | file for anti-cascading logging, default:none
|
---|
281 |
|
---|
282 | fakedelay = milli-seconds
|
---|
283 | fake delay time, default:1000
|
---|
284 |
|
---|
285 | denysamples = quantity
|
---|
286 | How many samples should be penalized?, default:8
|
---|
287 |
|
---|
288 | MONITOR
|
---|
289 | monitor commands:
|
---|
290 |
|
---|
291 | login <user> <password> = login (for unencrypted connections only)
|
---|
292 | exit = exit monitor
|
---|
293 | log <on|onwohist|off> = enable|enable without hitory|disable
|
---|
294 | logging for 2 minutes
|
---|
295 | status = list of current processes and clients
|
---|
296 | shutdown = showdown OSCam
|
---|
297 | reload = reinit user db, clients and anti-cascading,
|
---|
298 | for newcamd connections: after reloading
|
---|
299 | the ident, please restart newcamd client
|
---|
300 | details <PID> = details about selected PID
|
---|
301 | debug <level> = set debug level (monlevel > 3 required)
|
---|
302 | debug level mask:
|
---|
303 | 0 = no debugging (default)
|
---|
304 | 1 = debug dumps
|
---|
305 | 2 = debug master process
|
---|
306 | 4 = debug reader/proxy process
|
---|
307 | 8 = debug client process
|
---|
308 | 16 = debug reader I/O
|
---|
309 | 32 = debug watchdog
|
---|
310 | 63 = debug all
|
---|
311 | version = show OSCam version
|
---|
312 |
|
---|
313 | EXAMPLES
|
---|
314 | [global]
|
---|
315 | logfile = /var/log/oscam/oscam.log
|
---|
316 | usrfile = /var/log/oscam/oscamuser.log
|
---|
317 | pidfile = /var/run/oscam.pid
|
---|
318 |
|
---|
319 | waitforcards = 1
|
---|
320 |
|
---|
321 | [monitor]
|
---|
322 | port = 988
|
---|
323 | monlevel = 1
|
---|
324 | nocrypt = 127.0.0.1
|
---|
325 |
|
---|
326 | [newcamd]
|
---|
327 | key = 0102030405060708091011121314
|
---|
328 | port = 10000@0100:100000;20000@0200:200000,300000,400000
|
---|
329 |
|
---|
330 | [radegast]
|
---|
331 | port = 30000
|
---|
332 | user = radegastuser
|
---|
333 | allowed = 127.0.0.1,192.168.0.0-192.168.255.255
|
---|
334 |
|
---|
335 | [camd33]
|
---|
336 | port = 40000
|
---|
337 | serverip = 192.168.0.1
|
---|
338 | key = 01020304050607080910111213141516
|
---|
339 |
|
---|
340 | [cs378x]
|
---|
341 | port = 50000@0300:600000
|
---|
342 |
|
---|
343 | SEE ALSO
|
---|
344 | oscam(1), oscam.user(5), oscam.server(5), oscam.srvid(5),
|
---|
345 | oscam.guess(5), oscam.cert(5), oscam.services(5), oscam.ird(5),
|
---|
346 | oscam.ac(5)
|
---|
347 |
|
---|
348 |
|
---|
349 |
|
---|
350 | oscam.conf(5)
|
---|