2 Jun 2008 17:27
Re: Dynamic Port Reuse
Spencer Dawkins <spencer <at> wonderhamster.org>
2008-06-02 15:27:28 GMT
2008-06-02 15:27:28 GMT
If I understand him correctly, I just want to reinforce what Dan's saying
here...
We've been doing port-agile protocols for years. It just seems wrong to me
that suddenly paying MORE attention to port numbers now is the right thing
to do, especially if this algorithm gets stuck in the next generation of
Linksys boxes that we then can't upgrade until the year 2525...
Given that there is a positive incentive for protocols to lie ("of COURSE
I'm HTTP, why else would I be running on port 80 where the firewalls are
passing traffic"), I don't expect this to end well.
I wish I had a better suggestion, of course.
Spencer
> Using port numbers is, itself, non-deterministic. This is because
> no two people will generate the same list ports that are safe to
> re-use. If ports are used, then in 3 years, as NAT64 vendors find
> value in optimizing re-use of other port numbers, the vendors will
> begin diverging which ports are re-used.
>
> For example, here would be my list of ports that are safe to re-use:
> TCP/80 (HTTP), TCP/110 (POP3), TCP/995 (POP3S), TCP/143 (IMAP), TCP/587
> (SUBMIT), TCP/25 (SMTP), TCP/22 (SSH), TCP/21 (FTP), TCP/23 (TELNET),
> TCP/7 (ECHO), TCP/9 (DISCARD), TCP/993 (IMAPS).
>
> Are there non-IETF protocols that are used which would break with
> port re-use? That is, that use UNSAF or use TCP S-O?
>
(Continue reading)
>
You're right, I was thinking about techniques other than NAT control.
More importantly, though, neither of those techniques work with
multi-level NATs (or NATs on the other side of routers), so aren't
really appropriate for the problem domain we're talking about here, as I
understand it. Now I suppose we could work more on extensions to NAT
control protocols, but I don't know if those would be well received in
the ISP space. I wasn't involved in the midcom wg. Maybe things have
changed, though...
>> If NATs become even more common than they are now, BitTorrent
>> applications may need to do more NAT traversal, so then TCP-SO would be
RSS Feed