OSCam/en/Config/oscam.user

Aus Streamboard Wiki
Wechseln zu: Navigation, Suche

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

oscam.user

The user configuration file for OSCam contains user definitions. [account] sections in oscam.user are recurring (more than one account).

[account]

[account]
user                   =
pwd                    =
description            =
disabled               =
hostname               =
expdate                =
allowedprotocols       =  #  NEU - NEW - NOUVEAU - NUOVO  svn 5662:07/17/2011
allowedtimeframe       =  #  ÄNDERUNG - CHANGE - MODIFICATIONS - MODIFICA svn 11356:02/09/2017
uniq                   =
numusers               =
penalty                =
acosc_max_active_sids  =  #  NEU - NEW - NOUVEAU - NUOVO  svn 7940:05/20/2014
acosc_zap_limit        =  #  NEU - NEW - NOUVEAU - NUOVO  svn 7940:05/20/2014
acosc_penalty          =  #  NEU - NEW - NOUVEAU - NUOVO  svn 7940:05/20/2014
acosc_penalty_duration =  #  NEU - NEW - NOUVEAU - NUOVO  svn 7940:05/20/2014
acosc_delay            =  #  NEU - NEW - NOUVEAU - NUOVO  svn 7940:05/20/2014
fakedelay              =  #  NEU - NEW - NOUVEAU - NUOVO  svn 7785:10/22/2012
failban                =  #  ÄNDERUNG - CHANGE - MODIFICATIONS - MODIFICA  svn 7772:10/21/2012
lb_nbest_readers       =  #  NEU - NEW - NOUVEAU - NUOVO  svn 8642:05/10/2013
lb_nbest_percaid       =  #  NEU - NEW - NOUVEAU - NUOVO  svn 8642:05/10/2013
preferlocalcards       =  #  NEU - NEW - NOUVEAU - NUOVO  svn 10050:11/30/2014
cwc_disable               #  NEU - NEW - NOUVEAU - NUOVO  svn 10049:11/30/2014
cacheex                =  #  NEU - NEW - NOUVEAU - NUOVO  svn 6039:11/26/2011
cacheex_maxhop         =  #  NEU - NEW - NOUVEAU - NUOVO  svn 6691:05/07/2012
sleep                  =
sleepsend              =
suppresscmd08          =
keepalive              =
umaxidle               =  #  NEU - NEW - NOUVEAU - NUOVO  svn 8929:09/25/2013
                          #  ÄNDERUNG - CHANGE - MODIFICATIONS - MODIFICA  svn 9801:07/17/2014
caid                   =  
au                     =
group                  =  #  ÄNDERUNG - CHANGE - MODIFICATIONS - MODIFICA  svn6103:12/21/2011
betatunnel             =
emmreassembly          =  #  NEU - NEW - NOUVEAU - NUOVO  svn 8591:04/01/2013
services               =
ident                  =  
class                  = 
chid                   =  
monlevel               =
cccmaxhops             =
cccreshare             =  #  ÄNDERUNG - CHANGE - MODIFICATIONS - MODIFICA  svn8608:04/10/2013 
cccignorereshare       =  
cccstealth             =

user

HakenRot.png parameter is required

account name

Example:

user = user1

Default:

user =

pwd

HakenRot.png parameter is required

password for account

WarningS.png Gbox Protocol: pwd is not required

Example:

pwd = pwuser1

Default:

pwd =

description

HakenGruen.png parameter is optional

description of user account (text)

Описание аккаунта пользователя (текст)

disabled

HakenGruen.png parameter is optional

account disabled

Beispiel:

disabled = 0 # (account enabled)
disabled = 1 # (account disabled)

Default:

disabled = 0

hostname

HakenGruen.png parameter is optional

host from which user connection is allowed

Example:

hostname = client.dyndns.org

Default:

hostname =

expdate

HakenGruen.png parameter is optional

expiration date for account

Format:

<year>-<month>-<day>|<year>/<month>/<day>

Example:

expdate  = 2001-11-21
expdate  = 2002/12/22

Default:

expdate = none

allowedprotocols

HakenGruen.png parameter is optional

allowedprotocols = [protocol1][,][protocol2][,][protocol3][,]...

allowed protocols for user

protocols

camd33
camd35
cs357x
cs378x
newcamd
cccam
gbox
radegast

example

allowedprotocols  =  cs357x,gbox       # only cs357x and gbox protocols are allowed
                  =  [blank]           # all protocols are allowed (default)

allowedtimeframe

HakenGruen.png parameter is optional

account enabled from - to for specified day(s)

Format:

DAY@HH:MM-HH:MM[,HH:MM-HH:MM][,HH:MM-HH:MM][;DAY@HH:MM-HH:MM[,HH:MM-HH:MM][,HH:MM-HH:MM]]
where DAY=SUN,MON,TUE,WED,THU,FRI,SAT or ALL (for all possible days)

comma (,) to separate times and semicolon(;) to separate the different days. You can use ALL@ if you want the same time frames for everyday.

Day starts at 00:00 and end at 24:00, so to cover a full day use: DAY@00:00-24:00

Example:

allowedtimeframe = ALL@10:00-22:00;MON@00:00-02:00,02:45-04:37;FRI@00:00-10:00,22:00-24:00;SAT@00:00-24:00

If you use: XXX@22:00-05:00 this will be turned into XXX@00:00-05:00,22:00-24:00
ALL@ is always checked and used, so you can watch TV the whole day on FRIday in this exemple. There is no problem to overlap ALL@ in a day definition, like for SAT@ definition.

Default:

allowedtimeframe =

uniq

HakenGruen.png parameter is optional

Example:

uniq = 0  # disabled, default
uniq = 1  # only one connection per user is allowed
uniq = 2  # set user to fake if source ip is different
            (e.g. for newcamd clients with different CAIDs and ports)
uniq = 3  # only one connection per user, but only the last login will survive (old mpcs behavior)
uniq = 4  # set user only to fake if source ip is different, but only the last login will survive

Default:

uniq = 0

numusers

HakenBlau.png parameter depends on setup/programversion

used only if anticascading is enabled!

numusers = # quantity

user per account

Example:

numusers = -1 # (global value from oscam.conf, default)
numusers =  5 # (maximal 5 user)
numusers =  0 # (anticascading disabled)

penalty

HakenBlau.png parameter depends on setup/programversion

used only if anticascading is enabled!

level of penalty:

penalty = -1 # use value of penalty defined in oscam.conf (default)
penalty =  0 # only logging
penalty =  1 # send fake DWs
penalty =  2 # ban user temporary
penalty =  3 # send DWs with delay (fakedelay)

fakedelay

HakenGruen.png parameter is optional

NEW svn7785:10/22/2012

fakedelay = milli seconds or 0|-1

se fake delay time individually for user

  0  =  fake delay disabled
 -1  =  fake delay of oscam.conf[global] (default)
     =  fake delay in milli seconds for user

failban

HakenGruen.png Parameter ist optional

CHANGE svn 7772:10/21/2012

mask for IP based blocking:

failban = 0|2|4|8

failban = 0 # ignore (default)
failban = 2 # block IP address of a disabled account on connecting
failban = 4 # block IP address of a sleeping account while sleeping comes up
failban = 8 # block duplicate IP address



acosc_max_active_sids

HakenGruen.png parameter is optional


NEW svn 7940:05/20/2014

acosc_max_active_sids = count

maximum active SIDs with anti-cascading over SID

0  =  unlimited, default
-1 =  use global setting from oscam.conf [global]



acosc_zap_limit

HakenGruen.png parameter is optional


NEW svn 7940:05/20/2014

acosc_zap_limit = count
zap-limit for anticascading over SID

0  =  unlimited, default
-1 =  use global setting from oscam.conf.[global]



acosc_penalty

HakenGruen.png parameter is optional


NEW svn 7940:05/20/2014

acosc_penalty = 0|1|2|3|-1
level of penalty with anti-cascading over SID

0  =  only logging, default
1  =  send fake CW's
2  =  temporary user ban
3  =  send delayed CW's
-1 =  use global setting from oscam.conf [global]



acosc_penalty_duration

HakenGruen.png parameter is optional


NEW svn 7940:05/20/2014

acosc_penalty_duration = seconds
penalty duration for anti-cascading over SID

0  =  mone, default
-1 =  use global setting from oscam.conf[global]



acosc_delay

HakenGruen.png parameter is optional


NEW svn 7940:05/20/2014

acosc_delay = milli-seconds
Dauer des delay für anti-cascading über SID

0  =  none, default
-1 =  use global setting Oscam.conf[global]





lb_nbest_readers

HakenGruen.png parameter is optional

NEW svn8642:05/10/2013

lb_nbest_readers = count

set count of best readers for load balancing

-1  =  use global lb_nbest_readers in oscam.conf
 1  =  default

lb_nbest_percaid

HakenGruen.png parameter is optional

NEW svn8642:05/10/2013

lb_nbest_percaid = CAID1:count1[,CAID2:count2]...

set count of best readers per CAIDs for load balancing, wildcards CAIDs with two-digit CAIDs possible. default = none

example

lb_nbest_percaid = 0100:4,0200:3,03:2,04:1
(wildcards CAIDs 03xx and 04xx)

preferlocalcards

HakenGruen.png parameter is optional

NEW svn 10050:11/30/2014

preferlocalcards = 0|-1|1|2

-1  =  global value from oscam.sonf[global] (default)
 0  =  local SCs used like a remote reader
 1  =  prefer call exchange based SCs
 2  =  prefer local SCs


cwc_disable

HakenGruen.png parameter is optional

NEW svn 10049:11/30/2014

cwc_disable = 0|1

1  =  disable cw cycle check
0  =  default


cacheex

HakenGruen.png parameter is optional

NEW svn6039:11/26/2011

cacheex = 0|1|2|3

1  =  enable cache exchange pull mode
2  =  enable cache exchange push mode 
3  =  enable cache exchange reversepush mode
0  =  default
for camd 3.5x and CCcam protocol

see also on oscam.server!

Identical cache exchange modes must be set on local OSCam user account and remote OSCam server!

cacheex-modes
cacheex = 1 - cachepull

Situation:

OSCam A reader1 has cacheex = 1

OSCam B account1 has cacheex = 1

OSCam A gets a ECM request, reader1 send this request to OSCam B,

OSCam B checks his cache:

  • Not found in cache: return NOK
  • Found in cache: return OK+CW
  • Not found in cache, but found pending request: wait cacheexwaittime in oscam.conf [global] and check again. OSCam B never requests new ECMs.

CW-flow = B ---> A

cacheex = 2 - cachepush

Situation:

OSCam A reader1 has cacheex = 2

OSCam B account1 hastcacheex = 2

If OSCam B gets a CW, its pushed to OSCam A, reader has normal functionality and can request ECMs.

  • Problem: OSCAM can only push CW's if OSCam A is connected
  • Problem or feature?: OSCam A reader can request ECMs from OSCam B

CW-flow = B ---> A

cacheex = 3 - reversecachepush

Situation:

OSCam A reader 1 has cacheex = 3

If OSCam A gets a CW, its pushed to OSCam B. OSCam A never requests new ECMs.

CW-flow = A ---> B

cacheex_maxhop

HakenGruen.png parameter is optional

NEW svn6691:05/07/2012

cacheex_maxhop = hops

               =  defaolt = 10 hops

define maximum hops for cache exchange


sleep

HakenGruen.png parameter is optional

time waiting for inactive user in minutes

Example:

sleep = 5

Default:

sleep =

sleepsend

HakenGruen.png parameter is optional

0|255

255 = OSCam client only: stopping requests until next zap,

255 = camd 3.x only: stopping requests until restart of camd3 client

Examples:

sleepsend = 0
sleepsend = 255

Default:

sleepsend =

suppresscmd08

HakenGruen.png parameter is optional

switches suppress of CMD08

suppresscmd08 = 0 # CMD08 for camd3 3.57x/3.78x clients enabled
suppresscmd08 = 1 # CMD08 for camd3 3.57x/3.78x clients disabled

Default:

suppresscmd08 = 0

keepalive

HakenGruen.png parameter is optional

disable keepalive between newcamd-server and client connection

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

umaxidle

HakenGruen.png parameter is optional

NEW svn8929:09/25/2013

CHANGE svn 9801:07/17/2014

umaxidle = seconds

value for user being idle before disconnect.

-1  =  use clientmaxidle in [global]-section
 0  =  idle disconnect 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)

au

HakenGruen.png parameter is optional

Format:

label of reader[,label of reader]...|1

AU settings:

au = [label of reader] # sending EMMs to specified reader
                         (security issue: clients can see SC data!)
au = 1                 # auto AU is sending EMMs to all readers
                         (security issue: clients can see SC data!)

Default:

au = [blank]           # none


Sometimes only global emm's update same caid cards:

- check if you blocked unique/shared in READER Blockemm

- don't use au = 1, use au = [label of reader]

- if still troublesome use in house different user to update each card by [label of reader]

example: cd__nl and tv__vl have a common provider: m7 group sa and share updates on shared channels.

user 1: AU: cd__nl,sky_uk

user 2: AU: tv__vl

group

HakenRot.png parameter is required

CHANGE svn6103:12/21/2011

user assingment to reader group. Valid 64 groups

Format:

group   =  1....64[,1....64]....
default =  none

betatunnel

HakenGruen.png parameter is optional

define Betacrypt tunneling (max. see CS_MAXTUNTAB in globals.h). The ServiceID can also be used for wildcarded CAIDs.

Format:

<CAID>.<ServiceID>:<target CAID>[,<CAID>.<ServiceID>: <target CAID>]...

Example:

betatunnel = 0100.0001:0200,0300.0004:0500
betatunnel = 0600.FFFF:0700

Default:

betatunnel =


emmreassembly

HakenGruen.png parameter is optional

NEW svn8591:01/04/2013


emmreassembly = 0|1||2

EMM reassembly, should be set for Viaccess and Cryptoworks readers if the client that you are using to send EMMs is reassembling them instead of just sending them to OSCam for processing.

0: disabled 
1: enabled for DVB API 
2: enabled (default)


services

HakenGruen.png parameter is optional

What services may use the User.? 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, exactly, then if you have a positive service, 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.

Example:

services = service1,!service2 # (client may receive service1, but not service2) 
services = [!]services 

Default:

services =

ident

HakenGruen.png parameter is optional

user assingment to SC specific idents

Format:

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

default = none

class

HakenGruen.png parameter is optional

user [de]assingment to SC specific classes

Format:

[!]class[,[!]class]...

Example:

class = 01,02,!03,!04

default = none

chid

HakenGruen.png parameter is optional

user assingment to SC specific ChID

Format:

chid = <CAID>:<ChID>[,<ChID>,...][;<CAID>:<ChID>[,<ChID>,...]]...
     = [blank] default

monlevel

HakenGruen.png parameter is optional

monitor level:

monlevel  = 0 # no access to monitor
monlevel  = 1 # only server and own procs
monlevel  = 2 # all procs, but viewing only, default
monlevel  = 3 # all procs, reload of oscam.user possible
monlevel  = 4 # complete access

ccc

cccmaxhops
HakenBlau.png parameter depends on setup/programversion

only if CCcam proxies or CCcam server are used!

maximum hops limit for CCcam clients

cccmaxhops = -1 # CCcam disbled for this user
              0 # local SCs only
              1 # local SCs + 1 hop
              2 # local SCs + 2 hops
                # and so on

Default:

cccmaxhops = 10 # local SC's + 10 hops
cccreshare
HakenBlau.png parameter depends on setup/programversion

CHANGE svn8608:04/10/2013


reshare level for CCcam clients

Example:

cccreshare = -1 # use reshare level defined in oscam.conf  -  default
           =  0 # reshare for direct peer only
           =  1 # resharing for direct peer and next level

reshare could be defined on 2 ways:

  • reader ("cccreshare")
  • user-account ("cccreshare")

A cards reshare value is set to the smallest value of the 2 parameters !

cccignorereshare
HakenBlau.png parameter depends on setup/programversion

only if CCcam proxies or CCcam server are used!

CCcam ignore reshare settings

cccignorereshare  =  -1   #  use ignore reshare level of oscam.conf [ccc] - default 
                  =   0   #  use ignore reshare level of server
                  =   1   #  use ignore reshare level of reader or user
cccstealth
HakenBlau.png parameter depends on setup/programversion

cccstealth = -1|0|1

-1  =  # use CCcam stealth of oscam.conf [ccc]  -  default
 0  =  # use extendet OSCam-CCcam-protocol
 1  =  # behaviour like the original CCcam-protocol, no activate partner detection and extendet
         OSCam-CCcam-protocol, prevent other OSCam to detect the server as OSCam-server

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

LanguageDE S.png Deutsch LanguageEN S.png English LanguageFR S.png Français LanguageIT S.png Italiano