Ignore:
Timestamp:
02/28/13 22:14:52 (9 years ago)
Author:
theparasol
Message:
  • Added srvidholdseconds to ratelimiter (experimental) a srvid will be kept in slot for additional srvidholdseconds if used with enabled ecmunique, the ecm in slot must be ratelimitseconds unique

E.G. CDS NL 0100:00006A


ratelimitecm = 4
ratelimitseconds = 10
srvidholdseconds = 5
ecmunique = 1

Assign 4 srvid slots
Ecm for srvid in slot is unique for 10 seconds
Slotted srvid will be released after 10+5 = 15 seconds of inactivity

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/oscam-config-reader.c

    r8432 r8444  
    794794    DEF_OPT_FUNC("ratelimitseconds"     , 0,                            ratelimitseconds_fn ),
    795795    DEF_OPT_INT8("ecmunique"            , OFS(ecmunique),               0 ),
     796    DEF_OPT_INT8("srvidholdseconds"     , OFS(srvidholdseconds),        0 ),
    796797    DEF_OPT_FUNC("cooldown"             , 0,                            cooldown_fn ),
    797798    DEF_OPT_FUNC("cooldowndelay"        , 0,                            cooldowndelay_fn ),
     
    821822#endif
    822823        "deprecated", "ndsversion", "ratelimitecm", "ratelimitseconds",
    823         "cooldown", "ecmunique",
     824        "cooldown", "ecmunique", "srvidholdseconds",
    824825        0
    825826    };
Note: See TracChangeset for help on using the changeset viewer.