nmh-workers
[Top] [All Lists]

Re: [Nmh-workers] rcvdist with non-default port

2018-01-28 08:55:38
Hi Ken,

But .... what if you want to put an IP address?  Can't use a ':'
because that conflicts with IPv6.  You can then try something like:

    server: [ff80::1]:25

or:

    server: ff80:1/25

I don't programmed with IPv6 so did some reading.  For future reference,
https://tools.ietf.org/html/rfc5952#section-6 says

    6.  Notes on Combining IPv6 Addresses with Port Numbers

       There are many different ways to combine IPv6 addresses and port
       numbers that are represented in text.  Examples are shown below.

       o  [2001:db8::1]:80
    ...
       The [] style as expressed in [RFC3986] SHOULD be employed, and is
       the default unless otherwise specified.

So I think we should only allow that format when provision is added;
it's enough, and is the only one I've seen in the wild.

-- 
Cheers, Ralph.
https://plus.google.com/+RalphCorderoy

-- 
Nmh-workers
https://lists.nongnu.org/mailman/listinfo/nmh-workers

<Prev in Thread] Current Thread [Next in Thread>