Author Topic: All About CCcam > CCcam Faq !!  (Read 10547 times)

0 Members and 1 Guest are viewing this topic.

Offline antox

  • Ferengi
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 16798
All About CCcam > CCcam Faq !!
« on: January 03, 2010, 11:49:20 AM »
Where do i put the files in my box and what are they?
CCcam.cfg ---> /var/etc -----> Configuration file, where we set the Clients and Friends and additional configuration.

CCcam.bin ---> /var/bin -----> This is the binary file ( like the .exe in windows ) This file should have 755 permission. (Right click in this file with your preferred FTP client and click set attributes). Otherwise CCcam will not start

CCcam.prio ---> /var/etc -----> This file is where you can set your priority cards or ignore any cards ( not necessarily needed to run CCcam )

CCcam.channelinfo ---> /var/etc -----> In this file you can put the channel info for the web interface, so you will see which channel is decoding CCcam instead of seeing the sid ( not necessarily needed to run CCcam )

CCcam.providers ---> /var/etc -----> In this file you can put the provider info for the web interface, so you will see which package is decoding CCcam instead of seeing the caid ( not necessarily needed to run CCcam )

SoftCam.Key ---> /var/keys -----> In this file you will find keys to open channel trough keys instead trough network ( not necessarily needed to run CCcam )

AutoRoll.Key ---> /var/keys ----> this file will have the next key the provider will have and will use the next automatically ( not necessarily needed to run CCcam )

constant.cw ---> /var/keys ----> In this file you will find constant keys to open channel trough keys instead trough network ( not necessarily needed to run CCcam )



Other files created by CCcam itself while running

warnings.txt ---> /tmp ----> Here you will find attempted logins to CCcam without your authorization , this file will be shown only if you have this line in CCcam.cfg **** LOG WARNINGS : /tmp/warnings.txt **** , be careful with this file as if you enable it and you have a lot of warnings you will run out of memory in your box

ecm.info ---> /tmp ----> this file will show you information about the encoding of the channel you are viewing

Offline antox

  • Ferengi
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 16798
Re: All About CCcam > CCcam Faq !!
« Reply #1 on: January 03, 2010, 11:49:58 AM »
 Post CCcam Telnet Commands
Here are a few commands that will help you should you need to check CCcam via telnet.

-d run in foreground (implies -v and -q)
-v be verbose
-q don't use syslog
-C use instead of default (/var/etc/CCcam.cfg)
-k use instead of default (/var/keys/SoftCam.Key)
-f filter on specific demux data (saves some CPU)
-n show network packets
-s disable server
-t show timing
__________________

Offline antox

  • Ferengi
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 16798
Re: All About CCcam > CCcam Faq !!
« Reply #2 on: January 03, 2010, 11:51:17 AM »
How do I give priority or ignore certain cards ?
In CCcam it is possible to give priority or ignore certain cards by adding a file CCcam.prio in /var/etc , however this technique is not recommended as all traffic that comes into your cccam has to be checked across this file so CCcam will allow it to pass, give it priority or ignore it. This of course will be more processor intensive and may slow down a bit your system. However if you still would like to use it see below notes.

Notes:

  * Recent versions of CCcam has automatic filtering for the cards that does not clear the picture
  * Using CCcam.prio will override the automatic filtering for the specified provisers in the file
  * It is more advicable to use ignores in C lines ( see advanced F line options )
  * The prioirity is based on the order of the lines in the CCcam.prio ( The first in the file is the highest priority )
Code: You are not allowed to view links. Register or Login
Example 1:

If for example a provider has 2 different cards for the package and you prefer to use a particular one first (93b) and if there is no choice use the other available (919) you would put this in the CCcam.prio

P: 93b : 0
P: 919 : 0
Code: You are not allowed to view links. Register or Login
Example 2

If for example a provider has 2 different cards for the package and you want to use only one of them (93b) and the other(919) should be ignored you would put this in the CCcam.prio

P: 93b : 0
I: 919 : 0

******************************************************************************************************************
 How do I block certain cards ?
It is possible to block certain cards from getting to your server, especially those fake cards or older cards:

Example:

You would like to block provider 0919 so to get the newer 093b cards from that provider.

In that case it would be necessary to make your C: line like this:

C: server.noip.com 12000 username password no { 0:0:2, 0919:0 }
******************************************************************************************************************

What is SID assign and how to configure ?
Below is the default information from CCcam.cfg for CCcam 2.1.2 { It will not work with older versions.

The purpose of this is to make sure your server only gets requests for sids that are valid to your card, thus reducing the number of bad ecms.

# Configure limited list of accepted sids for smartcard
# When omitted, all sids are allowed.
# (can work together with LOADBALANCE configuration, or for standalone cards)
#
# SMARTCARD SID ASSIGN : { , , ... }
#
# is the reader devicenode
# limits the total number of sids assigned to the card (0 = use length of sid list)
# { .. } lists the sids that are assigned to the smartcard, when omitted, is used to auto assign sids
#
# when is larger than the length of the sidlist, the remainder of the sids are auto assigned, till the list reaches
# Check entitlement output for realtime assignment list
#
# WARNING: when SMARTCARD SID ASSIGN config changes, restart is required before settings take effect
#
#example1: smartcard in device /dev/ttyUSB0 only handles requests for sids df3, df4, df5
#
# SMARTCARD SID ASSIGN : /dev/ttyUSB0 0 { 0df3,0df4,0df5 }
#
#example2: smartcard in device /dev/ttyUSB0 handles requests for max 5 sids, auto assigned in the order of occurance. A request for a 6th sid will be denied.
#
# SMARTCARD SID ASSIGN : /dev/ttyUSB0 5
#
#example3: smartcard in device /dev/ttyUSB0 handles requests for max 5 sids, 3 of which are df3, df4, df5, remaining 2 are auto assigned
#
# SMARTCARD SID ASSIGN : /dev/ttyUSB0 5 { 0df3,0df4,0df5 }

Here is an example that works with Sky UK FTV card

SMARTCARD SID ASSIGN : /dev/sci0 9 { 1d51,1e15,1e14,0f23,13ef,1e1e,1e1f,1e23,1e24 }

This is for the internal lower card reader of a Dreambox and it allows for 7 SIDS.

They are for the following channels
1d51 Five
1e15 Five
1e14 Five
0f23 Channel 4 HD
13ef Sky 3
1e1e Five US
1e1f Five US +1
1e23 Fiver
1e24 Fiver +1

The next option allows for 3 more SIDS to be auto assigned.

SMARTCARD SID ASSIGN : /dev/sci0 12 { 1d51,1e15,1e14,0f23,13ef,1e1e,1e1f,1e23,1e24 }

Another option is auto assign, if you know you have just 6 working channels for your card then you can let CCcam assign the SIDS for you.

SMARTCARD SID ASSIGN : /dev/sci0 6
__________________

Offline antox

  • Ferengi
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 16798
Re: All About CCcam > CCcam Faq !!
« Reply #3 on: January 03, 2010, 12:06:51 PM »
How can i limit the number of reshares of my card ?
To limit the number of reshares we must add extra config to the F: line,

This is the basic F line, it is enough to get started but will allow to reshare your card up to 8 other connections !!
Quote
F: user1 pass
So to limit the reshares we must put a number in place of the reshare text!!

F: { :: }

Example:
Quote
F: user1 pass 3 0 0 { 0:0:1 }
with this line i allow my card and my shares up to 3 hops away from me to be given to my Friend and he cannot reshare them !!

Some times you find people with a Linux server and in this case it is not suitable for them to give them 1 Up Hop only, as when they connect their box to their Linux server your shares are stopped at the Linux server and they will not see any of your cards on the box!!
So in this case you must at least give them 2 up hops like this:
Quote
F: user1 pass 3 0 0 { 0:0:2 }

******************************************************************************************************************
How does CCcam.cfg looks like?
A very basic CCcam.cfg sharing between 2 people to give your local and to take your friend local
Quote
# I am a client of these ( Getting shares from them )
C: myfrienddns.no-ip.com 12000 user pass

# These are my friends ( Giving share to them )
F: user1 pass1

Offline antox

  • Ferengi
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 16798
Re: All About CCcam > CCcam Faq !!
« Reply #4 on: January 03, 2010, 12:18:54 PM »
Basic set up how to.


# What Softcam.Key should CCcam try to read ?
#
# Defaults to /var/keys/SoftCam.Key
#
#SOFTCAMKEY FILE SHOULD BE CALLED SoftCam.Key


# What AutoRoll.Key should CCcam try to read ?
#
# Defaults to /var/keys/AutoRoll.Key
#
#AUTOROLL KEY FILE SHOULD BE CALLED AutoRoll.Key


# What constant.cw should CCcam try to read
#
# Defaults to /var/keys/constant.cw
#
#STATIC CW KEY FILE SHOULD BE CALLED constant.cw

Next we have the default paths for your provider and channel information, these are not essential but provide you with some very useful information.

Provider Information:
In this file all provider idents are defined
The info from this file is being used in the web interface and other tools and plugins you may use.

# What provider information should CCcam read ?
#
# Defaults to /var/etc/CCcam.providers
#
#PROVIDER INFO FILE SHOULD BE CALLED CCcam.providers

Channel identity:
In this file all channel idents are defined
The info from this file is being used in the web interface and other tools and plugins you may use.

# What channel information should CCcam read ?

# Defaults to /var/etc/CCcam.channelinfo

# CHANNEL INFORMATION FILE SHOULD BE CALLED CCcam.channelinfo

Lastly you have to have your CCcam configuration file.

YOU MUST MAKE A BACK UP THIS FILE IF YOU DO NOTHING ELSE DO THIS

In this file is all your sharing information and the emu configuration, unless you understand what you are doing do not make changes to this file!!!

#What configuration should CCcam read ?

#Defaults to /var/etc/CCcam.cfg

#CONFIGURATION FILE SHOULD BE CALLED CCcam.cfg

Offline antox

  • Ferengi
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 16798
Re: All About CCcam > CCcam Faq !!
« Reply #5 on: January 14, 2010, 04:04:10 PM »
 HOW To make cccam and newcs fully work in DS 3.3
First of all you need to download from the box the new CCcam 2.03 + Newcs 1.30 EMU
(Remember to back up your CCcam.cfg first)

This will make cards we can not talk about work

Next step is to open newcs.xml and change a few of the settings




Lower Cardreader
sci
600
/dev/sci0
odd
normal
Yes
No MAKE SURE THIS SAYS NO (to allow CCcam to use your bottom slot)No
No
No


newcamdserver>
Yes
Sentana
01 02 03 04 05 06 07 08 09 10 11 12 13 14 This can be any key you like made up of 14 pairs of numbers This yellow bit will be your way to read your own card and allow it to AU
YOU
Your Password
localhost
12000
on
off
No




[/color]
Now in your Cline in your CCcam.cfg you will need to add the following Nline

N: 127.0.0.1 15001 username password whatever des key you decied to use

now if you wanted to distrubute what newcs is reading then you must add the following lines to your newcs.xml for each distribution

Must always remember to add this on the next line down after each at the end
****
******
off
15001
off
off
No
ALWAYS REMEMBER TO ADD THIS AT THE END OF EACH USER
The Nline you would then give the other party would look something like this

N: *******.no-ip.org 15001 thereusername therepassword whatever des key you decieded to use


THE ******* is the username that you normally use when you send out your Cline

You will now need to transfer back over to the box the CCcam.cfg you backed up earlier and make sure you add your own cline that we made earlier on in this tutorial.

Once all this is done then all you need to do is reboot your box for the settings to take place.


If you want to distribute your card, open port 15001 to your receiver
Quote
thx nuno

Offline antox

  • Ferengi
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 16798
Re: All About CCcam > CCcam Faq !!
« Reply #6 on: May 23, 2010, 05:32:10 PM »
CCcam Tutorial in Pdf ENGLISH

Offline antox

  • Ferengi
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 16798
Re: All About CCcam > CCcam Faq !!
« Reply #7 on: May 31, 2010, 07:26:20 AM »
HowTo run CCCam as a different user
HowTo_CCCam_Backup_script.pdf
HowTo CCCamInfoPHP on linux
CCcam_Manuals_Sharing.zip

Offline antox

  • Ferengi
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 16798
Re: All About CCcam > CCcam Faq !!
« Reply #8 on: June 06, 2010, 05:19:04 PM »
CCcam English Tutorial

Offline antox

  • Ferengi
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 16798
Re: All About CCcam > CCcam Faq !!
« Reply #9 on: June 16, 2010, 09:28:10 AM »
a compleet howto install a CCcam server compleet with scripts and a lot of tips!!

Offline antox

  • Ferengi
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 16798
Re: All About CCcam > CCcam Faq !!
« Reply #10 on: July 30, 2010, 12:26:40 PM »
CCcam config lines F&C
Konfiguracija C&F linija