Coder Social home page Coder Social logo

Gov-Client-Public-IP and Gov-Vendor-Forwarded fraud prevention headers don't support hybrid IPv4/IPv6 addresses about vat-api HOT 1 CLOSED

DigitalDan1 avatar DigitalDan1 commented on August 14, 2024
Gov-Client-Public-IP and Gov-Vendor-Forwarded fraud prevention headers don't support hybrid IPv4/IPv6 addresses

from vat-api.

Comments (1)

DigitalDan1 avatar DigitalDan1 commented on August 14, 2024

The Software Developer Support Team have been very helpful. We eventually worked out what the problem was. Here's their response:

We can confirm the validation rules support processing of IPv4-mapped IPv6 addresses. This is why the error message states "not a public IP address" instead of an invalid IP address.

We believe we started seeing invalid fraud headers after some updates to our hosting environment, then incorrectly assumed the error was due to the change in formatting of the IP address, but we'd actually broken the way we determine the public IP address of the client. After fixing that the headers are valid.

from vat-api.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.