
cwshare.cfg some new things i added
====================================



IMPORTANT !!!

About G line in cwshare.cfg file ...
Now you can set what provids boxids you want to reshare with another peer(s)

This is standard G line 
=======================
G: { IP { port1 port2 { pass { level1 level2 }}}} 


This is my new upgraded D or G line
===============================
G: { IP { port1 port2 { pass { level1 level2 }}}} 
{ 0000 } { 0 }   send filter 
{ 0000 } { 0 }   receive filter


G: { IP { port1 port2 { pass { level1 level2 }}}} 
{ xxyy !!in hex!!!} { provid-boxid-boxid;provid;provid-boxid; ...!!in hex!!!}    send filter  
{ xxyy !!in hex!!!} { provid-boxid-boxid;provid;provid-boxid; ...!!in hex!!!}    receive filter 

for both brascets

xx -> 00 disabled 
xx -> 01 allow only this cards for provid to be reshared received 
xx -> 02 denied only this cards for provid to be reshared received

yy -> how much provids is in next brascet dont caculate boxids

1st example:
============

G: { IP { port1 port2 { pass { level1 level2 }}}} 
{ 0102 } { 0001006A;0001006C-0A0A-0B0B; } 
{ 0102 } { 00010080;00010081-0A0A-0B0B; }

  
   
{ 0102 } { 0001006A;0001006C-0A0A-0B0B; } 

xx is 01 ,ALL cards for (0001006A) provid is SENT to peer AND cards with boxid 0A0A,0B0B for provid 0001006C, ALL others provids(cards) will NOT be sent!!

yy is 02 ,there is only 2 provids in next bracket dont caculate boxids
  
   
{ 0102 } { 00010080;00010081-0A0A-0B0B; }
xx is 01 ,ALL cards for (00010080) provid is RECEIVED from peer AND cards with boxid 0A0A,0B0B for provid 00010081, ALL others provids will be IGNORED!!

yy is 02 ,there is only 2 provids in next bracket dont caculate boxids
  


2nd example:
============

G: { IP { port1 port2 { pass { level1 level2 }}}} 
{ 0202 } { 0001006A;0001006C-0A0A-0B0B; } 
{ 0202 } { 00010080;00010081-0A0A-0B0B; }
  

{ 0202 } { 0001006A;0001006C-0A0A-0B0B; } 
xx is 02 ,ALL cards for this (0001006A) provid is NOT sent to peer AND cards with boxid 0A0A,0B0B for provid 0001006C, ALL others provids(cards) are !! 

yy is 02 ,there is only 2 provids in next bracket dont caculate boxids
   
  
{ 0202 } { 00010080;00010081-0A0A-0B0B; }
xx is 02 ,ALL cards for (00010080) provid is NOT RECEIVED from peer AND cards with boxid 0A0A,0B0B for provid 00010081, all others provids will be received!!

yy is 02 ,there is only 2 provids in next bracket dont caculate boxids
  
  

  

Connecting to newcamd server program Newcs 
==========================================
    
example:
C: { server_ip server_listening_port username password des_key } { x } { xxxxyyyy:xxxxyyyy;......} 
C: { 127.0.0.1 15000 dummy dummy 01 02 03 04 05 06 07 08 09 10 11 12 13 14 } { 10 } { 0100006a:0100006B;}

[second brascet] -> { x }  max. number ecms in buffer ,decimal !!!!!

[third brascet] { 0100006a:0100006B;} is used if you want to change caidprovid from what newcs detected to caidprovid to use with gboxx protocol so 0100006A will be 0100006B in gboxx protocol
    



Resending ECM(s) on timeout interval
====================================
O: { xxxx yyyy }

example:
O: { 4000 2000 }

4000 (4 seconds)-> resend current ecm on boxid if no dcw
2000 (2 seconds)-> wait 2 more seconds for dcw ,if no dcw on time resend ecm(s) to all boxid's



NDS system ->Resending ECM(s) on timeout interval
=================================================
N: { xxxx yyyy }

example:
N: { 400 200 }

default disabled...


Add more cards for CaidProvid
=============================
X+: { xxxxyyyy:zz;xxxxyyyy:zz; } // zz -> max. is 30 !!!!!

example:
X+: { 0100006A:15; }

With X+ active, for caidprovid:0100006A max. cards for use is 15.


Local cards priority
====================
H: { xxxxyyyy;xxxxyyyy; .... ; }

example:
H: { 0100006A;0100008C; }

mbox will only use this local cards(no network cards) for this two caids/provids.



Network cards priority - for every caidprovid set boxids you want in seperate P lines
======================
P: { xxxxyyyy boxid;boxid;boxid;....; }
P: { xxxxyyyy boxid;boxid;boxid;....; }
P: { xxxxyyyy boxid;boxid;boxid;....; }
.....

example:
P: { 0100006A A1A2;B1B2;C1C2;...; }

mbox will only send ECM to this (A1A2;B1B2;C1C2) boxids for 0100006A.All other networks cards will be ignored!!!!!.




