Here is a small example how to filter out unwanted and/or fake providers on Oscam cccam readers. I could not find an easy howto on the internet so I thought I would share how to set this up.
As example. We would like to filter out fake seca and via providers on the CCCam reader. My own local is 4106 so I also filter this as there is no need to receive any of the subscribed SIDs from any other readers as long as my local works fine.
Create new entries in the services file and add the CAID and Provid which you do not want.
oscam.services
[d+seca]
caid = 0100
provid = 004106
srvid = 7792,7738,772D,6FF0,6FF3,6FF4,7013,7468,7469,746A, 746B,746C,746D,746E,746F,7471,7472,7473,7474,7476, 7477,75A9,75B1,75B2,75C6,75F9,75FA,75FB,75FC,75FD, 75FE,7601,7602,7609,760C,760E,7692,7694,7696,7699, 769E,76C0,76C1,76C3,76C4,76C5,76C6,76C7,76C8,76CA, 76CC,7729,772D,772E,7730,7731,7732,7735,7736,7738, 773A,7788,7789,778A,778B,778C,778D,778E,778F,7790, 7792,7793,7796,779C,779D,77BB,77BD,77BE,77BF,77C0, 77C1,77C2,77C5,77C6,77C7,77C9,77CB,77D8,756C,76CE, 77C3,7604,7470,77F4,772F,772E,7479,77F5,7797,772A, 77BC,77EE,76C9,7798,7477,7795
[VIA_FAKE]caid = 0500provid = 020820,020a10,020a20,020a30,021120,022f10,024f10,0 25910,030a10,030a20,030a30,030a40,032840,032910,03 2930,032940,032950,040820,040830,041710,042210,042 410,042710,042810
In the server file add an entry called services for a CCCam reader, add the earlier defined entries in the services file and put an “!” in front of it.
oscam.server
[reader]label = Reader labelprotocol = cccamdevice = Host,Server_portuser = Userpassword = Passwordservices = [COLOR='#FF0000']!d+seca,!seca_fake,!via_fake[/COLOR]
Make sure the the conf file has “reshare_mode” set to “1″ in the cccam section.
oscam.conf
[cccam]port = server_portreshare = xignorereshare = xversion = x.x.xstealth = xnodeid = FEDBADF00DFEDBADreshare_mode = 1
When done restart Oscam and check if the CCCam global list (the shares you advertise to your CCCam clients) does not show the Provid´s you have set to block in the oscam.services file.
Please be aware that when checking the CCCam reader list of shares it will still show the providers we´ve filtered, the CCCam global list should not show them.
Of course you can add more providers and caids. I´ve just used 2 for this example. I hope the above may help other users.
Credit to the original Author.