Incoming CWs are saved and it is checked whether the CW has already been received for another srvid (confused mappings ) & whether the CW is already older than "timediff_old_cw".
If one of the two conditions applies and the mode is set to 2, the CW is discarded and, accordingly, is not redistributed via CacheEx.
If some use the patch, the confused CWs should be reduced significantly.
The module CS_CACHEEX is required
@ oscam.conf -> [cache]
cw_cache_size = count of max. CWs for CW cache (default 0)
cw_cache_memory = MByte of max. memory used for CW cache (default 0) // one entry is about 63byte;>
cw_cache_settings = caid [& mask] [@ provid] [$ servid]: mode: timediff_old_cw [, n]
mode = 0 (disabled)
= 1 log only
= 2 drop known CWs for other srvid || drop incoming CWs if timediff_old_cw> now - first_seen
timediff_old_cw = time in ms for dropping old CWs
To enable this patch, you need to define cw_cache_size or cw_cache_memory, not both is required.
If cw_cache_size or cw_cache_memory has reached, 10% of the oldest cache entries are deleted.
Logs are @loglevel 8192 & config via webif is possible.
Try it and take a look in loglevel 8192 @ your incoming CWs from all sources with for example: