Skip to contentSkip to conversation

Application for a Port Number and/or Service Name "ceph" (fwd)

IANA #821110 Sage Weil 5 participants 7 messages Apr 29, 2015 – May 26, 2015

lore
Share & tools
lore

Sage Weil

author
#0 lore raw

So, I picked 6789 way back in commit dc38de9b14c5386f9f446124ca6d6673eb8a1e20 because it was unused according to nmap-services. It's there now, in use by smc-https (whatever that is), and says it was registered in 2002. I guess the nmap-services file I looked at at the time was out of date?

In any case, if we want an IANA assigned number, we'll need to change it.

We should be able to make a transition reasonably painless by making clients try both ports when none is specified for some period.

I'm assuming it's worth the effort... what do you think?

sage

Dear Sage Weil:

Thank you for submitting this application. We have one question regarding
the proposed port number:

Desired Port Number: [6789]

You explained that you've been using the number for years:

8. Please explain the state of development of your protocol.
[The protocol was initially developed in the 2008-2010 timeframe and has been deployed in production systems for the last 3-4 years. The existing protocol versioning and other features have proven effective to handle all of the protocol and system changes we have dealt with over that period.]

This port number has already been assigned to other service, so you need to pick another number. As noted in the online template form, unassigned service names and port numbers should not be used prior to assignment.

When we receive your reply, we can continue the processing of the request.

Thank you,

Pearl Liang
ICANN

Quoted 98 lines · On Mon Apr 27 21:58:40 2015, [email protected] wrote:

Application for a Port Number and/or Service Name

Assignee: Sage Weil <[email protected]>
Contact Person: Sage Weil <[email protected]>

Resource Request:

[x] Port Number
[x] Service Name

Transport Protocols:
[x] TCP
[ ] UDP
[ ] SCTP
[ ] DCCP

Service Code:         []
Service Name:         [ceph]
Desired Port Number:  [6789]
Description:          [Ceph monitor]

Reference:
[The Ceph storage cluster monitor daemon runs on a known port and is responsible for orchestrating and arbitrating access to Ceph storage services. All other components of the system use dynamically port numbers and do not require a fixed assignment.

The protocol is a TCP based message passing protocol.]

Defined TXT Keys:

1. If broadcast/multicast is used, how and what for? [n/a]

2. If UDP is requested, please explain how traffic is limited, and whether the
protocol reacts to congestion.
[n/a]

3. If UDP is requested, please indicate whether the service is solely for the discovery of hosts supporting this protocol.
[n/a]

4. Please explain how your protocol supports versioning. [There is an initial handshake that includes protocol feature bits supported. After the exchange either end can choose to adjust the format of subsequent message accordingly (e.g., for backward compatibility), adjust its behavior, or opt to disconnect entirely with an error message.]

5. If your request is for more than one transport, please explain in detail how the protocol differs over each transport.
[n/a]

6. Please describe how your protocol supports security. Note that presently
there is no IETF consensus on when it is appropriate to use a
second port
for an insecure version of a protocol.
[Part of the early handshake with monitors provides for mutual authentication of client and server using a shared secret. The client is then provided capabilities that are used when interacting with other Ceph services in the system. The overall model is based on Kerberos and uses a similar cryptographic scheme.]

7. Please explain why a unique port assignment is necessary as opposed to a
port in range (49152-65535) or existing port.
[The Ceph monitor is the only service in the system that runs on a fixed port as it is used for initial client authentication and to learn the addresses of other services in the cluster (which all dynamically allocate ports within a range).]

8. Please explain the state of development of your protocol. [The protocol was initially developed in the 2008-2010 timeframe and has been deployed in production systems for the last 3-4 years. The existing protocol versioning and other features have proven effective to handle all of the protocol and system changes we have dealt with over that period.]

9. If SCTP is requested, is there an existing TCP and/or UDP service name or
port number assignment? If yes, provide the existing service name
and port number.
[n/a]

10. What specific SCTP capability is used by the application such that a
user who has the choice of both TCP (and/or UDP) and SCTP ports
for
this application would choose SCTP? See RFC 4960 section 7.1.
[n/a]

11. Please provide any other information that would be helpful in understanding how this protocol differs from existing assigned
services.
[]

#1 lore raw
Quoted 6 lines · Sage Weil

So, I picked 6789 way back in commit dc38de9b14c5386f9f446124ca6d6673eb8a1e20 because it was unused according to nmap-services. It's there now, in use by smc-https (whatever that is), and says it was registered in 2002. I guess the nmap-services file I looked at at the time was out of date?

Quoted 6 lines

In any case, if we want an IANA assigned number, we'll need to change it.

We should be able to make a transition reasonably painless by making clients try both ports when none is specified for some period.

I'm assuming it's worth the effort... what do you think?

Yes, I think it's worth it. Better now than when we are 10x bigger than <large storage vendor> right? ;)

Mark

Quoted 3 lines

sage

author
#2 lore raw
Quoted 9 lines · Mark Nelson
Quoted 8 lines · Sage Weil

So, I picked 6789 way back in commit dc38de9b14c5386f9f446124ca6d6673eb8a1e20 because it was unused according to nmap-services. It's there now, in use by smc-https (whatever that is), and says it was registered in 2002. I guess the nmap-services file I looked at at the time was out of date?

In any case, if we want an IANA assigned number, we'll need to change it.

Quoted 7 lines
Quoted 4 lines

We should be able to make a transition reasonably painless by making clients try both ports when none is specified for some period.

I'm assuming it's worth the effort... what do you think?

Yes, I think it's worth it. Better now than when we are 10x bigger than <large storage vendor> right? ;)

Hmm, we could go for something < 1024 too, but that will make non-root ceph-mon's more annoying, I suspect.

http://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml?search=unassigned

sage

#3 lore raw

I'd prefer >1024 if we expect to run non-root.

Quoted 28 lines · Sage Weil
Quoted 9 lines · Mark Nelson
Quoted 8 lines · Sage Weil

So, I picked 6789 way back in commit dc38de9b14c5386f9f446124ca6d6673eb8a1e20 because it was unused according to nmap-services. It's there now, in use by smc-https (whatever that is), and says it was registered in 2002. I guess the nmap-services file I looked at at the time was out of date?

In any case, if we want an IANA assigned number, we'll need to change it.

Quoted 7 lines
Quoted 4 lines

We should be able to make a transition reasonably painless by making clients try both ports when none is specified for some period.

I'm assuming it's worth the effort... what do you think?

Yes, I think it's worth it. Better now than when we are 10x bigger than <large storage vendor> right? ;)

Hmm, we could go for something < 1024 too, but that will make non-root ceph-mon's more annoying, I suspect.

http://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml?search=unassigned

sage
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#4 lore raw
In reply to Sage Weil
Quoted 15 lines · Sage Weil
Quoted 14 lines · Mark Nelson
Quoted 12 lines · Sage Weil

So, I picked 6789 way back in commit dc38de9b14c5386f9f446124ca6d6673eb8a1e20 because it was unused according to nmap-services. It's there now, in use by smc-https (whatever that is), and says it was registered in 2002. I guess the nmap-services file I looked at at the time was out of date?

In any case, if we want an IANA assigned number, we'll need to change it.

We should be able to make a transition reasonably painless by making clients try both ports when none is specified for some period.

I'm assuming it's worth the effort... what do you think?

Quoted 8 lines
Quoted 2 lines

Yes, I think it's worth it. Better now than when we are 10x bigger than <large storage vendor> right? ;)

Hmm, we could go for something < 1024 too, but that will make non-root ceph-mon's more annoying, I suspect.

http://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml?search=unassigned

35168 seems available (range 35007-35353).

And before someone thinks I'm on something, 35168 is the result of:

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

p = 0
for x in reversed('ceph'):

... j = len(str(p))
... if p == 0:
... j = 0
... p += (ord(x)-ord('a')+1)*pow(10,j)

Although definitely not as easy to remember (or type) as 6789 :(

-Joao

p.s.: 31337 is also available ;)

#5 lore raw
Quoted 27 lines · Joao Eduardo Luis
Quoted 15 lines · Sage Weil
Quoted 14 lines · Mark Nelson
Quoted 12 lines · Sage Weil

So, I picked 6789 way back in commit dc38de9b14c5386f9f446124ca6d6673eb8a1e20 because it was unused according to nmap-services. It's there now, in use by smc-https (whatever that is), and says it was registered in 2002. I guess the nmap-services file I looked at at the time was out of date?

In any case, if we want an IANA assigned number, we'll need to change it.

We should be able to make a transition reasonably painless by making clients try both ports when none is specified for some period.

I'm assuming it's worth the effort... what do you think?

Quoted 8 lines
Quoted 2 lines

Yes, I think it's worth it. Better now than when we are 10x bigger than <large storage vendor> right? ;)

Hmm, we could go for something < 1024 too, but that will make non-root ceph-mon's more annoying, I suspect.

http://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml?search=unassigned

35168 seems available (range 35007-35353).

Quoted 8 lines

And before someone thinks I'm on something, 35168 is the result of:

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

p = 0
for x in reversed('ceph'):

... j = len(str(p))
... if p == 0:
... j = 0
... p += (ord(x)-ord('a')+1)*pow(10,j)

Heh, now I know you're on something!

What about CE4h = 3300?

sage

Quoted 5 lines

Although definitely not as easy to remember (or type) as 6789 :(

-Joao

p.s.: 31337 is also available ;)

#6 lore raw
Quoted 32 lines · Sage Weil
Quoted 31 lines · Joao Eduardo Luis
Quoted 15 lines · Sage Weil
Quoted 14 lines · Mark Nelson
Quoted 12 lines · Sage Weil

So, I picked 6789 way back in commit dc38de9b14c5386f9f446124ca6d6673eb8a1e20 because it was unused according to nmap-services. It's there now, in use by smc-https (whatever that is), and says it was registered in 2002. I guess the nmap-services file I looked at at the time was out of date?

In any case, if we want an IANA assigned number, we'll need to change it.

We should be able to make a transition reasonably painless by making clients try both ports when none is specified for some period.

I'm assuming it's worth the effort... what do you think?

Quoted 8 lines
Quoted 2 lines

Yes, I think it's worth it. Better now than when we are 10x bigger than <large storage vendor> right? ;)

Hmm, we could go for something < 1024 too, but that will make non-root ceph-mon's more annoying, I suspect.

http://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml?search=unassigned

35168 seems available (range 35007-35353).

And before someone thinks I'm on something, 35168 is the result of:

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

p = 0
for x in reversed('ceph'):

Quoted 8 lines
Quoted 4 lines

... j = len(str(p))
... if p == 0:
... j = 0
... p += (ord(x)-ord('a')+1)*pow(10,j)

Heh, now I know you're on something!

What about CE4h = 3300?

I like it being easy to remember. :)

-Joao

Quoted 10 lines

sage

Quoted 5 lines

Although definitely not as easy to remember (or type) as 6789 :(

-Joao

p.s.: 31337 is also available ;)