Opened 9 years ago

Closed 8 years ago

Last modified 8 years ago

#1926 closed defect (invalid)

Web interface not saves Anticascading Config

Reported by: otordai Owned by: alno
Priority: minor Component: Webinterface
Severity: medium Keywords:
Cc: Sensitive: no

Description

Web interface not saves changes in Anticascading Config
tested with PPC #5366

Change History (8)

comment:1 Changed 9 years ago by otordai

Many Thank's for Developers!

comment:2 Changed 9 years ago by Admin

It works fine on my end. Do you have a binary which includes anticascading? To which parameters do you refer? Please also note, that parameters are only saved if they are different from the default values (unless you specify httpsavefullcfg but that's not recommended).

comment:3 Changed 9 years ago by otordai

I set this values for exemple
http://kepfeltoltes.hu/110614/anticascading_www.kepfeltoltes.hu_.jpg
After I pressed the Save button
http://kepfeltoltes.hu/110614/anticascading2_www.kepfeltoltes.hu_.jpg
The config file after save.
http://kepfeltoltes.hu/110614/anticascading3_www.kepfeltoltes.hu_.jpg

If I configure manually at the config file, the function works.

comment:4 Changed 8 years ago by pattex

There are some value restrictions. I will update the wiki with these restrictions.

comment:5 Changed 8 years ago by Deas

Resolution: worksforme
Status: newclosed

parameters have their value restrictions and those count when you save. please stick to the wiki for the limits. if you want to discuss these values, please use forum!

comment:6 Changed 8 years ago by robertut

Resolution: worksforme
Severity: highmedium
Status: closedreopened

Still doesn't work as expected, currently in #5775
value restrictions you mention about cannot be found completely in the wiki (does denysamples have any limit?)

comment:7 Changed 8 years ago by john_28

Resolution: invalid
Status: reopenedclosed
value restrictions you mention about cannot be found completely in the wiki (does denysamples have any limit?)


please use forum , for ask or correct any wiki problem or feedbacking any incompatible webif with wiki.
tnx

Last edited 8 years ago by john_28 (previous) (diff)

comment:8 Changed 8 years ago by Admin

"samples" means the amount of samples to take into account for anticascading calculations. It is limited to 10 because this memory is statically allocated with 10 elements. These samples are one by one checked for if the time exceeds the defined anticascading limit of the account. The result is an amount of exceeds between 0 and 10. Now, "denysamples" comes into play: If the amount of exceeds is higher or equal to "denysamples", the account is seen as exceeding its limit and thus blocked. "denysamples" always has to be one smaller than "samples" - I'm not sure if it couldn't be also equal to it but it is currently defined this way. The wiki is not completely correct but it is for sure no bug in OSCam itself.

Also note: If you set these values manually in your config file, the parameter restrictions are also applied when loading the config into OSCam.

Note: See TracTickets for help on using tickets.