Continued.........
Exchange a CSP CWS Connector.
Again here is a basic guide for how and what to exchange with CSP CWS Connectors, so I will and explain as simply as I can
below is the sample csp xml file
also it has a profile for *** uk already in place other provider profiles can be found higher up this thread
if someone requests to exchange a cws connector he will give you some information to input.
example :
I have shown how to enter that info lower down in the xmlCode:http://friends.dyndns.net :8082 user password
In return you will send your dns address the port number of your csp which by default is 8082 you can change that if you wish
also you will need to make a user name and password for example, friend user1 as shown in this thread
just to remind you further down is shown where to enter user & password
<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="***XX/>
<profile name="0963-***UK" ca-id="0963" network-id="0002" provider-idents="00 00 00" enabled="true" debug="true">
<newcamd listen-port="11005">
<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>
</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>Csproxy</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"/>
<user name="a" password="b"/><!--you want to see all lines so do not add profiles-->
<user name="friend" password="user1" profiles="0963-***UK"/>
</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>
<csp-connector name="friend" enabled="true" debug="true" metric="1">
<url>http://friends.dyndns.net :8082</url>
<user>user</user>
<password>password</password>
<request-cache-updates>true</request-cache-updates>
</csp-connector>
<newcamd-connector name="mylocal-***" profile="0963-***UK" provider-idents="00 00 00" enabled="true" metric="1">
<host>***.***.x.xx</host>
<port>15000</port>
<user>user</user>
<password>pass</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.I*****Plugin" enabled="true" jar-file="i*****plugin.jar"/>
</proxy-plugins>
<cache-handler class="com.bowman.cardserv.DefaultCache">
<cache-config>
<cw-max-age>14</cw-max-age>
<max-cache-wait>11</max-cache-wait>
</cache-config>
</cache-handler>
</cardserv-proxy>
save changes and that is it
note if the user has other providers such as *** de, or n*** you will have to put profiles and user idents in the xml to be able to view those channels
Now in Return you would give
Also if someone gives a newcamd nline connector you enter the information similar to how the local card was enteredCode:http://yourdns.or.ip:8082 friend user1
for example:
he also tells you his local card is sly GermanyCode:N: friends.dyndns.net 12555 user password 01 02 03 04 05 06 07 08 09 10 11 12 13 14
Firstly you would need to make a profile for Sly Germany
example
and then a newcamd connector using the information givenCode:<profile name="1702-***DE" ca-id="1702" network-id="0085" provider-idents="00 00 00" enabled="true" debug="true"> <newcamd listen-port="13001"> <card-data type="config" ca-id="1702"> <providers>00 00 00</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">etc/CCcam.channelinfo</services-file> </profile>
example,
Code:<newcamd-connector name="friend" profile="1702-***DE" provider-idents="00 00 00" enabled="true" metric="1"> <host>friends.dyndns.net</host> <port>12555</port> <user>user</user> <password>password</password> <des-key>01 02 03 04 05 06 07 08 09 10 11 12 13 14</des-key> <asynchronous>true</asynchronous> </newcamd-connector>
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks