What's new

Howto CCcam Share CCcam.cfg

#1
Howto CCcam Share CCcam.cfg
Howto CCcam Sharen

I found this on a website and could be nice to share this with others, please correct me if i'm wrong and any other sugestions or tips would benice.

translated verion from dutch to english
#################
sharing howto cccam
To start with you need to open port 12000 with portforwarding in your router(hub) to your dreambox or any other port (you can change this in your cfg file).
Make sure your cccam.cfg has the correct attribute settings , 644
To be able to share you need on both parties a friend (F) line in cccam.cfg with username password for you friend.
You can also adjust these F lines in a way to set the default card only one card or mulitipal cards witch you want to share with your friend.
And how far you can reshare the card(s) with others, on whitch time of the day or filter it on ip numbers.
These are optional settings.
A full F line could look like this:

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

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

F: user4 pass4
Put here the username and password for your friend, you decide what it wil be

############################
5 0 1

# the 5
Means that your friend gets all cards till max 5 hops away from your location.
You can out this lower, putting this higher usaly has no use deu to the distance (freezing images on dm, to far away to retreive the card keys)

# the 0
Here yo can adjust if your friend is allowed to use your emu's settings to watch tv instead using your local card(s) or a share.

# the 1
With this you can set if you want to receive your friends card(s) updates.
Usaly this is on 0, 0 is off and 1 is on, most people have it on 0 (off)

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

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

Fill it in exacly as it says with the accolades and spaces, otherwise it wil not work.

# the 0:0:3

0:0 means you share all cards, the 3 means distance max reshare 3 hops.
Means you can recieve (hop1) and you can reshare it to your friend (hop2) and your friend can reshare this with his friend (hop3).
But on (hop3) this wil stop so the friend of your friend cannot reshare it with others.
example
user1(you) user2(friend) user3(friend of friend) end
1 2 3

# 0100:000080:1

Here you can set that some one can recive your card keys but cannot reshare it with others.

0100:000080 is the provider you want to limit the share.
the :1 means 1 hop so only he can use it, put this on 0 and he wil not receive anything
If you want that your friend is not allowed to watch a specific channel.
Then you put in a line with the channels id

0100:000080:15df

:15df is the channels id

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

only between these ours he has access so between 12:00 till 17:00 and 19:00 and 20:00.

# ip

if you know your friend ip adress, you can oout it at the back of the line.
Just to make sure that only he is using it under his account(sort of ip filter).
Normaly a line looking like this should to the trick

F: user4 pass4 5 0 0 { 0:0:3 }

############################
The C: line

With this line you connect to your friend.
To be able to connect to your friend, your friend needs to put in a F: line so you can have a user name and pasword.
A basic C could look like this:

C: someserver.somedomain 12000 user1 pass1

somerserver.somedomain can be a dns name or IP adres of your friend

12000

This is the port where you cccam connects to

user1/pass1 is your login name and password on your friends machine

So for example your friends ip adress is 81.23.45.67 and has a F line looking like this:
F: john01 john20 5 0 0 { 0:0:3 }

then your C line should look like this:
C: 81.23.45.67 12000 john01 john20

other example
###################
your cccam.cfg should look like this:
F: jack jack01 5 0 0 { 0:0:3 }
C: 81.23.45.67 12000 john01 john20

his cccam.cfg has the next setting if your ip would be 82.34.56.78
F: john01 john20 5 0 0 { 0:0:3 }
C: 82.34.56.78 12000 jack jack01

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

if you get to mutch of the same cards from different servers,
Then you can put in a filter
as example we use canal+:
C: 82.34.56.78 12000 jack jack01 no { 0100:00006a:2, 0:0:4 }

no

means that you do not want to use your friends emu's
yes wil explain it self but you need to put something in here (yes or no)

0100:00006a:2

This means that you get your C+ card keys from a distance of 2 hops.
So you get keys from your friend and your friends friend

0:0:4

this means you get all cards from a max of 4 hops, with this you wil prevent your screen from freezing up or turning black.
Putting this higher then 5 is no use at all.
Normaly you can delete all unused text from your cccam.cfg and leave only the F and C line in there (and other ones when needed).
Offcource it's beter to put some data in it just for you to know who it is or what his ip adress is etc etc.
Also keep a cccam.cfg on your pc or print it out for save keeping.
All this has been tranlated and typos could be possible.
Correct me if i'm wrong