Skip to content

Instantly share code, notes, and snippets.

@azbesthu
Created April 1, 2013 19:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save azbesthu/5286946 to your computer and use it in GitHub Desktop.
Save azbesthu/5286946 to your computer and use it in GitHub Desktop.
<?xml version="1.0"?>
<!--
For setup-issues, look in readme.txt!
If there are other troubles, try different forums or irc channels around :o)
The configfile are NOT case-sensitive, and shouldnt care about dos/unix cr/lf.
-->
<newCSconfig>
<globals>
<!-- valid value for listening-ip are:
IPv4 adress of local interface. -->
<listening-ip>127.0.0.1</listening-ip>
</globals>
<readers name="PCSC olvaso">
<device>
<!-- valid value for name are:
Any name of your choice, just to name the device for you to read. -->
<name>PCSC olvaso</name>
<!-- valid value for type are:
phoenix, dbox, sci, dragon, sc8, mp35, smartreader, pcsc (for own binary) or infinity(for own binary). -->
<type>pcsc</type>
<!-- valid value for mhz are:
153(1.53mhz), 358(3.58mhz), 368(3,68Mhz), 450(4.5mhz), 536(5.36mhz), 600(6.00mhz), 715(7.15 mhz), 800(8.00mhz)
1000(10.00 mhz), 1071(10.71mhz), 1200 (12.00mhz), 1431(14.31 mhz), 1600 (16.00mhz)
This setting is now IMPORTANT, normal phoenix usually have 3.57mhz, and can usually be overclocked
to 6mhz. For the others you probably need extra crystal (be careful). -->
<mhz>368</mhz>
<!-- valid value for node are full path to device, f.ex /dev/tts/0,
/dev/sciX (for dreambox), /dev/cardreaderX (for dragon),
/dev/tts/USBX (for a usb2serial device).
COMx on Win32, COM1, COM2 etc.
For PC/SC this is just 0, 1 ,2 and so on (reader number) -->
<node>0</node>
<!-- valid value for infinity_number are number of device, if you have multiple, only used in infinity binary,
0, 1 ... -->
<infinity_number>0</infinity_number>
<!-- valid value for slot are:
0-7 (only used on Sc8). -->
<slot>0</slot>
<!-- valid value for parity are:
Odd, Even, None (ignored on sci and dragon).
This is only used on serial _BEFORE_ ATR is recieved. -->
<parity>none</parity>
<!-- valid value for reset are:
normal, inverse (ignored on sci and dragon).
normal is phoenix, inverse is smartmouse -->
<reset>normal</reset>
<!-- valid value for export are:
Yes,No - if not exported only localhost can connect. -->
<export>Yes</export>
<!-- valid value for enabled are:
Yes,No - if not enabled it cant be used. -->
<enabled>Yes</enabled>
<!-- valid value for blocksa are:
Yes, No - block shared address emm to card. -->
<blocksa>No</blocksa>
<!-- valid value for blockua are:
Yes, No - block unique address emm to card. -->
<blockua>No</blockua>
<!-- valid value for blockga are:
Yes, No - block group address emm to card. -->
<blockga>No</blockga>
<!-- valid value for blockC0 are:
Yes, No - block fake emm to card. -->
<blockC0>Yes</blockC0>
<!-- valid value for carddetect are:
Yes, No - Used to try to detect if card is present in you cardreader. -->
<carddetect>yes</carddetect>
<!-- valid value for newcamd_port are:
0,65535 - Which port newcamd server will listen for incomming connections. -->
<newcamd_port>15050</newcamd_port>
<!-- valid value for autosid are:
Yes, No - Let NewCS decide which sids should be allowed/denied based on card answers. -->
<autosid>Yes</autosid>
<!-- valid value for Seca-PPV are:
Yes, No - Let NewCS decide which sids should be allowed/denied based on card answers. -->
<Seca-PPV>no</Seca-PPV>
<!-- valid value for Pincode are:
0000, 9999 - For f.ex PPV on Conax, also for parental lock on conax and cryptoworks. -->
<pincode>0000</pincode>
<!-- Notes about Service ID's:
There are some points worth mentioning:
1. If you allow a sid, all others will be rejected for that caid.
2. When you deny a sid, all others then the denied will be let through to that caid.
3. If you dont specify a reader, all sid's will get let through.
4. Put as many provider-sections in sid as you'd like, and as many id-sections under allow/deny as you want.
5. Deny is the stronger one, will always override allow.
6. If you want to add several sid's at once, do <id>0000:0010</id>, this will add all ten to list. -->
<sid>
<allow>
<!-- valid value for id are:
4 numbers, if the service id is 3 numbers, add a 0 infront of it. -->
<id>0000</id><id>0001</id><id>0002</id>
</allow>
<deny>
<!-- valid value for id are:
4 numbers, if the service id is 3 numbers, add a 0 infront of it. -->
<id>0000</id><id>0001</id><id>0002</id>
</deny>
</sid>
<!-- valid value for priority are:
hard, round, fifo - hard is lower userid, higher priority(gets ECM through before user with higher id),
round, there is an equal chance for all users to get ECM through, fifo, first sendt ECM gets through. -->
<priority>round</priority>
</device>
</readers>
<cache>
<!-- valid value for emm are:
0-255 - Number of EMM's to cache. -->
<emm>20</emm>
<!-- valid value for ecm are:
0-255 - Number of ECM's to cache.
-1 - Dynamic ECM Cache. -->
<ecm>-1</ecm>
</cache>
<newcamdserver>
<!-- valid value for enabled are:
Yes, No - Enable or Disable newcamd server. -->
<enabled>Yes</enabled>
<!-- valid value for name are:
Any name - Used to identify server to remote clients,
if the remote client isnt newcamd, this field have no purpouse. -->
<name>newcs</name>
<!-- valid value for deskey are:
any 14x2 numbers - Used to encrypt the communication between
the client and the server. -->
<deskey>01 02 03 04 05 06 07 08 09 10 11 12 13 14</deskey>
<!-- Notes about users:
The first user doesnt have au without beeing it set to on (unlike newcamd cardserver).
You can add as many user-sections as you want, just put them under eachother. -->
<user>
<!-- valid value for userfile are:
Any username you'd like - Used for client to logon (its case sensitive). -->
<name>televizio</name>
<!-- valid value for password are:
Any password you'd like - Used for client to logon (its case sensitive). -->
<password>AdfRfSv32F</password>
<!-- valid value for hostname are:
IP-address or DNS-name - Used for reverse login to the client. -->
<hostname>127.0.0.1</hostname>
<!-- valid value for port are:
0-65535 - Which port reverse login to the client. -->
<port>12000</port>
<!-- valid value for au are:
On,Off - Wheather the client are allowed to send EMM to the server. -->
<au>on</au>
<!-- valid value for sidoverride are:
On,Off - Wheather the client are allowed to override the SID-filter. -->
<sidoverride>off</sidoverride>
<!-- valid value for readers are device name,
if one <allow> present, other readers will be disabled! -->
<readers>
<allow>PCSC olvaso</allow>
</readers>
<!-- valid value for spider are:
Yes,No - Wheather the client are allowed to be newcamd Cardspider. -->
<spider>No</spider>
<!-- valid value for rate are:
1-60 - number of seconds between each ecm -->
<rate>2</rate>
<!-- valid value for cardlevel are:
1 - If its set Mgcamd will use all cards over the same port. -->
<cardlevel>1</cardlevel>
</user>
</newcamdserver>
</newCSconfig>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment