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

Aus Streamboard Wiki
Zur Navigation springen Zur Suche springen
Keine Bearbeitungszusammenfassung
 
(51 dazwischenliegende Versionen von 10 Benutzern werden nicht angezeigt)
Zeile 23: Zeile 23:


password for account
password for account
 
[[Datei:WarningS.png|text-bottom]] '''Gbox Protocol:''' pwd is not required


Example:
Example:
Zeile 32: Zeile 34:
==== description ====
==== description ====
{{Optional/en}}
{{Optional/en}}
description of user account (text)
description of user account (text)  
 
Описание аккаунта пользователя (текст)
 
==== disabled ====
{{Optional/en}}
 
account disabled
 
Beispiel:
disabled = 0 # (account enabled)
disabled = 1 # (account disabled)
 
Default:
disabled = 0


==== hostname ====
==== hostname ====
Zeile 38: Zeile 54:
host from which user connection is allowed
host from which user connection is allowed


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


Zeile 44: Zeile 60:
  hostname =
  hostname =


==== betatunnel ====
==== expdate ====
{{Optional/en}}
 
expiration date for account
 
Format:
<year>-<month>-<day>|<year>/<month>/<day>
 
Example:
expdate  = 2001-11-21
expdate  = 2002/12/22
 
Default:
expdate = none
 
==== allowedprotocols ====
{{Optional/en}}
 
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 ====
{{Optional/en}}
{{Optional/en}}


define Betacrypt tunneling (max. see CS_MAXTUNTAB in globals.h).  The ServiceID can also be used for wildcarded CAIDs.
account enabled from - to for specified day(s)


Format:
Format:
  <CAID>.<ServiceID>:<target CAID>[,<CAID>.<ServiceID>: <target CAID>]...
  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:
Example:
  betatunnel = 0100.0001:0200,0300.0004:0500
  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
  betatunnel = 0600.FFFF:0700
 
If you use: XXX@22:00-05:00 this will be turned into XXX@00:00-05:00,22:00-24:00<br>
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:
Default:
  betatunnel =
  allowedtimeframe =


==== uniq ====
==== uniq ====
Zeile 72: Zeile 132:
Default:
Default:
  uniq = 0
  uniq = 0
==== numusers ====
{{Depends/en}}
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 ====
{{Depends/en}}
used only if '''anticascading''' is enabled!
level of penalty:
'''penalty = -1''' # use value of [[OSCam/en/Config/oscam.conf#penalty|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 ([[OSCam/en/Config/oscam.conf#fakedelay|fakedelay]])
==== fakedelay ====
{{Optional/en}}
<span style="background-color:Green;color:White;padding:0 5px;">NEW svn7785:10/22/2012</span>
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 ====
{{Optional}}
<span style="background-color:Blue;color:White;padding:0 5px;">CHANGE svn 7772:10/21/2012</span>
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
<br />
<br />
==== acosc_max_active_sids ====
{{Optional/en}}
<br />
<span style="background-color:Green;color:White;padding:0 5px;">NEW svn 7940:05/20/2014</span><br />
acosc_max_active_sids  =  count
maximum active SIDs with anti-cascading over SID
<br />
0  =  unlimited, default
-1 =  use global setting from oscam.conf [global]
<br />
<br />
==== acosc_zap_limit ====
{{Optional/en}}
<br />
<span style="background-color:Green;color:White;padding:0 5px;">NEW svn 7940:05/20/2014</span>
acosc_zap_limit  =  count
<br />
zap-limit for anticascading over SID
<br />
0  =  unlimited, default
-1 =  use global setting from oscam.conf.[global]
<br />
<br />
==== acosc_penalty ====
{{Optional/en}}
<br />
<span style="background-color:Green;color:White;padding:0 5px;">NEW svn 7940:05/20/2014</span>
acosc_penalty  =  0|1|2|3|-1
<br />
level of penalty with anti-cascading over SID
<br />
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]
<br />
<br />
==== acosc_penalty_duration ====
{{Optional/en}}
<br />
<span style="background-color:Green;color:White;padding:0 5px;">NEW svn 7940:05/20/2014</span>
acosc_penalty_duration  =  seconds
<br />
penalty duration for anti-cascading over SID
<br />
0  =  mone, default
-1 =  use global setting from oscam.conf[global]
<br />
<br />
==== acosc_delay ====
{{Optional/en}}
<br />
<span style="background-color:Green;color:White;padding:0 5px;">NEW svn 7940:05/20/2014</span>
acosc_delay  =  milli-seconds
<br />
Dauer des delay für anti-cascading über SID
<br />
0  =  none, default
-1 =  use global setting Oscam.conf[global]
<br />
<br />
==== lb_nbest_readers ====
{{Optional/en}}
<span style="background-color:Green;color:White;padding:0 5px;">NEW  svn8642:05/10/2013</span>
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 ====
{{Optional/en}}
<span style="background-color:Green;color:White;padding:0 5px;">NEW  svn8642:05/10/2013</span>
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 ====
{{Optional/en}}
<span style="background-color:Green;color:White;padding:0 5px;">NEW svn 10050:11/30/2014</span>
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 ====
{{Optional/en}}
<span style="background-color:Green;color:White;padding:0 5px;">NEW svn 10049:11/30/2014</span>
cwc_disable  =  0|1
1  =  disable cw cycle check
0  =  default
==== cacheex ====
{{Optional/en}}
<span style="background-color:Green;color:White;padding:0 5px;">NEW  svn6039:11/26/2011</span>
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 ====
{{Optional/en}}
<span style="background-color:Green;color:White;padding:0 5px;">NEW  svn6691:05/07/2012</span>
cacheex_maxhop  =  hops
                =  defaolt = 10 hops
define maximum hops for cache exchange


==== sleep ====
==== sleep ====
Zeile 98: Zeile 400:
Default:
Default:
  sleepsend =
  sleepsend =
==== suppresscmd08 ====
{{Optional/en}}
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 ====
{{Optional/en}}
disable keepalive between newcamd-server and client connection
keepalive = 0 # disabled
keepalive = 1 # enabled (default)
==== umaxidle ====
{{Optional/en}}
<span style="background-color:Green;color:White;padding:0 5px;">NEW svn8929:09/25/2013</span>
<span style="background-color:Blue;color:White;padding:0 5px;">CHANGE  svn 9801:07/17/2014</span>
umaxidle  =  seconds
value for user being idle before disconnect.
-1  =  use clientmaxidle in [global]-section
  0  =  idle disconnect disabled (default)


==== caid ====
==== caid ====
Zeile 112: Zeile 447:
  caid = 0702,0722
  caid = 0702,0722
  caid = 0702&ffdf (shortcut for the example above)
  caid = 0702&ffdf (shortcut for the example above)
==== allowedprotocols ====
{{Optional/en}}
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 ====
==== au ====
Zeile 147: Zeile 461:
Default:
Default:
  au = [blank]          # none
  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: <small>cd__nl</small> and <small>tv__vl</small> have a common provider: <small>m7 group sa</small> and share updates on shared channels.
user 1: AU: <small>cd__nl</small>,sky_uk
user 2: AU: <small>tv__vl</small>


==== group ====
==== group ====
{{required}}
{{required}}
<span style="background-color:Blue;color:White;padding:0 5px;">CHANGE  svn6103:12/21/2011</span>


user assingment to reader group
user assingment to reader group. Valid 64 groups


Format:
Format:
  group[,<group>]...
  group   =  1....64[,1....64]....
default =  none
 
==== betatunnel ====
{{Optional/en}}
 
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 =
<br/>
 
==== emmreassembly ====
{{Optional/en}}
 
<span style="background-color:Green;color:White;padding:0 5px;">NEW svn8591:01/04/2013</span>
 
 
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 ====
==== services ====
Zeile 167: Zeile 529:


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


Default:  
Default:  
Zeile 202: Zeile 564:


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


Zeile 215: Zeile 577:
  monlevel  = 4 # complete access
  monlevel  = 4 # complete access


==== expdate ====
==== ccc ====
{{Optional/en}}


expiration date for account
===== cccmaxhops =====
{{Depends/en}}
only if '''CCcam proxies or CCcam server''' are used!


Format:
maximum hops limit for CCcam clients
<year>-<month>-<day>|<year>/<month>/<day>


Example:
  cccmaxhops = -1 # CCcam disbled for this user
expdate = 2001-11-21
              0 # local SCs only
expdate  = 2002/12/22
              1 # local SCs + 1 hop
              2 # local SCs + 2 hops
                # and so on


Default:
Default:
  expdate = none
  cccmaxhops = 10 # local SC's + 10 hops
 
===== cccreshare =====
{{Depends/en}}
 
<span style="background-color:Blue;color:White;padding:0 5px;">CHANGE  svn8608:04/10/2013</span>


==== disabled ====
{{Optional/en}}


account disabled
reshare level for CCcam clients


Beispiel:
Example:
  disabled = 0 # (account enabled)
  cccreshare = -1 # use [[OSCam/en/Config/oscam.conf#reshare|reshare]] level defined in oscam.conf  -  default
  disabled = 1 # (acount diesabled)
            =  0 # reshare for direct peer only
            = 1 # resharing for direct peer and next level


Default:
reshare could be defined on 2 ways:
disabled = 0


==== allowedtimeframe ====
* reader ("cccreshare")
{{Optional/en}}
* user-account ("cccreshare")


account enabled from - to
A cards reshare value is set to the smallest value of the 2 parameters !


Format:
===== cccignorereshare =====
hh:mm-hh:mm
{{Depends/en}}
 
only if '''CCcam proxies or CCcam server''' are used!


Example:
CCcam ignore reshare settings
allowedtimeframe = 10:00-22:00


Default:
cccignorereshare  =  -1  #  use ignore reshare level of oscam.conf [ccc] - default
  allowedtimeframe =
                  =  0  # use ignore reshare level of server
                  =   1  #  use ignore reshare level of reader or user


==== numusers ====
===== cccstealth =====
{{Depends/en}}
{{Depends/en}}


used only '''if anticascading''' is enabled!
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
 
 
==== cacheex_nopushafter ====
{{Optional/en}}
<span style="background-color:Green;color:White;padding:0 5px;">NEW svn11588:08/23/20</span>
 
don't forward CWs from local/proxy-reader via CacheEx, if the defined time_in_ms for the CAID is reached
 
cacheex_nopushafter = CAID:time_in_ms[,n]
 
 
==== cacheex_lg_only_remote_settings ====
{{Optional/en}}
<span style="background-color:Green;color:White;padding:0 5px;">NEW svn11588:08/23/20</span>


user per account
possibility to deny cacheex-receiver/client(cx2: user / cx3: reader) to overwrite the following settings @ cacheex-sending-instance
cacheex_localgenerated_only
cacheex_lg_only_tab
it makes sense if you want to force your local settings.
if the user/reader isnt allowed to overwrite your values,
* it is still possible for the cacheex-receiver to set cacheex_localgenerated_only=1, if the user/reader define cacheex_localgenerated_only_in=1 ; but it is only @ cacheex-sending-instance possible to disable it
* it is still possible for the cacheex-receiver to add cacheex_lg_only_tab, if the user/reader define cacheex_lg_only_in_tab=1234,1337 ; but it is only merged to the sender-instance cacheex_lg_only_tab values


Example:
if cacheex_lg_only_remote_settings @oscam.conf is enabled, the user/reader-settings are ignored.
numusers = 5 # (maximal 5 user)
if cacheex_lg_only_remote_settings @oscam.conf is disabled, the user/reader-settings are used.
numusers = 0 # (anticascading disabled)
numusers =  # quantity


Default:
  cacheex_lg_only_remote_settings = 0|1 (default: 0 /opt-out)
  numusers =


==== penalty ====
{{Depends/en}}


used only if '''anticascading''' is enabled!
==== cacheex_localgenerated_only ====
{{Optional/en}}
<span style="background-color:Green;color:White;padding:0 5px;">NEW svn11588:08/23/20</span>


level of penalty:
forward only CWs which are flagged as localgenerated
'''penalty = -1''' # use value of [[OSCam/en/Config/oscam.conf#penalty|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 ([[OSCam/en/Config/oscam.conf#fakedelay|fakedelay]])


==== failban ====
cacheex_localgenerated_only = 0|1 (default: 0 /opt-in)
{{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 ====
==== cacheex_lg_only_tab ====
{{Optional/en}}
{{Optional/en}}
<span style="background-color:Green;color:White;padding:0 5px;">NEW svn11588:08/23/20</span>


switches suppress of CMD08
forward only CWs which are lg-flagged for these list of caid/provid(s)
 
if provid FFFFFE is set, all provids for this caid are valid!


  suppresscmd08 = 0 # CMD08 for camd3 3.57x/3.78x clients '''enabled'''
  cacheex_lg_only_tab = caid1:provid1[,provid2];caid2:provid1;
suppresscmd08 = 1 # CMD08 for camd3 3.57x/3.78x clients '''disabled'''


Default:
suppresscmd08 = 0


==== keepalive ====
==== cacheex_localgenerated_only_in ====
{{Optional/en}}
{{Optional/en}}
<span style="background-color:Green;color:White;padding:0 5px;">NEW svn11588:08/23/20</span>
drop incoming CWs which are NOT flagged as localgenerated
cacheex_localgenerated_only_in = 0|1 (default: 0 /opt-in)


disable keepalive between newcamd-server and client connection


keepalive = 0 # disabled
==== cacheex_lg_only_in_tab ====
keepalive = 1 # enabled (default)
{{Optional/en}}
<span style="background-color:Green;color:White;padding:0 5px;">NEW svn11588:08/23/20</span>


==== cccmaxhops ====
allow incoming CWs only if they are lg-flagged for these list of caid/provid(s)
{{Depends/en}}
only if '''CCcam proxies or CCcam server''' are used!


maximum hops limit for CCcam clients
if provid FFFFFE is set, all provids for this caid are valid!


  cccmaxhops = -1 # CCcam disbled for this user
  cacheex_lg_only_in_tab = caid1:provid1[,provid2];caid2:provid1;
              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 ====
==== cacheex_lg_only_in_aio_only ====
{{Depends/en}}
{{Optional/en}}
<span style="background-color:Green;color:White;padding:0 5px;">NEW svn11588:08/23/20</span>


reshare level for CCcam clients
use drop lg-only settings (cacheex_localgenerated_only_in & cacheex_lg_only_in_tab) only if peer is detected as cx-aio-patched or svn >= 11588


Example:
  cacheex_lg_only_in_aio_only = 0|1 (default: 0 /opt-in)
  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:
==== cacheex_maxhop_lg ====
{{Optional/en}}
<span style="background-color:Green;color:White;padding:0 5px;">NEW svn11588:08/23/20</span>


- reader ("cccreshare")
define a maxhop for lg-flagged cws for push/receive, to allow a higher maxhop than for non-flagged cws
cacheex_maxhop_lg = 0 (default) use value of cacheex_maxhop
                  = 1 to 10 = set maxhop (if value is lower than cacheex_maxhop, value of cacheex_maxhop is used)


- cccam-config ("reshare")


- user-account ("cccreshare")
==== cacheex_allow_maxhop ====
{{Optional/en}}
<span style="background-color:Green;color:White;padding:0 5px;">NEW svn11588:08/23/20</span>


A cards reshare value is set to the smallest value of all parameters!
set maxhop-settings remote, if remote reader/user has cacheex_allow_maxhop = 1 (default: 0 /opt-in)
If the result is < 0, card is not reshared


==== cccignorereshare ====
cacheex_allow_maxhop = 0|1 (default: 0 /opt-in)
{{Depends/en}}


only if '''CCcam proxies or CCcam server''' are used!


CCcam ignore reshare settings
==== cacheex_cw_check_for_push ====
{{Optional/en}}
<span style="background-color:Green;color:White;padding:0 5px;">NEW svn11588:08/23/20</span>


cccignorereshare  =  -1  #  use ignore reshare level of oscam.conf [ccc] - default
push only when cacheex_cw_check counter reached
                  =  0  #  use ignore reshare level of server
localgenerated-flagged CWs are always pushed out
                  =  1  #  use ignore reshare level of reader or user


==== cccstealth ====
cacheex_cw_check_for_push = 0|1 (default: 0 /opt-in)
{{Depends/en}}


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


{{OSCamTranslatedLinks}}
{{OSCamTranslatedLinks}}

Aktuelle Version vom 25. August 2020, 11:43 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

Gbox Protocol: pwd is not required

Example:

pwd = pwuser1

Default:

pwd =

description

parameter is optional

description of user account (text)

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

disabled

parameter is optional

account disabled

Beispiel:

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

Default:

disabled = 0

hostname

parameter is optional

host from which user connection is allowed

Example:

hostname = client.dyndns.org

Default:

hostname =

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

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)

allowedtimeframe

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

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

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

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

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

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

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

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

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

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

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

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

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

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

parameter is optional

NEW svn 10049:11/30/2014

cwc_disable = 0|1

1  =  disable cw cycle check
0  =  default


cacheex

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

parameter is optional

NEW svn6691:05/07/2012

cacheex_maxhop = hops

               =  defaolt = 10 hops

define maximum hops for cache exchange


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 =

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)

umaxidle

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

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

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

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

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

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

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

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>[,<ChID>,...][;<CAID>:<ChID>[,<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

ccc

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

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
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


cacheex_nopushafter

parameter is optional

NEW svn11588:08/23/20

don't forward CWs from local/proxy-reader via CacheEx, if the defined time_in_ms for the CAID is reached

cacheex_nopushafter = CAID:time_in_ms[,n]


cacheex_lg_only_remote_settings

parameter is optional

NEW svn11588:08/23/20

possibility to deny cacheex-receiver/client(cx2: user / cx3: reader) to overwrite the following settings @ cacheex-sending-instance

cacheex_localgenerated_only
cacheex_lg_only_tab

it makes sense if you want to force your local settings. if the user/reader isnt allowed to overwrite your values,

  • it is still possible for the cacheex-receiver to set cacheex_localgenerated_only=1, if the user/reader define cacheex_localgenerated_only_in=1 ; but it is only @ cacheex-sending-instance possible to disable it
  • it is still possible for the cacheex-receiver to add cacheex_lg_only_tab, if the user/reader define cacheex_lg_only_in_tab=1234,1337 ; but it is only merged to the sender-instance cacheex_lg_only_tab values

if cacheex_lg_only_remote_settings @oscam.conf is enabled, the user/reader-settings are ignored. if cacheex_lg_only_remote_settings @oscam.conf is disabled, the user/reader-settings are used.

cacheex_lg_only_remote_settings = 0|1 (default: 0 /opt-out)


cacheex_localgenerated_only

parameter is optional

NEW svn11588:08/23/20

forward only CWs which are flagged as localgenerated

cacheex_localgenerated_only = 0|1 (default: 0 /opt-in)


cacheex_lg_only_tab

parameter is optional

NEW svn11588:08/23/20

forward only CWs which are lg-flagged for these list of caid/provid(s)

if provid FFFFFE is set, all provids for this caid are valid!

cacheex_lg_only_tab = caid1:provid1[,provid2];caid2:provid1;


cacheex_localgenerated_only_in

parameter is optional

NEW svn11588:08/23/20

drop incoming CWs which are NOT flagged as localgenerated

cacheex_localgenerated_only_in = 0|1 (default: 0 /opt-in)


cacheex_lg_only_in_tab

parameter is optional

NEW svn11588:08/23/20

allow incoming CWs only if they are lg-flagged for these list of caid/provid(s)

if provid FFFFFE is set, all provids for this caid are valid!

cacheex_lg_only_in_tab = caid1:provid1[,provid2];caid2:provid1;


cacheex_lg_only_in_aio_only

parameter is optional

NEW svn11588:08/23/20

use drop lg-only settings (cacheex_localgenerated_only_in & cacheex_lg_only_in_tab) only if peer is detected as cx-aio-patched or svn >= 11588

cacheex_lg_only_in_aio_only = 0|1 (default: 0 /opt-in)


cacheex_maxhop_lg

parameter is optional

NEW svn11588:08/23/20

define a maxhop for lg-flagged cws for push/receive, to allow a higher maxhop than for non-flagged cws

cacheex_maxhop_lg = 0 (default) use value of cacheex_maxhop
                  = 1 to 10 = set maxhop (if value is lower than cacheex_maxhop, value of cacheex_maxhop is used)


cacheex_allow_maxhop

parameter is optional

NEW svn11588:08/23/20

set maxhop-settings remote, if remote reader/user has cacheex_allow_maxhop = 1 (default: 0 /opt-in)

cacheex_allow_maxhop = 0|1 (default: 0 /opt-in)


cacheex_cw_check_for_push

parameter is optional

NEW svn11588:08/23/20

push only when cacheex_cw_check counter reached localgenerated-flagged CWs are always pushed out

cacheex_cw_check_for_push = 0|1 (default: 0 /opt-in)


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]]