IMPORTANT ANNOUNCEMENT: On May 6, 2024, Carbon Black User eXchange (UeX) and Case Management will move to a new platform!
The Community will be in read-only mode starting April 19th, 7:00 AM PDT. Check out the blog post!
You will still be able to use the case portal to create and interact with your support cases until the transition, view more information here!

EDR: How to change NGINX Log Format from IPv6 to IPv4

EDR: How to change NGINX Log Format from IPv6 to IPv4

Environment

  • EDR: All Supported Versions

Objective

  • If it's necessary (for SIEM purposes or otherwise) to remove the IPv6 prefix (::ffff:) to IPv4 addresses, the NGINX logging format can be changed.

Resolution

  • Update the line below in the /etc/cb/nginx/conf.d/cb.conf file: 
listen [::]:443 ssl ipv6only=off;
  • To: 
listen 0.0.0.0:443 ssl ipv6only=off;
  • Restart cb-nginx service:
    • service cb-nginx restart
    • systemctl restart cb-nginx

Labels (1)
Tags (2)
Was this article helpful? Yes No
No ratings
Article Information
Author:
Creation Date:
‎09-23-2020
Views:
1477
Contributors