banip func needs to be reworked in its placement on windows. for example. when an attacker connects we alert and the ip gets banned based on the port it connected to. if u have a large # of ports that func gets called for each port u have open resulting in duplicate calls for the same ip. suggest moving func outside of socket class or rewriting banlist func to only append to a separate list maybe and update main list on a timer?
banip func needs to be reworked in its placement on windows. for example. when an attacker connects we alert and the ip gets banned based on the port it connected to. if u have a large # of ports that func gets called for each port u have open resulting in duplicate calls for the same ip. suggest moving func outside of socket class or rewriting banlist func to only append to a separate list maybe and update main list on a timer?