BlackDemonZyT / BotSentry

Official repository for Bot-Sentry issues, information, etc..
6 stars 0 forks source link

Add support for importing multiple ips to whitelist or blacklist #119

Closed IncarnateWill closed 8 months ago

IncarnateWill commented 9 months ago

I have for example almost 3k ip s of proxies/vpns and i want to add them to the blacklist and i have to do it one by one

Laurenshup commented 9 months ago

It is technically possible to put them into the blacklist file, but I understand that it would require some reformatting. How exactly would you wish to let this work? Import from file, special command, ip ranges?

Laurenshup commented 8 months ago

This has been added inside of the code, to be released in the next version. IPs can now be added like this: 1.2.3.4,1.2.3.5,1.2.3.6/31. Commas will split IPs. Adding / will use the IP range.