[Future ADC-EXT 1.0.9] HH field in the PING extention

Ideas for ADC may be presented here for others to review and point out flaws or further improve the idea.
Forum rules
If you have an account on the wiki, remember to update the ADC Proposals page for new ideas.

http://dcbase.org/wiki/ADC_Proposals_list
Locked
Pirre
Junior Member
Posts: 31
Joined: 10 Nov 2009, 11:57

[Future ADC-EXT 1.0.9] HH field in the PING extention

Post by Pirre » 16 Jun 2011, 19:35

@ this moment there seems some confusion of what the exact format of the HH field should be, if you look @ the specifications it states:

HH - string - Hub Host address ( DNS or IP )

What means a simple URL or IP no port given

If you look @ the example given alto it indicates also the port suffix to be included.

HHexample.org:555

So what is the real spec ?

The last seems logic besides 1 point , if this HH is going to be used to inform a hublist about a address change , why not send the complete qualifyed ADC address like:

HHadcs://example.org:555

(and maybe this field could then maybe 1 day be used to autoupdate the clients favorites :D )

That way it could be realy used to change a adc hubs address to any ADC(s) compatible address.

Pretorian
Site Admin
Posts: 214
Joined: 21 Jul 2009, 10:21

Re: HH field in the PING extention

Post by Pretorian » 16 Jun 2011, 20:54

I would say "HH - string - Hub host in URL address form (adc://server:port)".

In terms of "real spec", I'd go with what the current implementations do.

Pretorian
Site Admin
Posts: 214
Joined: 21 Jul 2009, 10:21

Re: HH field in the PING extention

Post by Pretorian » 25 Jan 2015, 21:20

eMTee mentioned this for me and I think this should be clarified in the spec. It is worth bringing up the discussion again.

I am proposing that few minor changes to the spec:

1) Change the type to "url"
2) Change the description to "Hub Host address (ADC/ADCS URL address form)"
3) Change the example to say "HHadc://example.org:555"

These changes require that hubs and pingers actually support this format, but I'm not sure which does and which doesn't.

Pretorian
Site Admin
Posts: 214
Joined: 21 Jul 2009, 10:21

Re: HH field in the PING extention

Post by Pretorian » 19 Feb 2015, 20:23

I have pushed this so this will be part of ADC-EXT 1.0.9.

Locked