[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Service names on machines with bad service files
From: |
Ted Zlatanov |
Subject: |
Re: Service names on machines with bad service files |
Date: |
Mon, 26 Sep 2011 14:27:28 -0500 |
User-agent: |
Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux) |
On Mon, 26 Sep 2011 19:01:56 +0200 Lars Magne Ingebrigtsen <address@hidden>
wrote:
LMI> Ted Zlatanov <address@hidden> writes:
>> I think this is the best solution: map service names to ports in an
>> OS-specific way.
LMI> Service names aren't really OS-specific. :-)
They are. You're thinking of the "famous" ones like imaps, but there
are many unstandardized "lesser celebrities" that are only relevant in
the W32 domain for instance.
>> For W32, http://support.microsoft.com/kb/832017 could be used. It gives
>> several standard port assignments in tables. That whole article could
>> be transformed into a "services" file at compile time or provided
>> dynamically.
LMI> I don't really think that helps much. imaps is 993, and nothing else.
We could hard-code just the ones we need in a global table, if you want
to limit the scope to that. I was proposing something more adaptable
that would serve as a platform services reference. Perhaps that's
overengineering it but I was misled by the thread subject :)
Ted