Go Back   SharingDVB All Tutorials sharing > Emulator Tutorials > CardSharing Tutorials

Reply
 
Thread Tools Display Modes
Old 12-18-2014, 12:45 AM   #1
admin
Administrator
 
admin's Avatar
 
Join Date: Dec 2014
Posts: 219
Arrow Sample CSP Config File



Sample CSP xml ( config file )
HTML Code:
<cardserv-proxy ver="0.9.0">
<ca-profiles>
<default-des-key>01 02 03 04 05 06 07 08 09 10 11 12 13 14</default-des-key>

<extended-newcamd listen-port="nnnnn"/>

<profile name="0963-***UK" ca-id="0963" network-id="0002" provider-idents="00 00 00" enabled="true" debug="true">
<newcamd listen-port="nnnnn">
<card-data type="config" ca-id="0963">
<providers>00 00 00</providers></card-data></newcamd><max-cw-wait>9</max-cw-wait>
<filter-cards>provider</filter-cards>
<services-file format="cccam" ca-id="0963" filter="000000">/var/etc/CCcam.channelinfo</services-file>
</profile>



<profile name="1702-***DE" ca-id="1702" network-id="0085" enabled="true" debug="true">
<newcamd listen-port="nnnnnn">
<card-data type="config" ca-id="1702">
<providers>00 00 00, 00 00 01, 00 00 02, 00 00 03</providers></card-data></newcamd><max-cw-wait>7</max-cw-wait>
<filter-cards>provider</filter-cards>
<services-file format="cccam" ca-id="1702" filter="000000">/var/etc/CCcam.channelinfo</services-file>
</profile>

</ca-profiles>

<logging log-ecm="true" log-emm="true" log-zapping="false" hide-ip-addresses="false">
<log-file rotate-count="3" rotate-max-size="1024">log/cardserv.log</log-file>
<log-level>INFO</log-level>
<silent>true</silent>
<debug>false</debug>
</logging>

<rmi>
<display-name>Csproxy1</display-name>
<status-web>
<listen-port>8082</listen-port>
<ssl enabled="false">
<keystore password="secret">etc/csp_keystore</keystore>
</ssl>
<war-file>lib/cs-status.war</war-file>
<super-users>admin</super-users>
</status-web>
</rmi>

<user-manager class="com.bowman.cardserv.SimpleUserManager">
<auth-config>
<user name="user" password="password" max-connections="3" admin="true"/>
<user name="user1" password="secret1" profiles="myprofile"/>
<user name="a" password="b"/><!--you want to see all lines so do not add profiles-->
</auth-config>

</user-manager>

<connection-manager>
<reconnect-interval>60</reconnect-interval>
<default-des-key>01 02 03 04 05 06 07 08 09 10 11 12 13 14</default-des-key>
<default-keepalive-interval>55</default-keepalive-interval>

<service-map>
<mapper>

<cache-dir>/cache</cache-dir>
<cache-save-age>300</cache-save-age>
<auto-map-services>true</auto-map-services>
<auto-reset-threshold>20</auto-reset-threshold>
</mapper>
<mapper profile="myprofile">
<reset-services></reset-services>
<block-services></block-services>
</mapper>
</service-map>

<cws-connectors>

<newcamd-connector name="mylocal-***" profile="0963-***UK" provider-idents="00 00 00" enabled="true" metric="1">
<host>127.0.0.1</host>
<port>nnnnn</port>
<user>user</user>
<password>password</password>
<asynchronous>true</asynchronous>
</newcamd-connector>
</cws-connectors>

</connection-manager>

<proxy-plugins>
<plugin class="com.bowman.cardserv.LoggingPlugin" enabled="false">
<plugin-config>
<log-dir>log/traffic</log-dir>
<log-level>ALL</log-level>
<ip-filter>*</ip-filter>
</plugin-config>
</plugin>
<plugin class="com.bowman.cardserv.DcwFilterPlugin" enabled="true" jar-file="dcwfilterplugin.jar"/>
<plugin class="com.bowman.cardserv.ProviderIdentPlugin" enabled="true" jar-file="provideridentplugin.jar"/>
<plugin class="com.bowman.cardserv.$$$$$$Plugin" enabled="true" jar-file="$$$$$$plugin.jar"/>
</proxy-plugins>

<cache-handler class="com.bowman.cardserv.ClusteredCache">
<cache-config>
<cw-max-age>11</cw-max-age>
<max-cache-wait>350ms</max-cache-wait>
<local-host>http://example.linux.net</local-host>
<local-port>nnnnn</local-port>
<tracker-url>file:///usr/local/csp/cache/cluster</tracker-url>
<tracker-update>1</tracker-update>
<sync-period>5</sync-period>
</cache-config>
</cache-handler>

</cardserv-proxy>
admin is offline   Reply With Quote
Old 01-24-2015, 06:57 PM   #2
Srbin75
Junior Member
 
Join Date: Jan 2015
Posts: 1
Red face Profiles



Plys put for : 1843 , 098C, 09cd , 1803 , 1810, 1880, 1802 ,.....
Srbin75 is offline   Reply With Quote
Reply

« Previous Thread | Next Thread »
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:02 AM.
SharingDVB@
A vBSkinworks Design