From c602038ab10bd1a62fc7afaaa685026de80d52a0 Mon Sep 17 00:00:00 2001 From: Arya Kiran Date: Thu, 11 Apr 2024 12:32:40 +0530 Subject: [PATCH] mask last 16 bits not just last 8 bits --- privfrontends/templates/Caddyfile.j2 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/privfrontends/templates/Caddyfile.j2 b/privfrontends/templates/Caddyfile.j2 index 7583170..d592a83 100644 --- a/privfrontends/templates/Caddyfile.j2 +++ b/privfrontends/templates/Caddyfile.j2 @@ -7,15 +7,15 @@ log { wrap json fields { request>remote_ip ip_mask { - ipv4 24 + ipv4 16 ipv6 64 } request>headers>X-Forwarded-For ip_mask { - ipv4 24 + ipv4 16 ipv6 64 } request>headers>client_ip ip_mask { - ipv4 24 + ipv4 16 ipv6 64 } request>headers>Cookie cookie {