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

Enhanced feature about IPv6 and NAT support #34

Merged
merged 1 commit into from
Dec 19, 2019
Merged

Enhanced feature about IPv6 and NAT support #34

merged 1 commit into from
Dec 19, 2019

Conversation

ggtakec
Copy link
Member

@ggtakec ggtakec commented Dec 19, 2019

Relevant Issue (if applicable)

n/a

Details

Enhanced the communication part between CHMPX Server / Slave.

(1) Enhanced support for IPv6 addresses

(2) Supports cluster construction via NAT (gateway, bridge, etc.)

(3) Configuration change in accordance with (2) above

The following items were added while maintaining backward compatibility.

CHMPXIDTYPE

This item is specified in the global section and can be omitted.
This is a value that specifies the SEED used to generate the CHMPXID.
For the value, specify NAME (default), CUK, CTLENDPOINTS, or CUSTOM.
For NAME, use the node's HOSTNAME and control port number. This is the same generation method as before.
For CUK, use the value of CUK, and for CTLENDPOINTS, use the value of CTLENDPOINTS.
CUSTOM uses the value of CUSTOM_ID_SEED.

SELFCUK

This item is specified in the global section and can be omitted.
When building a cluster with CUK, specify the value of your own CUK.
Same use as SELFCTLPORT.

CUK

It is an item to be specified in the section of each node and can be omitted.
When specifying CUK, set the value.

ENDPOINTS

It is an item to be specified in the section of each node and can be omitted.
When providing services through NAT, enumerate HOSTANME (IP address) and ports at the NAT entrance to access the ports from the outside.

CTLENDPOINTS

It is an item to be specified in the section of each node and can be omitted.
When providing services through NAT, enumerate HOSTANME (IP address) and ports at the NAT entrance to access the control port from the outside.

FORWARD_PEERS

When passing through NAT or Gateway, list HOSTANME (IP address) of Peer connected to other nodes.

REVERSE_PEERS

When passing through NAT or Gateway, list HOSTANME (IP address) of Peer connected from other nodes.

CUSTOM_ID_SEED

It is an item specified in the section of each node, and the value is an arbitrary character string.
This item must be set to all nodes when CUSTOM is specified for CHMPXIDTYPE.
Otherwise it must not be specified.

(4) Fixed bugs

@ggtakec ggtakec merged commit 10ab5a1 into yahoojapan:master Dec 19, 2019
@ggtakec ggtakec deleted the enhanced_ipv6_nat branch December 19, 2019 06:19
ggtakec added a commit that referenced this pull request Oct 10, 2024
Enhanced feature about IPv6 and NAT support
ggtakec added a commit that referenced this pull request Oct 10, 2024
Enhanced feature about IPv6 and NAT support
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant