Menu

Whitelist IP for QS_ClientGeoCountryPriv

2019-12-04
2019-12-09
  • Simon Studer

    Simon Studer - 2019-12-04

    Is there a way to whitelist IP addresses for QS_ClientGeoCountryPriv?

    Looking at the documentation and source code, I cannot see any way of doing it.

    The problem is that internal IP addresses are blocked because they cannot be assigned a country code.

     
  • Pascal Buchbinder

    I recommend to add local and private networks to your database file. You can use http://mod-qos.sourceforge.net/qslog.1.html to do this

    qsgeo -d ./GeoIPCountryWhois.csv -l > GeoIPCountryWhois_inclPriv.csv
    
     
    • Pascal Buchbinder

      This inserts the floowing entries:

      "10.0.0.0","10.255.255.255","167772160","184549375","PV","private network"
      "127.0.0.0","127.255.255.255","2130706432","2147483647","LO","local loopback"
      "172.16.0.0","172.31.255.255","2886729728","2887778303","PV","private network"
      "192.168.0.0","192.168.255.255","3232235520","3232301055","PV","private network"
      
       
  • Simon Studer

    Simon Studer - 2019-12-09

    Thanks, that should do the trick.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.