Opened 11 years ago

Closed 9 years ago

#3380 closed task (expired)

Some fake &/or unneeded hash trigger Anti share off seca cards

Reported by: TGFS Owned by: TGFS
Priority: Please fill in Component: Card support
Severity: Please fill in Keywords:
Cc: stefansat sat Sensitive: no

Description

Revisio:

OSCAM 1.20-unstable_svn build r8755

Issue Description

Some fake or unneeded hash trigger Anti share off seca cards.

When the issue occurs

when one or more home users are watching the same channel the SID is being hold in the slot by rate during the pre given time, but the hash is floating and seems to lock the card. Sometimes it is going the good way and you don't have any trouble but sometimes (a lot more) you get double hash.

example time in log:
11:37:45
11:50:55

How the issue is reproducable

To write a Seconds to hold CHECKSUM so the Seconds to hold CHECKSUM will hold the hash for the +- 10 seconds.

2013/07/14 11:34:44 B742C000 c x (0100&00006A/5C00/51DB/64:B1189982BB305676BF94B8DEF1BC55F6): found (333 ms) by film1hd - Film 1 HD
2013/07/14 11:34:45 B742C000 c x (0100&00006A/5C00/51DB/64:EF17F5406692D8A760BA84960E547F6F): found (442 ms) by film1hd - Film 1 HD
2013/07/14 11:35:16 B7421568 c x (0100&00006A/5C00/1B7C/64:9BEF6A8EBFAB50A1CBF25D8BA7273828): found (353 ms) by enthd - RTL8 HD CDS
2013/07/14 11:35:17 B7421568 c x (0100&00006A/5C00/1B7C/64:1B9C0C590A82CB4489CA4DF09DF81317): found (616 ms) by enthd - RTL8 HD CDS
2013/07/14 11:37:45 B742C000 c x (0100&00006A/5C00/51DB/64:5DC8C2892336930D1144B9C2FA91AA3D): found (332 ms) by film1hd - Film 1 HD
2013/07/14 11:37:45 B742C000 c x (0100&00006A/5C00/51DB/64:D7CEC4EF3B2F8EDB895F9518E996A3FC): found (332 ms) by film1hd - Film 1 HD

2013/07/14 11:49:28 B7426B30 c x (0100&00006A/5C00/51DB/64:BE775FD73BBA5F0D57C504634D69D1F3): found (342 ms) by film1hd - Film 1 HD
2013/07/14 11:49:29 B7426B30 c x (0100&00006A/5C00/51DB/64:046B2907C97A77F581893AB5B8B273D3): found (328 ms) by film1hd - Film 1 HD
2013/07/14 11:49:41 B7426B30 c x (0100&00006A/5C00/51DB/64:C07589CEB5F6F473C53FBBF497DA9EB7): found (333 ms) by film1hd - Film 1 HD
2013/07/14 11:49:42 B7426B30 c x (0100&00006A/5C00/51DB/64:E90C1C879F796E579FE04D0F11E22066): found (331 ms) by film1hd - Film 1 HD
2013/07/14 11:49:45 B7426B30 c x (0100&00006A/5C00/51DB/64:A93669BD747B9872312195B28E46E8AB): found (330 ms) by film1hd - Film 1 HD
2013/07/14 11:50:12 B7426B30 c x (0100&00006A/5C00/51DB/64:26176AAD0437F1F938C1BEAFD827FDDE): found (331 ms) by film1hd - Film 1 HD
2013/07/14 11:50:15 B7426B30 c x (0100&00006A/5C00/51DB/64:B9A0E77ECC4F2F1E43662646A1C4DC3D): found (337 ms) by film1hd - Film 1 HD
2013/07/14 11:50:25 B7426B30 c x (0100&00006A/5C00/51DB/64:1692FD7AF849E0C268440BA34EA1EDF7): found (334 ms) by film1hd - Film 1 HD
2013/07/14 11:50:55 B7426B30 c x (0100&00006A/5C00/51DB/64:04D4A02504C1EC28C5A779B709587930): found (330 ms) by film1hd - Film 1 HD
2013/07/14 11:50:55 B7426B30 c x (0100&00006A/5C00/51DB/64:04D4A02504C1EC28C5A779B709587930): found (330 ms) by film1hd - Film 1 HD
2013/07/14 11:51:05 B7426B30 c x (0100&00006A/5C00/51DB/64:2B01AC9C654F94F77A73225751DE8898): found (332 ms) by film1hd - Film 1 HD
2013/07/14 11:43:30 B722BD38 c x (0100&00006A/5C00/5212/64:2AD8BD08DFA561C78F765D0A09D481D5): found (349 ms) by kaart-basishd - RTL 7 HD
2013/07/14 11:43:40 B722BD38 c x (0100&00006A/5C00/5212/64:6659EF4CD94F71B378194A22D20A31F2): found (354 ms) by kaart-basishd - RTL 7 HD

Attachments (3)

oscam.log (728.3 KB ) - added by TGFS 11 years ago.
debug 10
2ndlog.txt (2.9 MB ) - added by TGFS 11 years ago.
2nd debug 10 log
oscamtgfs.log (1.2 MB ) - added by TGFS 11 years ago.
1 hour log film1

Change History (16)

comment:1 by TGFS, 11 years ago

  • sorry: seca 0100:6a card
  • Linux oscam 3.2.0-4-686-pae #1 SMP Debian 3.2.35-2 i686
  • smargo reader
Last edited 11 years ago by TGFS (previous) (diff)

comment:2 by stefansat sat, 11 years ago

Sorry log incomplete

To study that debug 10 log is needed

Also client is needed as I suppose it's a different one.

This is indeed a problem off cache execute. This second ecm should come out off cache.

It well seems to have different dw, which means that these are different ecm's.

If that's the case nothing can be done to this as it's not the same ecm.

When its' the same ecm We have the same dw

2013/07/14 13:23:53 CCAA50 c dreamBureau2 (0100&00006C/5C00/334F/0000/64:03B0FEFF030C77415CCFD9E309F0EF44): found (310 ms) by usbsmart - Jim Jam
2013/07/14 13:23:53 CF81F0 c csdreamwatch12 (0100&00006C/5C00/334F/0000/64:03B0FEFF030C77415CCFD9E309F0EF44): cache1 (0 ms) by usbsmart - Jim Jam

It's even not a bug

comment:3 by TGFS, 11 years ago

I will get you a debug 10 :) see attachment

Last edited 11 years ago by TGFS (previous) (diff)

by TGFS, 11 years ago

Attachment: oscam.log added

debug 10

by TGFS, 11 years ago

Attachment: 2ndlog.txt added

2nd debug 10 log

comment:4 by stefansat sat, 11 years ago

Things now find out is that the ecm unique only seems to work for zapping, There are no double ecm's sended anymore to the card reader.

But I could not produce you're first log's error with ecm unique activated :

2013/07/14 11:37:45 B742C000 c x (0100&00006A/5C00/51DB/64:5DC8C2892336930D1144B9C2FA91AA3D): found (332 ms) by film1hd - Film 1 HD
2013/07/14 11:37:45 B742C000 c x (0100&00006A/5C00/51DB/64:D7CEC4EF3B2F8EDB895F9518E996A3FC): found (332 ms) by film1hd - Film 1 HD

I could reproduce this situation with ecm unique deactivated !!

But with ecm unique activated the rate limit setting will be ignored with some fake ecm's for same srvid's with other words for those the ecm unique is disregarded.

That will be a lot off work to change this behaviour. And will take some time.

comment:5 by Bas, 11 years ago

I have the same problem, put a card at 3 sids, set ecm-limit to 3/10 en ECMUNIQUE, the card flips into penalty mode without any problems.
If you put NET5HD + SBS6HD + HISTORY HD onto one card via services, it takes 30 minutes to 1 hour and the card needs 108 EMM's to become active again.

Why doon't you change the ECM limiter to something like this: 1 ECM is asked, then lock the channel for x seconds, only then to be opened again.
However, monitor the card for 30 sec, to see what time all ECM's are typical requested, then use that as marker to see the periode the card has to be locked and the ECM needs to come from cache.
As we know the 0100:00006A/6C always come at 00/10/20/30/40/50 sec interval, so the monitor should first detect te interval and then lock the last ECM until the next interval-marker.
So make a parameter, card-lock after ECM for x seconds (should be 9,8 sec) then leave open until ECM is requested. When 3 SID's are used, then 3 different sids give a lock for 9.8 seconds and cache is forced to deliver ECM.
Just my idea to keep the cards from being overdrawn.
I found that the ecm-limiter and unique do not work, and I'm running 8755.

by TGFS, 11 years ago

Attachment: oscamtgfs.log added

1 hour log film1

comment:6 by TGFS, 11 years ago

@ Stefansat,

This time a log for a whole hour.

Unique off, and just 1 sid.
Interval nowhere near 10 seconds. So the log is showing the problem. (I hope)

comment:7 by stefansat sat, 11 years ago

Unfortunately I found out that problem is not oscam but card. The rate limit is indeed
2 ecm's in 10 seconds. Not 3 or not 4

This in combinations of certain channels. There is nothing to do at this.

comment:8 by Bas, 11 years ago

I have noticed that too, especially when it comes to Travel and History.

Thanks Stefan.

comment:9 by TGFS, 11 years ago

@ Stefansat,

The ratelimit is not the issue where i am talking about. It's the CHECKSUM what is giving me the big issue. The double CHECKSUM and if you can write a CHECKSUM holdslot then we have got a solution for this problem.

About the ratelimit it's old news and inrellevant, so we don't have to discuss.

please help us out :)


PS in the log you find only one sid! And in the log you will find out :) ==

Last edited 11 years ago by TGFS (previous) (diff)

comment:10 by dr diq, 11 years ago

@ Stefansat,

The problem is indeed more than 2 sids to trigger the card, but when you study the given logfile you can see there is only one sid in the log. And still the card is triggerd and after a while it's in penalty mode. (Fake ECM and black picture)

In the log you can see that the same sid is given free with another checksum within 1 or 2 seconds after release of the first one.
That causes the lock.

So the the idea of mr TGFS isn't that bad I think.
When there is a option in Oscam that locks the sid AND the first given Checksum for the pre-configured time (for e.g. 10 secs) like we do with te ratelimit, the card is forced to ignore the Checksum asked within the time frame of 10 secs.
That can do the trick.

Can you build a function like that?
Or maybe build a patch, so we can help test it with and for you?

Hope you can make and take the time to help a lot of us out.

Thx

Best Regards, Dr Diq

comment:11 by locka-ma, 10 years ago

@ Stefansat,
Help me
1970/01/01 01:47:57 0 >> OSCam << cardserver log switched, version 1.20-unstable_svn, build r8777 (powerpc-linux)
1970/01/01 01:48:07 1010CF38 c kablan (0100&0001E3/5C00/20D1/6A:275D9FAF9E6F0F78D3FDAD00CCA94FA5): not found (306 ms) by csat - 2STV (unsubscribed 93 02)
1970/01/01 01:48:17 1010CF38 c kablan (0100&0001E3/5C00/20D1/6A:576919B2E3D91CB226A9C7AB99A3EDCD): not found (304 ms) by csat - 2STV (unsubscribed 93 02)
1970/01/01 01:48:27 1010CF38 c kablan (0100&0001E3/5C00/20D1/6A:9E843DF3F3A76BD6A71B308730699C7B): not found (301 ms) by csat - 2STV (unsubscribed 93 02)
1970/01/01 01:48:37 1010CF38 c kablan (0100&0001E3/5C00/20D1/6A:0C9FBB7F99DC8E1C7D5689369C6B11FA): not found (302 ms) by csat - 2STV (unsubscribed 93 02)
1970/01/01 01:48:48 1010CF38 c kablan (0100&0001E3/5C00/20D1/6A:34637D1BF0F29E93E5427431BD71668C): not found (308 ms) by csat - 2STV (unsubscribed 93 02)
1970/01/01 01:48:58 1010CF38 c kablan (0100&0001E3/5C00/20D1/6A:CF48EE1869D5BA8A9635FEF39CCC87A5): not found (306 ms) by csat - 2STV (unsubscribed 93 02)
1970/01/01 01:49:08 1010CF38 c kablan (0100&0001E3/5C00/20D1/6A:C2D114951F35F8B6BF182B2A9DCF5B68): not found (304 ms) by csat - 2STV (unsubscribed 93 02)
1970/01/01 01:49:18 1010CF38 c kablan (0100&0001E3/5C00/20D1/6A:190A97B331A6506EF3C0C4ECEC3D5399): not found (303 ms) by csat - 2STV (unsubscribed 93 02)
1970/01/01 01:49:28 1010CF38 c kablan (0100&0001E3/5C00/20D1/6A:00EBA1C57A3C7A50A73ED313FBE4CCE7): not found (308 ms) by csat - 2STV (unsubscribed 93 02)
1970/01/01 01:49:38 1010CF38 c kablan (0100&0001E3/5C00/20D1/6A:7A01F02CA323466FC571B0CFCB14DC5F): not found (304 ms) by csat - 2STV (unsubscribed 93 02)
1970/01/01 01:49:48 1010CF38 c kablan (0100&0001E3/5C00/20D1/6A:1FD0B641030877911188774B2F35D8FE): not found (306 ms) by csat - 2STV (unsubscribed 93 02)
1970/01/01 01:49:58 1010CF38 c kablan (0100&0001E3/5C00/20D1/6A:CC80DA012229C74E29A39296B1D71669): not found (303 ms) by csat - 2STV (unsubscribed 93 02)
1970/01/01 01:50:07 10105038 h 3 entries read from oscam.whitelist
1970/01/01 01:50:08 1010CF38 c kablan (0100&0001E3/5C00/20D1/6A:8652AE331CAA8CD13472CF57F4EC9288): not found (308 ms) by csat - 2STV (unsubscribed 93 02)
1970/01/01 01:50:18 1010CF38 c kablan (0100&0001E3/5C00/20D1/6A:CA915947CDD50E44284AF850FE3F74EC): not found (301 ms) by csat - 2STV (unsubscribed 93 02)
1970/01/01 01:50:29 1010CF38 c kablan (0100&0001E3/5C00/20D1/6A:664E06816DF479E8D6AAF37FFDBE3715): not found (302 ms) by csat - 2STV (unsubscribed 93 02)
1970/01/01 01:50:35 10105038 h 4 entries read from oscam.whitelist
1970/01/01 01:50:39 1010CF38 c kablan (0100&0001E3/5C00/20D1/6A:6DE96E6F668B772638622EEE76A22B4C): not found (303 ms) by csat - 2STV (unsubscribed 93 02)
1970/01/01 01:50:49 1010CF38 c kablan (0100&0001E3/5C00/20D1/6A:F95690C2509128A4DC968EBC77A58FCB): not found (307 ms) by csat - 2STV (unsubscribed 93 02)
1970/01/01 01:50:59 1010CF38 c kablan (0100&0001E3/5C00/20D1/6A:A1D646636F0D8459AF5B54C8D72DC3B2): not found (302 ms) by csat - 2STV (unsubscribed 93 02)
1970/01/01 01:51:09 1010CF38 c kablan (0100&0001E3/5C00/20D1/6A:713C09BAD78A15593B326185572314D8): not found (304 ms) by csat - 2STV (unsubscribed 93 02)
1970/01/01 01:51:19 1010CF38 c kablan (0100&0001E3/5C00/20D1/6A:DAC7E5A12AB9711C44CEF74EC7E1BD44): not found (304 ms) by csat - 2STV (unsubscribed 93 02)
1970/01/01 01:51:29 1010CF38 c kablan (0100&0001E3/5C00/20D1/6A:3C21DEBBB65D770FCA69D9A8966A0752): not found (309 ms) by csat - 2STV (unsubscribed 93 02)
1970/01/01 01:51:39 1010CF38 c kablan (0100&0001E3/5C00/20D1/6A:31D0E79825504149EFA6C6E3DC2917F6): not found (303 ms) by csat - 2STV (unsubscribed 93 02)
1970/01/01 01:51:49 1010CF38 c kablan (0100&0001E3/5C00/20D1/6A:13533DD6D5F6364DC831BE8BF2194085): not found (304 ms) by csat - 2STV (unsubscribed 93 02)
1970/01/01 01:51:59 1010CF38 c kablan (0100&0001E3/5C00/20D1/6A:CEB5DAE9DECD631D7FA6136190F2E220): not found (302 ms) by csat - 2STV (unsubscribed 93 02)
1970/01/01 01:52:09 1010CF38 c kablan (0100&0001E3/5C00/20D1/6A:25D35E1AE899FEC5E37A26F91A1C974C): not found (312 ms) by csat - 2STV (unsubscribed 93 02)
1970/01/01 01:52:19 1010CF38 c kablan (0100&0001E3/5C00/20D1/6A:8101D436B3DCF54540076E1A208B592A): not found (306 ms) by csat - 2STV (unsubscribed 93 02)
1970/01/01 01:52:30 1010CF38 c kablan (0100&0001E3/5C00/20D1/6A:32790BD85A32B730B42C4391E0686D31): not found (305 ms) by csat - 2STV (unsubscribed 93 02)
1970/01/01 01:52:40 1010CF38 c kablan (0100&0001E3/5C00/20D1/6A:00AEE9025B0E61A255C4C7BA76707984): not found (303 ms) by csat - 2STV (unsubscribed 93 02)
1970/01/01 01:52:50 1010CF38 c kablan (0100&0001E3/5C00/20D1/6A:71A5D4CC854A59ABB7128EF424E60FA1): not found (307 ms) by csat - 2STV (unsubscribed 93 02)
1970/01/01 01:52:56 1010CF38 c kablan (0100&0001E3/5C00/2010/6A:46B3076AFABB968034B10AC9ABCA83F5): not found (301 ms) by csat - NT1 (unsubscribed 93 02)
1970/01/01 01:52:58 1010CF38 c kablan (0100&0001E3/5C00/2010/6A:D63009EEDB26450E714615E1F33BF9EC): not found (303 ms) by csat - NT1 (unsubscribed 93 02)
1970/01/01 01:53:06 1010CF38 c kablan (0100&0001E3/5C00/2010/6A:FC2DD830EF4E04F3D9F180D2435B0EDE): not found (303 ms) by csat - NT1 (unsubscribed 93 02)
1970/01/01 01:53:16 1010CF38 c kablan (0100&0001E3/5C00/2010/6A:8328BBD0FF3D2BFA1DEADAEAD1D5A6D1): not found (301 ms) by csat - NT1 (unsubscribed 93 02)
1970/01/01 01:53:27 1010CF38 c kablan (0100&0001E3/5C00/2010/6A:1508430F6A2DB32C7F2DEF6577B9B063): not found (303 ms) by csat - NT1 (unsubscribed 93 02)
1970/01/01 01:53:37 1010CF38 c kablan (0100&0001E3/5C00/2010/6A:56D01A8C57E26753FF4FD563A5342D63): not found (307 ms) by csat - NT1 (unsubscribed 93 02)
1970/01/01 01:53:47 1010CF38 c kablan (0100&0001E3/5C00/2010/6A:42D0DEED10C360F2D516913DA4C16513): not found (300 ms) by csat - NT1 (unsubscribed 93 02)
1970/01/01 01:53:57 1010CF38 c kablan (0100&0001E3/5C00/2010/6A:F477AAB3A2BB44DAC9095FE3BB546F7A): not found (304 ms) by csat - NT1 (unsubscribed 93 02)

comment:12 by locka-ma, 10 years ago

oscam.whitelist
w:0100:0001E3:::5c00:6A
l:0100:0001E3:6A
i:1821:0001E3
i:1862:0001E3

oscam.dvbapi

P: 0100:0001E3:::5C00 
I: 1821:0001E3
I: 1862:0001E3

comment:13 by Deas, 9 years ago

Resolution: expired
Status: newclosed
Note: See TracTickets for help on using tickets.