OSCam/en/Config/oscam.server

Aus Streamboard Wiki
Zur Navigation springen Zur Suche springen

LanguageDE S.png OSCam Übersicht LanguageEN S.png OSCam Home LanguageFR S.png OSCam Accueil LanguageIT S.png OSCam Home

oscam.server

The server configuration file for OSCam contains reader parameters. Sections in oscam.server are recurring (more than one reader possible). At least one [reader] section is required.

[reader]
label                  =
enable                 =
description            =   
protocol               =
device                 =  # ÄNDERUNG - CHANGE - MODIFICATIONS - MODIFICA  svn8057+8059:01/04/2013
detect                 =
use_gpio               =
cardmhz                =  # ÄNDERUNG - CHANGE - MODIFICATIONS - MODIFICA  svn7046:06/12/12
mhz                    =  # ÄNDERUNG - CHANGE - MODIFICATIONS - MODIFICA  svn7045-47:06/12-14/12
autospeed              =  # NEU - NEW - NOUVEAU - NUOVO  svn9064:12/01/2013
deprecated             =
mode                   =
device_out_endpoint    =  # ÄNDERUNG - CHANGE - MODIFICATIONS - MODIFICA  svn8013:12/29/2012
smargopatch            =  # NEU - NEW - NOUVEAU - NUOVO  svn6402:02/16/2012
sc8in1_dtrrts_patch    =  # NEU - NEW - NOUVEAU - NUOVO  svn6402:02/16/2012
cool_timeout_init      =  # NEU - NEW - NOUVEAU - NUOVO  svn6286:01/23/2012 
cool_timeout_after_init=  # NEU - NEW - NOUVEAU - NUOVO  svn6253:01/17/2011
ins7e                  =  # NEU - NEW - NOUVEAU - NUOVO  svn5959:09/22/2011
ins7e11                =  # NEU - NEW - NOUVEAU - NUOVO  svn6064:12/06/2011
fix07                  =  # NEU - NEW - NOUVEAU - NUOVO  svn9884:09/30/2014
force_irdeto           =
nagra_read             =
rsakey                 =  # ÄNDERUNG - CHANGE - MODIFICATIONS - MODIFICA  svn7043:06/12/12
fix9993                =
boxkey                 =      
pincode                =
boxid                  =
ndsversion             =
aeskeys                =
showcls                =  # VERALTET - OBSOLETE - OBSOLÈTE - ANTIQUATO  svn6624:04/23/2012
key                    =
account                =  # VERALTET - OBSOLETE - OBSOLÈTE - ANTIQUATO  svn8131:01/20/2013
user                   =    
password               =
services               =
caid                   =   
ident                  =   
class                  = 
chid                   =
group                  =
audisabled             =
auprovid               =
disableserverfilter    =
inactivitytimeout      =
reconnecttimeout       =  #  ÄNDERUNG - CHANGE - MODIFICATIONS - MODIFICA  svn7244:08/07/2012
connectoninit          =  #  NEU - NEW - NOUVEAU - NUOVO  svn8235:01/29/2013
                          #  ÄNDERUNG - CHANGE - MODIFICATIONS - MODIFICA  svn 9810:07/22/2014
keepalive              =  #  NEU - NEW - NOUVEAU - NUOVO  svn9810:07/22/2014
fallback               =  
fallback_percaid       =  #  NEU - NEW - NOUVEAU - NUOVO  svn8896:09/04/2013
emmcache               =
emmreassembly          =  #  NEU - NEW - NOUVEAU - NUOVO  svn8493:0/06/2013
                       =  #  VERALTET - OBSOLETE - OBSOLÈTE - ANTIQUATO  svn8591:04/01/2013
cacheex                =  #  NEU - NEW - NOUVEAU - NUOVO  svn6039:11/26/2011
cacheex_maxhop         =  #  NEU - NEW - NOUVEAU - NUOVO  svn6691:05/07/2012
logport                =
ecmwhitelist           =
ecmheaderwhitelist     =  #  NEU - NEW - NOUVEAU - NUOVO  svn7480:09/21/2012 
ratelimitecm           =
ecmnotfoundlimit       =  #  NEU - NEW - NOUVEAU - NUOVO  svn8315:02/07/2013         
resetcycle             =  #  NEU - NEW - NOUVEAU - NUOVO  svn5821:08/12/2011
ratelimitseconds       =  #  VERALTET - OBSOLETE - OBSOLÈTE - ANTIQUATO  svn9078:09/12/2013
ratelimitime           =  #  NEU - NEW - NOUVEAU - NUOVO  svn9078:09/12/2013
ecmunique              =  #  NEU - NEW - NOUVEAU - NUOVO  svn8491:03/06/2013
srvidholdseconds       =  #  VERALTET - OBSOLETE - OBSOLÈTE - ANTIQUATO  svn9078:09/12/2013
srvidholdtime          =  #  NEU - NEW - NOUVEAU - NUOVO  svn9078:09/12/2013
cooldowndelay          =  #  NEU - NEW - NOUVEAU - NUOVO  svn5946:09/09/2011
blocknano              =
blockemm-u             =
blockemm-s             =
blockemm-g             =     
blockemm-unknown       =
blockemm-bylen         =  #  ÄNDERUNG - CHANGE - MODIFICATIONS - MODIFICA svn8615:04/12/2013
via_emm_global         =  #  NEU - NEW - NOUVEAU - NUOVO  svn9843:09/05/2014
saveemm-u              =  #  NEU - NEW - NOUVEAU - NUOVO  svn5947:09/09/2011
saveemm-s              =  #  NEU - NEW - NOUVEAU - NUOVO  svn5947:09/09/2011
saveemm-g              =  #  NEU - NEW - NOUVEAU - NUOVO  svn5947:09/09/2011
saveemm-unknown        =  #  NEU - NEW - NOUVEAU - NUOVO  svn5947:09/09/2011  
savenano               =  #  VERALTET - OBSOLETE - OBSOLÈTE - ANTIQUATO  svn5947:09/09/2011
readnano               =
use_ssl                =  #  NEU - NEW - NOUVEAU - NUOVO  svn8725:06/25/2013 
dropbadcws             =  #  ÄNDERUNG - CHANGE - MODIFICATIONS - MODIFICA  svn11292:12/21/2016  
disablecrccws          =  #  NEU - NEW - NOUVEAU - NUOVO  svn6004:10/26/2011
disablecrccws_only_for =  #  NEU - NEW - NOUVEAU - NUOVO  svn11292:12/21/2016 
lb_weight              = 
lb_whitelist_services  =  #  NEU - NEW - NOUVEAU - NUOVO  svn8656:05/22/2013
lb_force_fallback      =  #  NEU - NEW - NOUVEAU - NUOVO  svn9739:05/19/2014
cccversion             =
cccmaxhops             =
ccchop                 =   
cccreshare             =  #  ÄNDERUNG - CHANGE - MODIFICATIONS - MODIFICA  svn8607:04/10/2013  
cccwantemu             =
ccckeepalive           =
cccreconnect           =  #  VERALTET - OBSOLETE - OBSOLÈTE - ANTIQUATO  svn6441:02/23/2012
cccmindown             =
Gbox
device                 =
password               =
gbox_reshare           =  #  NEU - NEW - NOUVEAU - NUOVO  svn8350:02/15/2013
gbox_max_distance      =  #  NEU - NEW - NOUVEAU - NUOVO  svn8350:02/15/2013
gbox_max_ecm_send      =  #  NEU - NEW - NOUVEAU - NUOVO  svn8350:02/15/2013
user                   =  #  NEU - NEW - NOUVEAU - NUOVO  svn8662:05/24/2013

[reader]

Define local or remote reader

device

HakenRot.png parameter is required
<device|bus:device|device:slot>|Serial:Reader serial|<ip|host
      name>,<port>[,<lport>]|pcsc|<0|1>|constantcw
device:       device name (eg myreader)

bus:device:   bus name and device name of the Smartreader+
              (get the names with lsusb 'Bus' and 'Device')

device:slot:  device name and slot number sc8in1 [1-8]
              (only one SC8in1 reader supported)

serial:       serial number of Smartreader+
              (get the serial number while starting OSCam)

lport:        remapping to local port
    
PCSC:         number of PCSC reader, starting with 0
       
0|1:          for Coolstream HD-1 STB only: select reader 0 or reader 1

constantcw: constant CW file name

             constant CW file format: 
             CA (4 digits):
             ID  (6 digits):
             SID  (4  digits):
             PMT PID (4 digits):
             ECM PID (4 digits):: 
             key (16 Bytes separated by spaces)
eg: 1234:123456:1234:1234:1234::00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F


Examples

device = /dev/ttyS0   # (Reader on COM1 (Linux i386 and Windows))
device = /dev/tts/1   # (Reader on COM2 (Linux dbox2 with multicam))
device = /dev/ttyUSB0 # (Reader on USB  (Linux i386))

Attention: Counting begins with 0, that means number of device is one less than number of COM-Port! Eg ttyS0 = COM1, tts/1 = COM2.

device_out_endpoint

HakenBlau.png parameter depends on setup/programversion

set endpoint address for FTDI chips

0x81:   Infinity USB Smart
0x82:   Smartreader+  (default)

enable

HakenGruen.png parameter is optional

deactivate reader

0  =  off
1  =  On (default)

key

HakenBlau.png parameter depends on setup/programversion

key for newcamd remote reader encryption

key = DES key

user

HakenGruen.png parameter is optional

user for remote reader (name)

password

HakenGruen.png parameter is optional

password for remote reader

mg-encrypted

HakenGruen.png parameter is optional

mgcamd encrypted gbox line

format:

{ <IP|hostname> { <local port> <remote port> { <password> { <level> <level> } address> }

default:

MAC address=eth0

services

HakenGruen.png Parameter ist optional

WarningS.png Attention: If loadbalancing is enabled in oscam.conf [global] among lb_mode, then there may be no entries!

WarningS.png Attention: The number of services that will be considered based reader, is limited to 64, or 64 times [[service-name][CAID][provid][srvid]]!

What services can the reader. This requires a oscam.services be present. The logic here is as follows (in this order):

  • If the field is empty (or invalid), the request is allowed.
  • When a negative service (ie, those with "!") is applicable, the request is rejected.
  • If a positive service is applicable or there is no positive service, the request is allowed.
  • If none of the previous points, the request is rejected.

This means that negative Services are only necessary in individual cases. Namely, if and when services has positive, but it wants to exclude some back. This is not recommended, because here comes quickly to misconfigurations. Instead, an additional service to be created that contains all the relevant channels.

[de]assignment to service group

services = [!]services[,[!]<services>]...
         = [blank] is default

inactivitytimeout

HakenBlau.png parameter depends on setup/programversion

inactivity timeout for newcamd reader in minutes

inactivitytimeout = 2 # timeout in 2 minutes
                  =   # [blank] default

reconnecttimeout

HakenGruen.png parameter is optional

TCP reconnect, if missing answers in minutes

Example

reconnecttimeout = 2   # after 2 minutes new connection
                 =     # [blank] default

disableserverfilter

HakenGruen.png parameter is optional

ignore caid and ident settings of reader due faulty clients

disableserverfilter = 1  # ignore
                    = 0  # not ignore (default)

label

HakenRot.png parameter is required

name for reader

Example:

label = easymouse2

description

HakenGruen.png parameter is optional

description = text

description of reader, default: [blank] none

fallback

HakenGruen.png parameter is optional

Define reader as fallback, standard and fallback reader must have the same group, see group!

fallback = 1  # fallbackreader
         = 0  # no fallbackreader (default)

logport

HakenGruen.png parameter is optional

Camd 3.x reader logport, camd 3.x UDP must be activated, only works if there's no camd 3.x cascading

logport =    # port number
        =  0 # disabled (default)

caid

HakenGruen.png parameter is optional

caid = <CAID>[&<mask>][:<target CAID>][,<CAID>[&<mask>][:target <CAID>]]...

define and mapping of CAIDs for reader, default:all CAIDs with mask FFFF

example:

caid = 0100
caid = 0200&ffee:0300
caid = 0400&ff00:0500,0600
caid = 0702,0722
caid = 0702&ffdf (shortcut for the example above)

audisabled

HakenGruen.png parameter is optional

exclude reader from auto AU (auto update)

audisabled = 1  # excludet
           = 0  # not excludet (default)

auprovid

HakenGruen.png parameter is optional

set provider ID to use the right reader for auto AU

Example

auprovid =  # 123456
         =  # [blank] default

ecmwhitelist

HakenGruen.png parameter is optional

ecmwhitelist = [CAID[@ident]:]lenght[,lengtht]...[;[CAID[@ident]:]lenght[,lengtht]...]...

define valid ECM length in hex and ident for physical reader

example

ecmwhitelist  =  10,20,30,0a,0b,0c
              =  0100:10,20;0200@12345:0a,4b 
[blank]       =  none (default) and ident 000000

WarningS.png In normal operation mode this parameter ist not required!

MessageS.png List of ECM lengths

detect

HakenBlau.png parameter depends on setup/programversion

status detect of card is in

Detect = CD   (Carrier Detect) - default -
Detect = DSR  (Data Set Ready)
Detect = CTS  (Clear To Send)
Detect = RING (Ring Indicator)
Detect = NONE (detect switched off, but signal "card is in"
Detect = gpio1 ... gpio7 (neu für mipsel-uclibc)
  • Inverse = prefix "!"(eg "detect=!CTS")

cardmhz

HakenBlau.png parameter depends on setup/programversion

set standard SC frequency in units of 10 kHz, for Irdeto SC set to 600, refer to OVERCLOCKING Example:

cardmhz = 600  # Irdeto card
        =      # [blank] 357 (default)

mhz

HakenGruen.png parameter is optional

set reader frequency in units of 10 kHz, if mhz > cardmhz you are in overclocking mode, refer to OVERCLOCKING

Example:

# Default 357
cardmhz = 600    # ( 6000 KHz =  6 MHz)
mhz     = 1000   # (10000 KHz = 10 MHz)

deprecated

HakenGruen.png parameter is optional

First the SC will be initialized in normal mode. If it fails, the SC will be automatically reverted to deprecated mode, so that the SC speed will not be changed and the communication will remain on normal ATR speed of 9600 baud.

deprecated = 1  use deprecated SC mode only
           = 0  default

mode

HakenBlau.png parameter depends on setup/programversion

set card init mode for AzBox reader

mode = 1  # AzBox-Reader
     = 0  # none (default)

protocol

HakenRot.png parameter is required

reader protocol

protocol = mouse         (local cardreader)
         = internal      (all cardreader with "device=/dev/sciX")
         = camd35|cs357x (cascading - camd 3.5-compatible remote server)
         = mp35
         = smartreader
         = serial
         = cs378x
         = gbox
         = newcamd|newcamd525
         = newcamd524
         = cccam
         = radegast
         = pcsc
         = constcw
         = sc8in1

ident

HakenGruen.png parameter is optional

WarningS.png Attention: If in oscam.conf [global] loadbalancing is enabled among lb_mode, then there may be no entries!


define CAID and ident SC specific for reader:

ident 0 <CAID>:<ident>[,ident]...[;<CAID>:<ident>[,ident]...]...

Example

ident =  # 0100:123456,234567;0200:345678,456789
      =  # [blank] no definition (default)

provid

HakenGruen.png parameter is optional

define provider ID for reader

provid =  # ID
       =  # [blank] no definition (default)

class

HakenGruen.png parameter is optional

define class in hex SC specific for reader:

class = 01,02,!1b,!2b  # 01 and 01 yes, 1b and 2b no
      =                # [blank] no definition (default)

group

HakenRot.png parameter is required

Reader assingment to group. Each reader must be listed in one or more groups. This will determine, which client has access on what reader. Valid values 1-32

group = <grp>[,<grp>][,<grp>]...

Example:

Group = 1      # (one group)
Group = 1,4,5  # (more groups)

emmcache

HakenGruen.png parameter is optional

set EMM cache of local reader

WarningS.png Attention:

Without this parameter, no EMM are shown in the log!

Format:

emmcache = <usecache>,<rewrite>,<logging>
* <usecache> 0 = # disabled EMM caching  (default)
* <usecache> 1 = # enabled EMM caching
* <rewrite>  n = # determines how often one and the same EMM is written. only if <usecache> = 1
* <logging>  0 = # EMM logging disabled
* <logging>  1 = # logging EMM errors
* <logging>  2 = # logging written EMMs
* <logging>  4 = # logging skipped EMMs
* <logging>  8 = # logging blocked EMMs
* <logging>  16 = # logging audisabled EMMs

Sumarizing this values is possible. 31 shows all kinds of messages

Example

emmcache = 1,3,10 #  Cache on, write 3 x, log written (2) and blocked (8) = 10 
emmcache = 1,2,6  #  Cache on, write 2 x, log written (2) and skipped (4) = 6

ratelimitecm

HakenGruen.png parameter is optional

number of different SIDs in ECMs allowed for an interval

ratelimitecm =   # number
             = 0 # (default)

ratelimitseconds

HakenGruen.png parameter is optional

interval for rate limit in seconds

ratelimitseconds =   # seconds
                 = 0 # (default)

blocknano

HakenGruen.png parameter is optional

list of EMM-nanos to block (in hex w/o 0x) or all EMM-nanos, only valid for physical readers!

Example:

blocknano = 45,93,7a,ff
          = all
          = # [blank] (default)

blockemm-u

HakenGruen.png parameter is optional

block unique EMMs

blockemm-u = 0 # (no block) default
blockemm-u = 1 # (block EMMs, which are addressed to card immediatly) )

blockemm-s

HakenGruen.png parameter is optional

block shared EMMs

blockemm-s = 0 # (no block) default
blockemm-s = 1 # (block EMMs, which are addressed to certain groups of cards)

blockemm-g

HakenGruen.png parameter is optional

block global EMMs

blockemm-g = 0 # (no block) default
blockemm-g = 1 # (block EMMs, which are addressed to all cards)

blockemm-unknown

HakenGruen.png parameter is optional

block unknown types of EMMs

blockemm-unknown = 0  # (no block)  default
blockemm-unknown = 1  # (block all unknown kinds of EMMs)

blockemm-bylen

HakenGruen.png parameter is optional

blockemm-bylen = [length,length]... (decimal)

block all types of EMMs by length, maximum 10 values, default: none

savenano

HakenGruen.png parameter is optional

list of EMM-nanos to save to emmlogdir (in hex w/o 0x) or all EMM-nanos, only valid for physical readers

Format

nano[,nano]....|all

Beispiel

savenano = 45,93,7a,ff
         = all
         = # [blank] default

dropbadcws

HakenGruen.png parameter is optional

dropbadcws = 0|1

dropbadcws  =  1   # reject bad CWs
            =  0   # default


readnano

HakenGruen.png parameter is optional

Write file (usually a copy of a file saved by savenano) to your smartcard, if no path is specified, the specified file is searched for in the configuration directory, only valid for physical readers!

Example:

readnano = write.emm
         = /var/oscam/write.emm
         =  # [blank] (default)

lb_weight

HakenGruen.png parameter is optional

The higher the value the higher the probability for reader selection. It's an divider for the average responstime.

lb_weight = weight
          =  # [blank] Default-Wert 100

See here Lb weight calc2.png

cccversion

HakenBlau.png parameter depends on setup/programversion

Only for CCcam

define CCcam version

<mainversion>,<version>,<sub version>

Example

cccversion = 1.2.34

cccmaxhops

HakenBlau.png parameter depends on setup/programversion

define CCcam maximum SC distance hops

0 = local SCs only
1 = local SCs and + 1 hop
2 = local SCs and + 2 hops
    and so on
    default = 10

ccchop

HakenBlau.png parameter depends on setup/programversion

ccchop = hop

Set hop for non CCCam readers

default = 0


cccreshare

HakenBlau.png parameter depends on setup/programversion

Define reader's CCcam reshare hop

cccreshare  =     # hop
            =  -1 # no reshare
            =   x # resharing for direct peer and share level x
            =   0 # default

schlocke: reshare could be defined on 3 ways:

- reader ("cccreshare")

- cccam-config ("reshare")

- user-account ("cccreshare")

A cards reshare value is set to the smallest value of all parameters! If the result is < 0, card is not reshared

cccwantemu

HakenBlau.png parameter depends on setup/programversion

Request to provide emu from CCCam server, too.

cccwantemu = 1  # yes
           = 0  # no (default)

ccckeepalive

HakenBlau.png parameter depends on setup/programversion

Send keepalive messages to keep connection to remote CCCam server up

ccckeepalive = 1  # yes
             = 0  # no  (default)

cccmindown

HakenBlau.png parameter depends on setup/programversion
cccmindown =   # number
           = 0 # default

Filters all readers with hops smaller than number

pincode

HakenGruen.png parameter is optional

pincode for Conax and Cryptoworks SCs

pincode = pincode
        =  # [blank] default

chid

HakenGruen.png parameter is optional

define Irdeto ChID for reader

Example:

chid = 0100:12
     =  # [blank] default

force_irdeto

HakenGruen.png parameter is optional

force Irdeto SC mode even if RSA key is set for Irdeto tunneled Nagravion SC

force_irdeto = 1  # yes
             = 0  # no  (default)

nagra_read

HakenGruen.png parameter is optional

read Nagravison records (on NCMED cards only):

nagra_read = 0  # disabled (default)
           = 1  # read all records with expired rights
           = 2  # read records with valid rights only

rsakey

HakenGruen.png parameter is optional

RSA key for Nagravision/Tiger SCs / CAM key data for Irdeto SCs


fix9993

HakenGruen.png parameter is optional

fix9993 = 0|1

enabled fix for 9993 error with CAID 0919 SCs.

fix9993  =  1  # enabled
         =  0  # disabled (default)


boxkey

HakenGruen.png parameter is optional

box key for Nagravision SCs / CAM key for Irdeto SCs


aeskeys

HakenGruen.png parameter is optional

multiple 16 bytes AES keys for Viaccess SCs (the used postprocessing AES key is specified through the D2 nano of the ECM)

CAID #ident:AES key #0 CAID #0[,AES key #1 CAID #0],...[;CAID #1@ident::AES key #0 CAID #1[,AES key #1 CAID #1],...]...
special AES keys:
00 = do not return any CW, no AES key specified
FF = return CW received from the S, no AES key specified

Example:

aeskeys = 0100@012345:000102030405060708090a0b0c0d0e0f;0200@543210:0,0,0f0e0d0c0b0a090807060504030201

showcls

HakenGruen.png parameter is optional

number of classes subscriptions to show for Viacces-SCs

schowcls = quantity
         = 0  # (default)

boxid

HakenGruen.png parameter is optional

NDS receiver box id

boxid = NDS box ID

ndsversion

HakenGruen.png parameter is optional

set NDS Videoguard version

 0 = # autodetection  (default)
 1 = # NDS Videoguard 1
12 = # NDS Videoguard 1+
 2 = # NDS Videoguard 2


Diese Seite in anderen Sprachen - This page in other languages - Cette page dans d'autres langues - Queste pagine in altre Lingue

LanguageDE S.png [[OSCam/de/{{#titleparts:OSCam/en/Config/oscam.server|3|3}}|Deutsch]] LanguageEN S.png [[OSCam/en/{{#titleparts:OSCam/en/Config/oscam.server|3|3}}|English]] LanguageFR S.png [[OSCam/fr/{{#titleparts:OSCam/en/Config/oscam.server|3|3}}|Français]] LanguageIT S.png [[OSCam/it/{{#titleparts:OSCam/en/Config/oscam.server|3|3}}|Italiano]]