#4174 closed enhancement (fixed)
Irdeto CHID_BASE_DATE table update
Reported by: | newcslover | Owned by: | newcslover |
---|---|---|---|
Priority: | minor | Component: | Card support |
Severity: | medium | Keywords: | irdeto+betacrypt chids date fix |
Cc: | Sensitive: | no |
Description
Revision
<10653>
Issue Description
<Irdeto CHID_BASE_DATE table update>
Reference: http://www.streamboard.tv/wbb2/thread.php?postid=542307
Irdeto date starts 01.08.1997 which is 870393600 seconds in unix calendar time since old cards no longer operational
so we need to use next pool/base_date which is valid for most irdeto cards and define the rest in table
The above is offcours not be true for all Irdeto cards so we still need to keep base date table for cards with different base date
we need to find a way to identify cards to set the base date like you did for NDS smile
The Table has been reduced, card with base date 946598400L does not need definition since 946598400L is default.
You may edit or remove the comments from inside the patch as i wrote it for making sense :)
Example of some cards with base date 946598400L:
{0x0627, 0x0608, "EGY", 946598400L}, 30.12.1999, 16:00
{0x0647, 0x0005, "ITA", 946598400L}, 31.12.1999, 00:00 Redlight irdeto
{0x0664, 0x0608, "TUR", 946598400L}, 31.12.1999, 00:00
{0x0624, 0x0006, "CZE", 946598400L}, 30.12.1999, 16:00 skyklink irdeto
{0x0624, 0x0006, "SVK", 946598400L}, 30.12.1999, 16:00 skyklink irdeto
{0x0666, 0x0006, "SVK", 946598400L}, 30.12.1999, 16:00 cslink irdeto
{0x0668, 0x0006, "SVK", 946598400L}, 30.12.1999, 00:00 Towercom Irdeto
{0x0666, 0x0006, "CZE", 946598400L}, 30.12.1999, 16:00 cslink irdeto
{0x0648, 0x0608, "AUT", 946598400L}, 31.12.1999, 00:00 orf ice irdeto
{0x0648, 0x0005, "AUT", 946598400L}, 31.12.1999, 00:00 orf ice irdeto
{0x0604, 0x0006, "UGA", 946598400L }, dstv v6 uganda card
{0x0604, 0x0006, "NGA", 946598400L }, dstv v6 Nigerian card
{0x0604, 0x0006, "SLE", 946684800L }, dstv v6 SLE card
{0x0604, 0x0006, "AGO", 946598400L }, dstv v6 Angola card
{0x0604, 0x0006, "GHA", 946598400L }, dstv v6 Ghana card
{0x0604, 0x0006, "KEN", 946598400L }, dstv v6 Kenya card
{0x0664, 0x0006, "TUR", 946598400L }, digiturk V6 card
{0x0664, 0x0608, "TUR", 946598400L }, digiturk v5.7 card
{0x0606, 0x0006, "ZAF", 946598400L }, dstv v6 south africa
{0x0649, 0x0607, "IND", 946598400L }, sun dth india
{0x0639, 0x0005, "IND", 946598400L }, videocon dth india
so since keeping 946598400L default base date we no longer need these entries in table there should be alot more card with base date 946598400L.
Attaching patch ..!
Regards
Attachments (2)
Change History (9)
by , 9 years ago
Attachment: | oscam.patch added |
---|
comment:1 by , 9 years ago
You know all other cards that uses the base date "870393600" as default?
If you will change the default base date, only you are responsible for ensuring that this cards
with base date "870393600" and all needed parameters are entered into the table. Nobody else.
comment:2 by , 9 years ago
In addition: With your patch, all current German and Austrian BetaCrypt cards
are excluded. Cable as well as satellite. Result: An incorrect Entitlements date
is displayed (D02/D01/S02/S01/K01/K02/P02/A02/UM02/UM22/I12).
You have already read the complete source, not just look at the table. ;)
Furthermore, the so-called "irdeto base date" does not refer to Irdeto, this
is normal, because it refers to the BetaCrypt start date, this is historical.
BTW:
BetaCrypt is a modified Irdeto of DF1/Premiere/BetaResearch/-Digital, for
example, see other CAIDs in "reader-irdeto.c".
comment:3 by , 9 years ago
Keywords: | irdeto+betacrypt added; irdeto removed |
---|
@MFco
Thanks for your remarks , i was not aware of betacrypt cards, i am attached new patch this should FIX problem for irdeto and will never break betacrcypt, betacrypt cards will remain using its own default 870393600 base date.
please follow up the thread , try the last patch i attached , i am sure all betacrypt and irdeto users will be happy.
Regards
comment:4 by , 9 years ago
Replying to newcslover:
Revision
<10653>
Issue Description
<Irdeto CHID_BASE_DATE table update>
Reference: http://www.streamboard.tv/wbb2/thread.php?postid=542307
Irdeto date starts 01.08.1997 which is 870393600 seconds in unix calendar time since old cards no longer operational
so we need to use next pool/base_date which is valid for most irdeto cards and define the rest in table
The above is offcours not be true for all Irdeto cards so we still need to keep base date table for cards with different base date
we need to find a way to identify cards to set the base date like you did for NDS smile
The Table has been reduced, card with base date 946598400L does not need definition since 946598400L is default.
You may edit or remove the comments from inside the patch as i wrote it for making sense :)
Example of some cards with base date 946598400L:
{0x0627, 0x0608, "EGY", 946598400L}, 30.12.1999, 16:00
{0x0647, 0x0005, "ITA", 946598400L}, 31.12.1999, 00:00 Redlight irdeto
{0x0664, 0x0608, "TUR", 946598400L}, 31.12.1999, 00:00
{0x0624, 0x0006, "CZE", 946598400L}, 30.12.1999, 16:00 skyklink irdeto
{0x0624, 0x0006, "SVK", 946598400L}, 30.12.1999, 16:00 skyklink irdeto
{0x0666, 0x0006, "SVK", 946598400L}, 30.12.1999, 16:00 cslink irdeto
{0x0668, 0x0006, "SVK", 946598400L}, 30.12.1999, 00:00 Towercom Irdeto
{0x0666, 0x0006, "CZE", 946598400L}, 30.12.1999, 16:00 cslink irdeto
{0x0648, 0x0608, "AUT", 946598400L}, 31.12.1999, 00:00 orf ice irdeto
{0x0648, 0x0005, "AUT", 946598400L}, 31.12.1999, 00:00 orf ice irdeto
{0x0604, 0x0006, "UGA", 946598400L }, dstv v6 uganda card
{0x0604, 0x0006, "NGA", 946598400L }, dstv v6 Nigerian card
{0x0604, 0x0006, "SLE", 946684800L }, dstv v6 SLE card
{0x0604, 0x0006, "AGO", 946598400L }, dstv v6 Angola card
{0x0604, 0x0006, "GHA", 946598400L }, dstv v6 Ghana card
{0x0604, 0x0006, "KEN", 946598400L }, dstv v6 Kenya card
{0x0664, 0x0006, "TUR", 946598400L }, digiturk V6 card
{0x0664, 0x0608, "TUR", 946598400L }, digiturk v5.7 card
{0x0606, 0x0006, "ZAF", 946598400L }, dstv v6 south africa
{0x0649, 0x0607, "IND", 946598400L }, sun dth india
{0x0639, 0x0005, "IND", 946598400L }, videocon dth india
so since keeping 946598400L default base date we no longer need these entries in table there should be alot more card with base date 946598400L.
Attaching patch ..!
Regards
Updated description:
ignore first patch as our friend MFco tried it and found it invalid against betacrypt card, the patch will check for caid either irdeto or betacrypt and mark using a newbie flag lol
under chid_date if card is irdeto then it overide the default base date, the table has been also reduced as since 946598400L is selects as default for irdeto so we no longer needs entries with this date.
1st default date: 870393600L is applicable for betacrypt cards
2nd default date: 946598400L is applicable for irdeto cards
+
if any base date matches in table then the defined base date should be in use.
P.S we should implement a universal chid/tiers base date for all cards ... and that would be by utilizing unix dates difference against chids date compared to system time.
chid date fix patch