Subj : large *.can files make things slow
To   : Digital Man
From : MRO
Date : Tue Jan 02 2024 01:37 pm

 Re: large *.can files make things slow
 By: Digital Man to MRO on Tue Jan 02 2024 10:44 am

>  > I was wondering if there's anything I can do on my end to keep these
>  > large .can files and speed things up, or if synchronet needs some
>  > internal changes.
>
> 1.3 gigs is pretty massive. How'd that happen?

time and lots of attempts and i'm a hot target.
if something logs in and fails the capcha they get added. if it's a real person
and they pass they get added to a whitelist and dont get challenged again.

> ip.can file is over a thousand times larger. I wonder if you have a lot of
> duplicates or perhaps every IP of a subnet listed, when instead you could be
> using CIDR notation to make the file much smaller. Or just expiring/removing
> old entries would eliminate much of that file size. Making the expiration of

yeah i could use a different format to make it smaller. this was
just a quick and dirty approach to blocking ips without spending a ton of time.

removing old entries doesnt seem to help. i just nuked the file and the old attackers  are back.

> memory for all of SBBS to have that massive ip.can file cached. It can be
> done and would likely have a significant performance improvement, but at the
> cost of a lot of memory used (in your case).

i guess i'll just trim it down every month.

---
� Synchronet � ::: BBSES.info - free BBS services :::