mkrug1981 commented on issue #11812:
URL: 
https://github.com/apache/trafficserver/issues/11812#issuecomment-2747224412

   I was wondering if there is any update? Right now ATS9.2.x we are using 
Header_Rewrite to create an internal header with client BGP ASN which is 
finally logged. The usage of Header_Rewrite GEO function is per remap line and 
works fearlessly in ATS9. We are planning migration to ATS10 but for some 
reason the maxmind DB is loaded loaded by using it as remap. After some testing 
it is working if used as global plugin
   
   
   
   ```
   --- Header_Rewrite with maxmind as global plugin --- 
    - as we can see the mmdb is Loading and Loaded finally
   
   # cat plugin.config | tail -n1
   header_rewrite.so 
--geo-db-path=/opt/trafficserver/etc/trafficserver/GeoIP2-ISP.mmdb 
/opt/trafficserver/etc/trafficserver/hdr_global_config.conf
   
   # grep mmdb /opt/trafficserver/var/log/trafficserver/traffic.out 
   [Mar 24 07:41:17.681] traffic_server DIAG: <header_rewrite.cc:367 
(TSPluginInit)> (header_rewrite) Global geo db 
/opt/trafficserver/etc/trafficserver/GeoIP2-ISP.mmdb
   [Mar 24 07:41:17.681] traffic_server DIAG: <header_rewrite.cc:59 
(initHRWLibraries)> (header_rewrite) Loading geo db 
/opt/trafficserver/etc/trafficserver/GeoIP2-ISP.mmdb
   [Mar 24 07:41:17.689] traffic_server DIAG: <conditions_geo_maxmind.cc:56 
(initLibrary)> (header_rewrite) Loaded 
/opt/trafficserver/etc/trafficserver/GeoIP2-ISP.mmdb```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to