cvs commit: src/etc services
Greg 'groggy' Lehey
grog at FreeBSD.org
Sun May 20 04:54:35 UTC 2007
On Saturday, 19 May 2007 at 21:43:35 -0700, Doug Barton wrote:
> Greg Lehey wrote:
>> grog 2007-05-20 03:31:52 UTC
>> FreeBSD src repository
>> Modified files:
>> etc services
>> Bring the well known ports of /etc/services into sync with the IANA
>> This is only for the well known known ports (port 1-1023) for tcp and
>> udp only.
>> - Removed "problems" comments around port 57, 77 and 87
>> - Removed audionews (port 114)
>> - Added imap3 (port 220)
>> - Removed yak-chat (port 258)
>> - Removed concert (port 786)
>> - Added a lot of new allocations
> In the past we've avoided adding entries to /etc/services that were
> not actually being used by something we care about since every extra
> entry increases response time for getservby*() calls.
Understood. It's a factor I thought about.
> Do we feel this is no longer a factor worth worrying about?
It's certainly worth worrying about, and I thought about it before
committing. My thoughts:
- Clearly a lot of this stuff was just corrections.
- We don't know in advance which IP ports are used by ports from the
- Maybe the performance issue isn't that serious after all.
To quote from services(5):
A name server should be used instead of a static file.
I was just thinking that it might be relatively simple to build a
"compiled" file in tabular format and then mmap it. That should be
relatively simple, and should greatly improve performance modulo mmap
overhead. How does the mmap overhead compare with querying a name
See complete headers for address and phone numbers.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-all/attachments/20070520/55cf0bd3/attachment.pgp
More information about the cvs-all