Closed JoshClose closed 6 years ago
Also, just looking for your advice on this as you've used this in production more than I have.
This is something that I have intended to implement, but havent gotten around to yet. I think the best option would be to just create an interface for the packet handler lookup. Then it would be easier to for example load the configuration from a db.
I thought I replied 5 days ago... apparently not. lol I think that should work for me.
Well I am in no rush :) It is merged now and the package is updated on nuget
I need a way to modify the list of IPs that are being watched while the server is running. I don't think this is currently possible.
I was thinking that there could be a handler for checking if an IP address is valid. It could just return a
bool
for accept or reject. Ideally I could just hit my own cache to get the list of valid IPs instead of the internal one. I'll be using a Redis server I think. I think I just need to implementHandlePacket
on my own.If I'm venturing too far off your vision of this project, I can always write this myself, or even submit a pull request if you want. This library (not including the other 2) is pretty manageable.