Welcome to Cardshare.net


Your forum for everything about cardsharing.


  • Tutorials & How-to's
  • Ask for help with your setup
  • Share your cards and peers
  • Download files

We have everything!


YES! I want to register an account for free right now!


Page 1 of 2 12 LastLast
Results 1 to 10 of 11
Like Tree1Likes

Thread: Oscam Cache

  1. #1
    Enzoload is offline Administrator
    Join Date
    Nov 2009
    Posts
    201
    Downloads
    2
    Uploads
    17

    Default Oscam Cache

    As per title , I have seen in the newer versions of Oscam that configs now mention cache

    Does anyone know how this works ??
    How efficient is the cache ??
    Does this work in the same way as CSP ??

    I would be interested in your findings, has it improved the way oscam works for you ?, has it slowed down the system resulting in disabling this feature ?, or is it continually getting better with each new version released ?

    Please Post what you think of this feature Good, Bad, or merely a Gimmick ???
    Azbox Me 1TB HDD (Oscam 1.20 6389)
    Boot 0: RSI 0.3 b
    Boot 1: Spaze millenium1.0
    Boot 2: RTI 1.7
    AZbox premium HD+ 1TB HDD Spaze 2.1 (Oscam 1.20 6389)

    NO SUPPORT BY PM.

    T90

    9E-13E-16E-19.2E-23.5E-28.5E -31.5E

  2. #2
    Banaan is offline Super Moderator
    Join Date
    Dec 2011
    Posts
    103
    Downloads
    0
    Uploads
    0

    Default let me start :-)

    To make OScam more effective, some people call this stealing, I call it effective sharing as you ignore what ever reshare your peers set.

    Waarom zou je iemand willen beperken als je kaart toch verborgen is?

    OScam heel anders CCcam, het is een proxy dat kan kletsen via vele protocolen.
    And the actual cam is the DVB-API module, even your own card-reader is gezien als een peer en werkt ook als zodanig.
    Het heeft dus geen zin achter kaarten te zoeken, want hij laat toch geen verbindingen zien.
    Voor de CCcam mensen kan je alle kaarten apart laten zien, maar dit is eigenlijk zinloos.
    Vandaar dat ik er zelf voor kies de kaarten te sorteren op CAID en als zodanig lijken ze allemaal op HOP1 te staan met de reshare die ik wil, maar dit is enkel om CCcam te plezieren want OScam zelf doet hier niet aan tenzij je zelf de peers beperkt op hoe diep je kaarten wilt halen.

    Hoe doe je dit? Wel zo:

    oscam.conf
    Code:
    [cccam]
    port                          = 12000
    reshare                       = 2
    ignorereshare                 = 1
    version                       = 2.1.4
    minimizecards                 = 2
    stealth                       = 1
    nodeid                        = AAABBBCCCDDDEEEE
    reshare_mode                  = 1
    Reshare zet je op 2 en ignorereshare op 1, dus geeft je iedereen 1 extra reshare en je ignored wat de peer geeft aan reshare.
    Heel simpel JIJ bepaald hier wat er gebeurd, niet de peer waarvan je ze krijgt.
    Hier hebben payservers dus een bloedhekel aan
    Minimizecards = 2 is heel simpel, alle kaarten komen op hop 1 en enkel gesorteerd op CAID, dus niet op losse kaarten.
    Reshare mode = 1 is de reader of user bepaald de aantal reshare als er een CCcam-client aanhangt.

    oscam.user
    Code:
    [account]
    user                          = usernaam
    pwd                           = paswoord
    group                         = 1
    cccmaxhops                    = 5
    cccreshare                    = 2
    cccignorereshare              = 1
    cccstealth                    = 0
    keepalive                     = 1
    Zo maak je een user aan, groep moet hetzelfde zijn als de groepen van de peers, zodat je kaarten kan sharen, zit een kaart in een andere groep dat gaat hij niet door naar de user. Simpel en effectief.
    Let wel, de user is systeem-wide!!! Dus als je wilt dat de user enkel CCcam kan doen dan moet je dat opgeven in protocollen want anders mag hij ook bv Newcamd doen.
    Lijkt me duidelijk, de user krijgt 5 hops diep, beetje zinloos aangezien we hierboven de kaarten toch op hop 1 gezet hebben
    Met cccstealth verberg je je OScam, persoonlijk maal ik er niet om of mensen het zien of niet.
    Keepalive is wel zinvol, hiermee houd hij de poort open zodat de cam minder tijd verliest die opnieuw te openen.

    oscam.server
    Code:
    [reader]
    label                         = smart-tvv
    protocol                      = smartreader
    device                        = Serial:tvvkaart
    device_out_endpoint           = 0x82
    smargopatch                   = 1
    showcls                       = 0
    caid                          = 0100
    detect                        = cd
    mhz                           = 480
    cardmhz                       = 357
    ident                         = 0100:00006C
    group                         = 1
    emmcache                      = 1,3,2
    saveemm-unknown               = 1
    saveemm-u                     = 1
    saveemm-s                     = 1
    saveemm-g                     = 1
    lb_weight                     = 500
    dropbadcws                    = 1
    ccchop                        = 2
    ratelimitecm                  = 3
    ratelimitseconds              = 10
    
    [reader]
    label                         = peer-naam-label
    protocol                      = cccam
    device                        = domein.dyndns.org,12000
    user                          = usernaam
    password                      = paswoord
    inactivitytimeout             = 30
    reconnecttimeout              = 2
    group                         = 1
    lb_weight                     = 50
    cccversion                    = 2.2.1
    cccmaxhops                    = 4
    cccwantemu                    = 1
    ccckeepalive                  = 1
    cccreshare                    = 2
    audisabled                    = 1
    Gebruikte cardreader = Smargo 1.07!!! Waarom 1.07??? Wel daar kan je een "Device-Label" in hangen waardoor OScam de Smargo hekent op naam in plaats van poort.
    Erg handing want als je de Smargo wel eens versteekt moet je altijd de Busevice aanpassen, met deze grap moet dat niet meer, en kan enkel met 1.07 firmware.
    Als je ook goed opgelet hebt staat de LB_WEIGHT van de smargo op 500 en die van de peer op 50, we willen immers dat de Smargo voorgaat op de peers.

    Even voor de duidelijkheid: ccchop = 2
    Met deze parameter bepaald je op welke hop je card-reader moet zitten, dus in mijn voorbeeld zit de lokale-kaart op 2 hops, kan me goed voorstellen dat veel mensen hem op hop 0 willen laten zien.

    Meer is er niet aan, happy sharing!!!

    Wel zijn er veel CCcam peers die het verkeerde beeld van OScam hebben, beter licht je ze gewoon in wat je doet en hoe je het doet, over het algemeen heeft men er geen problemen mee en willen ze het zelf ook doen.

    Ik raad je echter wel aan je peers in diepte te beperken want aan kaarten die verder dan 3~4 hops zitten heb je niks, hou je kaart-response beneden de 600msec (peers en local) dan hapert het beeld niet.
    OScam geeft dat netjes op de status pagina aan.

    Om de local card te updaten kies 1 a 2 bepaalde ontvangers en in hun user-profile zet je bij de user:

    oscam.user (ontvanger die moet updaten)
    Code:
    au                            = smart-tvv,smart-cd
    Net hoeveel kaarten geupdate moeten worden, bij alle anderen disable je AU door die aan te vinken in de webinterface.

    Hou er wel rekening mee dat OScam vaan van 0 begint te tellen en niet zoals andere cam's van 1.
    Dus Sid op 3 = Sid 1,2,3 en 4!! want hij telt: 0,1,2,3 = dus 4 sids.
    Last edited by Banaan; 6th February 2012 at 16:17.
    Spookje likes this.

  3. #3
    Enzoload is offline Administrator
    Join Date
    Nov 2009
    Posts
    201
    Downloads
    2
    Uploads
    17

    Default

    Thanks Bassie, now i have to find i way to translate this to English.
    Azbox Me 1TB HDD (Oscam 1.20 6389)
    Boot 0: RSI 0.3 b
    Boot 1: Spaze millenium1.0
    Boot 2: RTI 1.7
    AZbox premium HD+ 1TB HDD Spaze 2.1 (Oscam 1.20 6389)

    NO SUPPORT BY PM.

    T90

    9E-13E-16E-19.2E-23.5E-28.5E -31.5E

  4. #4
    Banaan is offline Super Moderator
    Join Date
    Dec 2011
    Posts
    103
    Downloads
    0
    Uploads
    0

    Default

    I started off in English and moved to Dutch halve way down, then I correct myself and put everything in Dutch again

    Have fun translating

  5. #5
    Banaan is offline Super Moderator
    Join Date
    Dec 2011
    Posts
    103
    Downloads
    0
    Uploads
    0

    Default

    Dus gaan we nog een stapje verder en filteren alle shit eruit, want ontvangers vragen alles wat mogelijk is, maar willen we dat ook?
    Dit doen we door services te gebruiken en we definieren wat er wel door mag, alles wat niet gekend is wordt NIET geshared!

    Stap 1:

    oscam.conf
    Code:
    [cccam]
    port                          = 12000
    reshare                       = 2
    ignorereshare                 = 1
    version                       = 2.1.4
    minimizecards                 = 2
    stealth                       = 1
    nodeid                        = AAABBBCCCDDDEEEE
    reshare_mode                  = 3 # <= belangrijk want dit laat enkel services door die gekend zijn!!
    En dan definieren we de services, rommel als 0622, 1816,1817, 1818 en andere troep laten we er niet in.

    oscam.services
    Code:
    # oscam.services generated automatically by Streamboard OSCAM 1.20-SB-Trunk-Dreamworld build #6325
    # Read more: http://streamboard.gmc.to/svn/oscam/trunk/Distribution/doc/txt/oscam.services.txt
    
    [0100]
    caid                          = 0100
    provid                        = 00006A,00006C,000068,004106,003311,004108,005001,005221
    srvid                         = 
    
    [0500]
    caid                          = 0500
    provid                        = 020810,020910,022030,022050,022200,022C00,023100,023700
    srvid                         = 
    
    [0500-1]
    caid                          = 0500
    provid                        = 023800,024400,024B00,025900,030B00,031D00,032000,032200
    srvid                         = 
    
    [0500-2]
    caid                          = 0500
    provid                        = 032500,032830,032920,040210,040810,041700,042400,042700
    srvid                         = 
    
    [0500-3]
    caid                          = 0500
    provid                        = 042800,050100
    srvid                         = 
    
    [0604]
    caid                          = 0604
    provid                        = 002800,010CB1,14583C
    srvid                         = 
    
    [0624]
    caid                          = 0624
    provid                        = FFFFFF
    srvid                         = 
    
    [0666]
    caid                          = 0666
    provid                        = FFFFFF
    srvid                         = 
    
    [0668]
    caid                          = 0668
    provid                        = 000100
    srvid                         = 
    
    [0628]
    caid                          = 0628
    provid                        = 000B00
    srvid                         = 
    
    [0919]
    caid                          = 0919
    provid                        = 000000
    srvid                         = 
    
    [093b]
    caid                          = 093B
    provid                        = 000000
    srvid                         = 
    
    [093e]
    caid                          = 093E
    provid                        = 000000
    srvid                         = 
    
    [0961]
    caid                          = 0961
    provid                        = 000000
    srvid                         = 
    
    [0963]
    caid                          = 0963
    provid                        = 000000
    srvid                         = 
    
    [09c4]
    caid                          = 09C4
    provid                        = 000000
    srvid                         = 
    
    [09cd]
    caid                          = 09CD
    provid                        = 000000
    srvid                         = 
    
    [0b00]
    caid                          = 0B00
    provid                        = 000000
    srvid                         = 
    
    [0d02]
    caid                          = 0D02
    provid                        = 000000
    srvid                         = 
    
    [0d03]
    caid                          = 0D03
    provid                        = 000000
    srvid                         = 
    
    [0d05]
    caid                          = 0D05
    provid                        = 000004
    srvid                         = 
    
    [1702]
    caid                          = 1702
    provid                        = 000000
    srvid                         = 
    
    [1722]
    caid                          = 1722
    provid                        = 000401
    srvid                         = 
    
    [1802]
    caid                          = 1802
    provid                        = 000000,002011,004801
    srvid                         = 
    
    [1810]
    caid                          = 1810
    provid                        = 004101
    srvid                         = 
    
    [1830]
    caid                          = 1830
    provid                        = 003411
    srvid                         = 
    
    [1833]
    caid                          = 1833
    provid                        = 000401
    srvid                         = 
    
    [1843]
    caid                          = 1843
    provid                        = 003411
    srvid                         = 
    
    [09d5]
    caid                          = 
    provid                        = 000004
    srvid                         = 
    
    [09d6]
    caid                          = 09D6
    provid                        = 000004
    srvid                         =
    Er zijn er vast nog wel die je wilt doorlaten, maar hiermee bepaal je wat de ontvanger KAN vragen, dus rotzooi komt er niet door.
    Als je nu checked dan kom je op ongeveer 29 kaarten uit!!
    Maar die werken WEL!

    Veel share plezier!

  6. #6
    Banaan is offline Super Moderator
    Join Date
    Dec 2011
    Posts
    103
    Downloads
    0
    Uploads
    0

    Default

    Do not mess with NodeID, if you do the EXT (=OScam detection) doesn't work anymore.
    I just gave a fake ID to see what happens, but if you do, it terminates the extended protocol between OScam <=> OScam.
    Don't mess with that line, if you did, just empty it in the webinterface and click safe, it will regenerate a proper one again.

  7. #7
    Banaan is offline Super Moderator
    Join Date
    Dec 2011
    Posts
    103
    Downloads
    0
    Uploads
    0

    Default

    Does anybody know how the CacheeX works? I have played with it, I see a pool being build but nothing leaves from there.

  8. #8
    dewi is offline Junior Member
    Join Date
    Jun 2010
    Posts
    23
    Downloads
    1
    Uploads
    0

    Default

    Hi,

    I found this

    no need to apologise mate we're all learners here . basically i use it in oscam.server like this cacheex = 1 & at the moment it shows CACHE = 255

    oscam.server

    cacheex = 0|1

    1 = enable cache exchange
    0 = defaultcache exchange

    oscam.user

    cacheex = 0|1

    1 = enable cache exchange
    0 = default

    cache exchange must be enabled on local and remote oscam reader . but as i said earlier i don't see any difference mate . hope you can shed some light on it .


    I will chance push and pull ???


    Dewi

  9. #9
    Banaan is offline Super Moderator
    Join Date
    Dec 2011
    Posts
    103
    Downloads
    0
    Uploads
    0

    Default

    Well I have found out how it works.
    You have to set Pull (=1) on your real cardservers, not peers!
    And set Pull (=1) on your OScam users, not users that use CCcam.
    Them it seems to work, as far as I can see.

    BTW I have asked the OScam developers to make a switch to turn CCcam without EXT off...
    I hope they implement that to force everybody to OScam.

    CCcam is nice for a standalone receiver without share, but for the rest it's crap.

  10. #10
    Enzoload is offline Administrator
    Join Date
    Nov 2009
    Posts
    201
    Downloads
    2
    Uploads
    17

    Default

    To make OScam more effective, some people call this stealing, I call it effective sharing as you ignore what ever reshare your peers set.


    Why limit reshare, this because the card is hidden.

    Oscam is a compleet different Emu then CCCam, it's proxy and able to communicatie with many protocols.
    And the actual cam is the DVB-API module, even your own card-reader is seen as local and works accordingly.
    That's why it has no use to try to find cards, it will not show connections
    For the CCcam user you cab show al cards, but this is quite useless.
    This is why i choose to sort al cards on Caid, in this way they are all shown on Hop1 with the reshare i shoose. This only to please the CCcam user, this only for CCcam because Oscam ignores this. You can shoose to limit the dept the user can read your reshare.

    How to do this,

    oscam.conf
    Code:
    [cccam]
    port                          = 12000
    reshare                       = 2
    ignorereshare                 = 1
    version                       = 2.1.4
    minimizecards                 = 2
    stealth                       = 1
    nodeid                        = AAABBBCCCDDDEEEE
    reshare_mode                  = 1
    Set the reshare to 2 and ingnorereshare to 1, now you give 1 more reshare ignore the reshare given by the peer.
    It shows that you decite what reshare you give, not what you receive from the peer
    This is exactly the thing payservers hate
    Minimizecards = 2 easy, all cards on hop1 and filtered on Caid (not on all cards separate)
    Reshare mode = 1 The reshare you want to give to a CCcam-client.

    oscam.user
    Code:
    [account]
    user                          = usernaam
    pwd                           = paswoord
    group                         = 1
    cccmaxhops                    = 5
    cccreshare                    = 2
    cccignorereshare              = 1
    cccstealth                    = 0
    keepalive                     = 1
    In this way you make a user, the group must be the same as the groups made in the peers, this is needed to share the cards.
    Is the card in another group, then it will not be shared to the user. Simpel but effective
    Take note, the user is system-wide!!!So if you want that the user is only able to use CCcam, you must set this in the protocols.
    If not, he can use Newcamd or other Emu's.
    Seems clear to me, the user get's 5 hops deep, a bitt useless because we already set the cards to hop1.
    With cccstealth you can hide the fact you are using Oscam, i think this is useless i dont care if they see i use Oscam (or not)
    Keepalive is usefull, with this you keep the portal open to make sure the cam doesn't lose time opening it again.

    oscam.server
    Code:
    [reader]
    label                         = smart-tvv
    protocol                      = smartreader
    device                        = Serial:tvvkaart
    device_out_endpoint           = 0x82
    smargopatch                   = 1
    showcls                       = 0
    caid                          = 0100
    detect                        = cd
    mhz                           = 480
    cardmhz                       = 357
    ident                         = 0100:00006C
    group                         = 1
    emmcache                      = 1,3,2
    saveemm-unknown               = 1
    saveemm-u                     = 1
    saveemm-s                     = 1
    saveemm-g                     = 1
    lb_weight                     = 500
    dropbadcws                    = 1
    ccchop                        = 2
    ratelimitecm                  = 3
    ratelimitseconds              = 10
    
    [reader]
    label                         = peer-naam-label
    protocol                      = cccam
    device                        = domein.dyndns.org,12000
    user                          = usernaam
    password                      = paswoord
    inactivitytimeout             = 30
    reconnecttimeout              = 2
    group                         = 1
    lb_weight                     = 50
    cccversion                    = 2.2.1
    cccmaxhops                    = 4
    cccwantemu                    = 1
    ccckeepalive                  = 1
    cccreshare                    = 2
    audisabled                    = 1
    Used cardreader = Smargo smartreader V 1.07 !!!Why 1.07 ?? Now you can use the function "Device-Label" just give the Smargo a fitting name and Oscam will reconnice the reader by name and not by port.
    Very usefull because if you need to switch the Smargo on USB connection you always need to adjust the Busevice, with this firmware this is not needed anymore. (only possible with v 1.07)
    Also shown my setting for the LB_WEIGHT of the Smargo set to 500, the peers are set to 50. This because we want to see you local card before the other servers.

    Just to make it clear: ccchop = 2
    With this parameter you determine on withs hop you want to sett your local reader, in my setup the local is shown on hop2.
    Many would want to show the card on hop0 (shown as local in CCcam)


    Thats all folks , happy sharing!!!

    The problem is that there are a lott of peers that have given Oscam the name "Bad" emu, just be honest and tell them that you are using Oscam. Generally after this they dont have a problem with Oscam and are willing to give Oscam a try.

    My advise to you, limit the use of card reshare in the dept. Card further away than 3~4 hops will give the server bad-responces, keep the below 600msec (peers en local).This will limit the freezes allot.
    Oscam will show all this nicelly on the Webif

    To keep you local card updated shoose 1 or 2 receivers and make the following settings in user:

    oscam.user (The receiver used for the update)
    Code:
    au                            = smart-tvv,smart-cd
    Do this for the amount of cards that need a update, to disable this on the other user just mark the AU in the Webif.

    Keep in mind that Oscam uses a different count starting with 0 and not like the other cams with 1.
    So Sid on 3 = Sid 1,2,3 and 4!! Oscam counts: 0,1,2,3 = 4 sids


    Translated by Enzo
    Azbox Me 1TB HDD (Oscam 1.20 6389)
    Boot 0: RSI 0.3 b
    Boot 1: Spaze millenium1.0
    Boot 2: RTI 1.7
    AZbox premium HD+ 1TB HDD Spaze 2.1 (Oscam 1.20 6389)

    NO SUPPORT BY PM.

    T90

    9E-13E-16E-19.2E-23.5E-28.5E -31.5E

 

 
Page 1 of 2 12 LastLast

Visitors found this page by searching for:

oscam cache exchange

oscam cache

cacheex oscam

oscam.cacheex

oscam cacheex howto

oscam services

oscam caching

how oscam works

oscam cache sharing

oscam ccchop

oscam cache2oscam cache howtooscam cache disablecacheex tutorialoscam cacheexoscam disable cacheoscam ignore caidoscam reshare_mode = 4cardshare proxyoscam reshare modehow to make oscam cachingoscam csp cachecacheex oscam to oscamoscam stealingoscam.srvid 1810

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Powered by vBulletin® Version 4.1.10
Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.
Search Engine Friendly URLs by vBSEO 3.6.0
Hacks por vBsoporte - vBulletin en Español
All times are GMT +2. The time now is 03:56.
vBulletin 4.0 skin by CompleteVB