| 1 | ##############################################################################
|
|---|
| 2 | # incubusCamd configuration file #
|
|---|
| 3 | # All configuration options in this file observe the same format: #
|
|---|
| 4 | # <configuration_name>=<configuration_value> #
|
|---|
| 5 | # #
|
|---|
| 6 | # Each section are [<section_name>:<option_1>:<option_x>] like. #
|
|---|
| 7 | # #
|
|---|
| 8 | # No matter about white spaces on any place or UNIX/DOS style files #
|
|---|
| 9 | ##############################################################################
|
|---|
| 10 |
|
|---|
| 11 | ########################### general configuration ############################
|
|---|
| 12 | [General]
|
|---|
| 13 | # Enable (1) or disable (0) background execution
|
|---|
| 14 | # 0 - Off
|
|---|
| 15 | # 1 - On
|
|---|
| 16 | #
|
|---|
| 17 | background_execution=0
|
|---|
| 18 |
|
|---|
| 19 | # Set the nice value (priority) of the camd process
|
|---|
| 20 | # possible values: -20 (most favorable scheduling) to 19 (least favorable).
|
|---|
| 21 | #
|
|---|
| 22 | nice_value=0
|
|---|
| 23 |
|
|---|
| 24 | # This sets the level of console output for debugging:
|
|---|
| 25 | # 0 - No debug messages, 1 - First level debug messages, 2 - Second level debug messages,
|
|---|
| 26 | # 3 - Print all debug messages
|
|---|
| 27 | #
|
|---|
| 28 | debug_level=0
|
|---|
| 29 |
|
|---|
| 30 | # This option enables (1) or disables (0) the writing of debug information to the
|
|---|
| 31 | # console.
|
|---|
| 32 | #
|
|---|
| 33 | log_to_console=0
|
|---|
| 34 |
|
|---|
| 35 | # This option enables (1) or disables (0) the writing of console output to a log file
|
|---|
| 36 | #
|
|---|
| 37 | log_to_file=0
|
|---|
| 38 |
|
|---|
| 39 | # When log_to_file is set to 1, this is the path and filename to write console
|
|---|
| 40 | # ouput to.
|
|---|
| 41 | #
|
|---|
| 42 | logfile_name=/var/bin/incubusCamd.log
|
|---|
| 43 |
|
|---|
| 44 | # This is the path and filename to read SoftCam.Key file
|
|---|
| 45 | # by default it will be searched in the /var/keys directory
|
|---|
| 46 | #
|
|---|
| 47 | softcamfile_name=/var/keys/SoftCam.Key
|
|---|
| 48 |
|
|---|
| 49 | # This is the path and filename to read prio file
|
|---|
| 50 | # by default it will be searched in the /var/bin directory, or in /etc, or in /var/keys
|
|---|
| 51 | #
|
|---|
| 52 | priofile_name=/var/bin/incubusCamd.prio
|
|---|
| 53 |
|
|---|
| 54 | # This is the path and filename to read providersinfo file, used in webinterface
|
|---|
| 55 | # by default it will be searched in the /var/bin directory
|
|---|
| 56 | #
|
|---|
| 57 | providerinfo_file_name=/var/bin/incubusCamd.providers
|
|---|
| 58 |
|
|---|
| 59 | # This is the path and filename to read channelinfo file, used in webinterface
|
|---|
| 60 | # by default it will be searched in the /var/bin directory
|
|---|
| 61 | #
|
|---|
| 62 | channelinfo_file_name=/var/bin/incubusCamd.channelinfo
|
|---|
| 63 |
|
|---|
| 64 | # Used to activate on-screen messages. Username and password required if
|
|---|
| 65 | # HTTP authentication is enabled on enigma.
|
|---|
| 66 | # 0 - Off
|
|---|
| 67 | # 1 - On
|
|---|
| 68 | #
|
|---|
| 69 | on_screen_messages_show=1
|
|---|
| 70 | on_screen_messages_username=root
|
|---|
| 71 | on_screen_messages_password=
|
|---|
| 72 | on_screen_messages_key_update=0
|
|---|
| 73 | on_screen_messages_wait_for_key_update=0
|
|---|
| 74 | on_screen_messages_ecm=0
|
|---|
| 75 | on_screen_messages_emm=0
|
|---|
| 76 |
|
|---|
| 77 | # When activated, incubusCamd will listen on the specified port for connections. All
|
|---|
| 78 | # log activity will be broadcast in real-time to connected clients.
|
|---|
| 79 | #
|
|---|
| 80 | console_logs_broadcast=0
|
|---|
| 81 | console_logs_broadcast_port=666
|
|---|
| 82 |
|
|---|
| 83 | # Enable/disable incubusCamd web interface (default port is 668).
|
|---|
| 84 | # 0 - Disable
|
|---|
| 85 | # 1 - Enable
|
|---|
| 86 | #
|
|---|
| 87 | webif=0
|
|---|
| 88 | webif_port=668
|
|---|
| 89 |
|
|---|
| 90 | # This is the port used to share your cards with other clients
|
|---|
| 91 | # in other words this is the port where other clients must be connected to you if they want to
|
|---|
| 92 | # receive your cards shared
|
|---|
| 93 | # default is 12000
|
|---|
| 94 | #
|
|---|
| 95 | clients_port=12000
|
|---|
| 96 |
|
|---|
| 97 | # This is the minimum client version required if you want to connect to the server
|
|---|
| 98 | # with this setting you can force that clients at least use a certain version otherwise they are denied when logging in
|
|---|
| 99 | # by default there is no minimum client version required
|
|---|
| 100 | #
|
|---|
| 101 | #minimum_clients_version=2.1.4
|
|---|
| 102 |
|
|---|
| 103 | # Enable/disable a client on two hops away to send the updates to the cardserver
|
|---|
| 104 | # 0 - Disable
|
|---|
| 105 | # 1 - Enable
|
|---|
| 106 | #
|
|---|
| 107 | extra_emm_level=0
|
|---|
| 108 |
|
|---|
| 109 | # Option to set global share limits
|
|---|
| 110 | #
|
|---|
| 111 | # global_limits={ caid:id(:downhops), caid:id(:downhops), ... }
|
|---|
| 112 | #
|
|---|
| 113 | #example:
|
|---|
| 114 | #
|
|---|
| 115 | #global_limits={ 0100:000080, 0622:000000:1, 0500:000000:2 }
|
|---|
| 116 | #
|
|---|
| 117 | # all users get no 0100:000080.
|
|---|
| 118 | # and our 0622:000000 cards only for themself (1 hop down),
|
|---|
| 119 | # and 0500 cards for themself plus one additional hop down.
|
|---|
| 120 | # global limits are overridden by client specific limits (see [Clients] section)
|
|---|
| 121 |
|
|---|
| 122 | ########################### provider configuration ###########################
|
|---|
| 123 | #
|
|---|
| 124 | # All parameters are in hexadecimal notation.
|
|---|
| 125 | # Each section is defined by the provider id value.
|
|---|
| 126 | # If you don't know the provider id value then use the provider id "000000" and ca id "0000".
|
|---|
| 127 | # On provider 000000 caid 0000 goes all provider wich are not declared. If the provider
|
|---|
| 128 | # is declared then the cam will use the provider founded.
|
|---|
| 129 | #
|
|---|
| 130 |
|
|---|
| 131 | [Prov:000000:CaID:0000]
|
|---|
| 132 | # ----------------------------------------------------------------------------
|
|---|
| 133 | # this provider is a stand-in for all cards and all caid not declared previously
|
|---|
| 134 | #
|
|---|
| 135 | # You can select wich type of priority to assign on each caid/prov combination
|
|---|
| 136 | # priority name available are: card,emu,cs
|
|---|
| 137 | # card: internal card reader
|
|---|
| 138 | # emu: internal emulator
|
|---|
| 139 | # cs: card share protocols
|
|---|
| 140 | # each type must be separated by a comma
|
|---|
| 141 | #
|
|---|
| 142 | # you can also set to use only cs and nothing more, to do it insert on each comma "cs"
|
|---|
| 143 | # example: check_priority=cs,cs,cs # only cs in this case
|
|---|
| 144 | # example: check_priority=card,emu,emu # no cs in this case
|
|---|
| 145 | # obviously this is not suggested but if you prefer to disable an option you should do it in this way
|
|---|
| 146 | # you can also declare only one type: check_priority=cs
|
|---|
| 147 | # or two types: check_priority=cs,emu
|
|---|
| 148 | # and so on
|
|---|
| 149 | check_priority=cs,emu,card
|
|---|
| 150 |
|
|---|
| 151 | # You can select wich protocol will be used first for the current caid/prov combination
|
|---|
| 152 | # protocol name available are: newcamd,cccam,gbox,radegast,camd33,camd35,aroureos
|
|---|
| 153 | # each protocol must be separated by a comma
|
|---|
| 154 | #
|
|---|
| 155 | # you can also declare only one type: cs_protocol_order=cccam
|
|---|
| 156 | # or two types: cs_protocol_order=cccam,newcamd
|
|---|
| 157 | # and so on
|
|---|
| 158 | cs_protocol_order=cccam,newcamd,gbox,camd35,camd33,radegast,aroureos
|
|---|
| 159 |
|
|---|
| 160 | # Enable (1) or disable (0) emm process when a cs protocol is used
|
|---|
| 161 | # 0 - Off
|
|---|
| 162 | # 1 - On
|
|---|
| 163 | #
|
|---|
| 164 | process_emms_on_cs_mode=0
|
|---|
| 165 |
|
|---|
| 166 | # Enable (1) or disable (0) emm g type process
|
|---|
| 167 | # 0 - Off
|
|---|
| 168 | # 1 - On
|
|---|
| 169 | #
|
|---|
| 170 | process_emm_g=0
|
|---|
| 171 |
|
|---|
| 172 | # Enable (1) or disable (0) emm s type process
|
|---|
| 173 | # 0 - Off
|
|---|
| 174 | # 1 - On
|
|---|
| 175 | #
|
|---|
| 176 | process_emm_s=0
|
|---|
| 177 |
|
|---|
| 178 | # Enable (1) or disable (0) emm u type process
|
|---|
| 179 | # 0 - Off
|
|---|
| 180 | # 1 - On
|
|---|
| 181 | #
|
|---|
| 182 | process_emm_u=0
|
|---|
| 183 |
|
|---|
| 184 | # Enable (1) or disable (0) seca 3 ecm pid handler
|
|---|
| 185 | # when is set to On, it will try to use seca 3 ecm pid
|
|---|
| 186 | # before try seca 2 ecm pid, otherwise seca 2 pid will
|
|---|
| 187 | # be selected firstly
|
|---|
| 188 | # 0 - Off
|
|---|
| 189 | # 1 - On
|
|---|
| 190 | #
|
|---|
| 191 | seca3_handler=0
|
|---|
| 192 |
|
|---|
| 193 | # This is the ChannelID wich will be used as first value
|
|---|
| 194 | # on irdeto channels. Value "-1" means no preferred channel id will be used.
|
|---|
| 195 | # You can use more than one pref chid, you have to separe them with a comma ',' (see example 2).
|
|---|
| 196 | # The value is expressed as 4 digits hex value (2 bytes). Automatic change will be done.
|
|---|
| 197 | # example: chid=0015
|
|---|
| 198 | # example 2: chid=0015,002A
|
|---|
| 199 | #chid=-1
|
|---|
| 200 |
|
|---|
| 201 | # This is the max value wich will be used as comparing value
|
|---|
| 202 | # for card's uphops. If a less or equal uphops will be found then the card will be used,
|
|---|
| 203 | # the cards with greater uphops value will be ignored.
|
|---|
| 204 | # The value is expressed as decimal value, by default a value equal to 5 is set by the cam
|
|---|
| 205 | #max_check_uphops=5
|
|---|
| 206 |
|
|---|
| 207 | #[Prov:000501:CaID:1833]
|
|---|
| 208 | #check_priority=cs,emu,card
|
|---|
| 209 | #cs_protocol_order=cccam,newcamd,gbox,camd35,camd33,radegast,aroureos
|
|---|
| 210 | #process_emms_on_cs_mode=0
|
|---|
| 211 | #process_emm_g=0
|
|---|
| 212 | #process_emm_s=0
|
|---|
| 213 | #process_emm_u=0
|
|---|
| 214 | #seca3_handler=0
|
|---|
| 215 | #chid=-1
|
|---|
| 216 | #max_check_uphops=5
|
|---|
| 217 |
|
|---|
| 218 | ########################### servers configuration ############################
|
|---|
| 219 | [Servers]
|
|---|
| 220 | #
|
|---|
| 221 | # This is the section for the multi-server configuration.
|
|---|
| 222 | #
|
|---|
| 223 | # URL of card-server to use, formats are as follows:
|
|---|
| 224 | #
|
|---|
| 225 | # newcamd://<username_31>:<password_31>@<hostname>:<port>:<caid_4>:<prov_id_6>/<des_key_14>/[EMM]/<nr_of_hops_away>
|
|---|
| 226 | # aroureos://@<hostname>:<port>:<caid_4>:<prov_id_6>/[EMM]/<nr_of_hops_away>
|
|---|
| 227 | # radegast://@<hostname>:<port>:<caid_4>:<prov_id_6>/[EMM]/<nr_of_hops_away>
|
|---|
| 228 | # camd33://<username_10>:<password_10>@<hostname>:<port>:<caid_4>:<prov_id_6>/[aes_key_16]/[EMM]/<nr_of_hops_away>
|
|---|
| 229 | # camd35://<username_32>:<password_32>@<hostname>:<port>:<caid_4>:<prov_id_6>/[EMM]/<nr_of_hops_away>
|
|---|
| 230 | # gbox://<localhost>:<localport>:<password_8>@<peer_address>:<peer_port>:<peer_pass_8>/[EMM]
|
|---|
| 231 | #
|
|---|
| 232 | # cccam://<username_20>:<password_32>@<hostname>:<port>/[receive_emu_shared]/[EMM]
|
|---|
| 233 | # where [receive_emu_shared] should assume value "yes" (without quotes, if you like to receive emus data shared by the server) or "no" (this is assumed by default)
|
|---|
| 234 | # and it's an optional parameter.
|
|---|
| 235 | #
|
|---|
| 236 | # where [EMM] should assume value "EMM" (without quotes, if you like to send EMMs data to the server) or just do not add anything if you do not want EMM
|
|---|
| 237 | #
|
|---|
| 238 | # where <nr_of_hops_away> is the number of hopdown you want to share your card: by default is set to 1 (only one share down enabled from you)
|
|---|
| 239 | #
|
|---|
| 240 | # NOTE: The "EMM" suffix is optional and tells the card-server client whether
|
|---|
| 241 | # to send EMM's to the card-server or not. Enabling or disabling this only
|
|---|
| 242 | # has effect if the card-server is configured to accept emms from this client.
|
|---|
| 243 | #
|
|---|
| 244 | # NOTE 2: You can set value 0000 for caid and value 000000 for provider id on newcamd server if you want an all codifies working server
|
|---|
| 245 | # or simply if you don't know wich value to set on, just put 0 value
|
|---|
| 246 | #
|
|---|
| 247 | # i.e:
|
|---|
| 248 | #
|
|---|
| 249 | #card_server_url=cccam://username:password@192.168.1.24:12000
|
|---|
| 250 | #card_server_url=cccam://username:password@yourname.dyndns.org:15000
|
|---|
| 251 | #card_server_url=gbox://yourname.dyndns.org:6666:password@hisname.dyndns.org:6666:peer_pass
|
|---|
| 252 | #card_server_url=cccam://username:password@hostname:port/no # cccam without emu shared
|
|---|
| 253 | #card_server_url=cccam://username:password@hostname:port/yes # cccam with emu shared
|
|---|
| 254 | #card_server_url=cccam://username:password@hostname:port/yes/EMM # cccam with emu shared and with EMM enabled
|
|---|
| 255 | #card_server_url=gbox://192.168.1.24:5555:password@192.168.1.32:4444:peer_pass
|
|---|
| 256 | #card_server_url=newcamd://username:password@192.168.0.100:10550:0500:028800/0102030405060708091011121314
|
|---|
| 257 | #card_server_url=radegast://@192.168.0.100:10550:0100:000065
|
|---|
| 258 | #card_server_url=aroureos://@yourhostname.dyndns.org:10666:0500:007C00
|
|---|
| 259 | #card_server_url=camd35://username:password@192.168.0.50:14150:0603:000000
|
|---|
| 260 | #card_server_url=camd33://username:password@192.168.0.50:10550:0603:000000 # cam33 without AES encryption
|
|---|
| 261 | #card_server_url=camd33://username:password@192.168.0.50:10500:0604:000000/01020304050607080910111213141516 # cam33 with AES encryption
|
|---|
| 262 | #card_server_url=newcamd://username:password@192.168.0.100:10550:0500:028800/0102030405060708091011121314/EMM/2 # EMM is enabled for this server and will share this card 2 hops away from us
|
|---|
| 263 | #card_server_url=newcamd://username:password@192.168.0.100:10551:0000:000000/0102030405060708091011121314/EMM/0 # this server will be used with all codifies because of value 0 for caid and provid, no share for this card
|
|---|
| 264 |
|
|---|
| 265 | ########################### clients configuration ############################
|
|---|
| 266 | [Clients]
|
|---|
| 267 | #
|
|---|
| 268 | # This is the section for the multi-client configuration.
|
|---|
| 269 | # The port used to make other clients connected is declared in the general section like "clients_port".
|
|---|
| 270 | #
|
|---|
| 271 | # URL of card-client to use, formats are as follows:
|
|---|
| 272 | #
|
|---|
| 273 | # cccam://<username_20>:<password_32>@[hostname]/[allow_emu_shared]/[receive_EMM]/[uphops] { caid:id(:downhops), caid:id(:downhops), ... } { caid:id:sid, caid:id:sid, ... } { begintime-endtime, ... }
|
|---|
| 274 | # where [hostname] should assume value of your client ip address if you want to make limitation on address connections for an account
|
|---|
| 275 | # where [allow_emu_shared] should assume value "yes" (without quotes, if you like to share emus data with clients, this is assumed by default) or "no"
|
|---|
| 276 | # where [receive_EMM] should assume value "yes" (without quotes, if you like to receive EMM data from clients, this is assumed by default) or "no"
|
|---|
| 277 | # where [uphops] is the max number of uphops of cards that can be shared to the client
|
|---|
| 278 | # downshare limits per share (default = no limits) and optional
|
|---|
| 279 | # downshare limits per share based on caid:id:sid
|
|---|
| 280 | # and optional timeslots in which share is valid (to block channels on box of children after 19:00 for instance)
|
|---|
| 281 | # if no timeslot is defined 24 hrs a day is used
|
|---|
| 282 | # emus are shared only one level down, even if no limits given
|
|---|
| 283 | #
|
|---|
| 284 | # i.e:
|
|---|
| 285 | #
|
|---|
| 286 | #card_client_url=cccam://username:password@192.168.1.15/yes/yes # this clients will receive emu and can send emm to us
|
|---|
| 287 | #card_client_url=cccam://username:password@192.168.1.21/no # this client can not receive emu but can send emm to us
|
|---|
| 288 | #card_client_url=cccam://username:password@192.168.1.20/no/no # this client can not receiver emu and can't send emm to us
|
|---|
| 289 | #card_client_url=cccam://username:password@192.168.1.23/no/yes # this client can not receive emu but can send emm to us
|
|---|
| 290 | #card_client_url=cccam://username:password@192.168.1.222/yes/no # this client can receive emu but can't send emm to us
|
|---|
| 291 | #card_client_url=cccam://username:password@yourname.dyndns.org # this client will receive emu and can send emm to us
|
|---|
| 292 | #card_client_url=cccam://username:password@ # this client will receive emu and can send emm to us and has no restriction on the hostname address, previous examples have all restriction on one address
|
|---|
| 293 | #card_client_url=cccam://username:password@/yes/no # this client will receive emu but can't send emm to us and has no restriction on the hostname address
|
|---|
| 294 | #card_client_url=cccam://username:password@/no/no/2 # this client can't receive emu and can't send emm to us and has no restriction on the hostname address and gets all our shares at max 2 hops from us
|
|---|
| 295 |
|
|---|
| 296 | #card_client_url=cccam://username:password@/no/no/2 { 0100:000080, 0622:000000:1, 0500:000000:2 }
|
|---|
| 297 | # this client can't receive emu and can't send emm to us and has no restriction on the hostname address and gets all our shares at max 2 hops from us
|
|---|
| 298 | # gets no 0100:000080 and our 0622:000000 cards only for himself (1 hop down),
|
|---|
| 299 | # and 0500 cards for himself plus one additional hop down.
|
|---|
| 300 |
|
|---|
| 301 | #card_client_url=cccam://username:password@/no/no/2 { 0:0:3, 0100:000080:1 }
|
|---|
| 302 | # this client can't receive emu and can't send emm to us and has no restriction on the hostname address and gets all our shares at max 2 hops from us
|
|---|
| 303 | # get's to share them down two further levels beyond his own level.
|
|---|
| 304 | # But he is not allowed to share 0100:000080 down to other users.
|
|---|
| 305 |
|
|---|
| 306 | #card_client_url=cccam://username:password@/no/no/2 { 0:0:3, 0100:000080:1 } { 0100:000080:15df }
|
|---|
| 307 | # this client can't receive emu and can't send emm to us and has no restriction on the hostname address and gets all our shares at max 2 hops from us
|
|---|
| 308 | # get's to share them down two further levels beyond his own level.
|
|---|
| 309 | # But he is not allowed to share 0100:000080 down to other users.
|
|---|
| 310 | # He is also not allowed to view channel 0100:000080:15df
|
|---|
| 311 |
|
|---|
| 312 | #card_client_url=cccam://username:password@/no/no/2 { } { } { 12:00-17:00, 19:00-20:00 }
|
|---|
| 313 | # this client can't receive emu and can't send emm to us and has no restriction on the hostname address and gets all our shares at max 2 hops from us
|
|---|
| 314 | # the share is only valid between 12:00 and 17:00 and between 19:00 and 20:00
|
|---|
| 315 | # outside these hours the share will not give cw's to the client
|
|---|
| 316 |
|
|---|
| 317 | ########################### CaIDs tunneling configuration ############################
|
|---|
| 318 | [CaIDTunnel]
|
|---|
| 319 | #
|
|---|
| 320 | # All values are in hex notation
|
|---|
| 321 | # In this file you can configure what CAIDs/PIDs incubusCamd should tunnel to another CAID
|
|---|
| 322 | #
|
|---|
| 323 | # situation 1: this caid, all idents, on all channels will use the tunnel_caid
|
|---|
| 324 | # caid:tunnel_caid
|
|---|
| 325 | #
|
|---|
| 326 | # situation 2: this caid/ident pair will use the tunnel_caid
|
|---|
| 327 | # caid:tunnel_caid:ident
|
|---|
| 328 | #
|
|---|
| 329 | # situation 3: this caid/ident pair, on channel 'sid' will use the tunnel_caid
|
|---|
| 330 | # caid:tunnel_caid:ident:sid
|
|---|
| 331 | #
|
|---|
| 332 | # i.e:
|
|---|
| 333 | #
|
|---|
| 334 | #1833:1702:000000:0082 # this one should tunnel premiereHD nagra3 into betacrypt cards
|
|---|
| 335 | #1833:1702:000000:0081 # this one should tunnel premiereHD nagra3 into betacrypt cards
|
|---|
| 336 |
|
|---|