Opened 10 years ago

Closed 9 years ago

#3616 closed defect (fixed)

CWC IGN cause Frezzer

Reported by: Luca1234 Owned by: Luca1234
Priority: critical Component: CW Cycle Check
Severity: high Keywords: CWC IGN
Cc: Sensitive: no

Description

Revision

OSCAM_9449/r659

Issue Description

Cycle Check IGN causes Frezzer

When the issue occurs

It depends on the Cache Hits

How the issue is reproducable

I dont know what the CWC is Ignoring but if it is IGN it cause a Frezzer

Would it be better if the CWC recognizez a IGN CW to forward to a Fallback Reader?

Don´t know what is the cause of this problem

Here is a little LOG from wehn the problem occurse:


OSCam << cardserver log switched at Mon Jan 27 17:35:16 2014


2014/01/27 17:35:16 0 >> OSCam << cardserver log switched, version 1.20-unstable_svn, build r659 (x86_64-linux-gnu)
2014/01/27 17:40:14 CE3070 c user1 (09CD&000000/0652/2D62/B7:4E108900989CCCF33337F0F77D845C48): cache3 (128 ms) by *-cache (P/2/2/2) - Sky Calcio 12 (cw count 6) (cwc NDS IGN)
2014/01/27 17:41:54 7856D3A0 c user2 (09CD&000000/0652/2D62/B7:4E108900989CCCF33337F0F77D845C48): cache3 (204 ms) by
*-cache (P/2/6/9) - Sky Calcio 12 (cw count 6) (cwc NDS IGN)
2014/01/27 18:03:17 644D6150 c user3 (09CD&000000/0644/2D54/B7:FD7908D46FFEBA3CA8DC54A18A4A3E0D): cache3 (73 ms) by *-cache - Sky Prima Fila (cw count 3) (cwc NDS IGN)

Attachments (2)

log.txt (886 bytes ) - added by Luca1234 10 years ago.
Log when CWC IGN
swapp_1.patch (10.0 KB ) - added by blaky 10 years ago.
add onbadcycle = 2

Download all attachments as: .zip

Change History (8)

by Luca1234, 10 years ago

Attachment: log.txt added

Log when CWC IGN

comment:1 by blaky, 10 years ago

first:
the cw makes the frezzer not the cwcheck ;-)

what is the cause that you get (cwc NDS IGN)?:

cwc detects a cw on the wrong side (odd/even) of the whole 16Byte CW
so cwc do NOTHING because it seems some provider make this swapping willfully

after the cwc check oscam got a routine inside to swapp the cw part on the right side, so the demuxer can use this swapped cw

in your case it seems that the cw is swapped back but still not right. if the cw part is right, can you only see on your TV

Anyway
maybe it helps
i extend option cwcycle_onbad :
cwcycle_onbad = 0 only log
cwcycle_onbad = 1 Drop Bad CW / IGN Swapped CW
cwcycle_onbad = 2 Drop Bad CW / Drop Swapped CW

Last edited 10 years ago by blaky (previous) (diff)

by blaky, 10 years ago

Attachment: swapp_1.patch added

add onbadcycle = 2

comment:2 by Luca1234, 10 years ago

Thank you for your HELP

I test now whit your Patch if it get better.

If not I will post the next LOG but I hop that the problem is solved now.

I recocnized it many times in my LOG but until I see it on TV that it was a Frezzer I did not think it was a bad thing.

Will replay soon if it got better

thank you again

greeting

Luca1234

comment:3 by Luca1234, 10 years ago

New Problem

Oscam drops the CW but dose not ask the Fallback reader in case of Swaped CW:

2014/01/28 17:42:55 0 cyclecheck [Swapped NDS CW] for: user 09CD&000000/03A1/2AB1/B7:02CCDCD14BC5B9BDBD4B9924F3715800 from: cache -> drop cw

2014/01/28 17:43:05 0 cyclecheck [Swapped NDS CW] for: user 09CD&000000/03A1/2AB1/B7:CC0188A78182C738F8E30C34C17D874D from: cache -> drop cw

But askes a Peer in my Case for the right ECM:

2014/01/28 17:42:58 FC198790 c user (09CD&000000/03A1/2AB1/B7:02CCDCD14BC5B9BDBD4B9924F3715800): found (2526 ms) by peer (F/7/7/9) - Sky Sport 24 (cwc NDS OK)

2014/01/28 17:43:08 FC198790 c user (09CD&000000/03A1/2AB1/B7:CC0188A78182C738F8E30C34C17D874D): found (2523 ms) by peer (F/7/7/9) - Sky Sport 24 (cwc NDS OK)

In this Case I see that the CW is the same but if it is possible to reffer to a Fallback reader, in my case a Local Card, for Swapped CW it would be better for me becouse the CW from Peer has done the same Frezzer as it do from Cache.

Finaly my Idee is to switch to a Fallback Reader if a Swapped CW is detected.

Is this possible?

thanks in anticipation

Greetings

Luca1234

Last edited 10 years ago by Luca1234 (previous) (diff)

comment:4 by Luca1234, 10 years ago

Priority: majorcritical
Severity: mediumhigh

comment:5 by blaky, 10 years ago

Please discuss this in board
For NDS is only a light check possible we could only check the CW Syntax not the CW itself.
And by the way you See the checksum not the CW.

comment:6 by BigGyros, 9 years ago

Resolution: fixed
Status: newclosed

nds cwc and ecm handling was improved in the last commits form blueven and blaky. please test with latest oscam version.

Note: See TracTickets for help on using tickets.