Sample CSP Config File

There are 3 replies in this Thread which was already clicked 10,093 times. The last Post () by tahir1.

  • Sample CSP xml ( config file )


    Also a tip, as you can see the setup looks quite complex to simplfy it a bit for yourself, use proper program code indentation



    <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>


    Unfortunately, it hasn't displayed as id hoped, but my intention was to indent the code inside each set of container tags, so its easier to see, what the code is doing and is useful for spotting errors in code and logic, maybe not so much in this, but is useful when writing all forms of program code.


    I am not obligated, or connected to any particular brand, seller or retailer so any opinions given are not biased in anyway.
    Any information given is for hobby and research purposes only, and whilst every effort is made to ensure that all my responses are accurate, - Any action you may take based on my replies is done so at your own risk.
    Viewing Premium Channels or Media, without paying for them is illegal and if you do so, you do so at your own risk!

    BpGgW.jpg



  • The above example doesn't have a CWS Connecter, ive copied and pasted an example of one below for you -


    <csp-connector name="friend" enabled="true" debug="true" metric="1">
    <url>http://friends.dyndns.net :8082</url>
    <user>user</user>
    <p***word>p***word</p***word>
    <request-cache-updates>true</request-cache-updates>
    </csp-connector>


    I am not obligated, or connected to any particular brand, seller or retailer so any opinions given are not biased in anyway.
    Any information given is for hobby and research purposes only, and whilst every effort is made to ensure that all my responses are accurate, - Any action you may take based on my replies is done so at your own risk.
    Viewing Premium Channels or Media, without paying for them is illegal and if you do so, you do so at your own risk!

    BpGgW.jpg



Other Not Listed Softcam Support Forum

Configs, discussion, downloads and guides for Other Not Listed Softcams - CSP, DreamOS, GBox, NEWCamd, MultiCS, OSCam Smod, OSCam Ymod, SUpcam & Wicardd.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!