Advertisement
Guest User

CCcam230

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