From 6f1c308ab3142a8f52df6d417767cb583d38a957 Mon Sep 17 00:00:00 2001 From: Jennifer Richards Date: Mon, 9 Dec 2024 14:56:09 -0400 Subject: [PATCH] chore: drop unused cf-connecting-ipv6 header (#8319) Only used in certain configurations of Pseudo IPv4. --- ietf/utils/jsonlogger.py | 1 - k8s/nginx-logging.conf | 1 - 2 files changed, 2 deletions(-) diff --git a/ietf/utils/jsonlogger.py b/ietf/utils/jsonlogger.py index 6502cab0cb..1fc453ad9e 100644 --- a/ietf/utils/jsonlogger.py +++ b/ietf/utils/jsonlogger.py @@ -29,7 +29,6 @@ def add_fields(self, log_record, record, message_dict): log_record.setdefault("x_forwarded_for", record.args["{x-forwarded-for}i"]) log_record.setdefault("x_forwarded_proto", record.args["{x-forwarded-proto}i"]) log_record.setdefault("cf_connecting_ip", record.args["{cf-connecting-ip}i"]) - log_record.setdefault("cf_connecting_ipv6", record.args["{cf-connecting-ipv6}i"]) log_record.setdefault("cf_ray", record.args["{cf-ray}i"]) log_record.setdefault("asn", record.args["{x-ip-src-asnum}i"]) log_record.setdefault("is_authenticated", record.args["{x-datatracker-is-authenticated}o"]) diff --git a/k8s/nginx-logging.conf b/k8s/nginx-logging.conf index 0bc7deca81..673d7a29ab 100644 --- a/k8s/nginx-logging.conf +++ b/k8s/nginx-logging.conf @@ -17,7 +17,6 @@ log_format ietfjson escape=json '"x_forwarded_for":"$${keepempty}http_x_forwarded_for",' '"x_forwarded_proto":"$${keepempty}http_x_forwarded_proto",' '"cf_connecting_ip":"$${keepempty}http_cf_connecting_ip",' - '"cf_connecting_ipv6":"$${keepempty}http_cf_connecting_ipv6",' '"cf_ray":"$${keepempty}http_cf_ray",' '"asn":"$${keepempty}http_x_ip_src_asnum"' '}';