|
Newcamd Cardserver 526/601 small bug
Both versions of Cardserver 526 and 601 have small bug with Digital+ Seca2 card when command for displaying of Entitlements is issued to the cardserver. For example:
Init -> Card 0/0 - 0100 - Sun Aug 14 00:38:21 CEST 2005
-------------------------------------------------------
00: c1 12 00 00 18
Init <- Card 0/0 - 0100 - Sun Aug 14 00:38:21 CEST 2005
-------------------------------------------------------
00: 40 01 44 49 47 49 54 41 4c 2b 20 20 20 20 20 20 @ DIGITAL+
10: 20 20 xx xx xx xx 1f 04 90 00 0
Init -> Card 0/0 - 0100 - Sun Aug 14 00:38:21 CEST 2005
-------------------------------------------------------
00: c1 1a 00 00 15
Init <- Card 0/0 - 0100 - Sun Aug 14 00:38:22 CEST 2005
-------------------------------------------------------
00: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
10: ff ff ff ff ff 6d 00 m
[cardserver 00:38:22] Card 0/0 communication error (Entitlement), trying to reset card
[cardserver 00:38:22] Card 0/0 reset
...
Correct answer from old Seca1 card:
Init -> Card 0/0 - 0100 - Sun Aug 14 00:54:21 CEST 2005
-------------------------------------------------------
00: c1 1a 00 00 15
Init <- Card 0/0 - 0100 - Sun Aug 14 00:54:21 CEST 2005
-------------------------------------------------------
00: ff ff 0d c8 00 f0 57 fa 5b 55 51 56 52 ff ff ff W [UQVR
10: ff ff ff ff ff 90 00
As you can see Digital+ Seca card does not recognize c1 1a 00 00 15 command used for reporting of keys stored in card (since algo is changed to Nagra this command is useless).
In order to fix this problem simple patch can be applied to cardserver. In this example patch is made for Cardserver 526 since this version is most popular among users:
Open cardserver 526 bin file in hexbin editor (e.g. PSPad).
Go to address 0xaf5c and replace string: 40 82 01 00 with 2c 00 00 90
After patching cardserver will ignore ACK status of c1 1a 00 00 15 command and display of Entitlements will work.
Save file (PSpad will make backup file, just in case)
FTP new file to dreambox, set file rights to 755.
And issue command for displaying Entitlements:
root@dreambox /var/bin > telnet localhost 12003
Entitlements for cws 0100, card 0/0 on port 10000
-------------------------------------------------
4001 DIGITAL+ 2005-08-04 0000000000000000
4101 DIGITAL+ 2005-08-04 0000000000002000
I hope that authors of Newcamd package will not be angry because of this and that they will fix this problem in next version of Cardserver.
Bye,
Zac
|