OSCam/en/Config/oscam.server
OSCam Übersicht OSCam Home OSCam Accueil OSCam Home
oscam.server
The server configuration file for OSCam contains reader parameters. Sections in oscam.server are recurring (more than one reader possible). At least one [reader] section is required. Examples for reader configuation you will find here example configurations
[reader] label = enable = description = protocol = device = # ÄNDERUNG - CHANGE - MODIFICATIONS - MODIFICA svn8057+8059:01/04/2013 detect = use_gpio = cardmhz = # ÄNDERUNG - CHANGE - MODIFICATIONS - MODIFICA svn7046:06/12/12 mhz = # ÄNDERUNG - CHANGE - MODIFICATIONS - MODIFICA svn7045-47:06/12-14/12 autospeed = # NEU - NEW - NOUVEAU - NUOVO svn9064:12/01/2013 deprecated = mode = device_out_endpoint = # ÄNDERUNG - CHANGE - MODIFICATIONS - MODIFICA svn8013:12/29/2012 smargopatch = # NEU - NEW - NOUVEAU - NUOVO svn6402:02/16/2012 sc8in1_dtrrts_patch = # NEU - NEW - NOUVEAU - NUOVO svn6402:02/16/2012 cool_timeout_init = # NEU - NEW - NOUVEAU - NUOVO svn6286:01/23/2012 cool_timeout_after_init= # NEU - NEW - NOUVEAU - NUOVO svn6253:01/17/2011 ins7e = # NEU - NEW - NOUVEAU - NUOVO svn5959:09/22/2011 ins7e11 = # NEU - NEW - NOUVEAU - NUOVO svn6064:12/06/2011 fix07 = # NEU - NEW - NOUVEAU - NUOVO svn9884:09/30/2014 force_irdeto = nagra_read = rsakey = # ÄNDERUNG - CHANGE - MODIFICATIONS - MODIFICA svn7043:06/12/12 fix9993 = boxkey = pincode = boxid = ndsversion = aeskeys = showcls = # VERALTET - OBSOLETE - OBSOLÈTE - ANTIQUATO svn6624:04/23/2012 key = account = # VERALTET - OBSOLETE - OBSOLÈTE - ANTIQUATO svn8131:01/20/2013 user = password = services = caid = ident = class = chid = group = audisabled = auprovid = disableserverfilter = inactivitytimeout = reconnecttimeout = # ÄNDERUNG - CHANGE - MODIFICATIONS - MODIFICA svn7244:08/07/2012 connectoninit = # NEU - NEW - NOUVEAU - NUOVO svn8235:01/29/2013 # ÄNDERUNG - CHANGE - MODIFICATIONS - MODIFICA svn 9810:07/22/2014 keepalive = # NEU - NEW - NOUVEAU - NUOVO svn9810:07/22/2014 fallback = fallback_percaid = # NEU - NEW - NOUVEAU - NUOVO svn8896:09/04/2013 emmcache = emmreassembly = # NEU - NEW - NOUVEAU - NUOVO svn8493:0/06/2013 = # VERALTET - OBSOLETE - OBSOLÈTE - ANTIQUATO svn8591:04/01/2013 cacheex = # NEU - NEW - NOUVEAU - NUOVO svn6039:11/26/2011 cacheex_maxhop = # NEU - NEW - NOUVEAU - NUOVO svn6691:05/07/2012 logport = ecmwhitelist = ecmheaderwhitelist = # NEU - NEW - NOUVEAU - NUOVO svn7480:09/21/2012 ratelimitecm = ecmnotfoundlimit = # NEU - NEW - NOUVEAU - NUOVO svn8315:02/07/2013 resetcycle = # NEU - NEW - NOUVEAU - NUOVO svn5821:08/12/2011 ratelimitseconds = # VERALTET - OBSOLETE - OBSOLÈTE - ANTIQUATO svn9078:09/12/2013 ratelimitime = # NEU - NEW - NOUVEAU - NUOVO svn9078:09/12/2013 ecmunique = # NEU - NEW - NOUVEAU - NUOVO svn8491:03/06/2013 srvidholdseconds = # VERALTET - OBSOLETE - OBSOLÈTE - ANTIQUATO svn9078:09/12/2013 srvidholdtime = # NEU - NEW - NOUVEAU - NUOVO svn9078:09/12/2013 cooldowndelay = # NEU - NEW - NOUVEAU - NUOVO svn5946:09/09/2011 blocknano = blockemm-u = blockemm-s = blockemm-g = blockemm-unknown = blockemm-bylen = # ÄNDERUNG - CHANGE - MODIFICATIONS - MODIFICA svn8615:04/12/2013 via_emm_global = # NEU - NEW - NOUVEAU - NUOVO svn9843:09/05/2014 saveemm-u = # NEU - NEW - NOUVEAU - NUOVO svn5947:09/09/2011 saveemm-s = # NEU - NEW - NOUVEAU - NUOVO svn5947:09/09/2011 saveemm-g = # NEU - NEW - NOUVEAU - NUOVO svn5947:09/09/2011 saveemm-unknown = # NEU - NEW - NOUVEAU - NUOVO svn5947:09/09/2011 savenano = # VERALTET - OBSOLETE - OBSOLÈTE - ANTIQUATO svn5947:09/09/2011 readnano = use_ssl = # NEU - NEW - NOUVEAU - NUOVO svn8725:06/25/2013 dropbadcws = # ÄNDERUNG - CHANGE - MODIFICATIONS - MODIFICA svn11292:12/21/2016 disablecrccws = # NEU - NEW - NOUVEAU - NUOVO svn6004:10/26/2011 disablecrccws_only_for = # NEU - NEW - NOUVEAU - NUOVO svn11292:12/21/2016 lb_weight = lb_whitelist_services = # NEU - NEW - NOUVEAU - NUOVO svn8656:05/22/2013 lb_force_fallback = # NEU - NEW - NOUVEAU - NUOVO svn9739:05/19/2014 cccversion = cccmaxhops = ccchop = cccreshare = # ÄNDERUNG - CHANGE - MODIFICATIONS - MODIFICA svn8607:04/10/2013 cccwantemu = ccckeepalive = cccreconnect = # VERALTET - OBSOLETE - OBSOLÈTE - ANTIQUATO svn6441:02/23/2012 cccmindown = Gbox device = password = gbox_reshare = # NEU - NEW - NOUVEAU - NUOVO svn8350:02/15/2013 gbox_max_distance = # NEU - NEW - NOUVEAU - NUOVO svn8350:02/15/2013 gbox_max_ecm_send = # NEU - NEW - NOUVEAU - NUOVO svn8350:02/15/2013 user = # NEU - NEW - NOUVEAU - NUOVO svn8662:05/24/2013
[reader]
Define local or remote reader
label
name for reader
Example:
label = easymouse2
enable
deactivate reader
0 = off 1 = On (default)
description
description = text
description of reader, default: [blank] none
protocol
reader protocol
protocol = mouse (local cardreader) = internal (all cardreader with "device=/dev/sciX") = camd35|cs357x (cascading - camd 3.5-compatible remote server) = mp35 = smartreader = serial = cs378x = gbox = newcamd|newcamd525 = newcamd524 = cccam = radegast = pcsc = constcw = sc8in1 = smargo
device
CHANGE svn8057+8059:01/04/2013
CHANGE svn8096:01/13/2013
CHANGE svn8911:09/10/2013
define local or remote reader
device = [<readertype>;]serial:serialnum|bus:device|<device|device:slot>|<ip|hostname>,<port>[,<lport>]|pcsc|<0|1>>|constantcw
set reader type
readertype: SR: Smartreader+ (default) Infinity: Infinity USB TripleP1: Smargo Triple Reader port 1 TripleP2: Smargo Triple Reader port 2 TripleP3: Smargo Triple Reader port 3 bus:device: bus name and device name of the smartreader+ (get the name with lsusb 'Bus' ans 'Device') serialnum: Serial-Nummer des Smartreader+ or Ininity USB (get the serial number while starting OSCam) device: device name device:slot: device name and slot number sc8in1 /1-8) (only one sc8in1 reader supported) ip|hostname: IP address or host name port: TCP/IP port lport: remapping to local TCP/IP port PCSC: number of PCSC reader, starting with 0 0|1: for Coolstream HD-1 STB only: select reader 0 or reader 1 constantcw: constant CW file name
constant CW file format:
CAID:Provider ID:Service ID:Video ID:ECM PID::key (16 Bytes separated by spaces) eg: 1234:123456:1234:2345:3456::00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
Examples for device parameters
device = /dev/ttyS0 # (Reader on COM1 (Linux i386 and Windows)) device = /dev/tts/1 # (Reader on COM2 (Linux dbox2 with multicam)) device = /dev/ttyUSB0 # (Reader on USB (Linux i386)) device = /dev/ttyUSB0:1 # Slot 1 SC8in1 or MCR 4/8 (Linux i386)
Attention: Counting begins with 0, that means number of device is one less than number of COM-Port! Eg ttyS0 = COM1, tts/1 = COM2.
detect
status detect of card is in
Detect = CD (Carrier Detect) - default - Detect = DSR (Data Set Ready) Detect = CTS (Clear To Send) Detect = RING (Ring Indicator) Detect = NONE (detect switched off, but signal "card is in" Detect = gpio1 ... gpio7 (neu für mipsel-uclibc)
- Inverse = prefix "!"(eg "detect=!CTS")
cardmhz
CHANGE svn7046:06/12/12
set standard SC frequency in units of 10 kHz, for Irdeto SC set to 600, refer to Overclocking Example:
cardmhz = 600 # Irdeto card = # [blank] 357 (default)
auto clock speed in Dreambox mode set to -1. Further Informations about the various (Dream)Boxes can be found here.
List of default and overclocking card frequencies
mhz
CHANGE svn 7045+7047:06/12-14/12
set reader frequency in units of 10 kHz, if mhz > cardmhz you are in overclocking mode, refer to Overclocking
Example:
# Default 357 cardmhz = 600 # ( 6000 KHz = 6 MHz) mhz = 1000 # (10000 KHz = 10 MHz)
For cardmhz switching to MIPSEL Dreambox mode set to 2700, for cardmhz switching to PPC Dreambox mode set to 3150. Further Informations about the various (Dream)Boxes can be found here.
PCSC-Reader (like Omnikey) are not able to change the clock speed! They work always at the same clock speed (mostly 4.80Mhz, depends on firmware).
List of default and overclocking card frequencies
deprecated
First the SC will be initialized in normal mode. If it fails, the SC will be automatically reverted to deprecated mode, so that the SC speed will not be changed and the communication will remain on normal ATR speed of 9600 baud.
deprecated = 1 use deprecated SC mode only = 0 default
mode
set card init mode for AzBox reader
mode = 1 # AzBox-Reader = 0 # none (default)
device_out_endpoint
CHANGE svn8013:12/29/2012
set endpoint address for FTDI chips
device_out_endpoint = 0x81 # Smargo Triple Reader port 1 = 0x82 # Smartreader+ (default) = 0x83 # Smargo Triple Reader port 2 = 0x85 # Smargo Triple Reader port 3
smargopatch
NEW svn6402:02/16/2012
smargopatch = 0|1
enable workaround for smartreader+ and reader until native mode works, default = 0
sc8in1_dtrrts_patch
NEW svn6402:02/16/2012
sc8in1_dtrrts_patch = 0|1
enable fix for SC8in1/MCR DTR/RTS kernel bug, default = 0
cool_timeout_init
NEW svn6286:01/23/2012
cool_timeout_init = timeout in milli seconds, default = 0
set card init mode for AZBox internal reader
cool_timeout_after_init
NEW svn6253:01/17/2012
Attention: only for Coolstream!
cool_timeout_after_init = timeout in milli seconds, default = 0
set read/transmit timeout after SC init in milli-seconds for Coolstream internal reader only, default:150
ins7e
NEW svn5959:09/22/2011
ins7e = payload = [none] default
Add 26 hex-bytes payload for NDS Videoguard 2 SCs
Attention: valid for physical readers only
ins7e11
NEW svn6064:12/06/2011
ins7e11 = TA1 Byte = # [none] default = 11 # 0001 FI + 0001 DI (1 x) = 13 # 0001 FI + 0011 DI (4 x) = 14 # 0001 FI + 0100 DI (8 x) = 15 # 0001 FI + 0101 DI (16 x)
Add TA1 Byte for NDS Videoguard 2 SCs
Attention: valid for physical readers only
force_irdeto
force Irdeto SC mode even if RSA key is set for Irdeto tunneled Nagravion SC
force_irdeto = 1 # yes = 0 # no (default)
nagra_read
read Nagravison records (on NCMED cards only):
nagra_read = 0 # disabled (default) = 1 # read all records with expired rights = 2 # read records with valid rights only
rsakey
CHANGE svn7046:06/12/12
RSA key for Nagravision/Tiger SCs / CAM key data for Irdeto SCs, Conax SCs, default = none
fix9993
fix9993 = 0|1
enabled fix for 9993 error with CAID 0919 SCs.
fix9993 = 1 # enabled = 0 # disabled (default)
boxkey
box key for Nagravision SCs / CAM key for Irdeto SCs
pincode
pincode for Conax, Cryptoworks an Viaccess SCs
pincode = pincode = # [blank] default
boxid
NDS receiver box id
boxid = NDS box ID
ndsversion
set NDS Videoguard version
0 = # autodetection (default) 1 = # NDS Videoguard 1 12 = # NDS Videoguard 1+ 2 = # NDS Videoguard 2
aeskeys
multiple 16 bytes AES keys for Viaccess SCs (the used postprocessing AES key is specified through the D2 nano of the ECM)
CAID #ident:AES key #0 CAID #0[,AES key #1 CAID #0],...[;CAID #1@ident::AES key #0 CAID #1[,AES key #1 CAID #1],...]...
special AES keys: 00 = do not return any CW, no AES key specified FF = return CW received from the S, no AES key specified
Example:
aeskeys = 0100@012345:000102030405060708090a0b0c0d0e0f;0200@543210:0,0,0f0e0d0c0b0a090807060504030201
showcls
OBSOLETE svn6624:04/23/2012
number of classes subscriptions to show for Viacces-SCs
schowcls = quantity = 0 # (default)
key
key for newcamd remote reader encryption
key = DES key
user
user for remote reader (name)
password
password for remote reader
mg-encrypted
mgcamd encrypted gbox line
format:
{ <IP|hostname> { <local port> <remote port> { <password> { <level> <level> } address> }
default:
MAC address=eth0
services
Attention: If loadbalancing is enabled in oscam.conf [global] among lb_mode, then there may be no entries!
Attention: The number of services that will be considered based reader, is limited to 64, or 64 times [[service-name][CAID][provid][srvid]]!
What services can the reader. This requires a oscam.services be present. The logic here is as follows (in this order):
- If the field is empty (or invalid), the request is allowed.
- When a negative service (ie, those with "!") is applicable, the request is rejected.
- If a positive service is applicable or there is no positive service, the request is allowed.
- If none of the previous points, the request is rejected.
This means that negative Services are only necessary in individual cases. Namely, if and when services has positive, but it wants to exclude some back. This is not recommended, because here comes quickly to misconfigurations. Instead, an additional service to be created that contains all the relevant channels.
[de]assignment to service group
services = [!]services[,[!]<services>]... = [blank] is default
caid
caid = <CAID>[&<mask>][:<target CAID>][,<CAID>[&<mask>][:target <CAID>]]...
define and mapping of CAIDs for reader, default:all CAIDs with mask FFFF
example:
caid = 0100 caid = 0200&ffee:0300 caid = 0400&ff00:0500,0600 caid = 0702,0722 caid = 0702&ffdf (shortcut for the example above)
ident
Attention: If in oscam.conf [global] loadbalancing is enabled among lb_mode, then there may be no entries!
define CAID and ident SC specific for reader:
ident 0 <CAID>:<ident>[,ident]...[;<CAID>:<ident>[,ident]...]...
Example
ident = # 0100:123456,234567;0200:345678,456789 = # [blank] no definition (default)
class
define class in hex SC specific for reader:
class = 01,02,!1b,!2b # 01 and 01 yes, 1b and 2b no = # [blank] no definition (default)
chid
define Irdeto ChID for reader
Example:
chid = 0100:12 chid = 0100:12;0604:0000BA,000101,00010E,000141 = # [blank] default
group
CHANGE svn6103:12/21/2011
Reader assingment to group. Each reader must be listed in one or more groups. This will determine, which client has access on what reader. Valid values 1-64
group = 1....64[,1....64]....
set required = [blank] default not allowed!
Example:
Group = 1 # (one group) Group = 1,4,5 # (more groups)
audisabled
exclude reader from auto AU (auto update)
audisabled = 1 # excludet = 0 # not excludet (default)
auprovid
set provider ID to use the right reader for auto AU
Example
auprovid = # 123456 = # [blank] default
disableserverfilter
ignore caid and ident settings of reader due faulty clients
disableserverfilter = 1 # ignore = 0 # not ignore (default)
inactivitytimeout
inactivity timeout in seconds
inactivitytimeout = seconds = -1 # reconnect on network failure for newcamd based readers, even in idle = 0 # default
reconnecttimeout
CHANGE svn7244:08/07/2012
Reconnect from a remote reader, if missing answers in seconds
Example
reconnecttimeout = 20 # after 20 seconds new connection = # [blank] default
connectoninit
NEW svn8235:01/29/2013
connectoninit = 0|1
1 = allow newcamd connections to be established on starup although there isn't a request yet 0 = default
fallback
Define reader as fallback, standard and fallback reader must have the same group, see group!
fallback = 1 # fallbackreader = 0 # no fallbackreader (default)
fallback_percaid
NEW svn8896:09/04/2013
fallback_percaid = <CAID>[:<ident>[,ident]]...[;<CAID>[:<ident>[,ident]]...]...
use reader as fallback for defined CAIDs only, two digit wildcards CAIDs are possible, fallback_percaid overrules fallback. Def.=none
example:
fallback_percaid = 1234:234567;10:345678
emmcache
set EMM cache of local reader
Without this parameter, no EMM are shown in the log!
Format:
emmcache = <usecache>,<rewrite>,<logging>
* <usecache> 0 = # disabled EMM caching (default) * <usecache> 1 = # enabled EMM caching
* <rewrite> n = # determines how often one and the same EMM is written. only if <usecache> = 1
* <logging> 0 = # EMM logging disabled * <logging> 1 = # logging EMM errors * <logging> 2 = # logging written EMMs * <logging> 4 = # logging skipped EMMs * <logging> 8 = # logging blocked EMMs * <logging> 16 = # logging audisabled EMMs
Sumarizing this values is possible. 31 shows all kinds of messages
Example
emmcache = 1,3,10 # Cache on, write 3 x, log written (2) and blocked (8) = 10 emmcache = 1,2,6 # Cache on, write 2 x, log written (2) and skipped (4) = 6
emmreassembly
NEW svn8493:03/06/2013
OBSOLETE svn8591:04/01/2013 parameter now in oscam.user!
emmreassembly = 0|1
1 = enable EMM reassembly, default 0 = disable EMM reassembly
should be set for Viaccess and Cryptoworks readers if the client that you are using to send EMMs is reassembling than instead of just sending them to OSCam for processing
cacheex
NEW svn6044:11/27/2011
cacheex = 0|1|2|3
1 = enable cache exchange pull mode 2 = enable cache exchange push mode 3 = enable cache exchange reversepush mode 0 = default for camd 3.5x and CCcam protocol
see also on oscam.user!
Identical cache exchange modes must be set on local OSCam server and remote OSCam user account!
cacheex-modes
cacheex = 1 - cachepull
Situation:
OSCam A reader1 has cacheex = 1
OSCam B account1 has cacheex = 1
OSCam A gets a ECM request, reader1 send this request to OSCam B,
OSCam B checks his cache:
- Not found in cache: return NOK
- Found in cache: return OK+CW
- Not found in cache, but found pending request: wait cacheexwaittime in oscam.conf [global] and check again. OSCam B never requests new EMMs.
CW-flow = B ---> A
cacheex = 2 - cachepush
Situation:
OSCam A reader1 has cacheex = 2
OSCam B account1 hastcacheex = 2
If OSCam B gets a CW, its pushed to OSCam A, reader has normal functionality and can request ECMs.
- Problem: OSCAM can only push CW's if OSCam A is connected
- Problem or feature?: OSCam A reader can request ECMs from OSCam B
CW-flow = B ---> A
cacheex = 3 - reversecachepush
Situation:
OSCam A reader 1 has cacheex = 3
If OSCam A gets a CW, its pushed to OSCam B. OSCam A never requests new ECMs.
CW-flow = A ---> B
cacheex_maxhop
NEW svn6691:05/07/2012
cacheex_maxhop = hops
= default = 10 hops
define maximum hops for cach exchange
logport
Camd 3.x reader logport, camd 3.x UDP must be activated, only works if there's no camd 3.x cascading
logport = # port number = 0 # disabled (default)
ecmwhitelist
ecmwhitelist = [CAID[@ident]:]lenght[,lengtht]...[;[CAID[@ident]:]lenght[,lengtht]...]...
define valid ECM length in hex and ident for physical reader
example
ecmwhitelist = 10,20,30,0a,0b,0c = 0100:10,20;0200@12345:0a,4b [blank] = none (default) and ident 000000
In normal operation mode this parameter ist not required!
ecmheaderwhitelist
NEW svn7480:09212012
ecmheaderwhitelist = [CAID[@provid]:]header[,header...[;[@provid]:]header[,header]...]...
set valid ECM header per CAID and provid in hex
default: none, provid = 000000
thread here
HeaderWhitelist here
ratelimitecm
number of different SIDs in ECMs allowed for an interval
ratelimitecm = # number = 0 # (default)
ecmnotfoundlimit
NEW svn8313:02/07/2013
ecmnotfoundlimit = count
number of ECMs with "not found" answer until the reader will be restarted, 0 = no limit (default)
resetcycle
NEW svn5820:08/12/2011
resetcycle = count
number of ECMs until SC reset ist performerd
Hint: Valid for physical readers only!
example:
resetcycle = 0 # disabled [default] = 5 # reset after 5 ECM's
ratelimitseconds
interval for rate limit in seconds
ratelimitseconds = # seconds = 0 # (default)
ecmunique
NEW svn8491:03/06/2013
ecmunique = 0|1
1 = enable check for matching ECM hash in ratelimit slot 0 = default
srvidholdseconds
NEW svn8492:03/06/2013
srvidholdseconds = seconds
time to keep service ID in ratelimit slot, during this time checking for ecmunique ist disabled.
0 = default
cooldown
NEW svn5946:09/09/2011
cooldown
define cooldown:
delay = delay in seconds for which the reader is allowed to do more ECM requests then defined by parameter "ratelimitecm" default: [blank] none duration = duration in seconds the reader needs to cooldown default: [blank] keine
parameter "ratelimitecm" and "ratelimitseconds" are required!
blocknano
list of EMM-nanos to block (in hex w/o 0x) or all EMM-nanos, only valid for physical readers!
Example:
blocknano = 45,93,7a,ff = all = # [blank] (default)
blockemm-u
block unique EMMs
blockemm-u = 0 # (no block) default blockemm-u = 1 # (block EMMs, which are addressed to card immediatly) )
blockemm-s
block shared EMMs
blockemm-s = 0 # (no block) default blockemm-s = 1 # (block EMMs, which are addressed to certain groups of cards)
blockemm-g
block global EMMs
blockemm-g = 0 # (no block) default blockemm-g = 1 # (block EMMs, which are addressed to all cards)
blockemm-unknown
block unknown types of EMMs
blockemm-unknown = 0 # (no block) default blockemm-unknown = 1 # (block all unknown kinds of EMMs)
blockemm-bylen
CHANGE svn8615:04/12/2013
blockemm-bylen = [length range,length range]... (decimal)
block all types of EMMs by length, maximum 10 values, default: none
example:
blockemm-bylen = 1-10,11-
saveemm-u
NEW svn5947:09/09/2011
saveemm-u = 0 (default) = 1
save unique EMMs to file. The path can be defined with "emmlogdir=" in oscam.conf (default=config-dir).
saveemm-s
NEW svn5947:09/09/2011
saveemm-s = 0 (default) = 1
save shared EMMs to file. The path can be defined with "emmlogdir=" in oscam.conf (default=config-dir).
saveemm-g
NEW svn5947:09/09/2011
saveemm-g = 0 (default) = 1
save global EMMs to file. The path can be defined with "emmlogdir=" in oscam.conf (default=config-dir).
saveemm-unknown
NEW svn5947:09/09/2011
saveemm-unknown = 0 (default) = 1
save unkown EMMs to file. The path can be defined with "emmlogdir=" in oscam.conf (default=config-dir).
savenano
OBSOLETE svn5947:09/09/2011
list of EMM-nanos (in hex w/o 0x) to save or all EMM-nanos. Only valid for physical readers. The path can be defined with "emmlogdir=" in oscam.conf (default=config-dir).
Format
nano[,nano]....|all
Beispiel
savenano = 45,93,7a,ff = all = # [blank] default
readnano
Write file (usually a copy of a file saved by savenano) to your smartcard, if no path is specified, the specified file is searched for in the configuration directory, only valid for physical readers!
Example:
readnano = write.emm = /var/oscam/write.emm = # [blank] (default)
use-ssl
NEW svn8725:06/25/20113
use_ssl = 0|1
use_ssl = 1 # use SSL for ghttp protocol = 0 # default
dropbadcws
CHANGE svn5992:10/22/2011
dropbadcws = 0|1
dropbadcws = 1 # reject bad CWs, send "not found" instaed of bad CWs = 0 # default
disablecrccws
NEW svn6004:10/26/2011
disablecrccrws = 1 # disable cw checksum test = 0 # enable (default)
lb_weight
The higher the value the higher the probability for reader selection. It's an divider for the average responstime.
lb_weight = weight = # [blank] Default-Wert 100
lb_whitelist_services
NEW svn8656:05/22/2013
lb_whitelist_services = <services>,<services>....
reader assignement to service group for channels which may never be blocked by the loadbalancer to the reader , default=none
ccc
cccversion
Only for CCcam
define CCcam version
<mainversion>,<version>,<sub version>
Example
cccversion = 1.2.34
cccmaxhops
define CCcam maximum SC distance hops
0 = local SCs only 1 = local SCs and + 1 hop 2 = local SCs and + 2 hops and so on default = 10
ccchop
ccchop = hop
Set hop for non CCCam readers
default = 0
CHANGE svn8607:04/10/2013
Define reader's CCcam reshare hop
cccreshare = -1 # no resharing = 0 # reshare for direct peer only = 1 # reshare for direct peer and next level = x # resharing for direct peer and share level x
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 !
cccwantemu
Request to provide emu from CCCam server, too.
cccwantemu = 1 # yes = 0 # no (default)
ccckeepalive
Send keepalive messages to keep connection to remote CCCam server up
ccckeepalive = 1 # yes = 0 # no (default)
cccreconnect
cccreconnect = timeout (milli-seconds)
reconnect again after ECM request timeout in milli-secons, default = 12000 milliseconds
cccmindown
cccmindown = # number = 0 # default
Filters all readers with hops smaller than number
gbox
NEW svn8350:02/15/2013
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{A3 A3}}}}
Then we may configure OSCam as follows:
oscam.conf: [gbox] gbox_hostname = 192.168.1.123 port = 3819
oscam.server: [reader] protocol = gbox group = 1 device = 192.168.1.101,3820 password = A123BCDE gbox_my_password = 98AF3E25 user = gbox_client
device
device = Comma-separated list of values:
peer's IP or hostname peer's port
example:
192.168.1.101,3820
password
password = 4 hex bytes, 8 chars
peer password
example:
A123BCDE
gbox_my_password
Passwort = 4 hex bytes, 8 chara
my password
example
98AF3E25
Reshare-Level of local card(s), default = 0
gbox_max_distance
gbox_max_distance = max distance to receive peer cards, default = 2
gbox_max_ecm_send
gbox_max_ecm_send = send ecm to max <gbox_max_ecm_sen> peer cards, default = 3
gbox_group
gbox_group = Gbox own list of groups, see regular "group" parameter for syntax
user
user name of oscam gbox
example
user = gbox_client
user must also be inserted in oscam.user [account]
Set suitable filters (services=, caid=, ident=) in [reader] and [account] section to prevent gbox instability by overflooding with too many cards
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.server|3|3}}|Deutsch]] [[OSCam/en/{{#titleparts:OSCam/en/Config/oscam.server|3|3}}|English]] [[OSCam/fr/{{#titleparts:OSCam/en/Config/oscam.server|3|3}}|Français]] [[OSCam/it/{{#titleparts:OSCam/en/Config/oscam.server|3|3}}|Italiano]]