maxmind / geoipupdate-legacy

GeoIP update client code
GNU General Public License v2.0
258 stars 63 forks source link

MD5 authentication breaks behind NAT #12

Closed tmm1 closed 10 years ago

tmm1 commented 10 years ago

Since updates.maxmind.com does not support HTTP/1.1, curl is unable to use http keepalive and re-use a single TCP connection.

This means a new TCP connection per http request, which breaks the md5 authentication since source ips can change between connections when behind a NAT.

oschwald commented 10 years ago

Thanks for letting us know. We will look into this. It sounds like the easiest fix may be to update the daemon to support HTTP/1.1.

oschwald commented 10 years ago

We believe this has been fixed. Our geoipupdate server should now support HTTP/1.1 with Keep-Alive. Would you be able to test it to confirm that it works in your environment?