Sharing Howto - CCcam

To start sharing both side's have to make a so called F-line
in this Friends line you will set the username and password of
your friend, aquintence, chatmate or whatever.

also, you've got to forward port 12000 (default CCcam port) to your dreambox and you'll have to set the right attributes to CCcam.cfg in /var/etc (or in /etc/ depending on your box&image)
it should be 644 to get it working

further more you can also setup which cards your friend may (or may not)
receive from you, and how far he or she can reshare your cards.
it's also possible to determine on which time and from which
IP-address he or she may connect.

a complete F line looks like this:

Quote:
F: user4 pass4 5 0 1 { 0:0:3, 0100:000080:1 } { 0100:000080:15df } { 12:00-17:00, 19:00-20:00 } 81.23.45.67

############################
Quote:
F: user4 pass4

in this part you determine which username and password you will
give to your friend. I.E. F: jantje pietje01,
then jantje is his username and pietje01 is his password.

############################

Quote:
5 0 1

Quote:
# the 5

the 5 means that your friend will receive all cards up to a maximum
of 5 hops from your location. you can lower this number if you
like, but it's not recommended (or, best practice) to do this
since the card would be to far away and freezes will occur.

Quote:
# the 0

the 0 is used if your friend can use your emu's, with 0 he/she
cannot use them, of you set it to "1" then he/she can.

Quote:
# the 1

to set if your friend will receive cardupdate's, you can set this to 1.
I myself allways set it to 0

############################

Quote:
{ 0:0:3, 0100:000080:1 }
{ 0100:000080:15df }

this part start with a { (not with a "(" ) and a space,
else it will not work.
at the end you'll have to have the space and } as well ofcourse.

Quote:
# de 0:0:3

in here the 0:0 means that your friend will be able to receive an reshare
all cards (0:0) you have.
the :3 means that he/she receives them 3 hops, so he can watch
it him/herself (hop1) and share it to a friend (hop2) and that
friend can reshare it to a friend of him (hop3)
the one on hop3 cannot reshare your cards anymore.

Quote:
# 0100:000080:1

you can also set if someone can receive and reshare a particular
card, or even your local card.
0100:000080 is the specific provider you want to put some restrictions to,
and the :1 means 1 hop, so he/she can watch, but cannot reshare
that provider/card.

if you'd like to block access to a specific channel, then you
can put the entire channel ident :
Quote:
0100:000080:15df

use google to find a nice list with all channel idents if you're
looking for specific channels.

Quote:
{ 12:00-17:00, 19:00-20:00 }

well.. not much to say about this i guess, just use a
24hrs grid to set up time-based access to your server.

[quote] # 81.23.45.67 [/quote
if your friend has a static IP, then you can deny access to all
other IP's that use the username/password specified in the beginning
of the F line, so he/she can only connect from that IP address.

to keep it real easy a F line basically only needs something like this:
Quote:
F: user4 pass4 5 0 0 { 0:0:3 }

################################################## ############

The C Line.

with this line you yourself connect to your friend.
but before you can connect, your friend FIRST has to set up a
F line for you, so that you have a username/password.

a simple C line looks like this:

Quote:
C: someserver.somedomain 12000 user1 pass1

someserver.somedomain = the DNS name or IP address of your friend.

Quote:
12000

this is the portnumber on which CCcam connects to your friend

Quote:
user1 pass1

these are your username and password.

so, if your friend on IP address 81.23.45.67 has made this
F line inside his cccam.cfg:
Quote:
F: jan01 pietje20 5 0 0 { 0:0:3 }

then YOUR C line would look like:

Quote:
C: 81.23.45.67 12000 jan01 pietje20

so in your cccam.cfg you should have this set of lines:
Quote:
F: friend friend01 5 0 0 { 0:0:3 }
C: 81.23.45.67 12000 jan01 pietje20

What if you get a huge amount of the same cards from your friends-servers ?
Cccam has the ability to filter out cards, so you can narrow down
the number of duplicate cards.
if you'd like to limit canal+ NL for instance, you can do that like this:

Quote:
C: 82.34.56.78 12000 friend friend01 no { 0100:00006a:2, 0:0:4 }

Quote:
no

means you do not want to use the emu's of your friend.
if you do want this, set it to yes, but your friend has to set that up
in the F line which he made for you on his box.

if you are going to narrow down on idents, then you MUST use
yes or no, else it will not work the way it's meant to be.
(so, yes or no when using restrictions.)

Quote:
0100:00006a:2

means you want to receive the canal+ NL card (0100:00006a)
at a maximum distance of 2 hops.
so, only if your friend has him local (hop1) and if his friends have it local (hop2)

Quote:
0:0:4

means that you will receive all cards (0:0) at a maximum distance
of 4 hops. on this way you'll have less chance of freeze's.
do not set it higher then 5, as this would sure trigger freezes as the cards is too far away from you.

to keep it clean you could remove all text in cccam.cfg
(or copy it to a text file on your pc as reference )
and only put your F and C lines in it (or any other cardshare lines).
in this way it's a small file, and very clear to see what's inside.



Iar aici aveti un tutorial in 4 parti facut cu lux de amanunte,sper sa ajute pe majoritatea;

http://www.filebox.ro/download.php?key=xnxovkvjafn0j6o1