OSCam/en/Config/oscam.user: Unterschied zwischen den Versionen

Aus Streamboard Wiki
Zur Navigation springen Zur Suche springen
Zeile 39: Zeile 39:


Example::
Example::
  hostname = pwuser1
  hostname = client.dyndns.org


Default:
Default:

Version vom 25. Juli 2011, 08:53 Uhr

OSCam Übersicht OSCam Home OSCam Accueil 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

parameter is required

account name

Example:

user = user1

Default:

user =

pwd

parameter is required

password for account

Example:

pwd = pwuser1

Default:

pwd =

description

parameter is optional

description of user account (text)

hostname

parameter is optional

host from which user connection is allowed

Example::

hostname = client.dyndns.org

Default:

hostname =

betatunnel

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 =

uniq

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

sleep

parameter is optional

time waiting for inactive user in minutes

Example:

sleep = 5

Default:

sleep =

sleepsend

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 =

caid

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)

allowedprotocols

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)

au

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

group

parameter is required

user assingment to reader group

Format:

group[,<group>]...

services

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 not receive service1 service2) 
services = [!] services 

Default:

services =

ident

parameter is optional

user assingment to SC specific idents

Format:

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

default = none

class

parameter is optional

user [de]assingment to SC specific classes

Format:

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

Example:

class = 01,02,!03,!04

default = none

chid

parameter is optional

user assingment to SC specific ChID

Format:

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

monlevel

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

expdate

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

disabled

parameter is optional

account disabled

Beispiel:

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

Default:

disabled = 0

allowedtimeframe

parameter is optional

account enabled from - to

Format:

hh:mm-hh:mm

Example:

allowedtimeframe = 10:00-22:00

Default:

allowedtimeframe =

numusers

parameter depends on setup/programversion

used only if anticascading is enabled!

user per account

Example:

numusers = 5 # (maximal 5 user)
numusers = 0 # (anticascading disabled)
numusers =   # quantity

Default:

numusers =

penalty

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 # disable user temporary
penalty =  3 # send DWs with delay (fakedelay)

failban

Parameter ist optional

mask for IP based blocking:

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

suppresscmd08

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

parameter is optional

disable keepalive between newcamd-server and client connection

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

cccmaxhops

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

parameter depends on setup/programversion

reshare level for CCcam clients

Example:

cccreshare = -1 # use reshare level of oscam.conf [ccc]  -  default
cccreshare =  x # resharing for direct peer and share level x

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

cccignorereshare

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

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

[[OSCam/de/{{#titleparts:OSCam/en/Config/oscam.user|3|3}}|Deutsch]] [[OSCam/en/{{#titleparts:OSCam/en/Config/oscam.user|3|3}}|English]] [[OSCam/fr/{{#titleparts:OSCam/en/Config/oscam.user|3|3}}|Français]] [[OSCam/it/{{#titleparts:OSCam/en/Config/oscam.user|3|3}}|Italiano]]