Skip to content
This repository has been archived by the owner on Dec 6, 2023. It is now read-only.

Listen on both IPv4 and IPv6 by default #195

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Sep 18, 2020

  1. Listen on both IPv4 and IPv6 by default

    We use `-dev-listen-address` with 0.0.0.0 as default prefix.
    This means that Vault listener factory [1] bind only on IPv4.
    
    We would like to bind on both IPv4 and IPv6 by default.
    net.Listen [1] creates servers which can be bind on both IPv4 and
    IPv6 when we provide an empty host address such as ":8200".
    
    [1] https://github.com/hashicorp/vault/blob/15863772554cbea9a75e1146a152cd9fb112bb0f/command/server/listener_tcp.go#L27
    [1] https://golang.org/pkg/net/#Listen
    jfroche committed Sep 18, 2020
    Configuration menu
    Copy the full SHA
    36c8916 View commit details
    Browse the repository at this point in the history