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

Aus Streamboard Wiki
Zur Navigation springen Zur Suche springen
Zeile 1.057: Zeile 1.057:
 
  IP address|IP address range[,IP address|IP address range]...
 
  IP address|IP address range[,IP address|IP address range]...
 
   
 
   
 +
!! Dyn DNS Addresses are not forseen here and won't work !!
 +
 
Example:
 
Example:
 
  allowed = 127.0.0.1,192.168.0.0-192.168.255.255
 
  allowed = 127.0.0.1,192.168.0.0-192.168.255.255

Version vom 25. Juli 2011, 12:12 Uhr

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

Inhaltsverzeichnis

oscam.conf

The [global] section

The main configuration file for OSCam contains global parameters such as debugging, logging, monitor, protocols and anti-cascading. Sections in oscam.conf are nonrecurring. The [global] section is required. All other sections are optional.

[global]
nice                            = 
logfile                         =
pidfile                         =   # NEU - NEW - NOUVEAU - NUOVO  svn:8176/01/24/2013 
ecmfmt                          =   # NEU - NEW - NOUVEAU - NUOVO  svn:6649/05/01/2012 
                                    # ÄNDERUNG - CHANGE - MODIFICATIONS - MODIFICA  svn8831:08/11/2013
loghistorysize                  =   
CACHE EXCHANGE LOGGING          =   # NEU - NEW - NOUVEAU - NUOVO  svn:6929/05/25/2012 
maxlogsize                      = 
logduplicatelines               =   # NEU - NEW - NOUVEAU - NUOVO  svn:8290/02/05/2013 
disablelog                      = 
cwlogdir                        =
emmlogdir                       = 
usrfile                         = 
disableuserfile                 = 
usrfileflag                     = 
saveinithistory                 =   # VERALTET - OBSOLETE - OBSOLÈTE - ANTIQUATO  svn7128:07/02/2012
disablemail                     =    
nds_swap_cm                     =   # NEU - NEW - NOUVEAU - NUOVO  svn:10003/11/2014
                                    # VERALTET - OBSOLETE - OBSOLÈTE - ANTIQUATO  svn10048:11/30/2014
mailfile                        =
cacheex_mode1_delay             =   # NEU - NEW - NOUVEAU - NUOVO  svn:10050/11/30/2014 
enableled                       =   # NEU - NEW - NOUVEAU - NUOVO  svn:6285/01/23/2012 
serialreadertimeout             =   # VERALTET - OBSOLETE - OBSOLÈTE - ANTIQUATO  svn8541:03/13/2013
waitforcards                    =
waitforcards_extra_delay        =   
preferlocalcards                =   # ÄNDERUNG - CHANGE - MODIFICATIONS - MODIFICA  svn9605:03/29/2014
readerrestartseconds            =
block_same_ip                   =   # NEU - NEW - NOUVEAU - NUOVO  svn:7215/07/27/2012 
block_same_name                 =   # NEU - NEW - NOUVEAU - NUOVO  svn:7215/07/27/2012       
cachedelay                      =   # VERALTET - OBSOLETE - OBSOLÈTE - ANTIQUATO  svn8358:16/02/2013 move to [cache] delay
max_cache_time                  =   # VERALTET - OBSOLETE - OBSOLÈTE - ANTIQUATO  svn8358:16/02/2013 move to [cache] max_time
max_cache_count                 =   # VERALTET - OBSOLETE - OBSOLÈTE - ANTIQUATO  svn8358:16/02/2013 move to [cache] max_count
cacheexwaittime                 =   # VERALTET - OBSOLETE - OBSOLÈTE - ANTIQUATO  svn8358:16/02/2013
cacheexenablestats              =   # VERALTET - OBSOLETE - OBSOLÈTE - ANTIQUATO  svn8358:16/02/2013 move to [cache]
clienttimeout                   =   # ÄNDERUNG - CHANGE - MODIFICATIONS - MODIFICA  svn10669:05/31/15 and svn11062:10/23/15
clientmaxidle                   =   # ÄNDERUNG - CHANGE - MODIFICATIONS - MODIFICA  svn6520:03/14/2012  
suppresscmd08                   =
fallbacktimeout                 =
fallbacktimeout_percaid         =   # NEU - NEW - NOUVEAU - NUOVO  svn:8896/09/04/2013        
sleep                           =   
serverip                        =   
bindwait                        =   
netprio                         =   
resolvegethostbyname            =   
failbancount                    = 
failbantime                     =   
dropdups                        =   
unlockparental                  =    # ÄNDERUNG - CHANGE - MODIFICATIONS - MODIFICA  svn7289:08/27/2012 
double_check                    = 
double_check_caid               =    # NEU - NEW - NOUVEAU - NUOVO  svn:7237/08/05/2012
lb_mode                         =   
lb_save                         =   
lb_nbest_readers                =   
lb_nfb_readers                  =
lb_reopen_mode                  =    # VERALTET - OBSOLETE - OBSOLÈTE - ANTIQUATO  svn8642:05/10/2013  
lb_nbest_percaid                =    # ÄNDERUNG - CHANGE - MODIFICATIONS - MODIFICA  svn5893:08/19/2011   
lb_reopen_ivalid                =    # NEU - NEW - NOUVEAU - NUOVO  svn:9885/09/30/2014
lb_force_reopenalways           =    # NEU - NEW - NOUVEAU - NUOVO  svn:9885/09/30/2014
lb_min_ecmcount                 =   
lb_max_ecmcount                 =   
lb_reopen_seconds               =   
lb_retrylimit                   =
lb_savepath                     =   
lb_stat_cleanup                 =   
lb_use_locking                  =    # VERALTET - OBSOLETE - OBSOLÈTE - ANTIQUATO  svn6166:12/28/2011
lb_retrylimits                  =    # ÄNDERUNG - CHANGE - MODIFICATIONS - MODIFICA  svn5754:07/31/2011  
lb_noproviderforcaid            =    # ÄNDERUNG - CHANGE - MODIFICATIONS - MODIFICA  svn5748:08/01/2011
lb_auto_timeout                 =    # NEU - NEW - NOUVEAU - NUOVO  svn:7564/10/02/2012
lb_auto-timeout_p               =    # NEU - NEW - NOUVEAU - NUOVO  svn:7564/10/02/2012
lb_auto_timeout_t               =    # NEU - NEW - NOUVEAU - NUOVO  svn:7564/10/02/2012
lb_max_readers                  =    
lb_auto_betatunnel              =
lb_auto_betatunnel_mode         =    # NEU - NEW - NOUVEAU - NUOVO  svn:7784/10/22/2012
lb_auto_betatunnel_prefer_beta  =    # NEU - NEW - NOUVEAU - NUOVO  svn:6045/11/27/2011
                                     # ÄNDERUNG - CHANGE - MODIFICATIONS - MODIFICA  svn7768:10/2172012

WarningS.png Attention: If a parameter is empty or is not listed in config-file, then apply the default values !

serverip

HakenGruen.png parameter is optional

Bind service to specified IP-address

Example:

serverip = 192.168.178.1

Default:

serverip =

OSCam listen to all IP's.

cachedelay

HakenGruen.png parameter is optional

Value to delay cached requests

Example:

cachedelay = 300

Default:

cachedelay = 0

logfile

HakenGruen.png parameter is optional

Logging target

logfile = [filename][;syslog][;stdout]

You can define a maximum of one filename (not more!) and additionally to log to stdout or syslog (you can also only log to stdout or syslog and omit the filename).

Opportunities:

logfile = /var/log/oscam.log  # file or linux device (for example /dev/tty)
logfile = syslog              # log to syslogd 
logfile = stdout              # showing the log on the console

Example:

logfile = /etc/oscam/logs/oscam.log;stdout

Default:

logfile = /var/log/oscam.log

Format logfile:

CAID&ident/provider/length:checksum

loghistorysize

HakenGruen.png parameter is optional

loghistorysize = bytes

size of log message history in web interface or monitor

   0    =  disabled
[blank] =  4096  (default)

disablelog

HakenGruen.png parameter is optional

switches logfile off

1 = no log 
0 = log 

Example:

disablelog = 1   # no log 

Default:

disablelog = 0   # log

usrfile

HakenGruen.png parameter is optional

Set a name für userfile

Format of the userfile:

date
time
CWs per second
username
IP address of client
TCP/IP port
CWs found
CWs from cache
CWs not found
CWs ignored
CWs timeout
CWs tunneled
login time in UNIX/POSIX format
logout time in UNIX/POSIX format
protocol

Example:

usrfile = userfile

Default:

usrfile = 0

disableuserfile

HakenGruen.png parameter is optional

Now it is crazy: Even if a logfile is switched on (see logfile), the userfile can be turned off!

Example:

disableuserfile = 1   # no userfile 
                = 0   # userfile

Default:

disableuserfile = 0

usrfile

HakenGruen.png parameter is optional

Set a name für userfile

Format of the userfile:

date
time
CWs per second
username
IP address of client
TCP/IP port
CWs found
CWs from cache
CWs not found
CWs ignored
CWs timeout
CWs tunneled
login time in UNIX/POSIX format
logout time in UNIX/POSIX format
protocol

Example:

usrfile = userfile

Default:

usrfile = 0

usrfileflag

HakenGruen.png parameter is optional

Setting the logging-modus

0 = Only login and logout will be logged
1 = Each zapping from client will be logged
    Default is 0

Example:

usrfileflag = 1  # All will be logged

Default:

usrfileflag = 0  # Only login und logout will be logged

cwlogdir

HakenGruen.png parameter is optional

Setting a path for cw-log

Example:

cwlogdir = /var/log/

Default:

cwlogdir =     # [blank] no path for cw-log

emmlogdir

HakenGruen.png parameter is optional

Setting a path for emm-log

Example:

emmlogdir = /var/log/emm.log

Default:

emmlogdir =   # [blank] no path fpr emm-log

clienttimeout

HakenGruen.png parameter is optional

value (clienttimeout in seconds < 100, else milli-seconds) for client process to wait for key

Beispiele:

clienttimeout = 10     # after 10 seconds timeout
clienttimeout = 10000  # also timeout after 10 seconds (see Tipp!)

Default:

clienttimeout = 5      # after 5 seconds timeout

WarningS.png Attention: At values of < 100 counts Cardserver in seconds, at values >= 100 Cardserver counts in milliseconds!

fallbacktimeout

HakenBlau.png parameter depends on setup/programversion

At several readers (see Chapter [reader] in oscam.server) one reader can be defined to them, for example in case of failure of the other readers, the traffic falls back. Maximum waiting time of the Cardservers in milliseconds for primary Reader, before Fallback-Reader (if any!) are questioned.

Example:

fallbacktimeout = 1500

Default:

fallbacktimeout = 2500

WarningS.png Attention: The value must be greater than the value in "serialreadertimeout", otherwise the default is used.

failbancount

HakenGruen.png parameter is optional
Failbancount  =  Number of allowed failed attempts with incorrect data 
              =  0  (default) IP is now blocked on the first try with incorrect data!

If within failbantime more than in failbancount allowed trials to be registered, the IP for the remainder failbantime is locked. After a period of failbantime are again full failbancount available. Failbancount is thus a relaxation of rules!

clientmaxidle

HakenGruen.png parameter is optional

value for client process being idle before disconnect in seconds

Example:

clientmaxidle = 200   # Disconnect after 200 seconds

Default:

clientmaxidle = 120   # Disconnect after 120 seconds

bindwait

HakenGruen.png parameter is optional

value in seconds to wait for bind request to complete. If OSCam within this time can not bind, he finished with "Bind Request failed".

Causes may include:

  • Double assignment of ports
  • "crashed" OSCam has not released the ports again
  • OSCam was started serveral times while

Example:

bindwait = 20  # waiting time 20 seconds

Default:

bindwait = 120 # waiting time 120 seconds

netprio

HakenGruen.png parameter is optional

network priority

Beispiel:

netprio = 1  # Priority 1

Default:

netprio = 0  # system given

resolvegethostbyname

HakenGruen.png parameter is optional

set mode for DNS resolving:

0 = getadressinfo (default)
1 = gethostbyname

Example:

resolvegethostbyname = 1 # gethostbyname

Default:

resolvegethostbyname = 0 # adressinfo system given

failbantime

HakenGruen.png parameter is optional

time for IP based blocking for clients with an invalid login attempt in minutes

Beispiel:

failbantime =  5
# IP will be blocked for 5 minutes. New logins are denied.
# no clientthread will be created.

Default:

failbantime =  0  # failban off (default)

dropdups

HakenGruen.png parameter is optional

mode for duplicate client connections

0  =  mark client as duplicate, but don't disconnect them (default)
1  =  drop duplicate connections instead of marking as duplicate

sleep

HakenGruen.png parameter is optional

time waiting for inactive users in minues, can be overwritten per user in oscam.user


Example:

sleep =  5   # waiting time 5 minutes

Default:

sleep =      # [blank] no waiting time

unlockparental

HakenGruen.png parameter is optional

Only Seca

unlock parental mode option to disable Seca pin code request for adult movie

Example:

unlockparental = 1  # parental mode option off

Default:

unlockparental = 0  # parental mode option for Seca on

nice

HakenGruen.png parameter is optional

Systempriority

OSCam requires almost no CPU-power. But if CPU-power is required, it should be available immediatly. Values between 20 and -20 are possible. 20 = low, -20 = very high. If this parameter is commented out (#), this function is not called. Important for example for dbox2[1], if the error messages "relocation error:setpriority". See Prioritätsscheduling

Example:

nice = -1

Default:

nice = 99

serialreadertimeout

HakenGruen.png parameter is optional

Only using Serialreader!

timeout for serial reader in milli-seconds

Example:

serialreadertimeout =  1200  # Timeout after 1200 milli-seconds

Default:

serialreadertimeout =  1500  # Timeout after 1500 milli-seconds

maxlogsize

HakenRot.png parameter is required

Here the maximum size of logfiles are set in KBytes. This is especially important for server with only a small amount of memory (dbox2). Therefore it is strongly recomended to determine carefully that size at such servers. Not infrequently a system "bursting" because the logfile uncontrolled large scale adopted!

Example

maxlogsize = 20  # Logfile reaches to 20 KBytes
           =  0  # Logfile unlimited

Default:

maxlogsize = 10 #  Logfile reaches to 10 KBytes (default)


waitforcards

HakenGruen.png parameter is optional

wait for local SCs on startup before opening network ports

Example:

waitforcards = 0  # don't wait

Default:

waitforcards = 1   # wait

waitforcards_extra_delay

HakenGruen.png parameter is optional

waitforcards_extra_delay = milli seconds

additional delay in milli seconds after waiting for local SCs on startup before opening nework ports

default = 500

preferlocalcards

HakenGruen.png parameter is optional

try decoding on local cards first

Example:

preferlocalcards = 1  # prefer local cards

Default:

preferlocalcards = 0  # don't prefer local cards


readerrestartseconds

HakenGruen.png parameter is optional

waiting time in seconds beetween restarts

Example:

readerrestartseconds = 10  # waiting time 10 seconds
                    =  0   # no restarts!

Default:

readerrestartseconds = 5   #  waiting time 5 seconds

saveinithistory

HakenGruen.png parameter is optional

Save SC init history to /tmp/.oscam/reader<number>. Needed to show entitlements.

Example:

saveinithistory = 1   # save to /tmp/.oscam/reader<number>

Default:

saveinithistory = 0   # no save

double_check

HakenGruen.png parameter is optional

ECM will be send to two or more readers with the same SC and the CWs will be verified against each other, lb_nbest_readers must be set to 2 or higher

Example:

double_check = 1   #   on

Default:

double_check = 0   #   off

suppresscmd08

HakenGruen.png parameter is optional

suppresscmd08 = 0|1

0 = tell camd35[cs3.57x]-clients not to request again for rejected CAID, service ID and provider ID combination (default)
1 = disabled

Can be overwritten in oscam.user!

More here:: http://streamboard.gmc.to/wbb2/thread.php?threadid=27459&threadview=0&hilight=cmd08&hilightuser=0&page=1


lb_mode

HakenGruen.png parameter is optional

loadbalance mode

WarningS.png Attention: If load balancing is activated here, it may in oscam.server among services and ident are no entries!

If there are 2 or more of the same SC, the load can be distributed evenly on the cards. For more see Loadbalancing

Example:

lb_mode = 0 loadbalance disabled, ECMs go to all readers
lb_mode = 1 fastest reader first, after 5 ECMs the reader with the fastest response time will be selected
lb_mode = 2 oldest reader first, reader with the longest no answer
lb_mode = 3 lowest usage level, the usage level will be calculated by the sum of 5 ECMS response times, the higher a reader is busy, the higher is usage level


Default:

lb_mode = 0 # disabled

lb_save

HakenGruen.png parameter is optional

Save autoloadbalance statistics (counts). To save CPU power a minimum counts of 100 is recommended.

Example:

lb_save = 100 # counts of ECM's after statistics are saved

Default:

lb_save = 0   # no svae

lb_nbest_readers

HakenGruen.png parameter is optional

set count of best readers for loadbalancing.

Example:

lb_nbest_readers = 2 # requests always go to two reader

Default:

lb_nbest_readers = 1 # requests go to one reader

lb_nfb_readers

HakenGruen.png parameter is optional

set count of fallback readers for loadbalancing

Example:

lb_nfb_readers = 2 # two fallbackreader

Default:

lb_nfb_readers = 1 # one fallbackreader

lb_reopen_mode

HakenGruen.png parameter is optional

lb_reopen_mode = 0|1

loadbalancing reopen readers mode:

 = 0 # standard late reopening of blocker readers (default)
 = 1 # fast reopening of blocker readers

lb_nbest_percaid

HakenGruen.png parameter is optional

Set count of best readers per CAIDs for loadbalancing

lb_nbest_percaid =         #  number
                 = [blank] #  none (default)

lb_min_ecmcount

HakenGruen.png parameter is optional

minimal ECM count to evaluate loadbalancing values

Example:

lb_min_ecmcount = 2 # 2 counts

Default:

lb_min_ecmcount = 5 # 5 counts

lb_max_ecmcount

HakenGruen.png parameter is optional

Maximum ECM count before resetting loadbalancing values.

Example:

lb_max_ecmcount = 200  #  200 counts

Default:

lb_max_ecmcount = 500  #  500 counts

lb_reopen_seconds

HakenGruen.png parameter is optional

time in seconds between retrying failed readers/CAIDs/providers/services

Example:

lb_reopen_seconds =  500   # retry after 500 seconds

Default:

lb_reopen_seconds =  900   # retry after 900 seconds

lb_retrylimit

HakenGruen.png parameter is optional

Retry next readers only if response time is higher then lb_retrylimit in milli seconds.

Example:

lb_retrylimit  =  500   #  retry next reader only, if response time is higher than 500 ms

Default:

lb_retrylimit  =  800

lb_savepath

HakenGruen.png parameter is optional

Filenanme for saving loadbalancing statistics

default   =   /tmp/.oscam/stat

lb_stat_cleanup

HakenGruen.png parameter is optional

hours after the loadbalancing statistics will be deleted

default = 336

lb_use_locking

HakenGruen.png parameter is optional

disable parallel and identical ECM requests


1 = on
0 = off # default:0


Schlocke:

  • You should choose this option only if:
    • slow system
    • high load
    • the same ECM requests come not from the cache, but will continue to the confirmed reader.
  • Adventages, if activated:
    • By synchronizing, an ECM request made by one. The identification of cache or request and assignment of the reader by loadbalancer is always successful.
  • Disadventages, if activated:
    • The synchronisation prevents multithreading and the probability of higher response times.
  • Adventages, if NOT activated:
    • Faster transit times for ECM requests
  • Disadventages, if NOT activated:
    • May have dual (n-fold) possible requests to the readers.


lb_retrylimits

HakenGruen.png parameter is optional

lb_retrylimits = CAID1:time1[,Caid2:time2]...

loadbalancing retry limit time per CAID in milliseconds

default = none

lb_noproviderforcaid

HakenGruen.png parameter is optional

lb_noproviderforcaid = CAID1[,CAID2]...

ignore provider information CAIDs to reduce statistic date

default = none

lb_max_readers

HakenGruen.png parameter is optional

lb_max_readers = limit (number)

restrict the reader count to limit during learning

0  =  unlimited (default)
x  =  restrict loadbalancer readers to limit x (number)

lb_auto_betatunnel

HakenGruen.png parameter is optional

lb_auto_betatunnel = 0|1

enable automatic Betacrypt tunneling for CAIDs 1801, 1833, 1834 and 1835 in loadbalancing mode

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

WarningS.png Attention: Betacrypt definition in oscam.user with betatunnel will be prefered [2]!

disablemail

HakenGruen.png parameter is optional

disablemail = 0|1

disable saving NDS Vedeogard mail messages form provider. Default = 1 (disabled)

mailfile

HakenGruen.png parameter is optional

mailfile = file

define file saving NDS Videogard mail messages from provider. Default: [blank] none

Monitor

Only if monitor is used!

[monitor]
port                 =
serverip             =
nocrypt              =
aulow                =  ÄNDERUNG - CHANGE - MODIFICATIONS - MODIFICA  svn7417:09/11/12
monlevel             =
hideclient           =
appendchaninfo       =  VERALTET - OBSOLETE - OBSOLÈTE - ANTIQUATO  svn8546:03/13/2013

port

HakenGruen.png parameter is optional

UDP port for monitor

port = 0  # monitor disabled
     =    # port number

Beispiel:

port = 24480  # monitor on, port = 24480

serverip

HakenGruen.png parameter is optional

bind service to specified IP address

serverip  =  # IP adress
          =  # [blank] all IP's  (default)

nocrypt

HakenGruen.png parameter is optional

unsecured monitor connection [,IP address|IP address range]...

Possible

  • one or more IP adresses
  • one or more IP adress ranges
  • mixture of IP adresses and IP adress ranges

Example

nocrypt = 127.0.0.1,192.168.0.0-192.168.255.255
        = Host 127.0.0.1 and IP range 192.168.0.0 to 192.168.255.255

Default

nocrypt =   # [blank] no secured monitor connection

aulow

HakenGruen.png parameter is optional

time no EMM occurs so that client is set to low in minutes

Example

aulow = 30  # After 30 minutes whithout EMM client will be switches to "Low" (default).

monlevel

HakenGruen.png parameter is optional

monitor-level

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

Example

monlevel = 4  # complete access

monlevel can be overwritten per user in oscam.user!

hideclient_to

HakenGruen.png parameter is optional

Time to hide clients in the monitor if not sending requests. See also parameter httphideidleclienst in section [webif].

hideclient_to = 1  # hide clients
              = 0  # no hide

appendchaninfo

HakenGruen.png parameter is optional

Append channel name on log messages. Very useful when using [webif]!

appendchaninfo = 1  # append chanel name
               = 0  # no append chanel name (default)

lcd

enablelcd          =   # NEU - NEW - NOUVEAU - NUOVO  svn:6285/01/23/2012 
lcd_outputpath     =  
lcd_hideidle       = 
lcd_writeinterval  =

lcd_outputpath

HakenGruen.png parameter is optional

Path for LCD output

Default:

lcd_outputpath =  [blank]  /tmp

lcd_hideidle

HakenGruen.png parameter is optional

hide reader in LCD output if reader idle > 20 seconds, default:0


lcd_writeinterval

HakenGruen.png parameter is optional

LCD refresh interval (minimum 5), default:10

WebIf

Only if WebIf is used!

[webif]
httpport                  =
httpcert                  =
httpforcesslv3            =   # NEU - NEW - NOUVEAU - NUOVO  svn:6321/01/30/2012
httpuser                  =
httppwd                   =
http_prepend_embedded_css =   # ÄNDERUNG - CHANGE - MODIFICATIONS - MODIFICA  svn:6825:05/15/2012
httpcss                   =
httptpl                   =   # ÄNDERUNG - CHANGE - MODIFICATIONS - MODIFICA  svn7083:06/25/2012
httpoverwritebakfile      =   # NEU - NEW - NOUVEAU - NUOVO  svn:9858/09/21/2014
httplocale                =   # NEU - NEW - NOUVEAU - NUOVO  svn:9828/08/15/2014
httpshowpicons            =   # NEU - NEW - NOUVEAU - NUOVO  svn:6648/05/01/2012
httpjscript               =   # NEU - NEW - NOUVEAU - NUOVO  svn:6806/05/14/2012
httprefresh               =
httppollrefresh           =
httphideidleclients       =
httpscript                =
httphidetype              =   # NEU - NEW - NOUVEAU - NUOVO  svn:8937/09/27/2013
httpallowed               =   # ÄNDERUNG - CHANGE - MODIFICATIONS - MODIFICA  svn8733:06/27/2013
                              # ÄNDERUNG - CHANGE - MODIFICATIONS - MODIFICA  svn8842:08/17/2013
httpdyndns                =   # ÄNDERUNG - CHANGE - MODIFICATIONS - MODIFICA  svn6558:03/21/12
httpsavefullcfg           =
httpreadonly              =
httpiconpath              =   # NEU - NEW - NOUVEAU - NUOVO  svn:10094:12/21/2014
httphelplang              =
httposcamlabel            =   # NEU - NEW - NOUVEAU - NUOVO  svn:9463/01/28/2014

httpport

HakenRot.png parameter is required

port for web interface,

0 = disabled, praefix + = enable SSL

Example

httpport =  83  # Webinterface listening on http-port 83
         = +83  # Webinterface listening on https-port 83 (SSL)
             0  # Webinterface disabled (default)

httpcert

HakenGruen.png parameter is optional

file for http SSL certificate

httpcert = oscam.cert # (look there)
         =            # [blank] file oscam.pem (embedded) is used

httpuser

HakenRot.png parameter is required

Username for password protection. [blank] is default, of which is strongly discouraged! Therefore this parameter is mandatory.

httpuser =   # xyxyxy (all characters and figures are allowed) 

httppwd

HakenRot.png parameter is required

Password for password protection. It is the same as for httpuser.

httppwd =  # 123456

The user and pwd parameters are queried when connecting to the webinterface in a messagebox. If they are missing ore corrupted a message Forbidden appears and the connection is aborted!

httpcss

HakenGruen.png parameter is optional

path for external CSS file

For webinterface different styles are available.

Example

httpcss =   # /etc/oscam/harvest_round_Firefox.css
        =   # [blank] embedded style is used (default)

Styles you find here: http://streamboard.gmc.to/wbb2/thread.php?threadid=30083&hilight=style

httptpl

HakenGruen.png parameter is optional

path for external templates

httptpl =
        =  # [blank] No external templates

httprefresh

HakenGruen.png parameter is optional

status refresh in seconds

httprefresh = 7  # status will be refreshed after 7 seconds
            =    # [blank] no refreshing

httphideidleclients

HakenGruen.png parameter is optional

Enables hiding clients after idle time set with parameter hideclient_to in section [monitor].

httphideidleclients = 1  # hide
                    = 0  # hide not (default)

httpscript

HakenGruen.png parameter is optional

Path to an executable script which you wish to start from web interface

httpscript =    # path
           =    # [blank] no path

httpallowed

HakenRot.png parameter is required

http web interface connections allowed. [blank] is allowed (default), but that makes no sense! If the webinterface to be used, then there must be a way to connect with him. Therefore we declare this parameter as mandatory!

IP address|IP address range[,IP address|IP address range]...

Example

httpallowed = 127.0.0.1,192.168.0.0-192.168.255.255  # Host and range 192.168.0 are allowed

httpdyndns

HakenGruen.png parameter is optional

http web interface connections allowed

Example

httpdyndns = my.dynexample.com

httpsavefullcfg

HakenGruen.png parameter is optional

write config:

0 = all not empty parameters, all not default parameters, all parameters not containing the same value as the same parameter in global configuration (default)
1 = all parameters

httpreadonly

HakenGruen.png parameter is optional

read only modus for web interface

httpreadonly = 1  # only read
             = 0  # all is possible  (default)

httphelplang

HakenRot.png parameter is required

set right language for wiki entry point

de|en|fr <available wiki languages>

Camd 33 (TCP)

Section required only if camd33 will be used as client protocol!

[camd33]
port                  =
serverip              =
nocrypt               =
passive               =
key                   =

port

HakenRot.png parameter is required

TCP/IP port for camd 3.3x clients, 0 = disabled, default:0

Example:

port = 15000
     = 0  # disabled (default)

serverip

HakenGruen.png parameter is optional

bind service to specified IP address


Example:

serverip = 192.168.178.1

Default:

serverip = # listenig to all

nocrypt

HakenGruen.png parameter is optional

unsecured camd 3.3x client connection

IP address|IP address range[,IP address|IP address range]...

Example:

nocrypt = 127.0.0.1,192.168.0.0-192.168.255.255

Default:

nocrypt = [none]

passive

HakenGruen.png parameter is optional

force passive camd 3.3x client

Camd3.3x protocol generally has aktive clients. In certain circumstances the client must switched on only "passive" mode.

Example:

passive = 1

Default:

passive = 0

key

HakenGruen.png parameter is optional

128 bit key

key for camd 3.3x client encryption


Example:

key = 01020304050607080910111213141516

Default:

key =  # (blank] none (default)

Camd 35 bzw. cs357x (UDP)

Section required only if camd35 or cs357x will be used as client protocol! These protocols principle encrypt and build the key from user name.

[cs357x]
port                   =
serverip               =
suppresscmd08          =
[cs357x]
port                   =
serverip               =
suppresscmd08          =

port

HakenRot.png parameter is required

UDP port for camd 3.5x clients. Port must be opened at router!

Example:

port = 15000
     = 0     # disabled (default)

serverip

HakenGruen.png parameter is optional

bind service to specified IP address

Example:

serverip = 192.168.178.1

Default:

serverip =   # [blank] all (default)

suppresscmd08

HakenGruen.png parameter is optional

suppresscmd08 = 0|1

0 = tell camd35[cs3.57x]-clients not to request again for rejected CAID, service ID and provider ID combination (default)
1 = disabled

Can be overwritten in oscam.user!

More here:: http://streamboard.gmc.to/wbb2/thread.php?threadid=27459&threadview=0&hilight=cmd08&hilightuser=0&page=1

cs378x (TCP)

Section required only if s378x will be used as client protocol!

[cs378x]
port                   =
serverip               =
suppresscmd08          =

port

HakenRot.png parameter is required

port for camd 3.5x clients. Port must be opened at router!

Example:

port = 15000

serverip

HakenGruen.png parameter is optional

bind service to specified IP address

Example:

serverip = 192.168.178.1

Default:

serverip =   # [blank] all (default)

suppresscmd08

HakenGruen.png parameter is optional


suppresscmd08 = 0|1

0 = tell cs3.78x clients not to request again for rejected CAID, service ID and provider ID combination (default)
1 = disable


Mor here:: http://streamboard.gmc.to/wbb2/thread.php?threadid=27459&threadview=0&hilight=cmd08&hilightuser=0&page=1

Newcamd (TCP)

Section required only if newcamd will be used as client protocol!

[newcamd]
key                   =
port                  =
serverip              =
allowed               =
keepalive             =
mgclient              =

mgclient

HakenGruen.png parameter is optional

Enable mgcamd extended newcamd protocol, allowing for a single connection to work with mutliple providers, default:0

Example:

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

Default:

mgclient = 0

key

HakenRot.png parameter is required

DES key Default key for newcamd client encryption.

Example:

key = 0102030405060708091011121314

Default:

key =

port

HakenRot.png parameter is required

TCP port/DES key/CAID/ident definitions. Each CAID requires a separate port. If you don't specify a DES key for a port, the default DES Key will be used!

port[{DES key}]@CAID[:ident][,ident]...[;port[{DES key}]@CAID[:ident][,ident]...]...

Example:

port = 15000@1234:000000 # (CAID 1234 connected with port 15000)
port = 15000@1234:000000;15001@5678:000000 # (CAID 1234 connected with port 15000. CAID 5678 with port 15001)

Default:

port = port@caid:ident

serverip

HakenGruen.png parameter is optional

bind service to specified IP address

Example:

serverip = 192.168.178.1

Default:

serverip = [blank]

allowed

HakenGruen.png parameter is optional

client connections allowed from

IP address|IP address range[,IP address|IP address range]...

!! Dyn DNS Addresses are not forseen here and won't work !!

Example:

allowed = 127.0.0.1,192.168.0.0-192.168.255.255

Default:

allowed = [blank]

keepalive

HakenGruen.png parameter is optional

Example:

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

Default:

keepalive = 1

Radegast

Section required only if radegast will be used as client protocol!

[radegast]
port                  =
serverip              =
allowed               =
user                  =

port

HakenRot.png parameter is required

TCP/IP port for radegast clients (enables radegast)

port =
     = 0  (default)

serverip

HakenGruen.png parameter is optional

bind service to specified IP address

Example:

serverip  =  192.162.9.1
          =  [blank] alle IP'as allowed (default)!

allowed

HakenGruen.png parameter is optional

client connections allowed from

IP addres|IP range[,IP address|IP range]...

Example:

127.0.0.1,192.168.0.0-192.168.255.255  # Host and range 192.168.0 are allowed

user

HakenRot.png parameter is required

user name for radegast client

user = username

Serial

Section required only if seral interface will be used!

[serial]
device                =

device

HakenGruen.png parameter is optional

Parameter of device

device = <user>@<device>[:baud][?option1=value1][?option2=value2]

Parameter

user    =  account
device  =  name of Serial Device
option  =  timeout =  milli seconds timeout for connection  default: 50
        =  delay milli seconds additive between 2 characters

supported serial devices

HSIC     Humax Sharing Interface Client
SSSP     Simple Serial Sharing Protocol
bomba    BOMBA Firmware
dsr9500  DSR 9500

Cccam (TCP)

Section required only if Cccam will be used as client protocol!

[cccam]
port                  =  ÄNDERUNG - CHANGE - MODIFICATIONS - MODIFICA  svn6206:01/07/2012
version               =
reshare               =  ÄNDERUNG - CHANGE - MODIFICATIONS - MODIFICA  svn8607:04/10/2013 
reshare_mode          =
ignorereshare         =
stealth               =
minimizecards         =
updateinterval        =  
keepconnected         =
forward_origin_card   =
recv_timeout          =  NEU - NEW - NOUVEAU - NUOVO  svn7672:10/09/2012
nodeid                =

port

HakenRot.png parameter is required

TCP/IP-Port for CCcam clients, enables Cccam protocol!

port =
     = 0  # CCcam-Protokoll disabled (default)

version

HakenGruen.png parameter is optional


define CCcam version, minimum CCcam version 2.0.11.

<main version>,<version>,<sub version>

Example:

version = 1.2.34

reshare

HakenGruen.png parameter is optional

reshare level for CCcam clients:

 0 = no resharing
 1 = resharing for direct peer only
 2 = resharing for direct peer and next level
 x = resharing for direct peer and next x level (x for number of level)
10 = (default)

Example:

reshare = 1  resharing only for direct peer

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

reshare_mode

HakenGruen.png parameter is optional

CCcam reshare mode

0 = reader reshares only received SCs for CCcam readers,

defined filters/CAIDs/idents on other readers (default)

1 = reader reshares received SCs (like=0) and defined services
2 = reader reshares only defined reader services as virtual SCs
3 = reader reshares only defined user services as virtual SCs

Every server is shared as hop=0 and with defined reshare values.

Service reshare only works if positive services defined: no service - no reshare!

ignorereshare

HakenGruen.png parameter is optional


CCcam reshare setting:

0 = use reshare setting of server (default)
1 = use reshare setting of reader or user

Example:

ignorereshare = 1  reshare settings of reader or user are used

stealth

HakenGruen.png parameter is optional

Behaviour like the original CCcam: no activate partner detection and extended OSCam-CCcam protocol, prevent other OSCam to detect the server as OSCam server.

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

minimizecards

HakenGruen.png parameter is optional

mode how to provide CCcam servers to CCcam clients:

0 = no aggregation, remove duplicates only (default)
1 = based on minimum hop: two SCs with different hops are summarized, new SCs get a smaller hop


updateinterval

HakenGruen.png parameter is optional


interval to provide share list update to CCcam clients in seconds

 0 = update based on server updates
-1 = disable
   = [blank] 240 (default)

keepconnected

HakenGruen.png parameter is optional

set CCcam keepalive modus:

0 = disconnect client when max idle time is reached
1 = keep client connected (default)

forward_origin_card

HakenGruen.png parameter is optional

forward_origin_card = 0|1

1 = forward ECM request to reader holding this card, loadbalancer, fallback and caching will be disabled 0 = default

nodeid

HakenGruen.png parameter is optional

nodeid = ID

set CCcam node ID in hex, default:none

example

nodeid = 0a0b0c0d0e0f1011

GBox

Section required only if Gbox will be used as client protocol!

Example:

[gbox]  UnderConstruction.jpg Baustelle - Under Construction - En cours d'élaboration - in construzione svn 6002
hostname      =   # 
port          =   # 
password      =   # 
gsmsfile      =   #  NEU - NEW - NOUVEAU - NUOVO  svn5988:10/14/2011

WarningS.png Build >= #4605 First commit of gbox module (for developer use only!!!). It only supports a single peer, no server-side, no clever sid stuff, ignores filters, is buggy, doesn't poll for server status, doens't handle cards correctly, doesn't make use of the right hello commands, ignores other commands, checksums aren't used, no webif integradion, no docs etc. et.c etc. so please, at this stage DO NOT USE IT, PLEASE DON'T POST BUGS/TICKETS/FORUM THREADS/EMAILS/PMS etc. Also, this commit might break other stuff too; please expect that!

hostname

HakenBlau.png parameter depends on setup/programversion

hostname for gbox server

example

hostname  =  host.example.com  #  hostname for gbox server

port

HakenBlau.png parameter depends on setup/programversion

UDP port for gbox client

example

port   =   123456   #  0  =  disabled (default)

password

HakenBlau.png parameter depends on setup/programversion

password for gbox client

example

password  = mypassword

DVBapi

HakenGruen.png parameter is optional

Section required only if OSCam will also be used as client!

[dvbapi]
enabled               =
user                  =
au                    =
pmt_mode              =
request_mode          = 
listen_port           =   #NEU - NEW - NOUVEAU - NUOVO  sv9574:03/20/2014  
boxtype               =
cw_delay              =   #NEU - NEW - NOUVEAU - NUOVO  svn6348:02/05/2012
delayer               =   #NEU - NEW - NOUVEAU - NUOVO  svn6808:05/14/2012
reopenonzap           =   #VERALTET - OBSOLETE - OBSOLÈTE - ANTIQUATO svn9072:12/08/2013
decodeforever         =   #VERALTET - OBSOLETE - OBSOLÈTE - ANTIQUATO svn8680:06/05/2013
ecminfo_type          =   #NEU - NEW - NOUVEAU - NUOVO  svn10722:06/13/15
read_sdt              =   #NEU - NEW - NOUVEAU - NUOVO  svn10766:06/15/15
write_sdt_prov        =   #NEU - NEW - NOUVEAU - NUOVO  svn10841:06/27/15

enabled

HakenGruen.png parameter is optional

DVB API enabled

Example:

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

user

HakenRot.png parameter is required

user name for DVB API client Example:

user = # user1

Default:

enabled = # anonymous

au

HakenGruen.png parameter is optional

AU mode for dvbapi:

0 = disable AU, default
1 = enable AU
2 = enable AU, override AU settings of client, set answering reader as AU reader

pmt_mode

HakenGruen.png parameter is optional

PMT mode:

pmt_mode = 0 # use camd.socket and PMT file (default)
pmt_mode = 1 # disable reading PMT file
pmt_mode = 2 # disable camd.socket
pmt_mode = 3 # read PMT file on startup only
pmt_mode = 4 # do not use signal handler for monitoring /tmp
pmt_mode = 5 # do not use signal handler to monitor /tmp & disable camd.socket

request_mode

HakenGruen.png parameter is optional

CAID request mode:

0 = try all possible CAIDs one by one (default)
1 = try all CAIDs simultaneously

boxtype

HakenRot.png parameter is required

set boxtype, auto detection of DVB API will be aspired:

boxtype = dbox2|dreambox|dm7000|duckbox|ufs910|ipbox|ipbox-pmt|qboxhd|coolstream|neumo

Default: boxtype = dreambox

ipbox with camd.socket support, currently only with PGI image version 0.6 or above, verified on HD models only

ipbox-pmt can be used on any DGS based images (with or without camd.socket support), verified on HD models only

Anticasc

Section is needed if anticascading will be used to protect against unauthorized forwarding CardSharing.

[anticasc]
enabled                 =
numusers                =
sampletime              =
samples                 =
penalty                 =
aclogfile               =
fakedelay               =
denysamples             =
acosc_enabled           =  NEU - NEW - NOUVEAU - NUOVO  svn9761:06/05/2014
acosc_max_active_sids   =  NEU - NEW - NOUVEAU - NUOVO  svn9761:06/05/2014
acosc_zap_limit         =  NEU - NEW - NOUVEAU - NUOVO  svn9761:06/05/2014
acosc_penalty           =  NEU - NEW - NOUVEAU - NUOVO  svn9761:06/05/2014
acosc_penalty_duration  =  NEU - NEW - NOUVEAU - NUOVO  svn9761:06/05/2014
acosc_delay             =  NEU - NEW - NOUVEAU - NUOVO  svn9761:06/05/2014

enabled

HakenRot.png parameter is required

enabled anti-cascading:

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

numusers

HakenGruen.png parameter is optional

anti-cascading: user per account (number)

numusers = 1  # cascading for 1 user allowed
         = 0  # anticascading disabled (default)

sampletime

HakenGruen.png parameter is optional

duration of sample in minutes:

sampletime = 5  # duration 5 minutes
           =    # [blank] duration 2 minutes (default)

samples

HakenGruen.png parameter is optional

quantity of samples over limit (possible values between 2 and 10)

samples = 7  # limit 7 samples
        =     # [blank] limit 10 samples (default)

penalty

HakenGruen.png parameter is optional

level of penalty

0 = only logging (default)
1 = send fake DWs
2 = ban user temporary
3 = send real DWs with delay (fakedelay)

penalty can be overwritten per user in oscam.user

aclogfile

HakenGruen.png parameter is optional

file for anti-cascading logging

aclogfile =
          =   # [blank] no logfile (default)

fakedelay

HakenGruen.png parameter is optional

fake delay time in milli seconds (possible values between 100 and 1000)

fakedelay =  500  # delay 500 milli seconds
          =       # [blank] 1000 milli seconds (default)

denysamples

HakenGruen.png parameter is optional

How many samples should be penalized?

denysamples = 10  # 10 samples will be penalized
            =     # [blank] 8 Samples will penalized (default)


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.conf|3|3}}|Deutsch]] LanguageEN S.png [[OSCam/en/{{#titleparts:OSCam/en/Config/oscam.conf|3|3}}|English]] LanguageFR S.png [[OSCam/fr/{{#titleparts:OSCam/en/Config/oscam.conf|3|3}}|Français]] LanguageIT S.png [[OSCam/it/{{#titleparts:OSCam/en/Config/oscam.conf|3|3}}|Italiano]]