source: ipk/source.mipsel/emus_cccam_214/_path_/keys/CCcam.cfg.CCcam @ 27797

Last change on this file since 27797 was 27797, checked in by andyjetset, 9 years ago

fix

File size: 20.2 KB
Line 
1# CCcam team uvadi CCcam v2.1.4
2#
3# Special greets go to all our friends all over the world, you know who you are!
4#
5# Specjalne podziekowania dla Ludzi z Polski, dzieki ktorym jest duzo nowych funkcji w wersji 2.0.0
6# Ostatnim razem zapomnielismy o nich wspomniec w readme. DZieki Chlopaki!
7#
8
9######################################################################
10# friends                                                            #
11######################################################################
12# syntax for to add a friend user to CCcam with the max up hops limit (default = 5)
13# sharing of emus (default = 1), allow emm (default = 1), and optional
14# downshare limits per share (default = no limits) and optional
15# downshare limits per share based on caid:id:sid
16# and optional timeslots in which share is valid (to block channels on box of children after 19:00 for instance)
17# if no timeslot is defined 24 hrs a day is used
18# emus are shared only one level down, even if no limits given
19#
20# max username length 20
21# password length 'unlimited'
22#
23#F: <username> <password> <uphops> <shareemus> <allowemm> ( { caid:id(:downhops), caid:id(:downhops), ... } { caid:id:sid, caid:id:sid, ... } { begintime-endtime, ... } ) hostname/ip address
24#
25# example:
26#
27# F: user1 pass1
28#
29# user1 gets all our shares at max 5 hops from us
30# (our local cards + max five hops away). He can share down to his own
31# clients. He also receive emu shares (if he has 'yes' behind his C: entry),
32# and is allowed to send us emm.
33#
34# F: user2 pass2 0 1 0 { 0100:000080, 0622:000000:1, 0500:000000:2 }
35#
36# user2 gets only our local cards but no 0100:000080.
37# and our 0622:000000 cards only for himself (1 hop down),
38# and 0500 cards for himself plus one additional hop down.
39# He also gets our emus, and is NOT allowed to send us emm (updates).
40#
41# F: user3 pass3 5 0 1 { 0:0:3, 0100:000080:1 }
42#
43# user3 gets all cards at a maximum of 5 hops away from us,
44# and get's to share them down two further levels beyond his own level.
45# But he is not allowed to share 0100:000080 down to other users.
46# He gets no emus from us, and he is allowed to send us emm.
47#
48# F: user4 pass4 5 0 1 { 0:0:3, 0100:000080:1 } { 0100:000080:15df }
49#
50# user4 gets all cards at a maximum of 5 hops away from us,
51# and get's to share them down two further levels beyond his own level.
52# But he is not allowed to share 0100:000080 down to other users.
53# He gets no emus from us, and he is allowed to send us emm.
54# He is also not allowed to view channel 0100:000080:15df
55#
56# F: user4 pass4 5 0 1 { } { } { 12:00-17:00, 19:00-20:00 }
57#
58# user4 gets all cards at a maximum of 5 hops away from us,
59# and get's to share them down two further levels beyond his own level.
60# the share is only valid between 12:00 and 17:00 and between 19:00 and 20:00
61# outside these hours the share will not give cw's to the client
62#
63#
64# F: user5 pass5 5 1 1 { } { } { } 192.168.1.1
65#
66# user5 gets all cards at a maximum of 5 hops away from us
67# user5 is only allowed to connect from the host 192.168.1.1
68#
69
70
71######################################################################
72# connections                                                        #
73######################################################################
74# syntax for to add a client connection to other CCcam
75# add yes on end to use friends emus (non public private key/emu,etc...),
76# but only works when corresponding F line on server has '1' for <shareemus>
77# optional limits just like F line, but for incoming shares (ignore shares more than 'uphops' away)
78#
79#C: <hostname> <port> <username> <password> <wantemus> ( { caid:id(:uphops), caid:id(:uphops), ... } )
80#
81#note: if {} limits are added, <wantemus> cannot be omitted. Use either yes or no.
82#
83# example:
84#
85# C: someserver.somedomain 12000 user1 pass1
86# C: 192.168.1.2 12000 user2 pass2
87# connects to CCcam without use of friends emus
88#
89# C: 192.168.1.2 12000 user3 pass3 yes
90# connects to CCcam, and receives friends emus also.
91
92
93# syntax for to add newcamd server connection
94#
95#N: <ip> <port> <username> <pass> <des(14byte)> <nr_of_hops_away (default: 1)> <stealth mode (default: 0)>
96#
97# example:
98#
99# N: 127.0.0.1 10000 dummy dummy 01 02 03 04 05 06 07 08 09 10 11 12 13 14
100#
101# add a newcamd card, give it an offset of 2 hops, in the share list
102#
103# N: 127.0.0.1 10000 dummy dummy 01 02 03 04 05 06 07 08 09 10 11 12 13 14 2
104#
105# stealthy login on newcamd server:
106#
107# N: 127.0.0.1 10000 dummy dummy 01 02 03 04 05 06 07 08 09 10 11 12 13 14 1 1
108#
109# stealth modes: 0 = disabled, 1 = mgcamd new, 2 = mgcamd old, 3 = evocamd, 4 = generic
110
111
112# syntax for to add radegast server connection
113#
114#R: <ip> <port> <ca4> <id6> <nr_of_hops_away (default: 1)>
115#
116# example:
117#
118# R: 127.0.0.1 678 0100 000080
119
120
121# syntax for to add camd3 connection
122#
123#L: <ip> <port> <username> <pass> <ca4> <id6> <nr_of_hops_away (default: 1)>
124#
125# example:
126#
127# L: 127.0.0.1 567 dummy dummy 0100 000080
128
129
130# syntax for add gbox connection
131#
132#G: <pass> <localhost> <localport> <peerpass> <peeraddress> <peerport>
133#
134# support optional limits just like C line (ignore shares more than 'uphops' away)
135# { caid:id(:uphops), caid:id(:uphops), ... }
136#
137# example:
138#
139# G: AABBCCDD my.address.tv 2500 12345678 peer.address.tv 2500
140
141######################################################################
142# Other config settings                                              #
143######################################################################
144# server shall listen on this port pro incoming connections
145# default port is 12000, disable server with parm -s or set port 0
146#
147#SERVER LISTEN PORT : 12000
148
149# server can give some info about server and client connections
150# and cardinfo using telnet or webbrowser.
151#
152# Switch on/off access to info
153# default is yes
154#
155#ALLOW TELNETINFO: no
156#ALLOW WEBINFO: no
157
158# Show extended client info when showing client list
159# default is yes
160#
161#SHOW EXTENEDED CLIENT INFO : no
162
163# The webinfo service can be protected with a username and password.
164# This is switched off by default
165#
166#WEBINFO USERNAME : <username>
167#WEBINFO PASSWORD : <password>
168
169# The telnetinfo service can be protected with a username and password.
170# This is switched off by default
171#
172#TELNETINFO USERNAME : <username>
173#TELNETINFO PASSWORD : <password>
174
175# default port for telnet is 16000
176# default port for web is 16001
177# supported commands:
178#        info
179#        activeclients
180#        clients
181#        servers
182#        shares
183#        providers
184#        entitlements
185# example use:
186#     echo servers | telnet localhost 16000
187#     go with your browser to http://ip_CCcam_server:16001
188#
189#TELNETINFO LISTEN PORT : 16000
190#WEBINFO LISTEN PORT : 16001
191
192# time in seconds to keep On Screen Display active.
193# default is 0 (turned off)
194#
195#ZAP OSD TIME : 3
196
197# username used to show popup (default : root)
198#OSD USERNAME : root
199
200# password used to show popup (default : dreambox)
201#OSD PASSWORD : dreambox
202
203# port used to show popup (default : 80)
204#OSD PORT : 80
205
206# Serial reader config. Add as many as you have attached too your system
207# replaces old name 'PHOENIX READER PATH', but still works.
208# default is none
209# optionally add readertype : phoenix,mouse,uniprog,sc8in1,smartreader+
210# (when non readertype given defaults to uniprog (e.g. for mastera))
211#
212#       SERIAL READER : <device> <type>
213#
214# example
215#
216#SERIAL READER : /dev/tts/0
217
218# Serial reader smartcard write delay.
219# Setting to finetune smartcard write speed, optimal setting depends on speed of system, and
220# speed of card. Default value is calculated, but can overrule by setting.
221# Use number of microseconds delay between bytes, 0 = no delay, -1 = calculated default
222# Note: huge difference between values 0 and 1, because of schedular overhead
223#
224#       SMARTCARD WRITE DELAY : <device> <delay>
225#
226# example, 10ms write delay on smartcard in reader attached to /dev/ttyUSB0
227#
228#SMARTCARD WRITE DELAY: /dev/ttyUSB0 10000
229#
230# NOTE on sc8in1; because 8 smartcards are used on the same devicename, use
231# devicename_0 .. devicename_7 for settings which require devicename to make
232# settings per smartcard. example /dev/ttyS0_0, /dev/ttyS0_1 ..
233# example, 8ms write delay between bytes to smartcard on last sc8in1 channel, attached to /dev/tts/0
234#
235#SMARTCARD WRITE DELAY: /dev/tts/0_7 8000
236
237# Smartcard clock speed override
238# Setting override specified speed for smartcard.
239# Don't add setting unless you're sure what you're doing.
240# In 99% of the cases the reader selects the optimal speed.
241# Adding this setting either slows your card down, or might destroy it.
242#
243#        SMARTCARD CLOCK FREQUENCY : <device> <freq>
244#
245# example
246#
247#SMARTCARD CLOCK FREQUENCY: /dev/ttyUSB0 5500000
248
249# if timing should be shown in OSD and debug output
250# default is no (turned off)
251#
252#SHOW TIMING : yes
253
254# enables mini OSD which shows server(type), cardreader, keys or fta only
255# default is no (turned off)
256#
257#MINI OSD : yes
258
259# turns debugging on and off
260# default is no (turned off)
261#
262#DEBUG : yes
263
264
265# should CCcam try to read and parse newcamd.conf for server connections
266# default is no (turned off)
267#
268#NEWCAMD CONF : yes
269
270
271# configure what EMM blocker you want. Add as many as readers you have attached
272# default is blocking nothing
273#
274# B: /dev/sci0 01
275#       00 - nothing
276#       01 - sa blocked
277#       02 - ua blocked
278#       04 - ga blocked
279#       and sum of for combinations
280#
281#examples
282#
283#B: /dev/tts/0 07
284#B: /dev/sci0 01
285
286# disable all local EMM readers
287# saves lots of CPU, but you won't get any updates anymore
288# (unless you get updates from your clients)
289#
290# default: no
291#
292#DISABLE EMM : yes
293
294# with this setting you can
295# allow a client on two hops away
296# to send the updates to the cardserver
297#
298# default : no
299#
300#EXTRA EMM LEVEL : yes
301
302# with this setting you can
303# configure how many emm listeners are started.
304# for example use 2 when recording
305# and viewing different systems and both need constant updates
306#
307# default : 1
308#
309#EMM THREADS : 1
310
311# overrule the nds boxkey (4 byte hex)
312#
313# BOXKEY: <device> <byte1> <byte2> <byte3> <byte4>
314#
315#example
316#
317#BOXKEY: /dev/sci0 00 11 22 33
318
319# set card pin
320# * please be very careful with this option as you could lock your card *
321#
322# PIN: <device> <pin>
323#
324#example
325#
326#PIN: /dev/sci0 1234
327
328# overrule the irdeto camkey (8 byte hex), default 11 22 33 44 55 66 77 88
329#
330# CAMKEY: <device> <byte1> <byte2> <byte3> <byte4> <byte5> <byte6> <byte7> <byte8>
331#
332#example
333#
334#CAMKEY: /dev/sci0 11 22 33 44 55 66 77 88
335
336# overrule the irdeto camdata (64 byte hex)
337# trailing zero bytes can be omitted
338# default for unknown ASC's is 11 22 33 44 55 66 77 88 00 00 .. 00, known ASC's have other defaults
339#
340# CAMDATA: <device> <byte1> <byte2> <byte3> <byte4> <byte5> <byte6> ... <byte64>
341#
342#example, when only the first 15 camdata bytes are nonzero
343#
344#CAMDATA: /dev/sci0 11 22 33 44 55 66 77 88 99 aa bb cc dd ee ff
345
346# custom add id's for BEEF patched cards
347#
348# BEEF ID: <ident1> <ident2> <ident3> <ident4> <ident5> <ident6> <ident7> <ident8> <device>
349#
350#example
351#
352#BEEF ID: 4101 0 0 0 0 0 0 0 /dev/sci0
353
354# what Softcam.Key should CCcam try to read
355# defaults to /var/keys/SoftCam.Key
356#
357#SOFTKEY FILE : /var/keys/SoftCam.Key
358
359
360# what AutoRoll.Key should CCcam try to read
361# defaults to /var/keys/AutoRoll.Key
362#
363#AUTOROLL FILE : /var/keys/AutoRoll.Key
364
365
366# what constant.cw should CCcam try to read
367# defaults to /var/keys/constant.cw
368# file content can be like
369#
370# ca4:id6:sid4:pmtpid4:ecmpid4:key16(01 02 03...)
371#
372#STATIC CW FILE : /var/keys/constant.cw
373
374
375# in this file you can configure what CAIDs CCcam should prefer or ignore
376# defaults to /var/etc/CCcam.prio
377# file content can have ignores (I) and prio lists (P)
378#
379# note 1: I line affects both for ecm and emm (receive no emm on ignored systems)
380# P line only affects ecm choice (emm still received for all available systems, not just the priority system)
381#
382# note 2: ident 0 means 'all idents'. So 'caid:0' is the same as 'caid'.
383#
384# note 3: for some systems (e.g. nagra (caid 18xx)), the ident is not known at the time the
385# prio lists are checked. In that case, matching is done on caid only, even if the P line
386# defines nonzero idents. So for example '1801:401' behaves the same as '1801' in a P line
387# I lines work differently, they are checked two times, once before ecm or emm is received, again
388# after ecm or emm are received (and nagra ident should be known)
389# P lines are only checked once, before ecm received.
390#
391# note 4: if a P line contains caid:ident pairs which are not available for the current
392# channel, that P line is not used for that channel.
393# Example, channel has systems 626, 1801:401 then P line with "1801,100:96,626" is ignored by that channel,
394# because channel doesn't have 100:96.
395# But P line with "1801" works, and also "626,1801" will work for channel
396#
397# note 5: P lines are parsed in the order in which they are found in the prio file.
398# Only the first matching P line is used
399#
400# situation 1: ignore allways this caid, all idents, on all channels
401# I: caid
402#
403# situation 2: ignore allways this caid/ident pair
404# I: caid:ident
405#
406# situation 3: ignore this caid/ident pair, on channel 'sid'
407# I: caid:ident:sid
408#
409# situation 4: when both caid1 and caid2 exist for a channel, prefer caid1 over caid2
410# P: caid1, caid2
411#
412# situation 5: when caid1:ident1 till caidN:identN exist for a channel, use them in order of this list.
413# P: caid1:ident1, caid2:ident2, .., caidN:identN
414#
415# situation 6: when caid1:ident1 till caidN:identN exist for channel 'sid', use them in order of this list.
416# Sid on first caid/ident pair identifies sid for which list is used. All other sids ignore this list.
417# P: caid1:ident1:sid, caid2:ident2, .., caidN:identN
418#
419#CAID PRIO FILE : /var/etc/CCcam.prio
420
421#
422# In this file all provider idents are defined
423# The info from this file is being used in the web interface
424# format:
425# <caid><ident> "Provider description"
426#
427# PROVIDERINFO FILE : /var/etc/CCcam.providers
428
429#
430# In this file all channel idents are defined
431# The info from this file is being used in the web interface
432# format:
433# caid:ident:sid "Channel description"
434#
435# CHANNELINFO FILE : /var/etc/CCcam.channelinfo
436
437# write wrong logins to file
438# defaults is off
439#
440#LOG WARNINGS : /tmp/warnings.txt
441
442# global setting for stealthy login to newcamd/newcs server, N line can overrule
443# stealth modes: 0 = disabled, 1 = mgcamd new, 2 = mgcamd old, 3 = evocamd, 4 = generic
444# default: 0
445#
446#NEWCAMD STEALTH : 0
447
448# load balancing between identical cards, list device names of card readers containing identical cards,
449# optionally followed by a list of service id's which are to be excluded from loadbalancing
450#
451# LOADBALANCE : <device1> <device2> .. <devicen> { <exceptsid1>, <exceptsid2> .. , <exceptsidn> }
452#
453# multiple loadbalance groups can be configured, by adding multiple lines
454# warning: restart is required, when loadbalance group config changes
455#
456#example 1: load balance requests for three identical cards
457#
458# LOADBALANCE : /dev/ttyS0 /dev/ttyS1 /dev/ttyS2
459#
460#example 2: load balance requests for two almost identical cards, sid 0df3 and 0de1 are only available
461#on one of the cards, so requests for these sids shouldn't be loadbalanced
462#
463# LOADBALANCE : /dev/ttyS5 /dev/ttyS6 { 0df3,0de1 }
464
465# in version 1.2.1 and lower there was a problem which could lead to disconnecting clients
466# in version 1.4.0 network load was significantly reduced
467# in version 1.7.0 dangerous password bug was fixed
468# in order to take advantage of these fixes, all clients should upgrade
469# with this setting you can force that clients at least use a certain version otherwise they are denied when logging in
470#
471# default : accept all versions
472#
473#example 1: avoid disconnecting clients problem
474#
475#MINIMUM CLIENT VERSION : 1.3.0
476#
477#example 2: achieve network load decrease
478#
479#MINIMUM CLIENT VERSION : 1.4.0
480#
481#example 3: don't allow potentially wrong passwords (pre 1.7.0 has password bug)
482#
483#MINIMUM CLIENT VERSION : 1.7.0
484
485
486# Irdeto smartcards: option to disable smart chid checking for irdeto smartcards.
487# Default, only chids advertised by card are accepted.
488# This avoids a lot of unwanted card traffic
489#
490# But if smartcard has hidden/unknown chids, all chids should be tried.
491# In that case specify 'TRY ALL CHIDS' option for cardreader.
492# Use with care, enabling option causes more card traffic.
493# Only use setting when some channels don't work without it.
494# note: if even this setting don't help decode all channels, try using
495# commandline arg -l, to disable all self-learning features (warning: slower)
496#
497#TRY ALL CHIDS : <device>
498#
499#example: card in /dev/ttyUSB0 gets ecm for all possible chids, not
500#just the chids it officially supports
501#
502#TRY ALL CHIDS : /dev/ttyUSB0
503
504# perform smartcard post init commands
505#
506# POSTINIT : <device> <filename> (<autodelete>)
507#
508# send commands in 'filename' to 'device', and delete 'filename' when
509# optional 'autodelete' argument nonzero
510#
511#example:
512#
513#POSTINIT : /dev/sci0 /tmp/postinit
514#
515#example /tmp/postinit contents:
516#c134000003000000
517#c13201000a
518
519# Option to override autodetected dvb api version. Restart needed.
520#
521#DVB API: <value>
522#
523# <value> -1 = no dvb, 1 = dvb api 1, 3 = dvb api 3
524#
525# WARNING: only use when autodetect fails!
526#
527#example, disable nonworking dvb hardware:
528#DVB API: -1
529
530# Option to set global share limits
531#
532#GLOBAL LIMITS: { caid:id(:downhops), caid:id(:downhops), ... }
533#
534#example:
535#
536#GLOBAL LIMITS : { 0100:000080, 0622:000000:1, 0500:000000:2 }
537#
538# all users get no 0100:000080.
539# and our 0622:000000 cards only for themself (1 hop down),
540# and 0500 cards for themself plus one additional hop down.
541# global limits are overridden by client specific limits (see F:)
542
543# Option to reject shares with less than required downhops on clientside
544#
545#MINIMUM DOWNHOPS: <value>
546#
547# default: 0 (don't ignore any shares)
548#
549#example:
550#
551#MINIMUM DOWNHOPS: 1
552#
553# ignore shares that have less than 1 'downhops' (i.e. can not be shared
554# further down to other clients)
555
556# Option to ignore all shares that go through a certain node
557#
558#IGNORE NODE: <nodeid>
559#
560#example, ignore two nodes:
561#
562#IGNORE NODE: ccd536ab515767ad
563#IGNORE NODE: aad536ab515761af
564
565
566# The seca handler is used to better support simulcrypt on the same ident
567#
568# With this setting you can change the behaviour of how SECA has to be used
569# This setting is ignored unless SECA2/SECA3 simulcrypt is detected!!
570#
571# When disabled CCcam behaves like previous versions
572#
573# When "prefer SECA3 over SECA2" is enabled try to use SECA3 ecm first, then SECA2
574#
575# When "Ignore SECA2" is enabled, ignore all SECA2 ecm so a SECA3 card will not get SECA2 request which it cannot handle
576#
577# When "Ignore SECA3" is enabled, ignore all SECA3 ecm so a SECA2 card will not get SECA3 request which it cannot handle
578#
579#
580# The following settings can be used
581#
582# SECA HANDLER: <value>
583# <value> : 0 = disabled, 1 =  prefer SECA3 over SECA2, 2 = prefer SECA2 over SECA3, 3 = Ignore SECA2, 4 = Ignore SECA3
584#
585# default: 1
586#
587# Example try to use SECA3 ecm first, then SECA2
588#SECA HANDLER: 1
589#
590# Example try to use SECA2 ecm first, then SECA3
591#SECA HANDLER: 2
592#
593# Example to ignore all SECA2 ecm so a SECA3 card will not get SECA2 request which it cannot handle
594#SECA HANDLER: 3
595#
596# Example to ignore all SECA3 ecm so a SECA2 card will not get SECA3 request which it cannot handle
597#SECA HANDLER: 4
598
599
600# Configure limited list of accepted sids for smartcard
601# When omitted, all sids are allowed.
602# (can work together with LOADBALANCE configuration, or for standalone cards)
603#
604# SMARTCARD SID ASSIGN : <device> <maxnumberofsids> { <sid1>, <sid2>, ... <sidn> }
605#
606# <device> is the reader devicenode
607# <maxnumberofsids> limits the total number of sids assigned to the card (0 = use length of sid list)
608# { <sid1>..<sidn> } lists the sids that are assigned to the smartcard, when omitted, <maxnumberofsids> is used to auto assign sids
609#
610# when <maxnumberofsids> is larger than the length of the sidlist, the remainder of the sids are auto assigned, till the list reaches <maxnumberofsids>
611# Check entitlement output for realtime assignment list
612#
613# WARNING: when SMARTCARD SID ASSIGN config changes, restart is required before settings take effect
614#
615#example1: smartcard in device /dev/ttyUSB0 only handles requests for sids df3, df4, df5
616#
617# SMARTCARD SID ASSIGN : /dev/ttyUSB0 0 { 0df3,0df4,0df5 }
618#
619#example2: smartcard in device /dev/ttyUSB0 handles requests for max 5 sids, auto assigned in the order of occurance. A request for a 6th sid will be denied.
620#
621# SMARTCARD SID ASSIGN : /dev/ttyUSB0 5
622#
623#example3: smartcard in device /dev/ttyUSB0 handles requests for max 5 sids, 3 of which are df3, df4, df5, remaining 2 are auto assigned
624#
625# SMARTCARD SID ASSIGN : /dev/ttyUSB0 5 { 0df3,0df4,0df5 }
Note: See TracBrowser for help on using the repository browser.