Go Back   SharingDVB All Tutorials sharing > Emulator Files > CCcam,Oscam,csp,multics Files

Reply
 
Thread Tools Display Modes
Old 12-16-2014, 03:10 PM   #1
admin
Administrator
 
admin's Avatar
 
Join Date: Dec 2014
Posts: 219
Arrow CSP + MySQL



HTML Code:
ok guys after my first Release of Dream CSP i get pms about MySQL J Connector Based CSP Ok Here Yo Go :).and its Based On r228
Kind Regards






Default Proxy.xml

HTML Code:
<cardserv-proxy ver="Dre@M"> 

  <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="15112" debug="true"/> 

    <profile name="myprofile" ca-id="0000" network-id="0000" provider-idents="00 00 00" enabled="true" debug="true"> 
      <newcamd listen-port="11112"> 
        <no-validation>true</no-validation> 
      </newcamd> 
      <radegast listen-port="11113"> 
        <allow-list>192.168.0.*</allow-list> 
      </radegast> 
      <services-file>etc/services</services-file> 
      <max-cw-wait>8500 ms</max-cw-wait> 
    </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="admin" password="secret" max-connections="3" admin="true"/> 
      <user name="user1" password="secret1" profiles="myprofile"/> 
    </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>          
        <auto-reset-threshold>20</auto-reset-threshold>  
      </mapper> 
      <mapper profile="myprofile"> 
        <reset-services></reset-services> 
        <block-services></block-services> 
      </mapper> 
    </service-map> 

    <cws-connectors> 

      <csp-connector name="test0" enabled="false"> 
        <url>https://otherproxy.host.com:8443</url> 
        <user>user</user> 
        <password>password</password> 
        <request-cache-updates>false</request-cache-updates> 
      </csp-connector> 

      <newcamd-connector name="test1" profile="myprofile" enabled="false"> 
        <host>192.168.0.3</host> 
        <port>10001</port> 
        <user>proxyuser</user> 
        <password>password</password> 
        <asynchronous>true</asynchronous> 
      </newcamd-connector> 
       
      <radegast-connector name="test2" profile="myprofile" enabled="false"> 
        <host>192.168.0.4</host> 
        <port>10003</port> 
        <provider-idents>00 00 01</provider-idents> 
      </radegast-connector> 

      <chameleon-connector name="test3" enabled="false"> 
        <host>192.168.0.5</host> 
        <port>10001</port> 
        <user>mgcamduser</user> 
        <password>password</password> 
      </chameleon-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.MySQLWebManagementPlugin" enabled="true" jar-file="mysqlwebmanagementplugin.jar"/> 
    <plugin class="com.bowman.cardserv.IrdetoPlugin" enabled="true" jar-file="irdetoplugin.jar"/> 
  <plugin class="com.bowman.cardserv.CacheCoveragePlugin" enabled="true" jar-file="cachecoverageplugin.jar"> 
  <plugin-config> 
</plugin-config> 
</plugin> 
    </proxy-plugins> 
  
  <cache-handler class="com.bowman.cardserv.ClusteredCache"> 
    <cache-config> 
      <cw-max-age>19</cw-max-age> 
      <max-cache-wait>40%</max-cache-wait> 
      <local-port>54277</local-port> 
      <sync-period>50</sync-period> 
      <cw-validation checksum="true" zero-counting="true" log-warnings="true"/> 
    </cache-config> 
  </cache-handler> 

</cardserv-proxy>
MySQLUserManager Config

HTML Code:
<user-manager class="com.bowman.cardserv.MySQLUserManager" allow-on-failure="true" log-failures="true"> 
<auth-config> 
<mysql-database> 
<dbhost>localhost</dbhost> <!-- optional - default: 127.0.0.1 --> 
<dbport>3306</dbport> <!-- optional - default: 3306 --> 
<dbname>csp_test</dbname> <!-- optional - default: cardserverproxy --> 
<dbuser>csp</dbuser> 
<dbpassword>mjgkzkgkkzkkk</dbpassword>  
</mysql-database> 
<!-- local defined user --> 
<user name="admin" password="secret" display-name="Administrator" admin="true"/>  
<!-- xml source --> 
<user-source name="localusers"> 
  <user-file-url>file:///usr/local/csp/config/users.xml</user-file-url> 
</user-source> 
<!-- xml source update interval --> 
<update-interval>5</update-interval> 
</auth-config> 
</user-manager>
admin 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 05:42 PM.
SharingDVB@
A vBSkinworks Design