Tracking target user IPs via jinja tag #414
Labels
feature request
Requests for new functionality
pinned
Do not mark as stale
server
Relating to the server component
Feature Description
It would be useful to include the IP addresses of visiting users in a jinja tag so that conditionals could be made against them. Conditionals based on the first-seen IP address could ensure that a visitor's IP does not change between visits, which might indicate either a separate device or in a more unfortunate scenario, a phishing report service. I had an incident where a phish got reported by a user, which caused dozens of report service to hammer the KP server, blacklisted our domain and IP address on multiple search engines and spam report services.
Example Use Case
The following demonstrates a jinja tag in use that causes the client to be redirected to the Google search page if their most recent visit IP does not match the first IP.
The text was updated successfully, but these errors were encountered: