Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

epmd: require explicitly adding loopback address (see also #1075) #1422

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

Conversation

srenatus
Copy link
Contributor

ℹ️ This is a rebase of #1075.

Remove the implicit binding of the IPv4 and IPv6 loopback addresses.

Some methods of disabling IPv6 support on Linux and Windows removes the
IPv6 address from the interface.

This change also allows binding to IPv6 or IPv4 addresses only:

# previous behaviour
# tcp        0      0 127.0.0.1:4369          0.0.0.0:* LISTEN
# tcp6       0      0 ::1:4369                :::* LISTEN
ERL_EPMD_ADDRESS="127.0.0.1,::1" epmd

# IPv4 ANY
# tcp        0      0 127.0.0.1:4369          0.0.0.0:* LISTEN
ERL_EPMD_ADDRESS="0.0.0.0" epmd

# IPv6 ANY
# tcp6       0      0 :::4369                 :::* LISTEN
ERL_EPMD_ADDRESS="::" epmd

# IPv6 loopback only
# tcp6       0      0 ::1:4369                :::* LISTEN
ERL_EPMD_ADDRESS="::1" epmd

Remove the implicit binding of the IPv4 and IPv6 loopback addresses.

Some methods of disabling IPv6 support on Linux and Windows removes the
IPv6 address from the interface.

This change also allows binding to IPv6 or IPv4 addresses only:

    # previous behaviour
    # tcp        0      0 127.0.0.1:4369          0.0.0.0:* LISTEN
    # tcp6       0      0 ::1:4369                :::* LISTEN
    ERL_EPMD_ADDRESS="127.0.0.1,::1" epmd

    # IPv4 ANY
    # tcp        0      0 127.0.0.1:4369          0.0.0.0:* LISTEN
    ERL_EPMD_ADDRESS="0.0.0.0" epmd

    # IPv6 ANY
    # tcp6       0      0 :::4369                 :::* LISTEN
    ERL_EPMD_ADDRESS="::" epmd

    # IPv6 loopback only
    # tcp6       0      0 ::1:4369                :::* LISTEN
    ERL_EPMD_ADDRESS="::1" epmd
@rickard-green rickard-green added the team:VM Assigned to OTP team VM label May 8, 2017
@CLAassistant
Copy link

CLAassistant commented Jul 2, 2019

CLA assistant check
All committers have signed the CLA.

@bjorng bjorng added the stalled waiting for input by the Erlang/OTP team label Feb 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stalled waiting for input by the Erlang/OTP team team:VM Assigned to OTP team VM
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants