I removed the decision and added it again, but now everything worked out. The range was added to the crowdsec-blacklists.
I don’t understand why the decision wasn’t added in the crowdsec-blacklists for the first time.
Thank you so much for your help. Now everything works perfect.
I found the reason why the “cscli decisions add --range” doesn’t always work.The reason for this is constraint of the timeout value for the ipset. The largest possible timeout value is 2147483 (in seconds).
[Man page of IPSET]
If duration value in “–duration string” lager then max value of timeout for ipset when in decision list range will be added, but in crowdsec-blacklists not.