On Thu, Jul 29, 1999 at 12:11:39PM -0700, Doug wrote:
> Dominic Mitchell wrote:
> > 
> > On Thu, Jul 29, 1999 at 09:04:20AM +0100, Josef Karthauser wrote:
> > > A question that always baffled me (I'm fairly easy to baffle) is why we've
> > > got some numbers defined as both udp and tcp when the service type is only
> > > one or the other. Does anyone know?
> > 
> > Probably because the IANA specifies them that way.  I think that they
> > try to keep both UDP and TCP ports the same, "just in case".  There
> > might be a better explanation in rfc1700 (assigned numbers)
> 
>       Nope, that is the official reason. Cheesy-poofs for you. :)

Ok - but it's a bit misleading having both values in /etc/services..

Shouldn't be:
http             80/tcp    www www-http         #World Wide Web HTTP
http             80/udp    www www-http         #World Wide Web HTTP

Should be:
http             80/tcp    www www-http         #World Wide Web HTTP
http             80/udp                         #[not used]

Don't you think?  At least that way you don't have to read all of the
rfcs to construct a firewall ;).

Joe
-- 
Josef Karthauser        FreeBSD: How many times have you booted today?
Technical Manager       Viagra for your server (http://www.uk.freebsd.org)
Pavilion Internet plc.  [...@pavilion.net, j...@uk.freebsd.org, j...@tao.org.uk]


To Unsubscribe: send mail to majord...@freebsd.org
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to