Is it possible to see a list of countries that are making connections into the server? #22
Replies: 3 comments 7 replies
-
Hi, thanks for the kind words. I'll look into implementing this functionality. Probably will take some time, because I am currently implementing support for outbound geoblocking (in addition to the existing inbound geoblocking functionality). It's a rather big change which will probably take a while to finalize and debug. Once that's done, I'll be open to implementing additional features. |
Beta Was this translation helpful? Give feedback.
-
Looking into this, I can think of 3 possible ways to implement this sort of functionality:
Which sort of logging do you think would be most useful? |
Beta Was this translation helpful? Give feedback.
-
The OP didn´t answer yet but i have the impression that your optional script check-ip-in-source.sh might have the potential to be reworked for option 3 (my favorite). Cron'ing it to the admin's discretion or even manual launch when it is quiet might be just what we need. More opinions anyone ?? |
Beta Was this translation helpful? Give feedback.
-
Recently discovered this project and I think it's amazing!
One question.... would it be possible to add some functionality that will record a list of countries that made (OR ATTEMPTED TO MAKE) a connection into my server?
Previously, I was using Untangle firewall. One of the things I would do with it is check the log files from time to time and look for foreign countries that made attempts to connect to my Plex server and then added those countries to the block list.
If geoip-shell kept a list of countries where connections were coming from, I think that would be a nice add. As admins, we could check this log file and see where traffic is coming from.
But if there's 507 connections from the US, don't add 507 lines, maybe do something like this:
US, 507 (Put it on a single line to indicate 507 connections from US based IP addresses. This will help keep the file small and easily read). It could be a rolling txt file and maybe keep 2 days worth of info?
Beta Was this translation helpful? Give feedback.
All reactions