Skip to content

Commit

Permalink
chore: drop unused cf-connecting-ipv6 header (#8319)
Browse files Browse the repository at this point in the history
Only used in certain configurations of Pseudo IPv4.
  • Loading branch information
jennifer-richards authored Dec 9, 2024
1 parent 2ec7a71 commit 6f1c308
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion ietf/utils/jsonlogger.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"])
1 change: 0 additions & 1 deletion k8s/nginx-logging.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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"'
'}';

0 comments on commit 6f1c308

Please sign in to comment.