Advertisement
Guest User

MultiCS r77 CFG

a guest
Aug 16th, 2015
840
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.52 KB | None | 0 0
  1. ##
  2. ## copy this file to /var/etc/multics.cfg
  3. ## to run multics with debug type $# multics -v
  4. ## to run multics with debug showing network packets type $# multics -vn
  5. ## to run multics in background type $# multics -b
  6. ## to run multics with another config file type $# multics -C /var/etc/newconfig.cfg
  7. ##
  8.  
  9. $$$ every line starting by a non-alphabetic charachter or '[' is skipped by parser and treated as comment.
  10.  
  11. ##########################################################
  12. ## Files
  13. ##########################################################
  14.  
  15. FILE CHANNELINFO: "/var/etc/CCcam.channelinfo" ## default is disabled
  16. FILE PROVIDERINFO: "/var/etc/CCcam.providers" ## default is disabled
  17. FILE IP2COUNTRY: "/var/etc/ip2country.csv" ## default is disabled
  18. FILE STYLESHEET: "/var/etc/multics.css" ## default is the built-in stylesheet file.
  19.  
  20. ## country ip blocker of clients connections ( file ip2country must exist to enable this option )
  21. BLOCK COUNTRY: XX, YY ## XX and YY are country codes like FR,DE,TN...
  22.  
  23. ##########################################################
  24. ## HTTP SERVER
  25. ##########################################################
  26.  
  27. HTTP PORT: 5500 ## HTTP server listening port, default: 5500.(0=disabled)
  28.  
  29. ## web user/pass protection
  30. HTTP USER: admin
  31. HTTP PASS: admin
  32.  
  33. HTTP EDITOR: ON ## Show editor page (default: ON)
  34. HTTP RESTART: ON ## Show restart button/page (default: ON)
  35. HTTP AUTOREFRESH: 5000 ## Default autorefresh for webpages in milliseconds (default: 10000 ~ 10s)
  36.  
  37. ##########################################################
  38. ## CLUSTERED CACHE (Compatible with CSP cache)
  39. ##########################################################
  40.  
  41. CACHE PORT: 4444 # Cache listening port (UDP), (default:0 disabled)
  42.  
  43. ACCEPT NULL ONID: 1 # accept/block cache requests with networkid=0 (by default = 1)
  44.  
  45. # friend cacheline (host port)
  46. CACHE PEER: myfriend.dns.org 12345 # connect to peer only if its version is greater than r66
  47. CACHE PEER: localhost 5555 1 # block receiving/sending cache requests with networkid=0
  48. CACHE PEER: localhost 4444 { csp=yes } # connect to peer using default cache protocol (csp/oscam)
  49.  
  50. ##########################################################
  51. ## BAD DCW List
  52. ##########################################################
  53.  
  54. ## BAD DCW ( the next examples are filtered automatically by multics )
  55. //BAD-DCW: FD FF FF FB FD FF FF FB FD FF FF FB FD FF FF FB
  56. //BAD-DCW: 00 01 02 03 00 01 02 03 00 01 02 03 00 01 02 03
  57.  
  58.  
  59. ##########################################################
  60. ## CCCAM SERVERS
  61. ##########################################################
  62.  
  63. ## CCcam Global Options
  64. # Servers & Client
  65. CCCAM VERSION: 2.1.1 # Select CCcam Client/Server version "2.0.11", "2.1.1", "2.1.2", "2.1.3" (default: 2.0.11)
  66. CCCAM NODEID: 1122334455667788 # Set nodeid for CCcam Client/Servers
  67. # Server
  68. CCCAM PROFILES: 5501,5503,5504 # Default profiles for CCcam Server to share with clients
  69.  
  70. ##### FIRST CCCAM SERVER
  71. CCCAM PORT: 18000 ## CCcam server listen port
  72. CCCAM DCW CHECK: YES # enable/disable dcwcheck on cccam clients
  73.  
  74. ## First CCcam Server's clients
  75.  
  76. ## Reshares(DownHops)
  77. F: user1 pass1 # share all profiles with no reshare
  78. F: user2 pass2 1 # share all profiles with 1 reshare
  79. F: user3 pass3 2 # share all profiles with 2 reshare
  80.  
  81. ## Option: Profiles ( Option list can be separated by comma or by space, options are separated only by ';' )
  82. F: user4 pass4 { profiles=5502,5504,5510 } # share only 3 profiles identified by their ports as locals with no reshare
  83. F: user5 pass5 1 { profiles=5502 5504 5510 } # share only 3 profiles identified by their ports with 1 reshare
  84.  
  85. ## Option: Name
  86. F: user7 pass7 { \
  87. profiles=5502,5504,5510; \ # Profiles
  88. name=my dreambox; \ # Full Name
  89. } # share only 3 profiles identified by their ports as locals with no reshare
  90.  
  91. ## Option: Host
  92. F: user8 pass8 { \
  93. name = my dreambox; \ # Full Name
  94. host = 192.168.1.81 \ # user8 is only allowed to connect from the host 192.168.1.81
  95. }
  96.  
  97. ## Option: Shares (ShareLimtis)
  98. F: user11 pass11 { \
  99. shares=0500:42800:0; \ # Send profiles to user10 but not the share (0500:042800)
  100. }
  101.  
  102. F: user12 pass12 { \
  103. shares=0:0:0,0604:0:1; \ # Send only share (0604:0) to client.
  104. }
  105.  
  106. F: user13 pass13 { \
  107. shares=0100:0:0; \ # Send profiles to client but not seca shares.
  108. }
  109.  
  110. ## Option: dcwcheck
  111. F: user13 pass13 { \
  112. dcwcheck=YES; \ # enable dcw check for every incoming ecm request from this client
  113. }
  114.  
  115. ##### SECOND CCCAM SERVER
  116.  
  117. CCCAM PORT: 19000
  118.  
  119. ## Second CCcam Server's clients
  120. F: user1 pass1
  121. F: user2 pass2
  122. F: user3 pass3
  123.  
  124.  
  125. ##### THIRD CCCAM SERVER
  126.  
  127. CCCAM PORT: 20000
  128.  
  129. ## Third CCcam Server's clients
  130. F: user1 pass1
  131. F: user2 pass2
  132. F: user3 pass3
  133.  
  134.  
  135. ###########################################################
  136. ## MGCAMD SERVER
  137. ###########################################################
  138.  
  139. MGCAMD PORT : 23000 # MGCAMD server listen port(default=0:disabled)
  140. MGCAMD KEY : 01 02 03 04 05 06 07 08 09 10 11 12 13 14
  141. MGCAMD PROFILES: 5501, 5503, 5504 # default profiles available for mgcamd clients.
  142. MGCAMD DCW CHECK: YES # enable/disable dcwcheck on mgcamd clients
  143.  
  144. # Clients
  145. MGUSER: user1 pass1 # send cards of all profiles
  146.  
  147. ## Option: Profiles ( Option list can be separated by comma or by space, options are separated only by ';' )
  148. MG: user3 pass3 { profiles=5504, 5510 } # send cards of 2 selected profiles
  149.  
  150. ## Option: Name
  151. MG: user5 pass5 { \
  152. profiles=5502,5504,5510; \ # Profiles
  153. name=my dreambox; \ # Full Name
  154. } # share only 3 profiles identified by their newcamd ports
  155.  
  156. ## Option: Host
  157. MG: user6 pass6 { \
  158. name = my dreambox; \ # Full Name
  159. host = 192.168.1.81 \ # user8 is only allowed to connect from the host 192.168.1.81
  160. }
  161.  
  162. ## Option: Shares (ShareLimtis)
  163. MG: user9 pass9 { \
  164. shares=0100:3315:0; \ # Send profiles to client but not the share (0100:3315)
  165. }
  166.  
  167. MG: user10 pass10 { \
  168. shares=0:0:0,09CD:0:1; \ # Send only share (09CD:0) to client.
  169. }
  170.  
  171. MG: user11 pass11 { \
  172. shares=0500:0:0; \ # Send profiles to client but not viaccess shares.
  173. }
  174.  
  175. ## Option: dcwcheck
  176. MG: user22 pass22 { \
  177. dcwcheck=YES; \ # enable dcw check for every incoming ecm request from this client
  178. }
  179.  
  180.  
  181. ###########################################################
  182. ## SERVERS CONNECTIONS
  183. ###########################################################
  184.  
  185. ###############
  186. ### Connection to CCcam Server
  187. # C: <hostname/ip> <port> <username> <password> [ <{> <option1=...> <option2=...> ... <}> ]
  188. C: host.dnsdynamic.com \ # Server Hostname
  189. 12345 \ # CCcam Server Port
  190. user \ # Username
  191. pass # Password
  192. # get all shares from server with reshare or not.
  193.  
  194. ## OPTION 'profiles'
  195. C: host.dnsdynamic.com 12345 user1 pass1 { profiles=5501,5502,5503 }
  196. # use this server only for profiles with newcamd ports (5501,5502,5503)
  197.  
  198. ## OPTION 'shares'
  199. C: host.dnsdynamic.com 12345 user2 pass2 { shares= 0:0:2 }
  200. # ignore shares more than 2 uphops away (0:0:2)
  201.  
  202. C: host.dnsdynamic.com 12345 user3 pass3 { shares= 0:0:3, 0100:3311:1 }
  203. # ignore shares more than 3 uphops away (0:0:3) and accept share 0100:3311 only from their locals
  204.  
  205. C: host.dnsdynamic.com 12345 user4 pass4 { shares= 0:0:0, 0500:32830:2 }
  206. # ignore all shares (0:0:0) but accept share 0500:32830 less than 2 uphops away
  207.  
  208. ## OPTION 'sids'
  209. C: host.dnsdynamic.com 12345 user5 pass5 { shares=0:0:0,0500:23800:1; sids=0385,038B,038F,03DE,36B2,36B3,36B8,36B9,4331,4332,4333,4334 }
  210. # accept only locals for share(0500:23800) and send ecm request only for channels specified in sid list
  211.  
  212. ###############
  213. ### Connection to Newcamd/Mgcamd Server
  214. N: localhost \ # Host
  215. 4444 \ # Port
  216. user \ # Username
  217. pass \ # Password
  218. 01 02 03 04 05 06 07 08 09 10 11 12 13 14 # DES key
  219.  
  220. ## OPTION 'profiles'
  221. N: host.dnsdynamic.com 12346 user1 pass1 01 02 03 04 05 06 07 08 09 10 11 12 13 14 { profiles=5501,5502,5503 }
  222. # use this server only for profiles with newcamd ports (5501,5502,5503)
  223.  
  224. ## OPTION 'shares'
  225. N: host.dnsdynamic.com 12346 user3 pass3 01 02 03 04 05 06 07 08 09 10 11 12 13 14 { shares= 0:0:1, 0100:3311:0 }
  226. # accept shares but ignore share(0100:3311)
  227.  
  228. N: host.dnsdynamic.com 12346 user4 pass4 01 02 03 04 05 06 07 08 09 10 11 12 13 14 { shares= 0:0:0, 0500:32830:1 }
  229. # ignore all shares (0:0:0) but accept share(0500:32830)
  230.  
  231. ## OPTION 'sids'
  232. N: host.dnsdynamic.com 12346 user5 pass5 01 02 03 04 05 06 07 08 09 10 11 12 13 14 { shares=0:0:0,0500:23800:1; sids=0385,038B,038F,03DE,36B2,36B3,36B8,36B9,4331,4332,4333,4334 }
  233. # accept only locals
  234.  
  235. ## Multiple port in one line
  236. N: host.dnsdynamic.com 14000:14030 user pass 01 02 03 04 05 06 07 08 09 10 11 12 13 14
  237. // connect to servers with ports from 14000 to 14030
  238.  
  239. N: host.dnsdynamic.com 14000,14005:14007,14017,14021:14023 user pass 01 02 03 04 05 06 07 08 09 10 11 12 13 14
  240. // Connect to servers having the next ports: 14000, 14005,14006,14007, 14017, 14021, 14022, 14023
  241.  
  242. ###############
  243. ### Connection to Radegast Server
  244. #R: <host> <port> <caid> <providerlist>
  245. R: localhost 5421 0100 3311 3315
  246.  
  247.  
  248.  
  249. ############## CACHEEX
  250.  
  251. F: cache pass { cacheex_mode=3 }
  252. C: cache.host 8495 user pass { cacheex_mode=3; shares=09CD:0, 0500:32830; }
  253. // connect to CCcam server on cacheex mode 3, sending only shares 09cd:0 and 0500:32830 from local cache
  254.  
  255. ##########################################################
  256. ## NEWCAMD GLOBAL USERS
  257. ##########################################################
  258.  
  259. ## Global Users, must be defined before the first profile
  260. USER: guser1 gpass1 # for all profiles
  261. USER: guser1 gpass1 { 5501, 5502 } # selected profiles by port list
  262.  
  263.  
  264. ##########################################################
  265. ## PROFILES DEFAULT VALUES
  266. ##########################################################
  267.  
  268. ## default profile options
  269. DEFAULT KEY: 01 02 03 04 05 06 07 08 09 10 11 12 13 14
  270. DEFAULT DCW TIMEOUT: 3500
  271. DEFAULT DCW MAXFAILED: 10
  272. DEFAULT DCW CHECK: YES
  273. DEFAULT SERVER MAX: 0
  274. DEFAULT SERVER FIRST: 0
  275. DEFAULT SERVER INTERVAL: 700
  276. DEFAULT SERVER TIMEOUT: 3000
  277. DEFAULT SERVER VALIDECMTIME: 2000
  278. DEFAULT RETRY NEWCAMD: 0
  279. DEFAULT RETRY CCCAM: 0
  280. DEFAULT CACHE TIMEOUT: 300
  281. DEFAULT DISABLE CCCAM: YES # same as 'DEFAULT ENABLE CCCAM: NO' (by default CCcam servers are enabled)
  282. DEFAULT DISABLE NEWCAMD: YES # same as 'DEFAULT ENABLE CCCAM: NO' (by default Newcamd servers are enabled)
  283. DEFAULT DISABLE RADEGAST: YES # same as 'DEFAULT ENABLE RADEGAST: NO' (by default Radegast servers are enabled)
  284. DEFAULT DISABLE CACHE: YES # same as 'DEFAULT ENABLE CACHE: NO' (by default Cache is enabled)
  285. DEFAULT DISABLE CACHEEX: YES # same as 'DEFAULT ENABLE CACHEEX: NO' (by default CacheEX is disabled)
  286.  
  287. #### FIRST PROFILE
  288. [CanalsatHD] # Profile name
  289. ------------
  290. CAID: 0100 # Caid
  291. PROVIDERS: 3311,3315,3317 # Providers list
  292. ONID: 31 # Operator Network ID (hex value)
  293. SID LIST: 20D2,20D3,20D4 # Accept ecm requests only for channels from sid list
  294. DENY SIDLIST: YES # Reject request for channels within sidlist (default=NO=accept)
  295. ECM LENGTH: 64 # Accept only request with ecm length = 0x64 (hex)
  296. DCW TIMEOUT : 3500 # delay after that if no cw returned from servers, multics would send decode failed to client
  297. DCW MAXFAILED: 10 # Maximum of successive decode failed returned from a card on a channel to block sending ecm requests to this card
  298. DCW CHECK: 1 # Check and filter wrong dcw for this profile if the client sending request has dcwcheck enabled (default=0)
  299. SERVER MAX: 0 # (dont use) max server to use for decoding one ecm request. (default=0,unlimited)
  300. SERVER FIRST: 2 # the number of servers to send ecm upon receiving request (default=0, one server)
  301. SERVER INTERVAL: 1000 # interval between sending ecm request to servers. first server will be requested at receiving ecm request from client, the second request will be done after "SERVER INTERVAL" has been elapsed and so ...
  302. SERVER TIMEOUT: 2500 # max time for selecting servers to decode one ecm request it must be greater than "SERVER INTERVAL"
  303. SERVER VALIDECMTIME: 2000 # Disable sending ecmrequest to cards with ecmtime greater than 2000ms (default=0,all card are accepted)
  304. RETRY NEWCAMD: 1 # Number of retries for newcamd servers (default=0(no retry);max=3)
  305. RETRY CCCAM: 5 # Number of retries for Cccam servers (default=0;max=10)
  306. DISABLE NEWCAMD: NO # Enable/Disable sending ecm requests to Newcamd servers (default=NO,enabled)
  307. DISABLE CCCAM: NO # Enable/Disable sending ecm requests to CCcam servers (default=NO,enabled)
  308. DISABLE RADEGAST: NO # Enable/Disable sending ecm requests to Radegast servers (default=NO,enabled)
  309. DISABLE CACHE: NO # Enable/Disable receiving dcw from cache (default=NO,enabled)
  310. ENABLE CACHEEX: YES # Enable/Disable receiving dcw from cacheex (default=NO,disabled)
  311. CACHEEX VALIDECMTIME: 1000 # Block sending dcw from local cache to cacheex if they have ecmtime greater than 1000ms
  312. ## Newcamd
  313. KEY: 01 02 03 04 05 06 07 08 09 10 11 12 13 14 # newcamd des key (optional, if not set default key is used)
  314. PORT: 5501 # if not set the value of the previous profile's port is taken +1 (default=8000)
  315. # newcamd clients
  316. USER: user1 pass1 # Newcamd client ( nline is like that "N: mydns.dns 5501 user1 pass1 01 02 03 04 05 06 07 08 09 10 11 12 13 14" )
  317. USER: user2 pass2
  318.  
  319. #### SECOND PROFILE
  320. [ART]
  321. -----
  322. CAID: 0604
  323. PROVIDERS: 0,1,2,3
  324. # Accept only requests for irdeto channels within next (sid:chid) list
  325. SID LIST: 02c2:00cc 02c4:00cd 02c5:009c 02bf:0020 02c1:0086
  326.  
  327. INCLUDE "/var/etc/profiles.cfg" # tell multics to read also the file '/var/etc/profiles.cfg'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement