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

Aus Streamboard Wiki
Zur Navigation springen Zur Suche springen
 
(487 dazwischenliegende Versionen von 31 Benutzern werden nicht angezeigt)
Zeile 1: Zeile 1:
[[Kategorie:OSCam]]
[[Kategorie:OSCam]]
{{OSCamHomeLinks}}
{{OSCamHomeLinks}}
[[Datei:WarningS.png|text-bottom]] '''Attention:''' The content of the english pages are partially still in german. Please register here to help us completing and translating the articles.


==oscam.conf==
==oscam.conf==
Dies ist die Hauptkonfigurationsdatei für OSCam. Sie enhält globale Parameter z.B. für das Debuggen, Loggen, den Monitor, die Protokolle und das Anti-Cascading. Die einzelnen Sektionen sind für Sondereffekte bestimmt. Nur die Sektion [global] ist Pflichtbestandteil, alle übrigen Sektionen sind optional (also nur bei Bedarf) zu verwenden.


=== The [global] section ===
=== The [global] section ===
Zeile 15: Zeile 12:
[[Datei:WarningS.png|text-bottom]] '''Attention:''' If a parameter is empty or is not listed in config-file, then apply the default values !
[[Datei:WarningS.png|text-bottom]] '''Attention:''' If a parameter is empty or is not listed in config-file, then apply the default values !


==== serverip ====
==== nice ====
{{optional/en}}
{{Optional/en}}
 
'''Systempriority'''


Bind service to specified IP-address
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[http://de.wikipedia.org/wiki/DBOX2], if the error messages "''relocation error:setpriority''". See [http://de.wikipedia.org/wiki/Prioritätsscheduling Prioritätsscheduling]


Example:
Example:
  serverip = 192.168.178.1
  nice = -1


Default:
Default:
  serverip =
  nice = 99
 
==== Log ====
Format:
CAID&ProviderID/ECMPID/ServiceID/length:checksum


OSCam listen to all IP's.
Debug-Level:
0 = no debugging (default)
1 = detailed error messages
2 = ATR parsing info, ECM dumps, CW dumps
4 = traffic from/to the reader
8 = traffic from/to the clients
16 = traffic to the reader-device on IFD layer
32 = traffic to the reader-device on I/O layer
64 = EMM logging
128 = DVB API logging
256 = load balacing logging
512 = cache exchange logging
1024 = client ECM logging
65535 = debug all  


==== cachedelay ====
===== initial_debuglevel =====
{{optional/en}}
{{Optional/en}}
<span style="background-color:Green;color:White;padding:0 5px;">NEW  svn10705:06/11/15</span>


Value to delay cached requests
Set the debuglevel on startup.


Example:
Example:
  cachedelay = 300
  initial_debuglevel = 8


Default:
Default:
  cachedelay = 0
  initial_debuglevel = 0
 
===== pidfile =====
{{Optional/en}}
<span style="background-color:Green;color:White;padding:0 5px;">NEW svn:8176/01/24/2013</span>
 
pidfile  =  set pidfile, [blank] none (default)
 
Change PID file name an path. If default =  oscam.pid in /tmp
 
Example:
pidfile = /var/run/oscam.pid


==== logfile ====
===== logfile =====
{{optional/en}}
{{optional/en}}


Logging target
Logging target
  logfile = filename|/dev/null|/dev/tty/syslog
  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:
Opportunities:
  logfile = /dev/null          # no logfile
 
logfile = /dev/tty           # showing on display
  logfile = /var/log/oscam.log  # file or linux device (for example /dev/tty)
  logfile = syslog              # syslogd  
  logfile = syslog              # log to syslogd  
  logfile = /var/log/oscam.log  # linux i386
  logfile = stdout              # showing the log on the console
logfile = oscam.log           # file


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


Default:
Default:
  logfile = /var/log/oscam.log
  logfile = /var/log/oscam.log


==== disablelog ====
Format logfile:
{{optional/en}
CAID&ident/provider/length:checksum
 
===== ecmfmt =====
{{Optional/en}}
<span style="background-color:Green;color:White;padding:0 5px;">NEW svn6649+6653:05/01/2012</span>
 
<span style="background-color:Blue;color:White;padding:0 5px;">CHANGE svn8831:08/11/2013</span>
 
<span style="background-color:Blue;color:White;padding:0 5px;">CHANGE svn11008-11011:09/28/15</span>
 
<span style="background-color:Blue;color:White;padding:0 5px;">CHANGE svn11273:08/15/16</span>
 
ecmfmt = format
 
define ECM log format, default:c&p/i/s/l:h
possible variables:
c = CAID
d = PID
e = CSP hash
g = ID of origin gbox peer
h = checksum
i = Channel ID
j = distance of gbox and CCcam hops
l = length
o = ONID
p = provider ID
s = service ID
t = tier ID , this ID will be replaced with the tier-description from oscam.tiers (if found)
w = CW
y = payload (short, 3 bytes)
Y = payload (long, 6 bytes)
 
use a value as prefix to hide variable with this value, control characters will be escaped by "\"
example:
ecmfmt = c&0p/i/d/s/l:h.e_w HOP:j
(hide provider ID if 0)
 
===== nds_swap_cw =====
{{Optional/en}}
 
<span style="background-color:Green;color:White;padding:0 5px;">NEW svn:10003/11/15/2014</span>
 
<span style="background-color:Red;color:White;padding:0 5px;">OBSOLETE svn10048:11/30/2014</span>
 
nds_swap_cw    =  0|
 
0  =  NDS Videoguard CWs will be dropped, if CWs do not have an odd an even sample (default)
1  =  disabled
 
===== loghistorysize =====
{{optional/en}}
 
loghistorysize = bytes
 
size of log message history in web interface or monitor
 
    0    =  disabled
[blank] =  4096  (default)
 
===== CACHE EXCHANGE LOGGING =====
<span style="background-color:Green;color:White;padding:0 5px;">NEW  svn6929:05/24/2012</span>
 
CACHE EXCHANGE LOGGING
reader stages
1 = cacheex (=1) reader (C)
2 = local SCs (L)            #stage 2 is used only if '''preferlocalcards = 1''' was activated in [global] section.
3 = other reader / proxies (P)
4 = fallback reader (F)
 
logging format
stage/used/chosen/possible
 
example
 
P/2/2/2 or L/2/4/4
 
===== maxlogsize =====
{{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)
 
===== logduplicatelines =====
{{optional/en}}
<span style="background-color:Green;color:White;padding:0 5px;">NEW svn:8290/02/05/2013</span>
 
logduplicatelines  =  0|1
 
1 = disable detection of duplicate lines in log file
0 = enable detection of duplicate lines in logfile = default
 
===== disablelog =====
{{optional/en}}


switches logfile '''off'''
switches logfile '''off'''
Zeile 69: Zeile 199:


Default:
Default:
  disablelog = 0  # '''log'''  
  disablelog = 0  # '''log'''
 
===== cwlogdir =====
{{Optional/en}}


==== maxlogsize ====
{{required}}


Hier kann die maximale Größe des Logfiles in KBytes festgelegt werde. Das ist besonders wichtig für Server mit nur geringem Speicherumfang (z.B. auf dbox2). Darum wird dringend empfohlen, bei solchen Servern diese Größe sorgfältig zu bestimmen. Nicht selten "platzt" ein System, weil die Logfiles unkontrolliert riesige Ausmaße angenommen haben!
A path for cw logging can be configured here. The path is relative to the work directory and must exist. Otherwise no logs are created and no errors are reported.
 
CWs (control words) are the answers of the card which decrypts a certain channel for some seconds before the next cw is transmitted. The CW log file can be used for delayed decoding of this channel. This is also called offline decoding. Watch this [http://www.youtube.com/watch?v=-K--PEFYBng]
 
Oscam creates a new *.cwl file for each channel and each day. The file name contains the date, service ID and service name, e.g. 110808_I000B_Sky_Cinema_+1.cwl with this contents:
 
<syntaxhighlight lang="bash">
# OSCam cardserver v0.99.4 - http://streamboard.gmc.to:8001/oscam/wiki
# control word log file for use with tsdec offline decrypter
# DATE 2011-08-08, TIME 23:49:10, TZ CEST
# CAID 0x1702, SID 0x000B, SERVICE "Sky_Cinema_+1"
1 9E E3 BB 3C A4 C3 BE 25 # 23:49:10
0 D0 24 B3 A7 95 82 3B 52 # 23:49:17
1 A9 76 35 54 37 38 F3 62 # 23:49:23
0 55 70 87 4C 22 26 C4 0C # 23:49:30
1 F0 16 22 28 36 3A 03 73 # 23:49:38
0 5D 83 44 24 8F C7 5D B3 # 23:49:44
</syntaxhighlight>
 
All cws are logged if at least one user watches the channel. Please choose a path with enough space, since per day and channel some 10KB of data are created. A script that moves/deletes the log files regularly is recommended.


Beispiel
Example:
  maxlogsize = 20  # Logfile geht bis zu 20 KBytes
  cwlogdir = /var/log/


Default:
Default:
  maxlogsize = 10 # Logfile geht bis zu 10 KBytes
  cwlogdir =     # [blank] no path for cw-log, logging disabled


==== disableuserfile ====
===== emmlogdir =====
{{Optional/en}}
{{Optional/en}}


Jetzt wird es ganz wild: Auch wenn ein Logfile eingeschaltet ist (siehe logfile) kann hier das userfile ausgeschaltet werden.
Setting a path for emm-log. You can define with the "saveemm-*"-Parameters in oscam.server which EMMs should be logged.


Beispiel:
Example:
  disableuserfile = 1  # es wird '''kein''' userfile erzeugt
  emmlogdir = /var/log/
                = 0  # es wird '''ein''' userfile erzeugt


Default:
Default:
  disableuserfile = 0
  emmlogdir =   # [blank] the config folder will be used for emm logging


==== usrfile ====
===== usrfile =====
{{Optional/en}}
{{Optional/en}}


Festlegung des Namens eines Files für user logging.
Set a name für userfile


Das user logging file hat folgendes Format
Format of the userfile:
  date
  date
  time
  time
Zeile 116: Zeile 265:
  protocol
  protocol


Beispiel:
Example:
  usrfile = userfile
  usrfile = userfile


Zeile 122: Zeile 271:
  usrfile = 0
  usrfile = 0


==== usrfileflag ====
===== disableuserfile =====
{{Optional/en}}
{{Optional/en}}


Einstellung des Logging-Modus
Now it is crazy: Even if a logfile is switched on (see logfile), the userfile can be turned off!
0 = Es wird nur das Ein- und Ausloggen des Clients im Userfile geloggt
1 = Jedes Zappen eines Clients wird im Userfile geloggt
    Default-Wert ist 0


Beispiel:
Example:
  usrfileflag = 1 # Alles wird geloggt
  disableuserfile = 1   # '''no''' userfile
                = 0  # '''userfile'''


Default:
Default:
  usrfileflag = 0 # Nur Login und Logout wird geloggt
  disableuserfile = 0


==== cwlogdir ====
===== usrfileflag =====
{{Optional/en}}
{{Optional/en}}


Hier kann ein Pfad für CW-Logging eingestellt werden
Setting the logging-modus
0 = Only login and logout will be logged
1 = Each zapping from client will be logged
    Default is 0


Beispiel:
Example:
  cwlogdir = /var/log/cw.log
  usrfileflag = 1  # All will be logged


Default:
Default:
  cwlogdir =     # [blank] kein Pfad für CW-Log
  usrfileflag = # Only login und logout will be logged


==== clienttimeout ====
===== saveinithistory =====
{{Optional/en}}
{{Optional/en}}


Maximale Zeit in Sekunden oder Millisekunden, bevor ein Client ein Timeout erhält.
<span style="background-color:Red;color:White;padding:0 5px;">OBSOLETE svn7128:07/02/2012</span>


Beispiele:
Save SC init history to /tmp/.oscam/reader<number>. Needed to show entitlements.
  clienttimeout = 10    # nach 10 Sekunden erfolgt ein Timeout
 
clienttimeout = 10000  # auch hier erfolgt ein Timeout nach 10 Sekunden, s. Hinweis
Example:
  saveinithistory = # save to /tmp/.oscam/reader<number>


Default:
Default:
  clienttimeout = 5      # nach 5 Sekunden erfolgt ein Timeout
  saveinithistory = # no save
 
===== mailfile =====
{{Optional/en}}
 
mailfile = file
 
define file saving NDS Videogard mail messages from provider. Default: [blank] none
 
===== cacheex_mode1_delay =====
{{Optional/en}}
 
<span style="background-color:Green;color:White;padding:0 5px;">NEW svn:10050/11/30/2014</span>
 
cacheex_mode1_delay  =  CAID1:time,[CAID2:time]...
 
delay in millisencons for asking cache exchange mode 1 readers, default: none
 
===== disablemail =====
{{Optional/en}}
 
disablemail  =  0|1
 
disable saving NDS Videogard mail messages form provider. Default = 1 (disabled)
 
===== sysloghost =====
{{Optional/en}}
<span style="background-color:Green;color:White;padding:0 5px;">NEW  svn10703:06/11/15</span>


[[Datei:WarningS.png|text-bottom]] '''Achtung:''' Bei Werten < 100 geht der Cardserver von Sekunden aus, Werte >= 100 werden in Millisekunden interpretiert.
If set remote syslog server will be activated. Messages will be sent to this IPv4 address. If not set remote syslog server not work.


==== fallbacktimeout ====
Example:
{{Depends/en}}
sysloghost = 192.168.1.167


Bei mehreren Readern (Siehe Abschnitt [reader] in oscam.server) kann ein Reader bestimmt werden, auf den z.B. bei einer Störung der übrigen Reader der traffic zurück fällt.
===== syslogport =====
{{Optional/en}}
<span style="background-color:Green;color:White;padding:0 5px;">NEW  svn10703:06/11/15</span>


Maximale Wartezeit des [[Cardserver]]s in Millisekunden auf primäre [[Reader]], bevor der/die [[Fallback]]-Reader (falls vorhanden!) befragt werden.
If set ''sysloghost'' remote syslog server will be activated. Messages will be sent to this port. If not set port 514 is used as default.  


Beispiel:
Example:
  fallbacktimeout = 1500
  syslogport = 515


Default:
Default:
  fallbacktimeout = 2500
  syslogport = 514


[[Datei:WarningS.png|text-bottom]] '''Achtung:''' Der Wert muss größer dem Wert von "serialreadertimeout" gewählt werden, ansonsten werden die Standardwerte verwendet.
==== Reader ====


==== failbancount ====
===== enableled =====
{{Optional/en}}
{{Optional/en}}


Failbancount  = Anzahl der erlaubten Fehlversuche mit falschen Zugangsdaten.
<span style="background-color:Green;color:White;padding:0 5px;">NEW svn6285:01/23/2012</span>
              =  0 (default) IP wird sofort beim ersten Versuch mit unbekannten Zugangsdaten gesperrt!


Wenn innerhalb '''failbantime''' mehr als in '''failbancount''' erlaubte Versuche registriert wurden, wird die IP für die restliche failbantime gesperrt. Nach Ablauf von failbantime stehen wieder volle failbancount zur Verfügung. Failbancount ist also eine Lockerung der Regeln
LED-Support


==== clientmaxidle ====
enableled  = 0|1|2
 
= LED support disabled (default)
= LED support enabled for routers
2  =  LED support enabled for Qbox HD
 
===== serialreadertimeout =====
{{Optional/en}}
{{Optional/en}}


Begrenzt die Leerlaufzeit eines Clienten in '''Sekunden''' bevor er vom Traffic getrennt wird.
<span style="background-color:Red;color:White;padding:0 5px;">OBSOLETE  svn8541:03/13/2013</span>


Beispiel:
'''Only using Serialreader!'''
  clientmaxidle = 200  # Trennung nach 200 Sekunden
 
timeout for serial reader in milli-seconds
 
Example:
serialreadertimeout =  1200  # Timeout after 1200 milli-seconds
 
Default:
serialreadertimeout =  1500  # Timeout after 1500 milli-seconds
 
===== waitforcards =====
{{Optional/en}}
 
wait for local SCs on startup before opening network ports
 
Example:
  waitforcards = # don't wait


Default:
Default:
  clientmaxidle = 120   # Trennung nach 120 Sekunden
  waitforcards = 1   # wait
 
===== waitforcards_extra_delay =====
{{Optional/en}}


==== bindwait ====
waitforcards_extra_delay  = milli seconds
 
additional delay in milli seconds after waiting for local SCs on startup before opening nework ports
 
default = 500
 
===== preferlocalcards =====
{{Optional/en}}
{{Optional/en}}
<span style="background-color:Blue;color:White;padding:0 5px;">CHANGE svn9605:03/29/2014</span>


Maximale Zeit in Sekunden, die der [[Cardreader]] beim Start wartet, bis er den jeweiligen Netzwerk-Port in Zugriff bekommt. Falls der OSCam innerhalb dieser Zeit den Port nicht binden kann, terminiert er mit "Bind Request failed". Ursachen dafür sind
try decoding on local cards first
* Doppelbelegung von Ports
* Ein vormals abgestürzter OSCam der die Ports nicht wieder freigegeben hat
* OSCam wurde mehrmals gleichzeitig gestartet


Beispiel:
Example:
  bindwait = 20 # Wartezeit 20 Sekunden
  preferlocalcards = 0 # local cards are used like remote reader
preferlocalcards = 1  # prefer CacheEx sources
preferlocalcards = 2  # prefer local cards


Default:
Default:
  bindwait = 120 # Wartezeit 120 Sekunden
  preferlocalcards = # prefer CacheEx sources


==== netprio ====
===== readerrestartseconds =====
{{Optional/en}}
{{Optional/en}}


Hier kann die Priorität des Cardservers im Netzwerk festgelegt werden
waiting time in seconds beetween restarts


Beispiel:
Example:
  netprio = 1 # Prioritätsstufe 1
  readerrestartseconds = 10 # waiting time 10 seconds
                    =  0  # '''no restarts!'''


Default:
Default:
  netprio = 0 # Systembedingte Priorität
  readerrestartseconds = 5  # waiting time 5 seconds


==== resolvegethostbyname ====
===== block_same_ip =====
{{Optional/en}}
 
<span style="background-color:Green;color:White;padding:0 5px;">NEW svn7215:07/27/2012</span>
 
block_same_ip  =  0|1
 
1 = reject looping ECM's from clients to reader with the same ip address, default = 1
0 = no reject
 
===== block_same_name =====
{{Optional/en}}
{{Optional/en}}


Art der DNS-Auflösung
<span style="background-color:Green;color:White;padding:0 5px;">NEW svn7215:07/27/2012</span>
  0 = getadressinfo (default)
 
  1 = gethostbyname
block_same_name  = 0|1
 
1 = reject looping ECM's from clients to reader with the same name, default = 1
  0 = no reject
 
==== Cache ====
 
===== cachedelay =====
{{optional/en}}
<span style="background-color:Red;color:White;padding:0 5px;">OBSOLETE  svn8358:16/02/2013 move to [cache] delay</span>
 
Value to delay cached requests


Beispiel:
Example:
  resolvegethostbyname = 1 # Host wird über den Namen aufgelöst
  cachedelay = 300


Default:
Default:
  resolvegethostbyname = 0 # adressinfo wird geholt
  cachedelay = 0
 
===== max_cache_time =====
 
{{Optional/en}}
<span style="background-color:Red;color:White;padding:0 5px;">OBSOLETE  svn8358:16/02/2013 move to [cache] max_time</span>
 
max_cache_time  =  seconds, default: 15
 
maximum time CWs resist in cache after 1st client request, the time must be 2 seconds higher than the parameter clienttimeout.
 
===== max_cache_count =====
{{Optional/en}}
<span style="background-color:Red;color:White;padding:0 5px;">OBSOLETE  svn8358:16/02/2013 move to [cache] max_count</span>
 
max_cache_count  =  count, default 1000
 
maximum CWs in cache


==== resolvedelay ====
===== cacheexwaittime =====
[[Datei:Obsolet.jpg|text-bottom]] '''obsolet'''
{{Optional/en}}
<span style="background-color:Red;color:White;padding:0 5px;">OBSOLETE  svn8358:16/02/2013</span>


==== clientdyndns ====
cacheexwaittime = delay


[[Datei:Obsolet.jpg|text-bottom]] '''obsolet'''
maximum wait time for a cache entry in milli seconds, default:50


==== failbantime ====
===== cacheexenablestats =====
{{Optional/en}}
{{Optional/en}}
<span style="background-color:Red;color:White;padding:0 5px;">OBSOLETE  svn8358:16/02/2013 move to [cache]</span>


Zeitspanne in Minuten, für die ein Client mit ungültigem Login-Versuch auf IP-Basis geblockt wird.
cacheexenablestats  =  0|1


Beispiel:
1 = enable statistics for cach exchange mode
  failbantime = 5
  0 = default
# IP Adresse wird für 5 Minuten geblockt. Neue Loginversuche werden ignoriert auch wenn das Login OK wäre.
 
# Es wird kein Clientthread erstellt.
[[Datei:WarningS.png|text-bottom]] '''Warning:''' Please consider memory consumption!
 
==== Client ====
 
===== clienttimeout =====
{{Optional/en}}
 
value in milli-seconds for client process to wait for key


Examples:
clienttimeout = 10000  # after 10 seconds timeout
clienttimeout = 10    # timeout after 10 milli-seconds! (see Tip below)
clienttimeout = 8      # timeout after 8000 milli-seconds (= 8 seconds), see Tip below
Default:
Default:
  failbantime = # failban ist ausgeschaltet (default)
  clienttimeout = 5000  # timeout after 5000 milli-seconds (=5 seconds)


==== sleep ====
[[Datei:WarningS.png|text-bottom]] '''Attention:''' Values < 10 (so 1 to 9) are multiplicated with 1000, so a "5" results in 5000 ms.
 
===== clientmaxidle =====
{{Optional/en}}
{{Optional/en}}


Wartezeit für inaktive User in Minuten. Wert kann in der oscam.user überschrieben werden.
value for client process being idle before disconnect in seconds


Beispiel:
Example:
  sleep = 5   # Wartezeit 5 Minuten
  clientmaxidle = 200   # Disconnect after 200 seconds
              = 0    # idle disconnect disabled


Default:
Default:
  sleep =     # [blank] keine Wartezeit
  clientmaxidle = 120  # Disconnect after 120 seconds


==== unlockparental ====
===== suppresscmd08 =====
{{Optional/en}}
{{Optional/en}}


'''Nur Seca'''
suppresscmd08 = 0|1
Option zum Ausschalten der Jugendschutzfunktion für Seca Pin Code Anfragen bei adult movies
 
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:: [[Streamboard-Thread:27459|Streamboard-Thread]]
 
==== fallbacktimeout ====
{{Depends/en}}


Beispiel:
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.
  unlockparental = 1  # Jugendschutzfunktion ausgeschaltet
Maximum waiting time of the [[Cardserver]]s in milliseconds for primary [[Reader]], before [[Fallback]]-Reader (if any!) are questioned.
 
Example:
  fallbacktimeout = 1500


Default:
Default:
  unlockparental = 0  # Jugendschutzfunktion von Seca eingeschaltet
  fallbacktimeout = 2500
 
[[Datei:WarningS.png|text-bottom]] '''Attention:''' The value must be greater than the value in "serialreadertimeout", otherwise the default is used.
 
 
==== fallbacktimeout_percaid ====
{{Optional/en}}
<span style="background-color:Green;color:White;padding:0 5px;">NEW svn:8896/09/04/2013</span>
 
fallbacktimeout_percaid  =  milliseconds  
 
time falling back to CAID restricted fallback reader, default: 2500
     
 


==== nice ====
==== sleep ====
{{Optional/en}}
{{Optional/en}}


'''Systempriorität'''. OSCam benötigt fast keine CPU-Leistung. Wenn aber CPU-Leistung benötigt wird, sollte diese sofort zur Verfügung stehen. Werte von 20 bis -20 sind möglich, wobei 20 gering und -20 sehr hoch ist. Wird der Parameter auskommentiert(#), wird diese Funktion nicht ausgerufen. Das ist wichtig z.B. für die dbox 2[http://de.wikipedia.org/wiki/DBOX2], wenn die Fehlermeldung "''relocation error:setpriority''" erscheint. Vgl. [http://de.wikipedia.org/wiki/Prioritätsscheduling Prioritätsscheduling]
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


Beispiel:
==== serverip ====
  nice = -1
{{optional/en}}
 
Bind service to specified IP-address
 
Example:
  serverip = 192.168.178.1


Default:
Default:
  nice = 99
  serverip =
 
OSCam listen to all IP's


==== serialreadertimeout ====
==== bindwait ====
{{Optional/en}}
{{Optional/en}}


'''Nur wenn Serialreader benutzt wird'''
value in seconds to wait for bind request to complete. If OSCam within this time can not bind, he finished with "Bind Request failed".
Timeout in Millisekunden für Serialreader
 
Causes may include:
* Double assignment of ports
* "crashed" OSCam has not released the ports again
* OSCam was started serveral times while


Beispiel:
Example:
  serialreadertimeout = 1200 # Timeout nach 1200 Millisekunden
  bindwait = 20 # waiting time 20 seconds


Default:
Default:
  serialreadertimeout = 1500  # Timeout nach 1500 Millisekunden
  bindwait = 120 # waiting time 120 seconds


==== waitforcards ====
==== netprio ====
{{Optional/en}}
{{Optional/en}}


Hier kann festgelegt werden, ob OSCam beim Start des Programms auf lokale Karten wartet, bevor die Netzwerkports geöffnet werden.
network priority - This sets the value of SO_PRIORITY on network connections. Basically this leads to setting the TOS fields of the sent IP packages so that QoS can be better used.


Beispiel:
Beispiel:
  waitforcards = 1  # Warten
  netprio = 1  # Priority 1


Default:
Default:
  waitforcards = 0   # Nicht Warten
  netprio = 0 # system given


==== preferlocalcards ====
==== resolvegethostbyname ====
{{Optional/en}}
{{Optional/en}}


Der Parameter legt fest, ob lokale Karten zuerst dekodiert werden sollen.
set mode for DNS resolving: These are different libc calls to resolve dns names and some older systems have problems with the newer implementation ''getadressinfo'' (getadressinfo is also threadsafe whereas ''gethostbyname'' is not and thus it has some locks around) or have stripped them from their images (dbox2 was such a candidate I think) even though it is available at compile time.  
0 = getadressinfo (default)
1 = gethostbyname


Beispiel:
Example:
  preferlocalcards = 1 # Lokale Karten bevorzugen
  resolvegethostbyname = 1 # gethostbyname


Default:
Default:
  preferlocalcards = 0 # Lokale Karten nicht bevorzugen
  resolvegethostbyname = 0 # adressinfo system given


==== readerrestartseconds ====
==== failbantime ====
{{Optional/en}}
{{Optional/en}}


Festlegung einer Wartezeit in Sekunden zwischen Restarts von Readern.
time for IP based blocking for clients with an invalid login attempt in minutes


Beispiel:
Beispiel:
  readerrestartseconds = 10 # Wartezeit 10 Sekunden
  failbantime = 5
                    = # '''keine Readerrestarts!'''
  # IP will be blocked for 5 minutes. New logins are denied.
  # no clientthread will be created.


Default:
Default:
  readerrestartseconds = # Wartezeit 5 Sekunden
  failbantime = # failban off (default)


==== saveinithistory ====
==== failbancount ====
{{Optional/en}}
{{Optional/en}}


Sicherung der Reader-Init-History. Wird benötigt, um die Entitlements anzuzeigen.
Failbancount  =  Number of allowed failed attempts with incorrect data
              =  0  (default) IP is now blocked on the first try with incorrect data!


Beispiel:
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!
  saveinithistory = 1   # Sicherung nach /tmp/.oscam/reader<number>
 
==== dropdups ====
{{Optional/en}}
 
mode for duplicate client connections
 
  = mark client as duplicate, but don't disconnect them (default)
1 =  drop duplicate connections instead of marking as duplicate
 
==== unlockparental ====
{{Optional/en}}
<span style="background-color:Blue;color:White;padding:0 5px;">CHANGE  svn7289:08/27/2012</span>
 
'''Only Seca and Viaccess'''
 
unlock parental mode option to disable pin code request for adult movie.
In order to work properly, this option may required that you define the card PIN code in your card reader configuration.
 
Example:
unlockparental = 1  # parental lock mode disabled


Default:
Default:
  saveinithistory = 0   # Keine Sicherung
  unlockparental = 0 # parental lock mode enabled


==== double_check ====
==== double_check ====
{{Optional/en}}
{{Optional/en}}


[[Datei:UnderConstruction.jpg|text-bottom]] '''Under Construction:''' Parameter must be revised!
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


'''Nur wenn CW double check ausgewählt ist!'''
Default:
double_check = 0  #  off


'''noch bearbeiten'''
==== double_check_caid ====
{{Optional}}
<span style="background-color:Green;color:White;padding:0 5px;">NEW svn:7237/08/05/2012</span>
 
double_check_caid = [CAID1|first two digits of CAID1],[CAID2|first two digits of CAID2]...
 
ECM will be send to two or more readers with the same SC and the CWs will be verified  against  each  other for defined CAID or first two bytes of CAID, lb_nbest_readers must be set to 2 or higher, default:none


Beispiel:
double_check =


Default:
==== Loadbalancer ====
double_check = 0


==== lb_mode ====
===== lb_mode =====
{{Optional/en}}
{{Optional/en}}


Loadbalance Mode
'''loadbalance mode'''


Wenn man zwei oder mehrere gleiche Karten hat (egal ob lokal oder als Proxie), kann man die Last auf diese Karten gleichmäßig verteilen (balancieren).
[[Datei:WarningS.png|text-bottom]] '''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 [[OSCam/en/Loadbalancing|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
lb_mode = 10 LB is switched off, but statistics are build


Beispiel:
lb_mode = 0 (deaktiviert)
lb_mode = 1 (schnellster Reader zuerst)
lb_mode = 2 (Reader der am längsten nicht geantwortet hat wird genommen)
lb_mode = 3 (Reader mit der geringsten Auslastung wird verwendet)


Default:
Default:
  lb_mode = 0 # deaktiviert
  lb_mode = 0 # disabled


==== lb_save ====
===== lb_save =====
{{Optional/en}}
{{Optional/en}}


Speichert die Loadbalance Statistik, damit sie auch nach einem Neustart erhalten bleibt.
Save autoloadbalance statistics (counts). To save CPU power a minimum counts of 100 is recommended.
Um die CPU nicht zu sehr zu belasten, sollte hier ein Wert > 100 eingetragen werden.


Beispiel:
Example:
  lb_save = 100 # Anzahl der ECM's nach der die Statistik gespeichert wird
  lb_save = 100 # counts of ECM's after statistics are saved


Default:
Default:
  lb_save = 0 # Statistik wird nicht gespeichert
  lb_save = 0   # no svae


==== lb_nbest_readers ====
===== lb_nbest_readers =====
{{Optional/en}}
{{Optional/en}}


Anzahl der Reader, die für die ECM anfragen.
set count of best readers for loadbalancing.


Beispiel:
Example:
  lb_nbest_readers = 2 # Anfragen gehen immer an zwei Reader
  lb_nbest_readers = 2 # requests always go to two reader


Default:
Default:
  lb_nbest_readers = 1 # Anfrage geht nur an einen Reader
  lb_nbest_readers = 1 # requests go to one reader


==== lb_nfb_readers ====
===== lb_nfb_readers =====
{{Optional/en}}
{{Optional/en}}


Anzahl der Fallback Reader für den Lastenausgleich.
set count of fallback readers for loadbalancing


Beispiel:
Example:
  lb_nfb_readers = 2 # Zwei Fallbackreader
  lb_nfb_readers = 2 # two fallbackreader


Default:
Default:
  lb_nfb_readers = 1
  lb_nfb_readers = 1 # one fallbackreader
 
===== lb_reopen_mode =====
{{Optional/en}}
 
<span style="background-color:Red;color:White;padding:0 5px;">OBSOLETE svn8642:05/10/2013</span>


==== lb_min_ecmcount ====
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 =====
{{Optional/en}}
{{Optional/en}}


Mindestanzahl der ECM's, die für die Auswertung genommen werden.
<span style="background-color:Blue;color:White;padding:0 5px;">CHANGE svn 5893:08/19/2011</span>


Beispiel:
Set count of best readers per CAIDs for loadbalancing, wildcard CAIDs with two-digit CAIDs possible
  lb_min_ecmcount =
 
lb_nbest_percaid =        #  number
                  = [blank] #  none (default)
 
example:
lb_nbest_percaid = 0100:4,0200:3,03:2,04:1
(wildcard CAIDs 03xx and 04xx)
 
===== lb_reopen_invalid =====
{{Optional/en}}
 
<span style="background-color:Green;color:White;padding:0 5px;">NEW svn:9885:09/30/2014</span>
 
lb_reopen_invalid  =  0|1
 
0  =  E_INVALID wiil be blocked until statistics has been cleaned
1  =  default
 
===== lb_force_reopen_always =====
{{Optional/en}}
 
<span style="background-color:Green;color:White;padding:0 5px;">NEW svn:9885:09/30/2014</span>
 
lb_force_reopenalways  =  0|1
 
1  =  force reopening immidiatly all failing readers if no matching was found
0  =  default
 
===== lb_min_ecmcount =====
{{Optional/en}}
 
minimal ECM count to evaluate loadbalancing values
 
Example:
  lb_min_ecmcount = 2 # 2 counts


Default:
Default:
  lb_min_ecmcount = 5
  lb_min_ecmcount = 5 # 5 counts


==== lb_max_ecmcount ====
===== lb_max_ecmcount =====
{{Optional/en}}
{{Optional/en}}


Maximale Anzahl der ECM's, bevor der Loadbalancer zurückgesetzt wird.
Maximum ECM count before resetting loadbalancing values.


Beispiel:
Example:
  lb_max_ecmcount =
  lb_max_ecmcount = 200  #  200 counts


Default:
Default:
  lb_max_ecmcount = 500
  lb_max_ecmcount = 500 #  500 counts


==== lb_reopen_seconds ====
===== lb_reopen_seconds =====
{{Optional/en}}
{{Optional/en}}


Zeitspanne in Sekunden zwischen neuem Verbindungsversuch zu verlorengegangenen readern/CAIDs/providers/services
time in seconds between retrying failed readers/CAIDs/providers/services


Beispiel:
Example:
  lb_reopen_seconds =  500  # Nach 500 Sekunden neuer Verbindungsversuch
  lb_reopen_seconds =  500  # retry after 500 seconds


Default:
Default:
  lb_reopen_seconds = 900
  lb_reopen_seconds = 900   # retry after 900 seconds


==== lb_retrylimit ====
===== lb_retrylimit =====
{{Optional/en}}
{{Optional/en}}


Verbindungsversuch zum nächsten reader '''nur wenn''' die Antwortzeit höher, als hier festgelegt in '''Millisekunden'''.
Retry next readers '''only''' if response time is higher then lb_retrylimit in '''milli seconds'''.


Beispiel:
Example:
  lb_retrylimit  =  500  #  Verbindungsversuch zum nächsten reader nur, wenn die Antwortzeit höher als 500 ms ist.
  lb_retrylimit  =  500  #  retry next reader only, if response time is higher than 500 ms


Default:
Default:
  lb_retrylimit  =  800
  lb_retrylimit  =  800


==== lb_savepath ====  
===== lb_savepath =====  
{{Optional/en}}
{{Optional/en}}


Dateiname für die Sicherung der Loadbalancing Statistiken
Filenanme for saving loadbalancing statistics


  default  =  /tmp/.oscam/stat
  default  =  /tmp/.oscam/stat


==== lb_stat_cleanup ====  
===== lb_stat_cleanup =====  
{{Optional/en}}
{{Optional/en}}


Zeile 468: Zeile 853:
  default = 336
  default = 336


==== lb_use_locking ====
===== lb_use_locking =====
{{Optional/en}}
{{Optional/en}}
<span style="background-color:Red;color:White;padding:0 5px;">OBSOLETE svn6166:12/28/2011</span>


disable parallel and identical ECM requests
disable parallel and identical ECM requests
Zeile 478: Zeile 864:
<br/>
<br/>
'''Schlocke:'''
'''Schlocke:'''
* Man sollte diese Option nur anschalten wenn:
* You should choose this option only if:
** Langsames system
** slow system
** Hohe Last
** high load
**Gleiche ECM Anfragen nicht aus dem Cache kommen, sondern weiter Reader angefragt werden
** the same ECM requests come not from the cache, but will continue to the confirmed reader.


* Vorteile aktiviert:
* Adventages, if activated:
** Durch die Synchronisierung wird ein ECM Request nach dem anderen durchgeführt, die Ermittlung von Cache oder Request und Zuordnung der Reader über den Loadbalancer ist immer erfolgreich
** By synchronizing, an ECM request made by one. The identification of cache or request and assignment of the reader by loadbalancer is always successful.


* Nachteile aktiviert:
* Disadventages, if activated:
** Die Synchronisierung verhindert Multithreading und es kommt eventuell zu höheren Antwortzeiten
** The synchronisation prevents multithreading and the probability of higher response times.


* Vorteile NICHT aktiviert:
* Adventages, if NOT activated:
** Schnellere Durchlaufzeiten für ECM requests
** Faster transit times for ECM requests


* Nachteile NICHT aktiviert:
* Disadventages, if NOT activated:
** Eventuell doppelte (bzw n-fache) ECM requests an die Reader möglich
** May have dual (n-fold) possible requests to the readers.
<br/>
<br/>
===== lb_retrylimits =====
{{Optional/en}}
<span style="background-color:Blue;color:White;padding:0 5px;">CHANGE svn:5754:07/31/2011</span>
lb_retrylimits = CAID1:time1[,Caid2:time2]...
loadbalancing retry limit time per CAID in milliseconds, wilcard CAIDs with 2-digit Caids possible
default = none
example:
lb_retrylimits = 12:0100,34:0200,5678:0300
          (wildcard CAIDs 12xx and 34xx)
===== lb_noproviderforcaid =====
{{Optional/en}}
<span style="background-color:Blue;color:White;padding:0 5px;">CHANGE svn 5758:08/01/2011</span>
lb_noproviderforcaid = CAID1[,CAID2]...
ignore provider information CAIDs to reduce statistic date, wildcard CAIDs with two-digit CAIDs possible
example:
lb_noproviderforcaid = 12,34,5678
        (wildcard CAIDs 12xx and 34xx)
default = none
===== lb_auto_timeout =====
{{Optional/en}}
<span style="background-color:Green;color:White;padding:0 5px;">NEW svn 7564:10/02/2012</span>
lb_auto_timeout  =  0|1
lb_auto_timeout  = 1  #  enable automatic timeout based on load balancing statistics
                  = 0  #  default
===== lb_auto_timeout_p =====
{{Optional/en}}
<span style="background-color:Green;color:White;padding:0 5px;">NEW svn 7564:10/02/2012</span>
lb_auto_timeout_p  =  percent
percent added to average time as timeout time
default = 30
===== lb_auto_timeout_t  ===== 
{{Optional/en}}
<span style="background-color:Green;color:White;padding:0 5px;">NEW svn 7564:10/02/2012</span>
lb_auto_timeout_t =  milli seconds
minimal time added to average time as timeout time
default = 300
===== lb_max_readers =====
{{Optional/en}}
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 =====
{{Optional/en}}
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)
[[Datei:WarningS.png|text-bottom]] '''Attention:''' Betacrypt definition in oscam.user with betatunnel will be prefered [[streamboard:wiki/OSCam/en/Config/oscam.user#betatunnel|User-Betatunnel]]!
===== lb_auto_betatunnel_mode =====
{{Optional/en}}
<span style="background-color:Green;color:White;padding:0 5px;">NEW svn 7784:10/22/2012</span>
lb_auto_betatunnel_mode  =  0|1|2...
set mode for automatic Betacrypt tunneling
0 = CAID 18XX tunneling to CAID 17X2 only (default)
1 = CAID 18XX tunneling to CAID 17X2 and CAID 17X2 tunneling to CAID 18XX (CAID 1833/1801)
2 = CAID 18XX tunneling to CAID 17X2 and CAID 17X2 tunneling to CAID 18XX (CAID 1833/1834)
3 = CAID 18XX tunneling to CAID 17X2 and CAID 17X2 tunneling to CAID 18XX (CAID 1833/1835)
4 = CAID 17X2 tunneling to CAID 18XX (CAID 1833/1801 only)
5 = CAID 17X2 tunneling to CAID 18XX (CAID 1833/1834 only)
6 = CAID 17X2 tunneling to CAID 18XX (CAID 1833/1835 only)
===== lb_auto_betatunnel_prefer_beta =====
{{Optional/en}}
<span style="background-color:Green;color:White;padding:0 5px;">NEW  svn6045:11/27/2011</span>
<span style="background-color:Blue;color:White;padding:0 5px;">CHANGE svn 7768:10/21/2012</span>
lb_auto_betatunnel_prefer_beta  =  number
Hier kann der Schwerpunkt für die automatische Auswahl von Betacrypt/Nagravision gewählt werden.
    0  =  disabled (default
    1  =  always Betacrypt
  105  =  represents the middle
  200  =  always Nagravision


=== Monitor ===
=== Monitor ===
Hier sind nur dann Eintragungen erforderlich, wenn ein Monitor benutzt wird!
'''Only if monitor is used!'''
   
   
{{OSCamConfMonitorParameter}}
{{OSCamConfMonitorParameter}}


==== port ====
==== port ====
{{Optional}}
{{Optional/en}}
 
UDP port for monitor
UDP-Port für den Monitor
  port = 0  # monitor disabled
  port = 0  # Kein Monitor
       =    # port number
       =    # [blank] Portnummer Monitor ausgewählt


Beispiel:
Beispiel:
  port = 24480  # Monitor eingeschaltet mit Port 24480
  port = 24480  # monitor on, port = 24480


==== serverip ====
==== serverip ====
{{Optional}}
{{Optional/en}}


Service mit einer bestimmten IP-Adresse verbinden
bind service to specified IP address
  serverip  =  # IP-Adresse
  serverip  =  # IP adress
           =  # [blank] alle IP's  (default)
           =  # [blank] all IP's  (default)


==== nocrypt ====
==== nocrypt ====
{{Optional}}
{{Optional/en}}


Unverschlüsselte Monitorverbindungen.
unsecured monitor connection
[,IP address|IP address range]...


Möglich
Possible
* eine oder mehrere IP-Einzeladressen
* one or more IP adresses
* eine oder mehrere IP-Bereiche
* one or more IP adress ranges
* eine Mischung von IP-Einzeladressen oder IP-Bereichen
* mixture of IP adresses and IP adress ranges


Beispiel
Example
  nocrypt = 127.0.0.1,192.168.0.0-192.168.255.255
  nocrypt = 127.0.0.1,192.168.0.0-192.168.255.255
         = Host 127.0.0.1 und IP-Bereich 192.168.0.0 bis 192.168.255.255
         = Host 127.0.0.1 and IP range 192.168.0.0 to 192.168.255.255


Default
Default
  nocrypt =  # [blank] keine unverschlüsselte Monitorverbindung.
  nocrypt =  # [blank] no secured monitor connection


==== aulow ====
==== aulow ====
{{Optional}}
{{Optional/en}}


Zeitraum in Minuten, in dem keine EMM erscheinen, so dass der Client auf "Low" gesetzt wird.
time no EMM occurs so that client is set to low in minutes


Beispiel
Example
  aulow = 30  # Nach 30 Minuten ohne EMM wird der Client auf "Low" gesetzt (default).
  aulow = 30  # After 30 minutes whithout EMM client will be switched from "active" to "on" (default).


==== monlevel ====
==== monlevel ====
{{Optional}}
{{Optional/en}}
 
monitor-level
0 = no access to monitor (default)
1 = only server and own procs
2 = all procs, but viewing only
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!
 
==== appendchaninfo ====
{{Optional/en}}
 
<span style="background-color:Red;color:White;padding:0 5px;">OBSOLETE svn8546:03/13/2013
</span>
 
Append channel name on log messages. Very useful when using [webif]!
appendchaninfo = 1  # append chanel name
                = 0  # no append chanel name (default)
 
=== lcd ===
{{OSCamConfLCDParameter}}
 
==== enablelcd ====
{{Optional/en}}
 
<span style="background-color:Green;color:White;padding:0 5px;">NEW  svn6285:01/23/2012</span>


Monitor-Level
enablelcd 0|1
  0 = Kein Zugriff auf Monitor
   
  1 = Nur Server und eigene Prozeduren
  =   default
  2 = Alle Prozeduren, aber nur ansehen (default)
  =   enable LCD
  3 = Alle Prozeduren, reload von oscam.user möglich
  4 = Unbeschränkter Zugriff


Beispiel
==== lcd_outputpath ====
monlevel = 4  # Kompletter Zugriff
{{Optional/en}}


Monlevel kann durch Eintragungen in oscam.user überschrieben werden!
Path for LCD output


==== hideclient_to ====
Default:
{{Optional}}
lcd_outputpath =  [blank]  /tmp
 
==== lcd_hideidle ====
{{Optional/en}}
 
hide reader in LCD output if reader idle > 20 seconds, default:0


Zeitspanne in Sekunden für das Ausblenden von Clients, die keine Anfragen senden. Siehe auch Parameter '''httphideidleclienst''' in Abschnitt [webif].
hideclient_to = 1  # Clienten werden ausgeblendet
              = 0  # Keine Ausblendung von Clienten im Leerlauf


==== appendchaninfo ====
==== lcd_writeinterval ====
{{Optional}}
{{Optional/en}}


Fügt die Channel-Info aus der oscam.services der Log-Meldung hinzu. Bei Verwendung von Monitor und Webinterface ist dies eine sehr nützliche Routine!
LCD refresh interval (minimum 5), default:10
appendchaninfo = 1  # Die Channel-Info wird hinzugefügt
                = 0  # Keine Channel-Info (default)


=== WebIf ===
=== WebIf ===
Eintragungen sind nur dann erforderlich, wenn das Web-Interface (by Alno) als Modul ausgewählt wurde.
'''Only if WebIf is used!'''


{{OScamConfWebIfParameter}}
{{OScamConfWebIfParameter}}
==== File format to send EMMs via the webinterface ====
(by Bit)
[[Datei:WarningS.png|text-bottom]] '''Attention'''
* File has to be in TXT format.
* The EMM-file should contain each PRE-CAM EMM in a new line.
* EMMs should be in HEX representation.
** Example: AABBCCDD...
*Spaces and tabs between the bytes are allowed:
**AA BB CC DD...
*The HEX representation of each EMM's byte can be represented by upper or lower case - even mixed is allowed:
**AA aa Aa aA...
*Other chars and comments are not allowed.


==== httpport ====
==== httpport ====
{{Mandatory}}
{{Optional}}


Port, auf dem das Webinterface hört.
default is 8888 if no httpport is set
  httpport =  83  # Webinterface hört auf '''http-port 83'''
port for web interface,
           = +83  # Webinterface hört auf '''https-port 83''' (SSL)
0 = disabled, praefix + = enable SSL
               0  # Webinterface ist ausgeschaltet (default)
 
Example
  httpport =  83  # Webinterface listening on '''http-port 83'''
           = +83  # Webinterface listening on '''https-port 83''' (SSL)
               0  # Webinterface disabled


==== httpcert ====
==== httpcert ====
{{Optional}}
{{Optional/en}}
 
file for http SSL certificate
httpcert = oscam.cert # (look there)
          =            # [blank] file oscam.pem (embedded) is used
 
==== httpforcesslv3 ====
{{Optional/en}}
<span style="background-color:Green;color:White;padding:0 5px;">NEW  svn:6321/01/30/2012</span>


Datei für das SSL-Zertifikat
httpforcesslv3 = 0|1
  httpcert = oscam.cert # (siehe dort!)
          =            # [blank] es wird die Datei oscam.pem (embedded) verwendet


example
httpforcesslv3  =  0  none (default)
                =  1  force using SSLV3
==== httpuser ====
==== httpuser ====
{{Mandatory}}
{{Optional/en}}


Name des Users für den Zugriffsschutz. Es wird zwar [blank] als Default-Wert angeboten. Davon wird aber dringend abgeraten; daher wird dieser Parameter hier als '''zwingend''' beschrieben.
Username for password protection. [blank] is default, of which is strongly discouraged!
  httpuser =  # xyxyxy
  httpuser =  # xyxyxy (all characters and figures are allowed)


==== httppwd ====
==== httppwd ====
{{Mandatory}}
{{Optional/en}}


Passwort für den Zugriffsschutz. Es gilt das gleiche wie für httpuser.
Password for password protection. It is the same as for httpuser.
  httppwd =  # 123456
  httppwd =  # 123456


'''Die Parameter ''user'' und ''pwd'' werden beim Verbindungsaufbau zum Webinterface in einem Kontrollfenster abgefragt. Fehlen sie oder sind sie fehlerhaft, erfolgt die Meldung ''Forbidden'' und der Verbindungsaufbau wird abgebrochen!'''
'''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!'''
 
==== http_prepend_embedded_css ====
{{Optional/en}}
<span style="background-color:Green;color:White;padding:0 5px;">NEW svn6797:05/13/2012</span>
<span style="background-color:Blue;color:White;padding:0 5px;">CHANGE svn6625:05/15/2012</span>
 
 
http_prepend_embedded_css  =  0 | 1
http_prepend_embedded_css  =  0  # Do not add the content of the embedded CSS before the content of the custom CSS (default)
                              1  # embedded CSS will be added before external custom CSS (specified by the [[#httpcss|httpcss]] parameter)
 
This parameter can be used to override the embedded CSS with custom styles. To see the current CSS styles use the url: http://''url_to_oscam_webif'''''/site.css'''


==== httpcss ====
==== httpcss ====
{{Optional}}
{{Optional/en}}
 
path for external CSS file


Für das Webinterface stehen verschiedene Styles in unterschiedlicher farblicher und graphischer Darstellung zur Verfügung. Der User kann die für ihn interessanten Style-Dateien (.css) speichern und je nach "Stimmung" verwenden. Hier wird der Pfad zu den Style-Dateien festgelegt.
For webinterface different styles are available. Put custom CSS files (ending with .css extension) in the oscam config directory to managed your custom styles with WebIf.


Beispiel
Example
  httpcss =  # /etc/oscam/harvest_round_Firefox.css
  httpcss =  # /etc/oscam/harvest_round_Firefox.css
         =  # [blank] es wird der embedded Style verwendet (default)
         =  # [blank] embedded style is used (default)
 
To see the current CSS style, use the url: http://''url_to_oscam_webif'''''/site.css'''


Styles werden hier veröffentlicht: http://streamboard.gmc.to/wbb2/thread.php?threadid=30083&hilight=style
Styles you find here: [[Streamboard-Thread:30083|Streamboard-Thread]]


==== httptpl ====
==== httptpl ====
{{Optional}}
{{Optional/en}}
 
<span style="background-color:Blue;color:White;padding:0 5px;">CHANGE svn 7083:06/25/2012</span>


Pfad für externe Templates
path for external templates and picons
  httptpl =
  httptpl =
         =  # [blank] Keine externen Templates
         =  # [blank] No external templates
 
path for external templates and picons, multiple simultaneously templates and picons are possible by creat‐
ing sub folders (maximum length of 32 alphanumeric characters), sub folders naming is corresponding to  sub
folder in URL, default:none
 
example
httptpl = /this/is/my/path
folder with multiple templates:
/this/is/my/path/template
/this/is/my/path/template2
 
valid URLs:
http://host:port/template1
http://host:port/template2
<br/>
<br/>
==== httpoverwritebakfile ====
{{Optional/en}}
<span style="background-color:Green;color:White;padding:0 5px;">NEW svn9858:09/21/2014</span>
 
httpoverwritebakfile  =  0|1
 
1  =  overwrite backup configurations files (*.bak)
0  =  default
<br/>
<br/>
 
 
 
==== httplocale ====
{{Optional/en}}
<span style="background-color:Green;color:White;padding:0 5px;">NEW svn9828:08/15/2014</span>
 
httplocale  =  environment
 
set the "locale environment"
 
default  =  blank [none]
 
look here::
 
http://en.wikipedia.org/wiki/locale
 
==== httpjscript ====
{{Optional/en}}
<span style="background-color:Green;color:White;padding:0 5px;">NEW svn6806:05/14/2012</span>
 
httpjscript  =  path
 
path for oscam.js javascript, def: none
 


==== httprefresh ====
==== httprefresh ====
{{Optional}}
{{Optional/en}}
 
status refresh in seconds
 
httprefresh = 7  # status will be refreshed after 7 seconds
            =    # [blank] no refreshing
 
==== httppollrefresh ====
{{Optional/en}}
 
refreshtime for polling in seconds
 
httppollrefresh = 60  # polling will be refreshed after 60 seconds
                =    # [blank|0] no refreshing poll
 
==== httpshowpicons ====
{{Optional/en}}
<span style="background-color:Green;color:White;padding:0 5px;">NEW svn6648:05/01/2012</span>
 
httpshowpicons  =  0| 1
httpshowpicons  =  1  # show picons in userlist
                      0  # default
 
If this parameter is enables, then a new column is added to the USERS tab which display the picons of the last watched channels by active users. The folder where the picons must be configured in the httppiconpath.
 
Possible format are:
IC_caid_srvid.tpl
IC_caid_provid_srvid.tpl
IC_servicename.tpl


Zeitspanne in Sekunden, innerhalb derer das Programm den Status des Webinterfaces aktualisiert
added support for picons by channel name<br />
httprefresh = 7  # Status wird nach 7 Sekunden aktualisiert
syntax is:<br />
            =    # [blank] Es findes keine Aktualisierung statt
take service-name from oscam.srvid,<br />
replace all upper-case letters with lower case,<br />
replace * with star,<br />
replace & with and,<br />
replace + with plus,<br />
remove everything but a-z and 0-9,<br />
if the result is name, the picon file will be IC_name.tpl<br />
for example:<br />
service-name "BBC-ONE +HD"<br />
picon file: "IC_bbconeplushd.tpl"<br />
if service-name ends with hd, and picon is not found, fallback to name without hd, example:<br />
picon file: "IC_bbconeplushd.tpl"<br />
-> not found, search for:<br />
picon file: "IC_bbconeplus.tpl"<br />


==== httphideidleclients ====
==== httphideidleclients ====
{{Optional}}
{{Optional/en}}
 
Enables hiding clients after idle time set with parameter ''' hideclient_to''' in section [monitor].
httphideidleclients = 1  # hide
                    = 0  # hide not (default)
 
==== hideclient_to ====
{{Optional/en}}
 
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
 
==== httphidetype ====
{{Optional/en}}
<span style="background-color:Green;color:White;padding:0 5px;">NEW svn8937:09/27/2013</span>
 
httphidetype  =  type[type]...
 
type = letter which defines types to hide in web interface status page (see Typ column),
default: none. s = server, h = http, m = monitor, r = reader, p = proxy, x = cacheex, c = client 


Dieser Parameter ermöglicht es, einen Clienten nach Ablauf der im Parameter '''hideclient_to''' im Abschnitt [monitor] festgelegten Leerlauf-Zeitspanne (siehe dort!) auszublenden.
  httphidetype = sh #hide server- and http-type columns
httphideidleclients = 1 # Ausblenden
  httphidetype = [blank] # hide none (default)
                    = 0 # Nicht ausblenden (default)


==== httpscript ====
==== httpscript ====
{{Optional}}
{{Optional/en}}
 
Path to an executable script which you wish to start from web interface
httpscript =    # path
            =    # [blank] no path
 
You can run script file from script.html (SCRIPTS item in main menu)<br />
If the script file contains the "echo" will be it displayed in a Web interface.
 
If the file can not run displays
[Error]: Script "name_of_script.sh" not executable!


Pfad für Skripte, die vom Webinterface aus gestartet werden können
If does not exist script displays
  httpscript =    # Pfad
  [Error]: Script "name_of_script.sh" not found!
            =    # [blank] kein Pfad
(Works If you delete the script and refresh page)


==== httpallowed ====
==== httpallowed ====
{{Mandatory}}
{{required}}
 
<span style="background-color:Blue;color:White;padding:0 5px;">CHANGE  svn8733:06/27/2013</span>
 
<span style="background-color:Blue;color:White;padding:0 5px;">CHANGE  svn8842:08/17/2013</span>
 
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'''!
 
With '''::1''' OSCam decides to resolve 'localhost' to '''IPv6'''!
 
IP address|IP address range[,IP address|IP address range,[::1]]...


Hier werden IP-Addressen, IP-Bereiche oder beides festgelegt, die auf das Webinterface zugreifen dürfen. Es wird zwar auch ein [blank] als Default-Wert angeboten, dessen Sinn sich aber nicht erschließt! Wenn das Webinterface benutzt werden soll, dann muss es auch die Möglichkeit geben, sich mit ihm zu verbinden. Daher wird dieser Parameter als '''zwingend''' dargestellt.
IP address|IP address range[,IP address|IP address range]...


Beispiel
 
  httpallowed = 127.0.0.1,192.168.0.0-192.168.255.255 # Host, sowie der gesamte Bereich 192.168.0 sind zugelassen
Example
  httpallowed = 127.0.0.1,192.168.0.0-192.168.255.255     # Host and range 192.168.0 are allowed
            = 127.0.0.1,192.168.0.0-192.168.255.255,::1 # Host and range 192.168.0 are allowed
                                                          resolving to IPv6
 
'''default values'''
127.0.0.1,192.168.0.0-192.168.255.255,10.0.0.0-10.255.255.255,::1


==== httpdyndns ====
==== httpdyndns ====
{{Optional}}
{{Optional/en}}
<span style="background-color:Blue;color:White;padding:0 5px;">CHANGE svn6558:03/21/12</span>
 
http web interface connections allowed


Zulassen von DYNDNS-Verbindungen durch das Webinterface.
httpdyndns  =  hostname [,hostnahme][,hostname]


Beispiel
Example
  httpdyndns = my.dynexample.com
  httpdyndns = host1.example.com,host2.example.com


==== httpsavefullcfg ====
==== httpsavefullcfg ====
{{Optional}}
{{Optional/en}}
 
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


Sicherung der Konfigurationsdateien
httpsavefullcfg = 0  # alle nicht leeren Parameter,
                      # alle nicht Default-Parameter,
                      # alle Parameter, die nicht den gleichen Inhalt enthalten wie dieselben Parameter in [global]  (default).
                  1  # alle Parameter




==== httpreadonly ====
==== httpreadonly ====
{{Optional}}
{{Optional/en}}
 
read only modus for web interface
 
httpreadonly = 1  # only read
              = 0  # all is possible  (default)
 
 
==== httppiconpath ====
{{Optional/en}}
<span style="background-color:Green;color:White;padding:0 5px;">NEW svn:9463/01/28/2014</span>
 
httppiconpath  =  path
 
path to picons, default [blank] none
 
====httphelplang====
{{required}}
 
set right language for wiki entry point
de|en|fr <available wiki languages>
 
==== httposcamlabel ====
{{Optional/en}}
<span style="background-color:Green;color:White;padding:0 5px;">NEW  svn9463:01/28/2014</span>
 
httposcamlabel  =  text
 
set individual label in web interface header, default: OSCam
 
==== http_status_log ====
{{Optional/en}}
 
http_status_log = 0|1
1 = display log in Status screen
0 = do not show  (default)
 
==== httpshowreaderinfo ====
{{Optional/en}}
 
httpshowreaderinfo = 0|1
1 = display readers informations in Status screen
0 = do not show  (default)
 
==== httpshowecminfo ====
{{Optional/en}}
 
httpshowecminfo = 0|1
1 = display readers and users ECM informations in Status screen
0 = do not show  (default)
 
==== httpshowuserinfo ====
{{Optional/en}}
 
httpshowuserinfo = 0|1
1 = display users informations in Status screen
0 = do not show  (default)
 
==== httpshowcacheexinfo ====
{{Optional/en}}
 
httpshowcacheexinfo = 0|1
1 = display CacheEX informations in Status screen
0 = do not show  (default)
 
==== httpshowmeminfo ====
{{Optional/en}}
 
httpshowmeminfo = 0|1
1 = display memory usage informations in Status screen
0 = do not show  (default)
 
==== httpshowloadinfo ====
{{Optional/en}}
 
httpshowloadinfo = 0|1
1 = display load average and CPU usage informations in Status screen
0 = do not show  (default)
 
<br/>
<br/>
 
=== [cache] ===
<span style="background-color:Green;color:White;padding:0 5px;">NEW since svn 8358:02/16/2013</span>
 
{{OSCamConfCacheParameter}}
 
'''cw_cache - info'''<br />
cache of CWs which are saved to detect/drop old CWs arriving via CacheEx
 
to enable this feature, you have to define cw_cache_size or cw_cache_memory to set the cache-size
and cw_cache_settings to define for what CWs which action is taken.
 
if cw_cache_size or cw_cache_memory is defined, the default is, that incoming known CWs older then 15 seconds are dropped, cause they are useless.
 
 
'''ecm_cache - info'''<br />
 
cache of ECMs which are saved to detect/drop old ECMs
 
if you are facing problems with getting old ECMs, with this feature you are able to drop known ECMs
to enable this feature, you have to define ecm_cache_size or ecm_cache_memory to set the cache-size
 
 
==== delay ====
{{optional/en}}
 
<span style="background-color:Green;color:White;padding:0 5px;">NEW svn8358:02/16/2013</span>
 
Value to delay cached requests
 
Example:
delay = 300
 
Default:
delay = 0
 
==== max_time ====
{{Optional/en}}
 
<span style="background-color:Green;color:White;padding:0 5px;">NEW svn8358:02/16/2013</span>
 
max_cache_time  =  seconds, default: 15
 
maximum time CWs resist in cache after 1st client request, the time must be 2 seconds higher than the parameter clienttimeout.
 
 
==== cw_cache_settings ====
{{Optional/en}}
<span style="background-color:Green;color:White;padding:0 5px;">NEW svn11588:08/23/20</span>
 
cw_cache_settings = caid[&mask][@provid][$servid]:mode:timediff_old_cw[,n]
                  = [blank] disabled
 
* mode:
1 = just write logs @ log-level 8192
2 = drop CWs which match this rule & write logs @ log-level 8192
* timediff_old_cw:
time = time in miliseconds after a known CW is detected/dropped
 
Example:
 
cw_cache_settings = 0:2:1500,BEEF@012345:2:620,1337:1:170
* for all CWs not matching any other rule => drop if the CW is known for more then 1500ms
* drop CWs of caid BEEF with provid 012345, if they are known for more then 620ms
* log CWs of caid 1337 with all provids, if they are known for more then 170ms
 
 
==== cw_cache_size ====
{{Optional/en}}
<span style="background-color:Green;color:White;padding:0 5px;">NEW svn11588:08/23/20</span>
 
cw_cache_size = count of max. CWs for cw_cache
              = 0 (default)
 
 
==== cw_cache_memory ====
{{Optional/en}}
<span style="background-color:Green;color:White;padding:0 5px;">NEW svn11588:08/23/20</span>
 
cw_cache_memory = size (in MB) of the cw_cache
                = 0 (default)
 
 
==== ecm_cache_size ====
{{Optional/en}}
<span style="background-color:Green;color:White;padding:0 5px;">NEW svn11588:08/23/20</span>
 
ecm_cache_size = count of max. ECMs for ecm_cache
                = 0 (default)
 
 
==== ecm_cache_memory ====
{{Optional/en}}
<span style="background-color:Green;color:White;padding:0 5px;">NEW svn11588:08/23/20</span>
 
ecm_cache_memory = size (in MB) of the ecm_cache
                  = 0 (default)
 
 
==== ecm_cache_droptime ====
{{Optional/en}}
<span style="background-color:Green;color:White;padding:0 5px;">NEW svn11588:08/23/20</span>
 
ecm_cache_droptime = time in seconds after a known ECM is dropped with return-code E_INVALID
                    = 0 (default)
 
 
==== max_hit_time ====
{{Optional/en}}
<span style="background-color:Green;color:White;padding:0 5px;">NEW svn8910:09/10/2013</span>
 
max_hit_time  =  in seconds
 
maximum time for cache exchange hits resists in cach for evaluating wait_time, default: 15
 
 
==== wait_time ====
{{Optional/en}}
<span style="background-color:Green;color:White;padding:0 5px;">NEW svn 6142:12/25/2011</span>
 
<span style="background-color:Blue;color:White;padding:0 5px;">CHANGE svn 8077:01/06/2013</span>
 
wait_time  =  milli-seconds
            =  [blank] none (default)
 
wait time for cache exchange (mode 2 & 3 only!)and Cardserverproxy before sending ECM to reader or proxy
 
Example:
0:50:250,0200@00009X:50:150:950,0500@000001:150:1602&ffdf:1200
 
==== waittime_block_start ====
{{Optional/en}}
<span style="background-color:Green;color:White;padding:0 5px;">NEW svn11588:08/23/20</span>
waittime_block_start = number of (dyn)wait_time timeouts to start blocking the use of (dyn)wait_time for this service(caid:provid:srvid)
                      = 0 (default)
 
 
==== waittime_block_time ====
{{Optional/en}}
<span style="background-color:Green;color:White;padding:0 5px;">NEW svn11588:08/23/20</span>
waittime_block_time = seconds the (dyn)wait_time isn't used and ECMs are forwarded to the reader/s
                    = 0 (default)
 
 
==== cacheex_cw_check ====
{{Optional/en}}
 
cacheex_cw_check = caid[&mask][@provid][$servid]:mode:counter[,n]
 
* mode:
specify behaviour for counter parameter
 
0  =  when wait_time expires, serve highest counter's cw got anyway, even if no counter reached.
1  =  never serve cw (coming from cacheex) stored in cache if its counter not reaches counter. When wait_time expires, requests
will go to normal readers! Only when a cw reaches counter, it can be served to clients.
 
Default  =  0
 
 
* counter:
set minimum cw counter to allow cw is used.
 
Default  =  1 (use default behaviour: use cw with highest counter when cache is checked)
 
==== cwcycle_allowbadfromffb ====
{{Optional/en}}
 
<span style="background-color:Green;color:White;padding:0 5px;">NEW svn 8930:09/25/2013</span>
 
cwcycle_allowbadfromffb  =  0|1
 
1 = allow bad cycles from a fixed fallback reader. Default = 0
 
 
 
==== cacheexenablestats ====
{{Optional/en}}
 
<span style="background-color:Green;color:White;padding:0 5px;">NEW svn8358:02/16/2013</span>
 
cacheexenablestats  =  0|1
 
1 = enable statistics for cach exchange mode
0 = default
 
[[Datei:WarningS.png|text-bottom]] '''Warning:''' Please consider memory consumption!
 
==== csp_port ====
{{required}}
<span style="background-color:Green;color:White;padding:0 5px;">NEW svn8358:02/16/2013</span>
 
This is a UDP ('''not TCP''') listen port for incoming traffic from csp nodes
 
csp_port  =  port
            =  [blank] none (default)
 
==== csp_serverip ====
{{required}}
<span style="background-color:Green;color:White;padding:0 5px;">NEW svn 6358:2/16/2013</span>
 
This is the local bind IP of csp_port (see above!)
 
csp_serverip  =  IP
                =  [blank] none (default)
 
==== csp_ecm_filter ====
{{Optional/en}}
<span style="background-color:Green;color:White;padding:0 5px;">NEW svn 6358:2/16/2013</span>
 
csp_ecm_filter = [caid][&mask][@provid][$servid]
 
==== csp_allow_request ====
{{Optional/en}}
<span style="background-color:Green;color:White;padding:0 5px;">NEW svn 6358:2/16/2013</span>
 
csp_allow_request  =  0|1 default = 1
 
==== cwcycle_check_enable ====
{{Optional/en}}
<span style="background-color:Green;color:White;padding:0 5px;">NEW svn 8358:02/16/2013</span>
 
cwcycle_check_enable  =  0 disable (default)
                      =  1 enable
 
==== cwcycle_check_caid ====
{{Optional/en}}
<span style="background-color:Green;color:White;padding:0 5px;">NEW svn 8358:02/16/2013</span>
 
[[Datei:WarningS.png|text-bottom]] '''Attention: not for all NDS SC's!'''
 
cwcycle_check_caid  =  CAID[,CAID]...
 
CAID enabled for CW cycle check, default: none
 
==== cwcycle_maxlist ====
{{Optional/en}}
<span style="background-color:Green;color:White;padding:0 5px;">NEW svn 8358:02/16/2013</span>
 
cwcycle_maxlist  =  count
 
maximum CW cycle list entries, default = 500, maximum = 4000
 
==== cwcycle_keeptime ====
{{Optional/en}}
<span style="background-color:Green;color:White;padding:0 5px;">NEW svn 8358:02/16/2013</span>
 
cwcycle_keeptime  = minutes
 
minimum time a learned cycletime resists in memory, default = 0, maximum = 15
 
==== cwcycle_onbad ====
{{Optional/en}}
<span style="background-color:Green;color:White;padding:0 5px;">NEW svn 8358:02/16/2013</span>
 
cwcycle_onbad  =  0|1
0 = log bad CW cycle only
1 = drop bad CW cycle (default)
 
==== cwcycle_dropold ====
{{Optional/en}}
<span style="background-color:Green;color:White;padding:0 5px;">NEW svn 8358:02/16/2013</span>
 
cwcycle_dropold  =  0|1,
1 = drop old CW cycle,
0 = no drop(default)
<br/>
==== cwcycle_sensitive ====
{{Optional/en}}
<span style="background-color:Green;color:White;padding:0 5px;">NEW svn 8509:03/07/2013</span>
 
cwcycle_sensitive  =  0|2|3|4
 
0  = disabled (default)
2  = 2 (or more) same bytes and drop new CW
3  = 3 (or more) same bytes and drop new CW
4  = 4 (or more) same bytes and drop new CW
 
<br/>
==== cwcycle_usecwcfromce ====
{{Optional/en}}
<span style="background-color:Green;color:White;padding:0 5px;">NEW svn 9038:11/18/2013</span>
 
cwcycle_usecwcfromce  =  0|1
 
1  =  use CW Info from cache exchange
0  =  default
<br/>
 
==== wait_until_ctimeout ====
{{Optional/en}}
<span style="background-color:Green;color:White;padding:0 5px;">NEW svn 9486:02/03/2014</span>
 
wait_until_ctimeout  =  0|1
 
answer when cache exchange timeount expires, if no normal readers are vavailable for sending ECM's::
 
0  =  immediatly send '''not found''' to client (default)
1  =  wait for cache exchange answer until client timeout expires
 
==== cacheex_dropdiffs ====
{{Optional/en}}
<span style="background-color:Green;color:White;padding:0 5px;">NEW svn11588:08/23/20</span>
 
cacheex_dropdiffs = 1 drop incoming not-localgenerated-flagged CWs which differ from the first CW
                  = 0 (default)
 
 
==== 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<br />
here in oscam.conf this setting is for evaluating the response-time for local/proxy-readers and is used for CacheEx2-reader/CacheEx3-user as default, when no reader/user cacheex_nopushafter is set.
 
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>
 
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 ====
{{Optional/en}}
<span style="background-color:Green;color:White;padding:0 5px;">NEW svn11588:08/23/20</span>
 
forward only CWs which are flagged as localgenerated<br />
here in oscam.conf, the default value is set; user/reader-settings are prioritized
 
cacheex_localgenerated_only = 0|1 (default: 0 /opt-in)
 
 
==== cacheex_lg_only_tab ====
{{Optional/en}}
<span style="background-color:Green;color:White;padding:0 5px;">NEW svn11588:08/23/20</span>
 
forward only CWs which are lg-flagged for these list of caid/provid(s)<br />
here in oscam.conf, the default value is set; user/reader-settings are prioritized
 
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 ====
{{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<br />
here in oscam.conf, the default value is set; user/reader-settings are prioritized
 
cacheex_localgenerated_only_in = 0|1 (default: 0 /opt-in)
 
 
==== cacheex_lg_only_in_tab ====
{{Optional/en}}
<span style="background-color:Green;color:White;padding:0 5px;">NEW svn11588:08/23/20</span>
 
allow incoming CWs only if they are lg-flagged for these list of caid/provid(s)<br />
here in oscam.conf, the default value is set; user/reader-settings are prioritized
 
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 ====
{{Optional/en}}
<span style="background-color:Green;color:White;padding:0 5px;">NEW svn11588:08/23/20</span>
 
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
here in oscam.conf, the default value is set; user/reader-settings are prioritized
 
cacheex_lg_only_in_aio_only = 0|1 (default: 0 /opt-in)
 
 
==== cacheex_ecm_filter ====
{{Optional/en}}
<span style="background-color:Green;color:White;padding:0 5px;">NEW svn11588:08/23/20</span>
 
set a global cacheex_ecm_filter<br />
here in oscam.conf, the default value is set; user/reader-settings are prioritized
 
cacheex_ecm_filter = [caid][&mask][@provid][$servid],n
 
 
 
==== cacheex_ecm_filter_aio ====
{{Optional/en}}
<span style="background-color:Green;color:White;padding:0 5px;">NEW svn11588:08/23/20</span>
 
set a global cacheex_ecm_filter which is used if peer is detected as cx-aio-patched or svn >= 11588
the default limit of 15/30 (camd3/cccam) filters is obsolete
 
here in oscam.conf, the default value is set; user/reader-settings(cacheex_ecm_filter) are prioritized
 
cacheex_ecm_filter_aio = [caid][&mask][@provid][$servid],n
 
 
==== cacheex_push_lg_groups ====
{{Optional/en}}
<span style="background-color:Green;color:White;padding:0 5px;">NEW svn11588:08/23/20</span>
 
push all lg-flagged CWs to this/these group/s, without checking the groupmembership of the peer
 
cacheex_push_lg_groups = [blank] (default)
                        = 1[,n]
 
 
 
<br/>
<br/>
 
<br/>
 
=== csp (UDP) ===
Section only needed if using cache exchange
 
<span style="background-color:Red;color:White;padding:0 5px;">OBSOLETE svn8358:02/16/2013 look at '''[cache]'''!</span>
 
 
{{OSCamConfcspParameter}}
 
==== port ====
{{required}}
<span style="background-color:Green;color:White;padding:0 5px;">NEW svn6124:12/23/2011</span>
 
UDP listen port for incoming traffic from csp nodes
 
port  =  port
        =  [blank] none (default)
 
==== serverip ====
{{required}}
<span style="background-color:Green;color:White;padding:0 5px;">NEW svn 6124:12/23/2011</span>


Über das Webinterface können in bestimmtem Unfang Konfigurations-Dateien editiert und gesichert werden. Das ist für den Server-Admin, der sich nicht immer in der Nähe zur Konsole des Servers befindet, sehr vorteilhaft. Wenn aber weitere User oder andere Beteiligte ebenfalls Zugang zum Webinterface und damit Zugriff auf die Daten haben, kann das zu einem Problem werden. Die Möglichkeit des Editierens (Schreibens) kann daher mit diesem Parameter ausgeschaltet werden.
Local bind IP of the above udp port
httpreadonly = 1  # nur Lesezugriff möglich
              = 0  # alles ist möglich  (default)


==== httpjsicons ====
serverip  =   IP
{{Optional}}
            =   [blank] none (default)


[[Datei:Obsolet.jpg|text-bottom]] '''Nicht mehr verwendet'''
==== csp_ecm_filter ====
{{Optional/en}}


csp_ecm_filter = [caid][&mask][@provid][$servid]


Benutze JavaScript, um base64-icons zu setzen.
==== csp_allow_request ====
  httpjsicons  = 1 # benutze Javascript
{{Optional/en}}
              = 0 # kein JavaScript benutzen (default)
 
csp_allow_request =  0|1 default = 1


=== Camd 33 (TCP) ===
=== Camd 33 (TCP) ===
Abschnitt nur dann erforderlich, wenn camd33 als Client Protokoll notwendig ist.
Section required only if camd33 will be used as client protocol!
   
   
{{OSCamConfCamd33Parameter}}
{{OSCamConfCamd33Parameter}}


==== port ====
==== port ====
{{Mandatory}}
{{required}}
Hier wird der Port festgelegt, von dem aus Camd 33 Anfragen beantwortet werden. Dieser Port muss ggf. auch am Router geöffnet werden.


Beispiel:
TCP/IP port for camd 3.3x clients, 0 = disabled, default:0
 
Example:
  port = 15000
  port = 15000
      = 0  # disabled (default)


==== serverip ====
==== serverip ====
{{Optional}}
{{Optional/en}}
Bei einem Server mit mehreren Netzwerkkarten und daher mehreren unterschiedlichen IP Adressen kann es gewünscht sein, dass OSCam nur antwortet, wenn die Anfrage auf einer betimmten IP Adresse kommt. Mit diesem Parameter kann man festlegen, auf welche IP Adresse der OSCam Prozess "hört".
 
bind service to specified IP address
 


Beispiel:
Example:
  serverip = 192.168.178.1
  serverip = 192.168.178.1


Default:
Default:
  serverip =
  serverip = # listenig to all


==== nocrypt ====
==== nocrypt ====
{{Optional}}
{{Optional/en}}
Eine bestimmte IP Adresse oder ein Adressbereich, der unverschlüsselt übertragen wird.
 
unsecured camd 3.3x client connection
IP address|IP address range[,IP address|IP address range]...


Beispiel:
Example:
  nocrypt = 127.0.0.1,192.168.0.0-192.168.255.255
  nocrypt = 127.0.0.1,192.168.0.0-192.168.255.255


Default:
Default:
  nocrypt =
  nocrypt = [none]


==== passive ====
==== passive ====
{{Optional}}
{{Optional/en}}
Definition für aktiven oder passiven Client. Generell geht das Camd3.3x-Protokoll von einem aktiven Client aus. Es kann aber unter bestimmten Umständen bei manchen Clients (meistens plugin) zur Schwierigkeiten kommen. In diesem Fall
 
force passive camd 3.3x client
 
Camd3.3x protocol generally has aktive clients. In certain circumstances the client must switched on only "passive" mode.


Beispiel:
Example:
  passive = 1
  passive = 1


Zeile 732: Zeile 1.983:


==== key ====
==== key ====
{{Optional}}
{{Optional/en}}
128 bit key
 
key for camd 3.3x client encryption


Schlüssel, der für die Verschlüsselung verwendet wird. (128bit Verschlüsselung)


Beispiel:
Example:
  key = 01020304050607080910111213141516
  key = 01020304050607080910111213141516


Default:
Default:
  key =
  key = # (blank] none (default)
 
=== cs357x (UDP) ===
Section required only if cs357x will be used as client protocol! These protocols principle encrypt and build the key from user name.


=== Camd 35 bzw. cs357x (UDP) ===
[[Datei:WarningS.png|text-bottom]] '''Attention:'''
Abschnitt nur dann erforderlich, wenn camd35 bzw. cs357x als Client Protokoll notwendig ist.
'''cs357x''' was also known as '''camd35''' designated. Both terms mean the same protocol with the same functions and parameters. In the future, to avoid confusion '''only cs357x''' is used.
Dieses Protokoll verschlüsselt grundsätzlich und bildet den Schlüssel aus dem Benutzernamen.
   
   
{{OSCamConfCamd35Parameter}}
{{OSCamConfCs357xParameter}}
{{OSCamConfCs357xParameter}}


==== port ====
==== port ====
{{Mandatory}}
{{required}}
Hier wird der Port festgelegt, von dem aus Camd Anfragen beantwortet werden. Dieser Port muss ggf. auch am Router geöffnet werden.
UDP port for camd 3.5x|cs357x clients. Port must be opened at router!


Beispiel:
Example:
  port = 15000
  port = 15000
      = 0    # disabled (default)


==== serverip ====
==== serverip ====
{{Optional}}
{{Optional/en}}
Bei einem Server mit mehreren Netzwerkkarten und daher mehreren unterschiedlichen IP Adressen kann es gewünscht sein das OSCam nur antwortet wenn die Anfrage auf einer betimmten IP Adresse kommt. Mit diesem Parameter kann man festlegen auf welche IP Adresse der OSCam Prozess "hört".
 
bind service to specified IP address


Beispiel:
Example:
  serverip = 192.168.178.1
  serverip = 192.168.178.1


Default:
Default:
  serverip =
  serverip =   # [blank] all (default)


==== suppresscmd08 ====
==== suppresscmd08 ====
In camd 35:
{{Optional/en}}
[[Datei:Obsolet.jpg|text-bottom]] '''Obsolet'''


In cs357x:
suppresscmd08 = 0|1
{{Optional}}


Cmd08 bewirkt, dass eine nicht gültige Anfrage (rejected caid, etc.) von OSCam der camd3 gemeldet wird und diese dann nicht mehr für die Kombination aus caid+serviceid+providerid nachfragt. Dieses cmd08 kann unterdrückt werden. Camd3 fragt dann weiter nach.
0 = tell camd35|cs3.57x-clients not to request again for rejected CAID, service ID and provider ID combination (default)
1 = disabled


Aktiviert die Unterdrückung für den CMD08.
Can be overwritten in oscam.user!


Beispiel:
More here:: [[Streamboard-Thread:27459|Streamboard-Thread]]
suppresscmd08 = 1 # (aktiviert)
suppresscmd08 = 0 # (deaktivert)
 
Default:
suppresscmd08 = 0
 
Wer mehr darüber wissen will, kann hier nachlesen: http://streamboard.gmc.to/wbb2/thread.php?threadid=27459&threadview=0&hilight=cmd08&hilightuser=0&page=1


=== cs378x (TCP) ===
=== cs378x (TCP) ===
Abschnitt nur dann erforderlich, wenn cs378x als Client Protokoll notwendig ist.
Section required only if cs378x (camd 3.5x in TCP) will be used as client protocol!
   
   
{{OSCamConfCs378xParameter}}
{{OSCamConfCs378xParameter}}


==== port ====
==== port ====
{{Mandatory}}
{{required}}
Hier wird der Port festgelegt, von dem aus Camd Anfragen beantwortet werden. Dieser Port muss ggf. auch am Router geöffnet werden.


Beispiel:
Port(s) TCP for Cs378x clients (camd 3.5x in TCP mode). Port(s) must be opened at router!
  port = 15000
 
port@CAID[:ident][,ident]...[;port@CAID[:ident][,ident]...]...
 
Example:
  port = 15000@0500:030B00;22764@0648


==== serverip ====
==== serverip ====
{{Optional}}
{{Optional/en}}
Bei einem Server mit mehreren Netzwerkkarten und daher mehreren unterschiedlichen IP Adressen kann es gewünscht sein das OSCam nur antwortet wenn die Anfrage auf einer betimmten IP Adresse kommt. Mit diesem Parameter kann man festlegen auf welche IP Adresse der OSCam Prozess "hört".
 
bind service to specified IP address


Beispiel:
Example:
  serverip = 192.168.178.1
  serverip = 192.168.178.1


Default:
Default:
  serverip =
  serverip =   # [blank] all (default)


==== suppresscmd08 ====
==== suppresscmd08 ====
{{Optional}}
{{Optional/en}}


Cmd08 bewirkt, dass eine nicht gültige Anfrage (rejected caid, etc.) von OSCam der camd3 gemeldet wird und diese dann nicht mehr für die Kombination aus caid+serviceid+providerid nachfragt. Dieses cmd08 kann unterdrückt werden. Camd3 fragt dann weiter nach.


Aktiviert die Unterdrückung für den CMD08.
suppresscmd08 = 0|1


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


Default:
suppresscmd08 = 0


Wer mehr darüber wissen will, kann hier nachlesen: http://streamboard.gmc.to/wbb2/thread.php?threadid=27459&threadview=0&hilight=cmd08&hilightuser=0&page=1
Mor here: [[Streamboard-Thread:27459|Streamboard-Thread]]


=== Newcamd (TCP) ===
=== Newcamd (TCP) ===
Abschnitt nur dann erforgerlich, wenn newcamd als Client Protokoll notwendig ist.
Section required only if newcamd will be used as client protocol!


{{OSCamConfNewcamdParameter}}
{{OSCamConfNewcamdParameter}}
==== mgclient ====
{{Optional}}
Aktiviert das Extendet Newcamd Protokol, um mehrer CAID's über einen Port zu schicken
Beispiel:
mgclient = 1  # (aktiviert)
mgclient = 0  # (deaktiviert)
Default:
mgclient = 0


==== key ====
==== key ====
{{Mandatory}}
{{required}}
Schlüssel für die Newcamd Verbindung zum Client.
DES key
Default key for newcamd client encryption.


Beispiel:
Example:
  key = 0102030405060708091011121314
  key = 0102030405060708091011121314


Zeile 852: Zeile 2.089:


==== port ====
==== port ====
{{Mandatory}}
{{required}}
Hier wird der Port festgelegt, von dem aus Newcamd Anfragen beantwortet werden. Dieser Port muss ggf. auch am Router geöffnet werden.
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]...]...


Beispiel:
Example:
  port = 15000@1234:000000 # (CAID 1234 ist über Port 15000 erreichbar)
  port = 15000@1234:000000 # (CAID 1234 connected with port 15000)
  port = 15000@1234:000000;15001@5678:000000 # (CAID 1234 ist über Port 15000 erreichbar CAID 5678 über Port 15001)
  port = 15000@1234:000000;15001@5678:000000 # (CAID 1234 connected with port 15000. CAID 5678 with port 15001)


Default:
Default:
Zeile 863: Zeile 2.102:


==== serverip ====
==== serverip ====
{{Optional}}
{{Optional/en}}
Hat der Server mehrere IP Adressen werden nur Anfragen die an die konfigurierte IP gehen beantwortet.
 
bind service to specified IP address


Beispiel:
Example:
  serverip = 192.168.178.1
  serverip = 192.168.178.1


Default:
Default:
  serverip =
  serverip = [blank]


==== allowed ====
==== allowed ====
{{Optional}}
{{Optional/en}}
Eine bestimmte IP Adresse oder ein bestimmter IP Bereich der sich auf den Newcamd Server verbinden darf.
 
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 !!


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


Default:
Default:
  allowed =
  allowed = [blank]


==== keepalive ====
==== keepalive ====
{{Optional}}
{{Optional/en}}
Der Server versucht, die Newcamd Verbindung am leben zu halten.
 
Example:
keepalive = 1 # (enabled)
keepalive = 0 # (disabled)
 
Default:
keepalive = 0
 
==== mgclient ====
{{Optional/en}}
 
Enable mgcamd extended newcamd protocol, allowing for a single connection to work with mutliple providers, default:0


Beispiel:
Example:
  keepalive = 1 # (aktiviert)
  mgclient = 1 # (enabled)
  keepalive = 0 # (deaktiviert)
  mgclient = 0 # (disabled)


Default:
Default:
  keepalive = 1
  mgclient = 0
 
<br/>
<br/>
=== '''scam''' ===
 
<span style="background-color:Green;color:White;padding:0 5px;">NEW svn9878:09/29/2014</span>
 
{{OSCamConfSCamParameter}}
 
==== port ====
{{required}}
 
port  =  port
 
UDP port for scam server, default = 0
 
 
==== serverip ====
{{Optional/en}}
bind service to specified IP address
 
Example:
serverip  =  192.162.9.1
          =  [blank] alle IP'as allowed (default)!
 
==== allowed ====
{{Optional/en}}
 
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
<br/>
<br/>


=== Radegast ===
=== Radegast ===
Abschnitt nur dann erforderlich, wenn Radegast als Client-Protokoll notwendig ist.
Section required only if radegast will be used as client protocol!
   
   
{{OSCamConfRadegastParameter}}
{{OSCamConfRadegastParameter}}
==== port ====
==== port ====
{{Mandatory}}
{{required}}


TCP/IP-Port für Radegast-Clients. Mit dem Eintrag wird das Radegast-Protokoll enabled.
TCP/IP port for radegast clients (enables radegast)
  port =
  port =
       = 0  (default)
       = 0  (default)


==== serverip ====
==== serverip ====
{{Optional}}
{{Optional/en}}
bind service to specified IP address


Bindet den Service an eine bestimmte IP-Adresse.
Example:
 
Beispiel:
  serverip  =  192.162.9.1
  serverip  =  192.162.9.1
           =  (blank) alle IP sind zugelassen!
           =  [blank] alle IP'as allowed (default)!


==== allowed ====
==== allowed ====
{{Optional}}
{{Optional/en}}


IP-Addresse, IP-Range oder beides, die verbinden dürfen
client connections allowed from
  IP addres|IP range[,IP address|IP range]...
  IP addres|IP range[,IP address|IP range]...


Beispiel
Example:
  127.0.0.1,192.168.0.0-192.168.255.255  # Host und ganze Bereich 192.168.0 sind zugelassen
  127.0.0.1,192.168.0.0-192.168.255.255  # Host and range 192.168.0 are allowed


==== user ====
==== user ====
{{Mandatory}}
{{required}}


Username des Radegast-Client
user name for radegast client
  user = username
  user = username


=== Serial ===
=== Serial ===
Abschnitt nur dann erforderlich, wenn eine serielle Reader-Schnittstelle notwendig ist.
Section required only if seral interface will be used!
   
   
{{OSCamConfSerialParameter}}
{{OSCamConfSerialParameter}}


==== device ====
==== device ====
{{Optional}}
{{Optional/en}}


Parameter der Device
Parameter of device
  device = <user>@<device>[:baud][?option1=value1][?option2=value2]
  device = <user>@<device>[:baud][?option1=value1][?option2=value2]


Parameter
Parameter
  user    =  account
  user    =  account
  device  =  Name der Serial Device
  device  =  name of Serial Device
  option  =  timeout =  Millisekunden  Timeout für die Verbindung default: 50
  option  =  timeout =  milli seconds timeout for connection default: 50
         =  delay     Millisekunden  Zusätzliche Verzögerung zwischen 2 Characters
         =  delay milli seconds additive between 2 characters


Unterstützte Serial Devices
supported serial devices
  HSIC    Humax Sharing Interface Client
  HSIC    Humax Sharing Interface Client
  SSSP    Simple Serial Sharing Protocol
  SSSP    Simple Serial Sharing Protocol
Zeile 952: Zeile 2.241:


=== Cccam (TCP) ===
=== Cccam (TCP) ===
Abschnitt nur dann erforderlich, wenn Cccam als Client Protokoll notwendig ist.
Section required only if Cccam will be used as client protocol!
 
{{OSCamConfCccamParameter}}
{{OSCamConfCccamParameter}}


==== port ====
==== port ====
{{Mandatory}}
{{required}}
<span style="background-color:Blue;color:White;padding:0 5px;">CHANGE  svn6206:01/07/2012</span>
 
Port = 0|port[,port...]
 
TCP/IP-Ports for CCcam clients, enables Cccam protocol!


TCP/IP-Port für CCcam-Clients. Mit dem Eintrag eines Ports wird das CCcam-Protokoll enabled.
  port =
  port =
       = 0  # CCcam-Protokoll disabled
       = 0  # CCcam-Protokoll disabled (default)


==== version ====
==== version ====
{{Optional}}
{{Optional/en}}
 
 
define CCcam version, minimum CCcam version 2.0.11, used with original CCcam only, default:none


Definiert die Version von CCcam. Default-Wert = 0
  <nowiki><main version>,<version>,<sub version></nowiki>
  <nowiki><main version>,<version>,<sub version></nowiki>


Beispiel
Example:
  version = 1.2.34
  version = 2.0.11
 
==== reshare ====
{{Optional/en}}
 
<span style="background-color:Blue;color:White;padding:0 5px;">CHANGE svn8607:04/10/2013</span>
 


==== build ====
{{Optional}}


Definiert CCcam-Build als 4-stellige Zahl.
reshare level for CCcam clients:
-1 = no resharing
  0 = resharing for direct peer only
  1 = resharing for direct peer and next level
  x = resharing for direct peer and next x level (x for number of level)
10 = (default)


Beispiel
Example:
  build = # 5678
  reshare = 1  resharing only for direct peer and next level


==== reshare ====
reshare could be defined on 2 ways:
{{Optional}}


Reshare-Level
* reader ("cccreshare")
0 = kein Resharing (default)
* user-account ("cccreshare")
1 = nur Reshare für Direct-Peer
2 = Reshare für Direct-Peer und den nächsten Level
x = Reshare für Direct-Peer und die nächsten x Level (x steht für die Zahl der Level)


Beispiel
A cards reshare value is set to the smallest value of the 2 parameters !
reshare = 1  Reshare nur für Direct-Peer


==== reshare_mode ====
==== reshare_mode ====
{{Optional}}
{{Optional/en}}
 
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
4 = reader reshares only received cards
 
Every server is shared as hop=0 and with defined reshare values.


Arten des reshare:
Service reshare only works if positive services defined: no service - no reshare!
0  =  reader reshared nur empfangene SCs für CCcam-reader
1  =  reader reshared empfangene SCs (wie=0) und definierte services
2  =  reader reshared nur definierte reader-services als virtueller SC
3  =  reader reshared nur definierte user-services als virtueller SC


==== ignorereshare ====
==== ignorereshare ====
{{Optional}}
{{Optional/en}}
 


CCcam Reshare-Einstellungen
CCcam reshare setting:
  0 = benutze die Reshare-Einstellungen des Servers (default)
  0 = use reshare setting of server (default)
  1 = benutze die Reshare-Einstellungen des Readers oder Users
  1 = use reshare setting of reader or user


Beispiel
Example:
  ignorereshare = 1  Die Reshare-Einstellungen des Readres oder Users werden benutzt
  ignorereshare = 1  reshare settings of reader or user are used


==== stealth ====
==== stealth ====
{{Optional}}
{{Optional/en}}
 
Behaviour like the original CCcam: no activate partner detection and extended OSCam-CCcam protocol, prevent other OSCam to detect the server as OSCam server.


Versteckt aktive user und das extended OSCam-Protokoll. Schützt andere OSCam-user davor, den Server als OSCam-Server zu entdecken!
  stealth  =  1  #  stealth enabled
  stealth  =  1  #  Tarnung eingeschaltet
           =  0  #  stealth disabled (default)
           =  0  #  Tarnung aus (default)


==== minimizecards ====
==== minimizecards ====
{{Optional}}
{{Optional/en}}
[[Datei:UnderConstruction.jpg|text-bottom]] '''Baustelle'''
 
''noch bearbeiten''
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 ====
==== updateinterval ====
{{Optional}}
{{Optional/en}}
[[Datei:UnderConstruction.jpg|text-bottom]] '''Baustelle'''
 
''noch bearbeiten''
 
interval to provide share list update to CCcam clients in seconds
  0 = update based on server updates, values <= 10 are invalid and will be set to 30
    = [blank] 240 (default)


==== keepconnected ====
==== keepconnected ====
{{Optional}}
{{Optional/en}}
[[Datei:UnderConstruction.jpg|text-bottom]] '''Baustelle'''
 
''noch bearbeiten''
set CCcam keepalive modus:
0 = disconnect client when max idle time is reached
1 = keep client connected (default)
 
==== recv_timeout ====
{{Optional/en}}
<span style="background-color:Green;color:White;padding:0 5px;">NEW svn7672:10/09/2012</span>
 
recv_timeout  =  milli-seconds
 
set network timeout for receiving data
default  =  2000
 
==== forward_origin_card ====
{{Optional/en}}
 
forward_origin_card = 0|1
 
1  = forward ECM request to reader holding this card, loadbalancer, fallback and caching will be disabled
0  =    default
 
==== nodeid ====
{{Optional/en}}
 
nodeid = ID
 
set CCcam node ID in hex, default:none
 
example
nodeid = 0a0b0c0d0e0f1011
<br/>
=== Pandora ===
{{OSCamConfPandoraParameter}}
 
==== pand_skip_send_dw ====
 
 
pand_skip_send_dw    =  dummy
 
 
==== pand_allowed ====
 
 
pand_aloowed        =    dummy
 
 
==== pand_usr ====
 
 
pand_user            =    dummy
 
 
==== pand_pass ====
 
 
pand_pass            =    dummy
 
 
==== pand_ecm ====
 
 
pand_ecm            =    dummy
 
 
==== pand_port ====
 
 
pand_port            =    dummy
 
 
==== pand_srvid ====
 
pand_srvid          =    dummy
 
<br/>
<br/>


=== GBox ===
=== GBox ===
<span style="background-color:Green;color:White;padding:0 5px;">NEW svn8350:02/15/2013</span>
{{OScamConfGboxParameter}}
<br/>
<br/>
'''Minimal working configuration example:'''
Let's say the gbox runs on host 192.168.1.101 and OSCam is on 192.168.1.123. In file '''cwshare.cfg''' on gbox side we have, for example, the following lines::
M: { 192.168.1.101 { A123BCDE }}
D: { 192.168.1.123 { 3820 3819 { 98AF3E25 {3 3}}}}
If oscam_gbox should connect to the original GBOX above, then you should configure OSCam as follows:
'''oscam.conf:'''
[gbox]
hostname          = 192.168.1.123
my_password      = 98AF3E25
port              = 3819
'''oscam.server:'''
[reader]
protocol          =  gbox
group            =  1
device            =  192.168.1.101,3820
password          =  A123BCDE
user              =  gbox_client_1
'''oscam.user:'''
[account]
user              =  gbox_client_1
group            =  1
<br/>
<br/>
==== hostname ====
{{required}}
hostname =  my IP or ddns
examples:
hostname = 192.168.1.120
hostname = willy.noip.org
<br/>
==== my_password ====
{{required}}
my_password  =  4 hex bytes, 8 chara
example:
my_password = 98AF3E25
<br/>
==== port ====
{{required}}
port=  define incoming UDP port(s) used by Gbox protocol
port= port#1[[,port#2]...[,port#32]]
Maximum 32 ports.
<br/>
==== proxy_card ====
{{Optional/en}}
<span style="background-color:Green;color:White;padding:0 5px;">NEU svn9721:05/15/2014</span>
proxy reader card(s) to be reshared into gbox network, default = none
proxy_card  =  <CAID><provid>[,<CAID><provid>]...
example:
proxy_card  = 18300000,0D950400,05050F00
<br/>
==== ccc_reshare ====
{{Optional/en}}
ccc_reshare  =  0|1
1 = enable cccam-cards to be reshared into gbox network, default = 0 (global setting)
[[Datei:WarningS.png|text-bottom]] '''Attention:''' peer specific reshare level to be set in oscam.server [reader] -> cccam_reshare
[[Datei:WarningS.png|text-bottom]] '''Attention:''' peer specific ident filter can be set in oscam.server [reader] -> ccc_gbx_reshare_ident
<br/>
==== my_vers ====
{{Optional/en}}
<span style="background-color:Green;color:White;padding:0 5px;">NEW svn9645:04/09/2014</span>
my_vers  =  version
set gbox version hexadecimal low byte
default =  2A
<br/>
==== my_cpu_api ====
{{Optional/en}}
<span style="background-color:Green;color:White;padding:0 5px;">NEW svn9712:05/11/2014</span>
my-cpu_api  =  byte
set gbox CPU and API byte in hexadecimal, default = 61
<br/>
==== gbox_reconnect ====
{{Optional/en}}
gbox_reconnect = time
send hello message to peers in seconds, default:180, min:60, max:300
<br/>
==== accept_remm_peer ====
{{Optional/en}}
<span style="background-color:Green;color:White;padding:0 5px;">NEW svn11399:29/01/2018</span>
Accept to send Remote EMMs to specified Server Peer-IDs
accept_remm_peer = peer#1[[,peer#2]...[,peer#8]]
<br/>
==== dis_attack_txt ====
{{Optional/en}}
<span style="background-color:Green;color:White;padding:0 5px;">NEW svn11360:16/02/2017</span>
Disable creation of attack.txt
dis_attack_txt = 0|1 - default: 0 
<br/>
==== log_hello ====
{{Optional/en}}
<span style="background-color:Green;color:White;padding:0 5px;">NEW svn11231:20/04/2016</span>
Display hello messages in debug log
log_hello = 0|1 - default: 1 
<br/>
==== ignore_peer ====
{{Optional/en}}
<span style="background-color:Green;color:White;padding:0 5px;">Updated svn11696:16/09/2021</span>
Ignore specific peer ID(s).
  ignore_peer = peer#1[[,peer#2]...[,peer#16]]
  If peer = dist 1 -> Login of peer rejected
  If peer > dist 1 -> card(s) of peer ignored
<br/>
==== block_ecm ====
{{Optional/en}}
<span style="background-color:Green;color:White;padding:0 5px;">NEW svn11290:19/12/2016</span>
Block ECM for specific peer ID(s).
  block_ecm = peer#1[[,peer#2]...[,peer#16]]
<br/>
==== tmp_dir ====
{{Optional/en}}
<span style="background-color:Green;color:White;padding:0 5px;">NEW svn9761:06/05/2014</span>
gbox tempory directory
tmp_dir =  /path/to/dir 
default: /tmp/.oscam
<br/>
==== gsms_disable ====
{{Optional/en}}
<span style="background-color:Green;color:White;padding:0 5px;">NEW svn9714:05/11/2014</span>
gsms_disable  =  0|1
0 - Gbox Short Message Service (GSMS) is enabled<br/>
1 - disable gbox short message service (GSMS)<br/>
default = 1
<br/>
<br/>
==== gbox_save_gsms ====
{{Optional/en}}
<span style="background-color:Green;color:White;padding:0 5px;">NEW svn11328:01/11/2017</span>
gbox_save_gsms=0|1
0 = don't save GSMS in configuration<br/>
1 = save all GSMS field in configuration
You need to press save button to really save it!
<br/>
<br/>
==== gbox_msg_type ====
{{Optional/en}}
<span style="background-color:Green;color:White;padding:0 5px;">NEW svn11328:01/11/2017</span>
gbox_msg_type=0|1
0 = normal text message<br/>
1 = normal text message + OSD (On Screen Display)
<br/>
<br/>
==== gbox_dest_peers ====
{{Optional/en}}
<span style="background-color:Green;color:White;padding:0 5px;">NEW svn11328:01/11/2017</span>
gbox_dest_peers = [BOXID[,BOXID]...[,BOXID]]
Maximum 16 * 2 bytes (4 hexa digits), comma-separated. For broadcast to all use FFFF.
<br/>
<br/>


[[Datei:UnderConstruction.jpg|text-bottom]] '''Baustelle'''
==== gbox_msg_txt ====
{{Optional/en}}
<span style="background-color:Green;color:White;padding:0 5px;">NEW svn11328:01/11/2017</span>


Abschnitt nur dann erforderlich, wenn GBox als Client Protokoll notwendig ist.
gbox_msg_txt=Your text to send to peers.
{{OSCamConfGBoxParameter}}


[[Datei:WarningS.png|text-bottom]] '''Build >= #4605 First commit of gbox module (for developer use only!!!).
From 6 to 127 alphanumerical characters.
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.
<br/>
Also, this commit might break other stuff too; please expect that!'''
<br/>


=== DVBapi ===
=== DVBapi ===
{{Optional}}
{{Optional/en}}
Abschnitt nur dann erforderlich, wenn OScam auch als Client zum entschlüsseln eingesetzt werden soll.
 
Section required only if OSCam will also be used as client!
   
   
{{OSCamConfDVBapiParameter}}
{{OSCamConfDVBapiParameter}}


==== enabled ====
==== enabled ====
{{Optional}}
{{Optional/en}}
Soll DVB API verwendet werden zum lokalen entschlüsseln.


Beispiel:
DVB API enabled
enabled = 0 # (deaktiviert)
enabled = 1 # (aktiviert)


Default:
Example:
  enabled = 0
  enabled = 0 # disabled (default)
enabled = 1 # enabled


==== user ====
==== user ====
{{Mandatory}}
{{required}}
Hier wird der User festgelegt dieser sollte in der oscam.user angelegt sein.
user name for DVB API client
 
Example:
Beispiel:
  user = # user1
  user = # user1


Zeile 1.072: Zeile 2.696:
  enabled = # anonymous
  enabled = # anonymous


==== ignore ====
==== au ====
{{Optional}}
{{Optional/en}}
CAID die ignoriert werden soll.
 
AU mode for dvbapi:
au = 0 # disable AU (default)
au = 1 # enable AU
 
==== pmt_mode ====
{{Optional/en}}
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
pmt_mode = 6 # use PMT server mode <span style="background-color:Green;color:White;padding:0 5px;">NEU - NEW - NOUVEAU - NUOVO  svn8680:05/06/2013</span>
 
==== request_mode ====
{{Optional/en}}
CAID request mode:
0 = try all possible CAIDs one by one (default)
1 = try all CAIDs simultaneously
 
==== listen_port ====
{{Optional/en}}
 
<span style="background-color:Green;color:White;padding:0 5px;">NEW svn9574:03/20/2014</span>
 
listen_port  =  0|1
 
TCP/IP port for SAT IP clients, filtering has to be done on client site
 
0  =  disabled (default)


Beispiel:
==== boxtype ====
  ignore = # 1234
{{required}}
ignore = # <CAID>
set boxtype, auto detection of DVB API will be aspired:
  boxtype = dbox2|dreambox|dm7000|duckbox|ufs910|ipbox|ipbox-pmt|qboxhd|coolstream|neumo|pc


Default:
Default:
  ignore =
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
 
pc is for generic pc support (currently supported on VDR with vdr-plugin-dvbapi)
 
==== cw_delay ====
{{Optional/en}}
<span style="background-color:Green;color:White;padding:0 5px;">NEW  svn4348:02/05/2012</span>
 
cw_delay = milli-seconds
 
delay of CW writing, default  =  none
 
==== delayer ====
{{Optional/en}}
<span style="background-color:Green;color:White;padding:0 5px;">NEW  svn6808:05/14/2012</span>


==== priority ====
delayer  = milli-seconds
{{Optional}}
 
CAID die priorisiert werden soll.
minimum time to write CW
 
 
==== reopenonzap ====
{{Optional/en}}
<span style="background-color:Green;color:White;padding:0 5px;">NEW  svn4348:02/05/2012</span>
 
<span style="background-color:Red;color:White;padding:0 5px;">OBSOLETE svn9072:12/08/2013</span>
 
reopenonzap  =  0|1
            =  1 reopen demux devices in each channel switching,
            =  0 default
 
==== decodeforever ====
{{Optional/en}}
<span style="background-color:Green;color:White;padding:0 5px;">NEW  svn7653:10/08/2012</span>
 
<span style="background-color:Red;color:White;padding:0 5px;">OBSOLETE svn8683:06/06/2013</span>
 
decodeforever  =  0|1
 
1  =  trying to decode on all CAIDs
0  =  default


Beispiel:
==== ecminfo_type ====
priority = # 1234:000000
{{Optional/en}}
  priority = # <CAID>:<provider ID>
<span style="background-color:Green;color:White;padding:0 5px;">NEW svn10722:06/13/15</span>


Default:
Define the type of ecm.info file to create, ecminfo_type = 0|1|2|3|4|5
  priority = Lokale CAID's werden priorisiert


==== au ====
0 = default oscam syntax
{{Optional}}
1 = default oscam syntax with ecmtime in ms instead of s
Autoupdate für DVB API aktivieren.
2 = wicardd
Abhängig vom verwendeten User aus der oscam.user und dessen au Einstellungen.
3 = mgcamd
4 = cccam
5 = camd3


Beispiel:
==== read_sdt ====
au = 1 # (aktiviert)
{{Optional/en}}
au = 0 # (deaktiviert)
<span style="background-color:Green;color:White;padding:0 5px;">NEW  svn10766:06/15/15</span>


Default:
If it is not yet available, this option automatically add entries in your oscam.srvid2 (or oscam.srvid) and in your oscam.provid files. You need to stay '''more than 30 seconds''' on a channel for the auto-detect to start. So both channel name and provider name are retrieved. If entries already exist they are not changed nor updated, so you keep full control on the content of both files, only missing entries are added.
au = 0


==== pmt_mode ====
read_sdt  = 0|1|2
{{Optional}}
{{UnderConstruction?}}
Bitte ergänzen.


Beispiel:
  0 = disabled (default)
  pmt_mode = 0 # (verwendet camd.socket und PMT Datei)
  1 = on, do not save FTA channels
  pmt_mode = 1 # (deaktiviert PMT Datei)
  2 =  on, save FTA channels
  pmt_mode = 2 # (deaktiviert camd.socket)
pmt_mode = 3 # (liest PMT nur beim Start ein)
  pmt_mode = 4 # (Verwendung der libioctl.so von _network - UFS912/922)


Default:
==== write_sdt_prov ====
pmt_mode = 0
{{Optional/en}}
<span style="background-color:Green;color:White;padding:0 5px;">NEW  svn10841:06/27/15</span>


==== boxtype ====
First enable the read_sdt parameter then you can specify if the provider name is saved or not into the oscam.srvid2 or oscam.srvid file. This is not mandatory since the provider name is now retrieved automatically from the oscam.provid file.
{{Mandatory}}
Verwendete Box auf der DVB API aktiviert wurde.


Beispiel:
write_sdt_prov 0|1
  boxtype = ufs910
  boxtype = dbox2|dreambox|dm7000|duckbox|ufs910|ipbox|ipbox-pmt


Default:
0 = off, do not write provider name into oscam.srvid/2 (default)
boxtype = dreambox
1 = on, write provider name into oscam.srvid/2


=== Anticasc ===
=== Anticasc ===
Abschnitt nur dann erforderlich, wenn Anticascading als Schutz vor unbefugtem Weiterreichen von Cardsharing angewendet werden soll.
Section is needed if anticascading will be used to protect against unauthorized forwarding CardSharing.  
{{OSCamConfAnticascParameter}}
{{OSCamConfAnticascParameter}}


==== enabled ====
==== enabled ====
{{Mandatory}}
{{required}}


Hiermit wird Anticascading eingeschaltet.
enabled anti-cascading:
  enabled = 1 # eingeschaltet
  enabled = 1 # enabled
         = 0 # ausgeschaltet (default)
         = 0 # disabled (default)


==== numusers ====
==== numusers ====
{{Optional}}
{{Optional/en}}
 
anti-cascading: user per account (number)
Zahl der User, die je Account zugelassen sind.
  numusers = 0 # anticascading disabled (default)
  numusers = 1 # Es ist ein User je Account zugelassen
          = 1 # cascading for 1 user allowed ==> (1*100+80)/(<span style="color:Blue;padding:0;5px"><B>10</B></span>*100/60) = 11 ecms allowed per minute
           = # Anticascading ausgeschaltet (default)
           = 2 # cascading for 2 users allowed ==> (2*100+80)/(<span style="color:Blue;padding:0;5px"><B>10</B></span>*100/60) = 17 ecms allowed per minute <br>
    <span style="color:Blue;padding:0;5px"><B>10</B></span> = number you have put in oscam.ac. Default value is 10


==== sampletime ====
==== sampletime ====
{{Optional}}
{{Optional/en}}
duration of sample in minutes:
sampletime = 5  # duration 5 minutes
            =    # [blank] duration 2 minutes (default)


Zeit in Minuten für das Sammeln der Anfragen
  Ex: numusers = 1 ==> 11 ecms * 5 minutes ==> 55 ecms allowed in 5 minutes
  sampletime = 5 # Zeitraum von 5 Minuten
    numusers = 2 ==> 17 ecms * 5 minutes ==> 85 ecms allowed in 5 minutes
            =   # [blank] Default-Wert 2 Minuten


==== samples ====
==== samples ====
{{Optional}}
{{Optional/en}}


Zahl der Anfragen über dem Limit
number of additionnal ecms allowed (possible values between 2 and 10)
  samples = 15 # Limit bei 15 Anfragen
  samples = 7 # 7 additional ecms allowed
         =     # [blank] Default-Wert 10 Minuten
         =   # [blank] 10 additional ecms allowed (default)


==== penalty ====
==== penalty ====
{{Optional}}
{{Optional/en}}
Level of the penalty if the user exceeds the result shown in Ex on Sampletime
0 = only logging (default)
1 = send fake DWs
2 = ban user temporary
3 = send real DWs with delay ([[OSCam/en/Config/oscam.conf#fakedelay|fakedelay]])
 
penalty can be overwritten per user in oscam.user
 
==== aclogfile ====
{{Optional/en}}
file for anti-cascading logging
aclogfile =
          =  # [blank] no logfile (default)
 
==== fakedelay ====
{{Optional/en}}
 
fake delay time in milli seconds (possible values between 100 and 3000)
fakedelay =  500  # delay 500 milli seconds
          =      # [blank] 1000 milli seconds (default)
 
==== denysamples ====
{{Optional/en}}
 
How many samples should be penalized?
denysamples = 10  # 10 samples will be penalized
            =    # [blank] 8 Samples will penalized (default)
<br/>
 
==== acosc_enabled ====
{{Optional/en}}
<span style="background-color:Green;color:White;padding:0 5px;">NEW svn9761:06/05/14</span>
<br/>
acosc_enabled  =  0|1
1  =  enable anticascading oder SIDs count
0  =  default
<br/>
==== acosc_max_active_sids ====
{{Optional/en}}
<span style="background-color:Green;color:White;padding:0 5px;">NEW  svn9761:06/05/14</span>
 
acosc_max_active_sids  =  count
 
maximum activ SIDs with anticascading over SIDs count
 
0  =  unlimited (default)
can be overwritten per user in oscam.user
 
<br/>
 
==== acosc_zap_limit ====
{{Optional/en}}
<span style="background-color:Green;color:White;padding:0 5px;">NEW svn9761:06/05/14</span>
 
acosc_zap_limit =  count
 
zap limit for anticascading over SIDs count
 
0  =  unlimited (default)
can be overwritten per user in oscam.user
<br/>
 
==== acosc_penalty ====
{{Optional/en}}
<span style="background-color:Green;color:White;padding:0 5px;">NEW svn9761:06/05/14</span>
 
acosc_penalty  =  0|1|2|3
 
level of penalty with anticascading over SIDs count:
 
0 = only logging (default)
1 = send fake DWs
2 = ban user temporary
3 = send real DWs with delay
can be overwritten per user in oscam.user
<br/>


Strafe für den Sünder
==== acosc_penalty_duration ====
0 = Es wird nur geloggt (default)
{{Optional/en}}
1 = Es werden Fake-CW's gesendet
<span style="background-color:Green;color:White;padding:0 5px;">NEW svn9761:06/05/14</span>
2 = Der User wird vorübergehend getrennt


Die Strafe kann in der oscam.user überschrieben werden!
acosc_penalty_duration  =  seconds


Beispiel
penalty duration for anticascading over SIDs count:
penalty = 1  # Es werden Fake-CW's gesendet


==== aclogfile ====
= unlimited  (default)
{{Optional}}
can be overwritten per user in oscam.user
<br/>


Dateiname für das AC-Log
==== acosc_delay ====
aclogfile =
{{Optional/en}}
          =   # [blank] Kein Logfile (default)
<span style="background-color:Green;color:White;padding:0 5px;">NEW svn9761:06/05/14</span>


==== fakedelay ====
acosc_delay  = milliseconds
{{Optional}}


Fake-Verzögerung in Millisekunden
delay for anticascading over SIDs count


Beispiel
  = unlimites (default)
  fakedelay 500 # Verzögerung von 500 Millisekunden
  can be overwritten per user in oscam.user
          =      # [blank] Default-Wert 1000 Millisekunden
<br/>
   


==== denysamples ====
{{Optional}}


Wieviel Samples sollen bestraft werden?


Beispiel
denysamples = 10  # Ab 10 Samples wird bestraft
            =    # [blank] Default-Wert 8 Samples




{{OSCamTranslatedLinks}}
{{OSCamTranslatedLinks}}

Aktuelle Version vom 16. September 2021, 11:53 Uhr

OSCam Übersicht OSCam Home OSCam Accueil OSCam Home

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

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

nice

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

Log

Format:

CAID&ProviderID/ECMPID/ServiceID/length:checksum

Debug-Level:

0 = no debugging (default) 
1 = detailed error messages 
2 = ATR parsing info, ECM dumps, CW dumps 
4 = traffic from/to the reader 
8 = traffic from/to the clients 
16 = traffic to the reader-device on IFD layer
32 = traffic to the reader-device on I/O layer 
64 = EMM logging 
128 = DVB API logging 
256 = load balacing logging 
512 = cache exchange logging 
1024 = client ECM logging 
65535 = debug all 
initial_debuglevel
parameter is optional

NEW svn10705:06/11/15

Set the debuglevel on startup.

Example:

initial_debuglevel = 8

Default:

initial_debuglevel = 0
pidfile
parameter is optional

NEW svn:8176/01/24/2013

pidfile = set pidfile, [blank] none (default)

Change PID file name an path. If default = oscam.pid in /tmp

Example:

pidfile = /var/run/oscam.pid
logfile
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
ecmfmt
parameter is optional

NEW svn6649+6653:05/01/2012

CHANGE svn8831:08/11/2013

CHANGE svn11008-11011:09/28/15

CHANGE svn11273:08/15/16

ecmfmt = format

define ECM log format, default:c&p/i/s/l:h

possible variables:

c = CAID
d = PID
e = CSP hash 
g = ID of origin gbox peer 
h = checksum
i = Channel ID
j = distance of gbox and CCcam hops 
l = length 
o = ONID
p = provider ID
s = service ID
t = tier ID , this ID will be replaced with the tier-description from oscam.tiers (if found)
w = CW
y = payload (short, 3 bytes)
Y = payload (long, 6 bytes)


use a value as prefix to hide variable with this value, control characters will be escaped by "\"

example:

ecmfmt = c&0p/i/d/s/l:h.e_w HOP:j
(hide provider ID if 0)
nds_swap_cw
parameter is optional

NEW svn:10003/11/15/2014

OBSOLETE svn10048:11/30/2014

nds_swap_cw = 0|

0  =  NDS Videoguard CWs will be dropped, if CWs do not have an odd an even sample (default)
1  =  disabled
loghistorysize
parameter is optional

loghistorysize = bytes

size of log message history in web interface or monitor

   0    =  disabled
[blank] =  4096  (default)
CACHE EXCHANGE LOGGING

NEW svn6929:05/24/2012

CACHE EXCHANGE LOGGING reader stages

1 = cacheex (=1) reader (C) 
2 = local SCs (L)             #stage 2 is used only if preferlocalcards = 1 was activated in [global] section. 
3 = other reader / proxies (P) 
4 = fallback reader (F) 

logging format

stage/used/chosen/possible

example

P/2/2/2 or L/2/4/4
maxlogsize
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)
logduplicatelines
parameter is optional

NEW svn:8290/02/05/2013

logduplicatelines = 0|1

1 = disable detection of duplicate lines in log file
0 = enable detection of duplicate lines in logfile = default
disablelog
parameter is optional

switches logfile off

1 = no log 
0 = log 

Example:

disablelog = 1   # no log 

Default:

disablelog = 0   # log
cwlogdir
parameter is optional


A path for cw logging can be configured here. The path is relative to the work directory and must exist. Otherwise no logs are created and no errors are reported.

CWs (control words) are the answers of the card which decrypts a certain channel for some seconds before the next cw is transmitted. The CW log file can be used for delayed decoding of this channel. This is also called offline decoding. Watch this [2]

Oscam creates a new *.cwl file for each channel and each day. The file name contains the date, service ID and service name, e.g. 110808_I000B_Sky_Cinema_+1.cwl with this contents:

<syntaxhighlight lang="bash">

  1. OSCam cardserver v0.99.4 - http://streamboard.gmc.to:8001/oscam/wiki
  2. control word log file for use with tsdec offline decrypter
  3. DATE 2011-08-08, TIME 23:49:10, TZ CEST
  4. CAID 0x1702, SID 0x000B, SERVICE "Sky_Cinema_+1"

1 9E E3 BB 3C A4 C3 BE 25 # 23:49:10 0 D0 24 B3 A7 95 82 3B 52 # 23:49:17 1 A9 76 35 54 37 38 F3 62 # 23:49:23 0 55 70 87 4C 22 26 C4 0C # 23:49:30 1 F0 16 22 28 36 3A 03 73 # 23:49:38 0 5D 83 44 24 8F C7 5D B3 # 23:49:44 </syntaxhighlight>

All cws are logged if at least one user watches the channel. Please choose a path with enough space, since per day and channel some 10KB of data are created. A script that moves/deletes the log files regularly is recommended.

Example:

cwlogdir = /var/log/

Default:

cwlogdir =     # [blank] no path for cw-log, logging disabled
emmlogdir
parameter is optional

Setting a path for emm-log. You can define with the "saveemm-*"-Parameters in oscam.server which EMMs should be logged.

Example:

emmlogdir = /var/log/

Default:

emmlogdir =   # [blank] the config folder will be used for emm logging
usrfile
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
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
usrfileflag
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
saveinithistory
parameter is optional

OBSOLETE svn7128:07/02/2012

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
mailfile
parameter is optional

mailfile = file

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

cacheex_mode1_delay
parameter is optional

NEW svn:10050/11/30/2014

cacheex_mode1_delay = CAID1:time,[CAID2:time]...

delay in millisencons for asking cache exchange mode 1 readers, default: none

disablemail
parameter is optional

disablemail = 0|1

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

sysloghost
parameter is optional

NEW svn10703:06/11/15

If set remote syslog server will be activated. Messages will be sent to this IPv4 address. If not set remote syslog server not work.

Example:

sysloghost = 192.168.1.167
syslogport
parameter is optional

NEW svn10703:06/11/15

If set sysloghost remote syslog server will be activated. Messages will be sent to this port. If not set port 514 is used as default.

Example:

syslogport = 515

Default:

syslogport = 514

Reader

enableled
parameter is optional

NEW svn6285:01/23/2012

LED-Support

enableled = 0|1|2

0  =  LED support disabled (default)
1  =  LED support enabled for routers
2  =  LED support enabled for Qbox HD
serialreadertimeout
parameter is optional

OBSOLETE svn8541:03/13/2013

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
waitforcards
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
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
parameter is optional

CHANGE svn9605:03/29/2014

try decoding on local cards first

Example:

preferlocalcards = 0  # local cards are used like remote reader
preferlocalcards = 1  # prefer CacheEx sources 
preferlocalcards = 2  # prefer local cards

Default:

preferlocalcards = 1  # prefer CacheEx sources
readerrestartseconds
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
block_same_ip
parameter is optional

NEW svn7215:07/27/2012

block_same_ip = 0|1

1 = reject looping ECM's from clients to reader with the same ip address, default = 1
0 = no reject
block_same_name
parameter is optional

NEW svn7215:07/27/2012

block_same_name = 0|1

1 = reject looping ECM's from clients to reader with the same name, default = 1
0 = no reject

Cache

cachedelay
parameter is optional

OBSOLETE svn8358:16/02/2013 move to [cache] delay

Value to delay cached requests

Example:

cachedelay = 300

Default:

cachedelay = 0
max_cache_time
parameter is optional

OBSOLETE svn8358:16/02/2013 move to [cache] max_time

max_cache_time = seconds, default: 15

maximum time CWs resist in cache after 1st client request, the time must be 2 seconds higher than the parameter clienttimeout.

max_cache_count
parameter is optional

OBSOLETE svn8358:16/02/2013 move to [cache] max_count

max_cache_count = count, default 1000

maximum CWs in cache

cacheexwaittime
parameter is optional

OBSOLETE svn8358:16/02/2013

cacheexwaittime = delay

maximum wait time for a cache entry in milli seconds, default:50

cacheexenablestats
parameter is optional

OBSOLETE svn8358:16/02/2013 move to [cache]

cacheexenablestats = 0|1

1 = enable statistics for cach exchange mode
0 = default

Warning: Please consider memory consumption!

Client

clienttimeout
parameter is optional

value in milli-seconds for client process to wait for key

Examples:

clienttimeout = 10000  # after 10 seconds timeout
clienttimeout = 10     # timeout after 10 milli-seconds! (see Tip below)
clienttimeout = 8      # timeout after 8000 milli-seconds (= 8 seconds), see Tip below

Default:

clienttimeout = 5000   # timeout after 5000 milli-seconds (=5 seconds)

Attention: Values < 10 (so 1 to 9) are multiplicated with 1000, so a "5" results in 5000 ms.

clientmaxidle
parameter is optional

value for client process being idle before disconnect in seconds

Example:

clientmaxidle = 200   # Disconnect after 200 seconds
              = 0     # idle disconnect disabled

Default:

clientmaxidle = 120   # Disconnect after 120 seconds
suppresscmd08
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:: Streamboard-Thread

fallbacktimeout

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

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


fallbacktimeout_percaid

parameter is optional

NEW svn:8896/09/04/2013

fallbacktimeout_percaid = milliseconds

time falling back to CAID restricted fallback reader, default: 2500


sleep

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

serverip

parameter is optional

Bind service to specified IP-address

Example:

serverip = 192.168.178.1

Default:

serverip =

OSCam listen to all IP's

bindwait

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

parameter is optional

network priority - This sets the value of SO_PRIORITY on network connections. Basically this leads to setting the TOS fields of the sent IP packages so that QoS can be better used.

Beispiel:

netprio = 1  # Priority 1

Default:

netprio = 0  # system given

resolvegethostbyname

parameter is optional

set mode for DNS resolving: These are different libc calls to resolve dns names and some older systems have problems with the newer implementation getadressinfo (getadressinfo is also threadsafe whereas gethostbyname is not and thus it has some locks around) or have stripped them from their images (dbox2 was such a candidate I think) even though it is available at compile time.

0 = getadressinfo (default)
1 = gethostbyname

Example:

resolvegethostbyname = 1 # gethostbyname

Default:

resolvegethostbyname = 0 # adressinfo system given

failbantime

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)

failbancount

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!

dropdups

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

unlockparental

parameter is optional

CHANGE svn7289:08/27/2012

Only Seca and Viaccess

unlock parental mode option to disable pin code request for adult movie. In order to work properly, this option may required that you define the card PIN code in your card reader configuration.

Example:

unlockparental = 1  # parental lock mode disabled

Default:

unlockparental = 0  # parental lock mode enabled

double_check

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

double_check_caid

Parameter ist optional

NEW svn:7237/08/05/2012

double_check_caid = [CAID1|first two digits of CAID1],[CAID2|first two digits of CAID2]...

ECM will be send to two or more readers with the same SC and the CWs will be verified against each other for defined CAID or first two bytes of CAID, lb_nbest_readers must be set to 2 or higher, default:none


Loadbalancer

lb_mode
parameter is optional

loadbalance mode

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
lb_mode = 10 LB is switched off, but statistics are build


Default:

lb_mode = 0 # disabled
lb_save
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
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
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
parameter is optional

OBSOLETE svn8642:05/10/2013

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
parameter is optional

CHANGE svn 5893:08/19/2011

Set count of best readers per CAIDs for loadbalancing, wildcard CAIDs with two-digit CAIDs possible


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

example:

lb_nbest_percaid = 0100:4,0200:3,03:2,04:1 
(wildcard CAIDs 03xx and 04xx)
lb_reopen_invalid
parameter is optional

NEW svn:9885:09/30/2014

lb_reopen_invalid = 0|1

0  =  E_INVALID wiil be blocked until statistics has been cleaned
1  =  default
lb_force_reopen_always
parameter is optional

NEW svn:9885:09/30/2014

lb_force_reopenalways = 0|1

1   =  force reopening immidiatly all failing readers if no matching was found
0   =  default
lb_min_ecmcount
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
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
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
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
parameter is optional

Filenanme for saving loadbalancing statistics

default   =   /tmp/.oscam/stat
lb_stat_cleanup
parameter is optional

hours after the loadbalancing statistics will be deleted

default = 336
lb_use_locking
parameter is optional

OBSOLETE svn6166:12/28/2011

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
parameter is optional

CHANGE svn:5754:07/31/2011

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

loadbalancing retry limit time per CAID in milliseconds, wilcard CAIDs with 2-digit Caids possible

default = none

example:

lb_retrylimits = 12:0100,34:0200,5678:0300 
	          (wildcard CAIDs 12xx and 34xx)
lb_noproviderforcaid
parameter is optional

CHANGE svn 5758:08/01/2011

lb_noproviderforcaid = CAID1[,CAID2]...

ignore provider information CAIDs to reduce statistic date, wildcard CAIDs with two-digit CAIDs possible

example:

lb_noproviderforcaid = 12,34,5678
		        (wildcard CAIDs 12xx and 34xx)

default = none

lb_auto_timeout
parameter is optional

NEW svn 7564:10/02/2012

lb_auto_timeout = 0|1

lb_auto_timeout  = 1  #  enable automatic timeout based on load balancing statistics
                 = 0  #  default
lb_auto_timeout_p
parameter is optional

NEW svn 7564:10/02/2012

lb_auto_timeout_p = percent

percent added to average time as timeout time default = 30

lb_auto_timeout_t
parameter is optional

NEW svn 7564:10/02/2012

lb_auto_timeout_t = milli seconds

minimal time added to average time as timeout time default = 300

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

Attention: Betacrypt definition in oscam.user with betatunnel will be prefered User-Betatunnel!

lb_auto_betatunnel_mode
parameter is optional

NEW svn 7784:10/22/2012

lb_auto_betatunnel_mode = 0|1|2...

set mode for automatic Betacrypt tunneling

0 = CAID 18XX tunneling to CAID 17X2 only (default)
1 = CAID 18XX tunneling to CAID 17X2 and CAID 17X2 tunneling to CAID 18XX (CAID 1833/1801) 
2 = CAID 18XX tunneling to CAID 17X2 and CAID 17X2 tunneling to CAID 18XX (CAID 1833/1834) 
3 = CAID 18XX tunneling to CAID 17X2 and CAID 17X2 tunneling to CAID 18XX (CAID 1833/1835) 
4 = CAID 17X2 tunneling to CAID 18XX (CAID 1833/1801 only) 
5 = CAID 17X2 tunneling to CAID 18XX (CAID 1833/1834 only) 
6 = CAID 17X2 tunneling to CAID 18XX (CAID 1833/1835 only) 


lb_auto_betatunnel_prefer_beta
parameter is optional

NEW svn6045:11/27/2011

CHANGE svn 7768:10/21/2012

lb_auto_betatunnel_prefer_beta = number

Hier kann der Schwerpunkt für die automatische Auswahl von Betacrypt/Nagravision gewählt werden.

    0  =  disabled (default
    1  =  always Betacrypt
  105  =  represents the middle
  200  =  always Nagravision

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

parameter is optional

UDP port for monitor

port = 0  # monitor disabled
     =    # port number

Beispiel:

port = 24480  # monitor on, port = 24480

serverip

parameter is optional

bind service to specified IP address

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

nocrypt

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

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 switched from "active" to "on" (default).

monlevel

parameter is optional

monitor-level

0 = no access to monitor (default)
1 = only server and own procs
2 = all procs, but viewing only
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!

appendchaninfo

parameter is optional

OBSOLETE svn8546:03/13/2013

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  =

enablelcd

parameter is optional

NEW svn6285:01/23/2012

enablelcd = 0|1

0   =   default
1   =   enable LCD

lcd_outputpath

parameter is optional

Path for LCD output

Default:

lcd_outputpath =  [blank]  /tmp

lcd_hideidle

parameter is optional

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


lcd_writeinterval

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

File format to send EMMs via the webinterface

(by Bit)

Attention

  • File has to be in TXT format.
  • The EMM-file should contain each PRE-CAM EMM in a new line.
  • EMMs should be in HEX representation.
    • Example: AABBCCDD...
  • Spaces and tabs between the bytes are allowed:
    • AA BB CC DD...
  • The HEX representation of each EMM's byte can be represented by upper or lower case - even mixed is allowed:
    • AA aa Aa aA...
  • Other chars and comments are not allowed.

httpport

Parameter ist optional

default is 8888 if no httpport is set 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

httpcert

parameter is optional

file for http SSL certificate

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

httpforcesslv3

parameter is optional

NEW svn:6321/01/30/2012

httpforcesslv3 = 0|1

example

httpforcesslv3  =  0  none (default)
                =  1  force using SSLV3

httpuser

parameter is optional

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

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

httppwd

parameter is optional

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!

http_prepend_embedded_css

parameter is optional

NEW svn6797:05/13/2012 CHANGE svn6625:05/15/2012


http_prepend_embedded_css  =  0 | 1
http_prepend_embedded_css  =  0  # Do not add the content of the embedded CSS before the content of the custom CSS (default)
                              1  # embedded CSS will be added before external custom CSS (specified by the httpcss parameter)

This parameter can be used to override the embedded CSS with custom styles. To see the current CSS styles use the url: http://url_to_oscam_webif/site.css

httpcss

parameter is optional

path for external CSS file

For webinterface different styles are available. Put custom CSS files (ending with .css extension) in the oscam config directory to managed your custom styles with WebIf.

Example

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

To see the current CSS style, use the url: http://url_to_oscam_webif/site.css

Styles you find here: Streamboard-Thread

httptpl

parameter is optional

CHANGE svn 7083:06/25/2012

path for external templates and picons

httptpl =
        =  # [blank] No external templates

path for external templates and picons, multiple simultaneously templates and picons are possible by creat‐ ing sub folders (maximum length of 32 alphanumeric characters), sub folders naming is corresponding to sub folder in URL, default:none

example

httptpl = /this/is/my/path 
	 
folder with multiple templates: 
/this/is/my/path/template
/this/is/my/path/template2 
 
valid URLs: 
http://host:port/template1 
http://host:port/template2



httpoverwritebakfile

parameter is optional

NEW svn9858:09/21/2014

httpoverwritebakfile = 0|1

1  =  overwrite backup configurations files (*.bak)
0  =  default




httplocale

parameter is optional

NEW svn9828:08/15/2014

httplocale = environment

set the "locale environment"

default = blank [none]

look here::

http://en.wikipedia.org/wiki/locale

httpjscript

parameter is optional

NEW svn6806:05/14/2012

httpjscript = path

path for oscam.js javascript, def: none


httprefresh

parameter is optional

status refresh in seconds

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

httppollrefresh

parameter is optional

refreshtime for polling in seconds

httppollrefresh = 60  # polling will be refreshed after 60 seconds
                =     # [blank|0] no refreshing poll

httpshowpicons

parameter is optional

NEW svn6648:05/01/2012

httpshowpicons = 0| 1

httpshowpicons   =   1  # show picons in userlist
                     0  # default

If this parameter is enables, then a new column is added to the USERS tab which display the picons of the last watched channels by active users. The folder where the picons must be configured in the httppiconpath.

Possible format are:

IC_caid_srvid.tpl
IC_caid_provid_srvid.tpl
IC_servicename.tpl

added support for picons by channel name
syntax is:
take service-name from oscam.srvid,
replace all upper-case letters with lower case,
replace * with star,
replace & with and,
replace + with plus,
remove everything but a-z and 0-9,
if the result is name, the picon file will be IC_name.tpl
for example:
service-name "BBC-ONE +HD"
picon file: "IC_bbconeplushd.tpl"
if service-name ends with hd, and picon is not found, fallback to name without hd, example:
picon file: "IC_bbconeplushd.tpl"
-> not found, search for:
picon file: "IC_bbconeplus.tpl"

httphideidleclients

parameter is optional

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

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

hideclient_to

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

httphidetype

parameter is optional

NEW svn8937:09/27/2013

httphidetype = type[type]...

type = letter which defines types to hide in web interface status page (see Typ column), default: none. s = server, h = http, m = monitor, r = reader, p = proxy, x = cacheex, c = client

 httphidetype = sh  #hide server- and http-type columns
 httphidetype = [blank]  # hide none (default)

httpscript

parameter is optional

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

httpscript =    # path
           =    # [blank] no path

You can run script file from script.html (SCRIPTS item in main menu)
If the script file contains the "echo" will be it displayed in a Web interface.

If the file can not run displays

[Error]: Script "name_of_script.sh" not executable!

If does not exist script displays

[Error]: Script "name_of_script.sh" not found!

(Works If you delete the script and refresh page)

httpallowed

parameter is required

CHANGE svn8733:06/27/2013

CHANGE svn8842:08/17/2013

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!

With ::1 OSCam decides to resolve 'localhost' to IPv6!

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


Example

httpallowed = 127.0.0.1,192.168.0.0-192.168.255.255     # Host and range 192.168.0 are allowed
            = 127.0.0.1,192.168.0.0-192.168.255.255,::1 # Host and range 192.168.0 are allowed
                                                          resolving to IPv6

default values

127.0.0.1,192.168.0.0-192.168.255.255,10.0.0.0-10.255.255.255,::1

httpdyndns

parameter is optional

CHANGE svn6558:03/21/12

http web interface connections allowed

httpdyndns = hostname [,hostnahme][,hostname]

Example

httpdyndns = host1.example.com,host2.example.com

httpsavefullcfg

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

parameter is optional

read only modus for web interface

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


httppiconpath

parameter is optional

NEW svn:9463/01/28/2014

httppiconpath = path

path to picons, default [blank] none

httphelplang

parameter is required

set right language for wiki entry point

de|en|fr <available wiki languages>

httposcamlabel

parameter is optional

NEW svn9463:01/28/2014

httposcamlabel = text

set individual label in web interface header, default: OSCam

http_status_log

parameter is optional

http_status_log = 0|1

1 = display log in Status screen
0 = do not show  (default)

httpshowreaderinfo

parameter is optional

httpshowreaderinfo = 0|1

1 = display readers informations in Status screen
0 = do not show  (default)

httpshowecminfo

parameter is optional

httpshowecminfo = 0|1

1 = display readers and users ECM informations in Status screen
0 = do not show  (default)

httpshowuserinfo

parameter is optional

httpshowuserinfo = 0|1

1 = display users informations in Status screen
0 = do not show  (default)

httpshowcacheexinfo

parameter is optional

httpshowcacheexinfo = 0|1

1 = display CacheEX informations in Status screen
0 = do not show  (default)

httpshowmeminfo

parameter is optional

httpshowmeminfo = 0|1

1 = display memory usage informations in Status screen
0 = do not show  (default)

httpshowloadinfo

parameter is optional

httpshowloadinfo = 0|1

1 = display load average and CPU usage informations in Status screen
0 = do not show  (default)



[cache]

NEW since svn 8358:02/16/2013

delay                    =   # NEU - NEW - NOUVEAU - NUOVO  svn8358:02/16/2013
max_time                 =   # NEU - NEW - NOUVEAU - NUOVO  svn8358:02/16/2013
max_hit_time             =   # NEU - NEW - NOUVEAU - NUOVO  svn8910:09/10/2013
max_count                =   # VERALTET - OBSOLETE - OBSOLÈTE - ANTIQUATO  svn8907:09/09/2013
wait_time                =   # NEU - NEW - NOUVEAU - NUOVO  svn8358:02/16/2013
cacheex_cw_check         =   # NEU - NEW - NOUVEAU - NUOVO
cwcycle_allowbadfromffb  =   # NEU - NEW - NOUVEAU - NUOVO  svn8930:09/25/2013
cacheexenablestats       =   # NEU - NEW - NOUVEAU - NUOVO  svn8358:02/16/2013
csp_port                 =   # NEU - NEW - NOUVEAU - NUOVO  svn8358:02/16/2013
csp_serverip             =   # NEU - NEW - NOUVEAU - NUOVO  svn8358:02/16/2013
csp_ecm_filter           =   # NEU - NEW - NOUVEAU - NUOVO  svn8358:02/16/2013
csp_allow_request        =   # NEU - NEW - NOUVEAU - NUOVO  svn8358:02/16/2013
cwcycle_check_enable     =   # NEU - NEW - NOUVEAU - NUOVO  svn8358:02/16/2013
cwcycle_check_caid       =   # NEU - NEW - NOUVEAU - NUOVO  svn8358:02/16/2013
cwcycle_maxlist          =   # NEU - NEW - NOUVEAU - NUOVO  svn8358:02/16/2013
cwcycle_keeptime         =   # NEU - NEW - NOUVEAU - NUOVO  svn8358:02/16/2013
cwcycle_onbad            =   # NEU - NEW - NOUVEAU - NUOVO  svn8358:02/16/2013
cwcycle_dropold          =   # NEU - NEW - NOUVEAU - NUOVO  svn8358:02/16/2013
cwcycle_sensitive        =   # NEU - NEW - NOUVEAU - NUOVO  svn8358:03/07/2013
cwcycle_usecwcfromce     =   # NEU - NEW - NOUVEAU - NUOVO  svn9038:11/18/2013
use_until_ctimeout       =   # NEU - NEW - NOUVEAU - NUOVO  svn9038:02/03/2014

cw_cache - info
cache of CWs which are saved to detect/drop old CWs arriving via CacheEx

to enable this feature, you have to define cw_cache_size or cw_cache_memory to set the cache-size and cw_cache_settings to define for what CWs which action is taken.

if cw_cache_size or cw_cache_memory is defined, the default is, that incoming known CWs older then 15 seconds are dropped, cause they are useless.


ecm_cache - info

cache of ECMs which are saved to detect/drop old ECMs

if you are facing problems with getting old ECMs, with this feature you are able to drop known ECMs to enable this feature, you have to define ecm_cache_size or ecm_cache_memory to set the cache-size


delay

parameter is optional

NEW svn8358:02/16/2013

Value to delay cached requests

Example:

delay = 300

Default:

delay = 0

max_time

parameter is optional

NEW svn8358:02/16/2013

max_cache_time = seconds, default: 15

maximum time CWs resist in cache after 1st client request, the time must be 2 seconds higher than the parameter clienttimeout.


cw_cache_settings

parameter is optional

NEW svn11588:08/23/20

cw_cache_settings = caid[&mask][@provid][$servid]:mode:timediff_old_cw[,n]
                  = [blank] disabled
  • mode:
1 = just write logs @ log-level 8192
2 = drop CWs which match this rule & write logs @ log-level 8192
  • timediff_old_cw:
time = time in miliseconds after a known CW is detected/dropped

Example:

cw_cache_settings = 0:2:1500,BEEF@012345:2:620,1337:1:170
  • for all CWs not matching any other rule => drop if the CW is known for more then 1500ms
  • drop CWs of caid BEEF with provid 012345, if they are known for more then 620ms
  • log CWs of caid 1337 with all provids, if they are known for more then 170ms


cw_cache_size

parameter is optional

NEW svn11588:08/23/20

cw_cache_size = count of max. CWs for cw_cache
              = 0 (default)


cw_cache_memory

parameter is optional

NEW svn11588:08/23/20

cw_cache_memory = size (in MB) of the cw_cache
                = 0 (default)


ecm_cache_size

parameter is optional

NEW svn11588:08/23/20

ecm_cache_size = count of max. ECMs for ecm_cache
               = 0 (default)


ecm_cache_memory

parameter is optional

NEW svn11588:08/23/20

ecm_cache_memory = size (in MB) of the ecm_cache
                 = 0 (default)


ecm_cache_droptime

parameter is optional

NEW svn11588:08/23/20

ecm_cache_droptime = time in seconds after a known ECM is dropped with return-code E_INVALID
                   = 0 (default)


max_hit_time

parameter is optional

NEW svn8910:09/10/2013

max_hit_time = in seconds

maximum time for cache exchange hits resists in cach for evaluating wait_time, default: 15


wait_time

parameter is optional

NEW svn 6142:12/25/2011

CHANGE svn 8077:01/06/2013

wait_time  =  milli-seconds
           =  [blank] none (default)

wait time for cache exchange (mode 2 & 3 only!)and Cardserverproxy before sending ECM to reader or proxy

Example:

0:50:250,0200@00009X:50:150:950,0500@000001:150:1602&ffdf:1200

waittime_block_start

parameter is optional

NEW svn11588:08/23/20

waittime_block_start = number of (dyn)wait_time timeouts to start blocking the use of (dyn)wait_time for this service(caid:provid:srvid)
                     = 0 (default)


waittime_block_time

parameter is optional

NEW svn11588:08/23/20

waittime_block_time = seconds the (dyn)wait_time isn't used and ECMs are forwarded to the reader/s
                    = 0 (default)


cacheex_cw_check

parameter is optional

cacheex_cw_check = caid[&mask][@provid][$servid]:mode:counter[,n]

  • mode:

specify behaviour for counter parameter

0 = when wait_time expires, serve highest counter's cw got anyway, even if no counter reached. 1 = never serve cw (coming from cacheex) stored in cache if its counter not reaches counter. When wait_time expires, requests will go to normal readers! Only when a cw reaches counter, it can be served to clients.

Default = 0


  • counter:

set minimum cw counter to allow cw is used.

Default = 1 (use default behaviour: use cw with highest counter when cache is checked)

cwcycle_allowbadfromffb

parameter is optional

NEW svn 8930:09/25/2013

cwcycle_allowbadfromffb = 0|1

1 = allow bad cycles from a fixed fallback reader. Default = 0


cacheexenablestats

parameter is optional

NEW svn8358:02/16/2013

cacheexenablestats = 0|1

1 = enable statistics for cach exchange mode
0 = default

Warning: Please consider memory consumption!

csp_port

parameter is required

NEW svn8358:02/16/2013

This is a UDP (not TCP) listen port for incoming traffic from csp nodes

csp_port   =   port
           =   [blank] none (default)

csp_serverip

parameter is required

NEW svn 6358:2/16/2013

This is the local bind IP of csp_port (see above!)

csp_serverip   =   IP
               =   [blank] none (default)

csp_ecm_filter

parameter is optional

NEW svn 6358:2/16/2013

csp_ecm_filter = [caid][&mask][@provid][$servid]

csp_allow_request

parameter is optional

NEW svn 6358:2/16/2013

csp_allow_request = 0|1 default = 1

cwcycle_check_enable

parameter is optional

NEW svn 8358:02/16/2013

cwcycle_check_enable  =  0 disable (default)
                      =  1 enable

cwcycle_check_caid

parameter is optional

NEW svn 8358:02/16/2013

Attention: not for all NDS SC's!

cwcycle_check_caid = CAID[,CAID]...

CAID enabled for CW cycle check, default: none

cwcycle_maxlist

parameter is optional

NEW svn 8358:02/16/2013

cwcycle_maxlist = count

maximum CW cycle list entries, default = 500, maximum = 4000

cwcycle_keeptime

parameter is optional

NEW svn 8358:02/16/2013

cwcycle_keeptime = minutes

minimum time a learned cycletime resists in memory, default = 0, maximum = 15

cwcycle_onbad

parameter is optional

NEW svn 8358:02/16/2013

cwcycle_onbad = 0|1

0 = log bad CW cycle only 
1 = drop bad CW cycle (default)

cwcycle_dropold

parameter is optional

NEW svn 8358:02/16/2013

cwcycle_dropold = 0|1,

1 = drop old CW cycle, 
0 = no drop(default)


cwcycle_sensitive

parameter is optional

NEW svn 8509:03/07/2013

cwcycle_sensitive = 0|2|3|4

0  = disabled (default)
2  = 2 (or more) same bytes and drop new CW
3  = 3 (or more) same bytes and drop new CW
4  = 4 (or more) same bytes and drop new CW


cwcycle_usecwcfromce

parameter is optional

NEW svn 9038:11/18/2013

cwcycle_usecwcfromce = 0|1

1  =  use CW Info from cache exchange
0  =  default


wait_until_ctimeout

parameter is optional

NEW svn 9486:02/03/2014

wait_until_ctimeout = 0|1

answer when cache exchange timeount expires, if no normal readers are vavailable for sending ECM's::

0  =  immediatly send not found to client (default)
1  =  wait for cache exchange answer until client timeout expires

cacheex_dropdiffs

parameter is optional

NEW svn11588:08/23/20

cacheex_dropdiffs = 1 drop incoming not-localgenerated-flagged CWs which differ from the first CW
                  = 0 (default)


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
here in oscam.conf this setting is for evaluating the response-time for local/proxy-readers and is used for CacheEx2-reader/CacheEx3-user as default, when no reader/user cacheex_nopushafter is set.

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
here in oscam.conf, the default value is set; user/reader-settings are prioritized

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)
here in oscam.conf, the default value is set; user/reader-settings are prioritized

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
here in oscam.conf, the default value is set; user/reader-settings are prioritized

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)
here in oscam.conf, the default value is set; user/reader-settings are prioritized

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 here in oscam.conf, the default value is set; user/reader-settings are prioritized

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


cacheex_ecm_filter

parameter is optional

NEW svn11588:08/23/20

set a global cacheex_ecm_filter
here in oscam.conf, the default value is set; user/reader-settings are prioritized

cacheex_ecm_filter = [caid][&mask][@provid][$servid],n


cacheex_ecm_filter_aio

parameter is optional

NEW svn11588:08/23/20

set a global cacheex_ecm_filter which is used if peer is detected as cx-aio-patched or svn >= 11588 the default limit of 15/30 (camd3/cccam) filters is obsolete

here in oscam.conf, the default value is set; user/reader-settings(cacheex_ecm_filter) are prioritized

cacheex_ecm_filter_aio = [caid][&mask][@provid][$servid],n


cacheex_push_lg_groups

parameter is optional

NEW svn11588:08/23/20

push all lg-flagged CWs to this/these group/s, without checking the groupmembership of the peer

cacheex_push_lg_groups = [blank] (default)
                       = 1[,n]





csp (UDP)

Section only needed if using cache exchange

OBSOLETE svn8358:02/16/2013 look at [cache]!


port                     =   # NEU - NEW - NOUVEAU - NUOVO  svn6124:12/23/2011
serverip                 =   # NEU - NEW - NOUVEAU - NUOVO  svn6124:12/23/2011
wait_time                =   # NEU - NEW - NOUVEAU - NUOVO  svn6142:12/25/2011
csp_ecm_filter           =   # NEU - NEW - NOUVEAU - NUOVO  svn8077:01/06/2013
csp_allow_request        =   # NEU - NEW - NOUVEAU - NUOVO  svn8077:01/06/2013

port

parameter is required

NEW svn6124:12/23/2011

UDP listen port for incoming traffic from csp nodes

port   =   port
       =   [blank] none (default)

serverip

parameter is required

NEW svn 6124:12/23/2011

Local bind IP of the above udp port

serverip   =   IP
           =   [blank] none (default)

csp_ecm_filter

parameter is optional
csp_ecm_filter = [caid][&mask][@provid][$servid]

csp_allow_request

parameter is optional

csp_allow_request = 0|1 default = 1

Camd 33 (TCP)

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

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

port

parameter is required

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

Example:

port = 15000
     = 0  # disabled (default)

serverip

parameter is optional

bind service to specified IP address


Example:

serverip = 192.168.178.1

Default:

serverip = # listenig to all

nocrypt

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

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

parameter is optional

128 bit key

key for camd 3.3x client encryption


Example:

key = 01020304050607080910111213141516

Default:

key =  # (blank] none (default)

cs357x (UDP)

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

Attention: cs357x was also known as camd35 designated. Both terms mean the same protocol with the same functions and parameters. In the future, to avoid confusion only cs357x is used.

[cs357x]
port                   =
serverip               =
suppresscmd08          =

port

parameter is required

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

Example:

port = 15000
     = 0     # disabled (default)

serverip

parameter is optional

bind service to specified IP address

Example:

serverip = 192.168.178.1

Default:

serverip =   # [blank] all (default)

suppresscmd08

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:: Streamboard-Thread

cs378x (TCP)

Section required only if cs378x (camd 3.5x in TCP) will be used as client protocol!

[cs378x]
port                   =
serverip               =
suppresscmd08          =

port

parameter is required

Port(s) TCP for Cs378x clients (camd 3.5x in TCP mode). Port(s) must be opened at router!

port@CAID[:ident][,ident]...[;port@CAID[:ident][,ident]...]...

Example:

port = 15000@0500:030B00;22764@0648

serverip

parameter is optional

bind service to specified IP address

Example:

serverip = 192.168.178.1

Default:

serverip =   # [blank] all (default)

suppresscmd08

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: Streamboard-Thread

Newcamd (TCP)

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

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

key

parameter is required

DES key Default key for newcamd client encryption.

Example:

key = 0102030405060708091011121314

Default:

key =

port

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

parameter is optional

bind service to specified IP address

Example:

serverip = 192.168.178.1

Default:

serverip = [blank]

allowed

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

parameter is optional

Example:

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

Default:

keepalive = 0

mgclient

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



scam

NEW svn9878:09/29/2014

[scam]  NEU - NEW - NOUVEAU - NUOVO  svn9878:09/29/2014
port      =
serverip  =
allowed   =

port

parameter is required

port = port

UDP port for scam server, default = 0


serverip

parameter is optional

bind service to specified IP address

Example:

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

allowed

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



Radegast

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

[radegast]
port                  =
serverip              =
allowed               =
user                  =

port

parameter is required

TCP/IP port for radegast clients (enables radegast)

port =
     = 0  (default)

serverip

parameter is optional

bind service to specified IP address

Example:

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

allowed

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

parameter is required

user name for radegast client

user = username

Serial

Section required only if seral interface will be used!

[serial]
device                =

device

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

parameter is required

CHANGE svn6206:01/07/2012

Port = 0|port[,port...]

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

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

version

parameter is optional


define CCcam version, minimum CCcam version 2.0.11, used with original CCcam only, default:none

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

Example:

version = 2.0.11

reshare

parameter is optional

CHANGE svn8607:04/10/2013


reshare level for CCcam clients:

-1 = no resharing
 0 = resharing for direct peer only
 1 = 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 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 !

reshare_mode

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
4 = reader reshares only received cards

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

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

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

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

parameter is optional


interval to provide share list update to CCcam clients in seconds

 0 = update based on server updates, values <= 10 are invalid and will be set to 30 
   = [blank] 240 (default)

keepconnected

parameter is optional

set CCcam keepalive modus:

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

recv_timeout

parameter is optional

NEW svn7672:10/09/2012

recv_timeout = milli-seconds

set network timeout for receiving data default = 2000

forward_origin_card

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

parameter is optional

nodeid = ID

set CCcam node ID in hex, default:none

example

nodeid = 0a0b0c0d0e0f1011


Pandora

dummy for new section Pandora svn 5988

pand_skip_send_dw    =
pand_allowed         =
pand_usr             =
pand_pass            =
pand_ecm             =
pand_port            =
pand_srvid           =

pand_skip_send_dw

pand_skip_send_dw = dummy


pand_allowed

pand_aloowed = dummy


pand_usr

pand_user = dummy


pand_pass

pand_pass = dummy


pand_ecm

pand_ecm = dummy


pand_port

pand_port = dummy


pand_srvid

pand_srvid = dummy



GBox

NEW svn8350:02/15/2013

[gbox]
my_password        =   #NEU - NEW - NOUVEAU - NUOVO  svn9163:12/31/2013
                       #ÄNDERUNG - CHANGE - MODIFICATIONS - MODIFICA  svn9494:02/04/2014
proxy_card         =   #NEU - NEW - NOUVEAU - NUOVO  svn9721:05/15/2014
ccc_reshare        =   #NEU - NEW - NOUVEAU - NUOVO  svn9722:05/15/201e
hostname           =   #NEU - NEW - NOUVEAU - NUOVO  svn8350:02/15/2013
                       #ÄNDERUNG - CHANGE - MODIFICATIONS - MODIFICA  svn9494:02/04/2014
port               =   #NEU - NEW - NOUVEAU - NUOVO  svn8662:05/24/2013
my_vers            =   #NEU - NEW - NOUVEAU - NUOVO  svn9645:04/09/2014
my_cpu_api         =   #NEU - NEW - NOUVEAU - NUOVO  svn9712:05/11/2014
gbox_reconnect     =   #NEU - NEW - NOUVEAU - NUOVO  svn8350:02/15/2013
gsms_disable       =   #NEU - NEW - NOUVEAU - NUOVO  svn9714:05/11/2014
tmp_dir            =   #NEU - NEW - NOUVEAU - NUOVO  svn9761:06/05/2014



Minimal working configuration example:

Let's say the gbox runs on host 192.168.1.101 and OSCam is on 192.168.1.123. In file cwshare.cfg on gbox side we have, for example, the following lines::

M: { 192.168.1.101 { A123BCDE }}
D: { 192.168.1.123 { 3820 3819 { 98AF3E25 {3 3}}}}

If oscam_gbox should connect to the original GBOX above, then you should configure OSCam as follows:

oscam.conf:
[gbox]
hostname          = 192.168.1.123
my_password       = 98AF3E25
port              = 3819
oscam.server:
[reader]
protocol          =  gbox
group             =  1
device            =  192.168.1.101,3820
password          =  A123BCDE
user              =  gbox_client_1
oscam.user:
[account]
user              =  gbox_client_1
group             =  1




hostname

parameter is required

hostname = my IP or ddns

examples:

hostname = 192.168.1.120
hostname = willy.noip.org


my_password

parameter is required

my_password = 4 hex bytes, 8 chara

example:

my_password = 98AF3E25


port

parameter is required

port= define incoming UDP port(s) used by Gbox protocol

port= port#1[[,port#2]...[,port#32]]

Maximum 32 ports.


proxy_card

parameter is optional

NEU svn9721:05/15/2014

proxy reader card(s) to be reshared into gbox network, default = none

proxy_card = <CAID><provid>[,<CAID><provid>]...

example:

proxy_card  = 18300000,0D950400,05050F00 


ccc_reshare

parameter is optional

ccc_reshare = 0|1

1 = enable cccam-cards to be reshared into gbox network, default = 0 (global setting)

Attention: peer specific reshare level to be set in oscam.server [reader] -> cccam_reshare

Attention: peer specific ident filter can be set in oscam.server [reader] -> ccc_gbx_reshare_ident


my_vers

parameter is optional

NEW svn9645:04/09/2014


my_vers = version

set gbox version hexadecimal low byte

default = 2A


my_cpu_api

parameter is optional

NEW svn9712:05/11/2014


my-cpu_api = byte

set gbox CPU and API byte in hexadecimal, default = 61


gbox_reconnect

parameter is optional

gbox_reconnect = time

send hello message to peers in seconds, default:180, min:60, max:300


accept_remm_peer

parameter is optional

NEW svn11399:29/01/2018

Accept to send Remote EMMs to specified Server Peer-IDs

accept_remm_peer = peer#1[[,peer#2]...[,peer#8]]


dis_attack_txt

parameter is optional

NEW svn11360:16/02/2017

Disable creation of attack.txt

dis_attack_txt = 0|1 - default: 0  


log_hello

parameter is optional

NEW svn11231:20/04/2016

Display hello messages in debug log

log_hello = 0|1 - default: 1  


ignore_peer

parameter is optional

Updated svn11696:16/09/2021

Ignore specific peer ID(s).

 ignore_peer = peer#1[[,peer#2]...[,peer#16]]
 If peer = dist 1 -> Login of peer rejected
 If peer > dist 1 -> card(s) of peer ignored


block_ecm

parameter is optional

NEW svn11290:19/12/2016

Block ECM for specific peer ID(s).

 block_ecm = peer#1[[,peer#2]...[,peer#16]]


tmp_dir

parameter is optional

NEW svn9761:06/05/2014

gbox tempory directory

tmp_dir =  /path/to/dir   

default: /tmp/.oscam


gsms_disable

parameter is optional

NEW svn9714:05/11/2014


gsms_disable = 0|1

0 - Gbox Short Message Service (GSMS) is enabled
1 - disable gbox short message service (GSMS)

default = 1



gbox_save_gsms

parameter is optional

NEW svn11328:01/11/2017

gbox_save_gsms=0|1

0 = don't save GSMS in configuration
1 = save all GSMS field in configuration

You need to press save button to really save it!

gbox_msg_type

parameter is optional

NEW svn11328:01/11/2017

gbox_msg_type=0|1

0 = normal text message
1 = normal text message + OSD (On Screen Display)

gbox_dest_peers

parameter is optional

NEW svn11328:01/11/2017

gbox_dest_peers = [BOXID[,BOXID]...[,BOXID]]

Maximum 16 * 2 bytes (4 hexa digits), comma-separated. For broadcast to all use FFFF.

gbox_msg_txt

parameter is optional

NEW svn11328:01/11/2017

gbox_msg_txt=Your text to send to peers.

From 6 to 127 alphanumerical characters.

DVBapi

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

parameter is optional

DVB API enabled

Example:

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

user

parameter is required

user name for DVB API client Example:

user = # user1

Default:

enabled = # anonymous

au

parameter is optional

AU mode for dvbapi:

au = 0 # disable AU (default)
au = 1 # enable AU

pmt_mode

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
pmt_mode = 6 # use PMT server mode NEU - NEW - NOUVEAU - NUOVO  svn8680:05/06/2013

request_mode

parameter is optional

CAID request mode:

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

listen_port

parameter is optional

NEW svn9574:03/20/2014

listen_port = 0|1

TCP/IP port for SAT IP clients, filtering has to be done on client site

0 = disabled (default)

boxtype

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

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

pc is for generic pc support (currently supported on VDR with vdr-plugin-dvbapi)

cw_delay

parameter is optional

NEW svn4348:02/05/2012

cw_delay = milli-seconds

delay of CW writing, default = none

delayer

parameter is optional

NEW svn6808:05/14/2012

delayer = milli-seconds

minimum time to write CW


reopenonzap

parameter is optional

NEW svn4348:02/05/2012

OBSOLETE svn9072:12/08/2013

reopenonzap = 0|1

            =  1 reopen demux devices in each channel switching,
            =  0 default

decodeforever

parameter is optional

NEW svn7653:10/08/2012

OBSOLETE svn8683:06/06/2013

decodeforever = 0|1

1  =  trying to decode on all CAIDs
0  =  default

ecminfo_type

parameter is optional

NEW svn10722:06/13/15

Define the type of ecm.info file to create, ecminfo_type = 0|1|2|3|4|5

0 = default oscam syntax
1 = default oscam syntax with ecmtime in ms instead of s
2 = wicardd
3 = mgcamd
4 = cccam
5 = camd3

read_sdt

parameter is optional

NEW svn10766:06/15/15

If it is not yet available, this option automatically add entries in your oscam.srvid2 (or oscam.srvid) and in your oscam.provid files. You need to stay more than 30 seconds on a channel for the auto-detect to start. So both channel name and provider name are retrieved. If entries already exist they are not changed nor updated, so you keep full control on the content of both files, only missing entries are added.

read_sdt = 0|1|2

0 =  disabled (default)
1 =  on, do not save FTA channels
2 =  on, save FTA channels

write_sdt_prov

parameter is optional

NEW svn10841:06/27/15

First enable the read_sdt parameter then you can specify if the provider name is saved or not into the oscam.srvid2 or oscam.srvid file. This is not mandatory since the provider name is now retrieved automatically from the oscam.provid file.

write_sdt_prov = 0|1

0 = off, do not write provider name into oscam.srvid/2 (default)
1 = on, write provider name into oscam.srvid/2

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

parameter is required

enabled anti-cascading:

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

numusers

parameter is optional

anti-cascading: user per account (number)

numusers = 0 # anticascading disabled (default)
         = 1 # cascading for 1 user allowed ==> (1*100+80)/(10*100/60) = 11 ecms allowed per minute
         = 2 # cascading for 2 users allowed ==> (2*100+80)/(10*100/60) = 17 ecms allowed per minute 
10 = number you have put in oscam.ac. Default value is 10

sampletime

parameter is optional

duration of sample in minutes:

sampletime = 5  # duration 5 minutes
           =    # [blank] duration 2 minutes (default)
Ex: numusers = 1 ==> 11 ecms * 5 minutes ==> 55 ecms allowed in 5 minutes 
    numusers = 2 ==> 17 ecms * 5 minutes ==> 85 ecms allowed in 5 minutes

samples

parameter is optional

number of additionnal ecms allowed (possible values between 2 and 10)

samples = 7  # 7 additional ecms allowed
        =    # [blank] 10 additional ecms allowed (default)

penalty

parameter is optional

Level of the penalty if the user exceeds the result shown in Ex on Sampletime

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

parameter is optional

file for anti-cascading logging

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

fakedelay

parameter is optional

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

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

denysamples

parameter is optional

How many samples should be penalized?

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


acosc_enabled

parameter is optional

NEW svn9761:06/05/14
acosc_enabled = 0|1

1  =  enable anticascading oder SIDs count
0  =  default


acosc_max_active_sids

parameter is optional

NEW svn9761:06/05/14

acosc_max_active_sids = count

maximum activ SIDs with anticascading over SIDs count

0  =  unlimited (default)
can be overwritten per user in oscam.user


acosc_zap_limit

parameter is optional

NEW svn9761:06/05/14

acosc_zap_limit = count

zap limit for anticascading over SIDs count

0  =  unlimited (default)
can be overwritten per user in oscam.user


acosc_penalty

parameter is optional

NEW svn9761:06/05/14

acosc_penalty = 0|1|2|3

level of penalty with anticascading over SIDs count:

0 = only logging (default)
1 = send fake DWs
2 = ban user temporary
3 = send real DWs with delay
can be overwritten per user in oscam.user


acosc_penalty_duration

parameter is optional

NEW svn9761:06/05/14

acosc_penalty_duration = seconds

penalty duration for anticascading over SIDs count:

0  =  unlimited  (default)
can be overwritten per user in oscam.user 


acosc_delay

parameter is optional

NEW svn9761:06/05/14

acosc_delay = milliseconds

delay for anticascading over SIDs count

0  = unlimites (default)
can be overwritten per user in oscam.user 





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