Hi I was woudering what cashex does in oscam ? And what are the benifits in useing it ?? I read it helps to lower ecm times but don't no how to set it up ????
cashex what does it do ??
-
- CacheEX OSCam
- pem1
- Thread is marked as Resolved.
-
-
From oscam wiki
Quotecacheex
Quoteparameter is optional
NEW svn6039:11/26/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.server!
Identical cache exchange modes must be set on local OSCam user account and remote OSCam server!
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 ECMs.
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 ---> BI have not used this so cannot comment on how good it is or not. Its a csp like feature so yes if ecm was served from cache yes times would be much faster the way it works i think is when more than one user is watching the same channel it only sends one request to the card instead of multiple with the other being served by cache.
Setting up looks to be done via entries in both server and user configs.Code
Display Moreoscam.server cacheex = 0|1 1 = enable cache exchange 0 = defaultcache exchange oscam.user cacheex = 0|1 1 = enable cache exchange 0 = default
Im sure somebody else here will have used it and explain better.
-
yes i have read that to m8 ?
-
Let me have a go at it.
CacheEx is short for Cache Exchange.
As the name implies it is not just cache but will exchange your entire cache
to the cache of a participant.
In order to benefit from this one must have cache enabled and participants willing
to exchange their cache with you.
Both sides MUST have the same cacheex settings.
No need to have C or other lines swapped!What happens is if an ECM request is done to f.i. your SERVER and the answer is given
it will be stacked in your cache.
This is also the case for those who participate in your cacheex.
Hence it is not only the ECM's solved by your SERVER but of the entire sum
of servers in your cacheex.Using cacheex will extent the possibility of a direct cache hit tremendously
given the participants share different cards.RelookPVR
-
Hi guys!
iam completly new at this forum and this is one of my first posts. Great forum by the way, has help me alot, and now iam trying to give something back to the community :)
i have tested oscam and the cacheex modes there is, mode 1 - 2 - 3.
at the tiem speaking i have multiple oscams runnig cacheex mode 2 and 3 as 1 is not recomended (oscam.cacheex) <----- if sombody have tested mode 1 with success iam happy to hear about it.
iam throwing in a config exemple on cache exx mode 3 over camd35 UDP protocoll. as this mode only allow for cach exchange and not cardsharing.
iam having great success with cacheex and it do the job very good. i have changed out my CSP server against this.
example:
CacheEX = Mode 3
Protocol = camd35 UDP [cs357x]OBS: portforwarding needs 2 entry 1 for UDP and 1 for TCP
oscam.conf
camd35 - serveroscam.server
Reader - cacheexCode
Display More[reader] label = Cacheex mode 3 revers psuh description = cacheex protocol = camd35 device = IP/Domain,25000 user = USERNAME password = PASSWORD cacheex = 3 group = 1 blockemm-unknown = 1 blockemm-u = 1 blockemm-s = 1 blockemm-g = 1 dropbadcws = 1 audisabled = 1
oscam.user
User for Oscam2 (two way connection)Code[account] user = USERNAME pwd = PASSWORD description = cacheex mode 3 camd35 group = 1 uniq = 3 cacheex = 3 allowedprotocols = camd35
This is config for a working two way setup
it needs to be setup on both oscam (oscam1 and oscam 2)
so the the reader of oscam1 is using user account of oscam2, and vice versa
with this setup there os ONLY cahe and normal function (request ECM) wil not work. (CACH ONLY)
If there is unclarity of how it works i can be of assisten of setting it up.
Best regards
PrillyPS: If you find this useful, please give me a thumbs up
-
Hi guys!
iam completly new at this forum and this is one of my first posts. Great forum by the way, has help me alot, and now iam trying to give something back to the community :)
i have tested oscam and the cacheex modes there is, mode 1 - 2 - 3.
at the tiem speaking i have multiple oscams runnig cacheex mode 2 and 3 as 1 is not recomended (oscam.cacheex) <----- if sombody have tested mode 1 with success iam happy to hear about it.
iam throwing in a config exemple on cache exx mode 3 over camd35 UDP protocoll. as this mode only allow for cach exchange and not cardsharing.
iam having great success with cacheex and it do the job very good. i have changed out my CSP server against this.
example:
CacheEX = Mode 3
Protocol = camd35 UDP [cs357x]OBS: portforwarding needs 2 entry 1 for UDP and 1 for TCP
oscam.conf
camd35 - serveroscam.server
Reader - cacheexCode
Display More[reader] label = Cacheex mode 3 revers psuh description = cacheex protocol = camd35 device = IP/Domain,25000 user = USERNAME password = PASSWORD cacheex = 3 group = 1 blockemm-unknown = 1 blockemm-u = 1 blockemm-s = 1 blockemm-g = 1 dropbadcws = 1 audisabled = 1
oscam.user
User for Oscam2 (two way connection)Code[account] user = USERNAME pwd = PASSWORD description = cacheex mode 3 camd35 group = 1 uniq = 3 cacheex = 3 allowedprotocols = camd35
This is config for a working two way setup
it needs to be setup on both oscam (oscam1 and oscam 2)
so the the reader of oscam1 is using user account of oscam2, and vice versa
with this setup there os ONLY cahe and normal function (request ECM) wil not work. (CACH ONLY)
If there is unclarity of how it works i can be of assisten of setting it up.
Best regards
PrillyPS: If you find this useful, please give me a thumbs up
used the above example and got the cacheex to work and getting hits also
-
I have done some experiments with CSP and cacheex
if you have a CSP server and oscam you can make a very good setup here!
what i did was this:
setup CSP port in oscam, use CSP connector in CSP to push cache from csp to oscam
then you can use cacheex in oscam to push it further to other oscam clients! or share, much more secure than giving direct access to csp.
Prilly
-
I have done some experiments with CSP and cacheex
if you have a CSP server and oscam you can make a very good setup here!
what i did was this:
setup CSP port in oscam, use CSP connector in CSP to push cache from csp to oscam
then you can use cacheex in oscam to push it further to other oscam clients! or share, much more secure than giving direct access to csp.
Prilly
Hi can you explain better this config
Thanks -
Hi can you explain better this config
ThanksHi m8
Add this line to oscam.conf to enable CSP port in oscam
port is changable :)
And use domain/IP of your server and port to setup a normal csp connector
then you shuld be ready for action :PNOTE:
There has been an critical update to OScam AFTER SVN 6486, Cache engine has been changed to a new one, called reloaded.
This makes SVN version earlier that SVN 6486 uncompatible with SVN version later than 6486
so update oscam before atempting to use CacheEXBest regards
Prilly
OSCam Support Forum
Configs, discussion, downloads and guides for OSCam Softcam.
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!