Can Oscam detect a user is resharing a line?

four_sextacy

Member
Messages
63
Hi everyone.

I have a question regarding resharing lines in oscam. Let's say I give someone a cline. That person then creates a reader in his oscam.server file with the cline details (ip, port, username, pass, etc). Can that person create users in his oscam.user file, linking it to the reader with the cline I gave him? In other words, will that person be able to reshare the line I gave him?

Kind Regards
 

Tesfer

Member
Messages
78
You can set reshare to zero (= no hops) in your oscam.user file but that can be got around by some peers.

The best way is to monitor users ECM usage and ditch anyone who has an excessive usage.
 

four_sextacy

Member
Messages
63
In oscam.user, let's suppose I want to create a cline for my friend Mark. Setting cccreshare = 0, as you suggested, for user "Mark" implies reshare for direct peer only. User "Mark" will be connecting to my server with the cline I created for him. Now let's say that user "Mark" wants to fool me and decides to create a line for his friend "John" in his oscam.user file. When user "John" requests ecm's, Mark's oscam server gets called, which calls my oscam server. My oscam server returns the ecm to Mark, and Mark's oscam server returns the ecm back to John. From my understanding, my oscam server knows nothing of Mark's users. How does oscam know if the ecm was supposed to be for Mark or one of Mark's users?
 

freon

Senior Member
Messages
395
If you set reshare 0 - hops 1 is ignored. (usualy)
With oscam that can be bypased. So then you have Anticascading.
If number of requested ecms is higih, or unusual it get's blocked.
 
Last edited:

four_sextacy

Member
Messages
63
Hi "freon". Thanks for the reply. Let's say you gave me a non reshare line. If I put that line into my oscam and create users for some of my friends to connect to my oscam. Will your oscam know that the ecms are being requested from hop 2 even though I'm requesting it directly, and not my friends? Or is the only way to catch prohibited resharing to actually manually monitor the ecm consumption?
 

freon

Senior Member
Messages
395
Let's say it like this. Your ecm request is some number per second to watch - no reshare. Than that ecm count doubles, or teiples per second (or whatever time given). I limit that ecm count in my oscam and nor you or your friends watch none.
Your username is blocked for execive usage of ecms.
 

four_sextacy

Member
Messages
63
Hi "freon". I'm understanding it now. So, oscam reaches detects if a user is resharing based on a defined ecm count. If the number of ecms surpasses the set amount, than the person must be resharing. Do I define the allowed ecm total? Or is that parameter defined automatically by setting reshare = 0?
 

Robinson74

Well Known Member
Messages
558
But what about watching 1 channel and recording 2-3 others at the same time? I am not resharing at all and ECM count will be rather high.
 

freon

Senior Member
Messages
395
With what equipment do you watch, and record 2 extra channels?
Mostly you watch one, and eventualy record another. With that there is no extra ecm count.
 

Robinson74

Well Known Member
Messages
558
I gave you an extreme example. E2 boxes do not have a problem recording several channels at the same time. I can easily record 4-5 channels on my ET9000 and I have heard VU+4K can record about 15-20 simultaneously.
 

freon

Senior Member
Messages
395
Well I have a Vu+ Solo2 and cannot preform recording of that much channels, nor if I could they would be valid. So argument is invalid.
 

four_sextacy

Member
Messages
63
I don't have a card to reshare. I was referring to how oscam works with regards to clines that you add from peers.

So what does cccreshare=0 really do? Does it really block resharing?
 

four_sextacy

Member
Messages
63
If setting ccreshre = 0 how does oscam know if the line is being reshared with next hop? Does the hop level get sent to the oscam server for every ecm request?
 

four_sextacy

Member
Messages
63
Hi freon. So then that says it all. Can you confirm if the following is true. If you give me a cline that's not meant for reshare. I put the line in my oscam server. I create users to connect to my oscam. When users try to request an ecm from my server, which only contains your line, my server asks your server for the ecm. Will your server return the ecm back to me, so that I can give it back to my users, given the line you gave me has no reshare rights?
 

freon

Senior Member
Messages
395
When I set up a C line with no reshare option, only you can watch. If you try to trick me for reshare - also your hop will be blocked.
Like CCcam, mgcamd - oscam has it's network ID so that's how reshare is limited.
 
Top