On Wed, 26 Nov 2003, Sam Varshavchik wrote:

> Jon Nelson writes:
>
> >> >
> >> > Well, 'localhost', for one, won't ever work properly.
> >>
> >> And the consequences of that are…?
> >
> > It's not just localhost but anything and everything in /etc/hosts that
> > is not otherwise reflected by DNS.
>
> Again: and the consequences of that are?
>
> You still haven't explained what the problem is, here.
>
> The only impact of couriertls not consulting the hosts file is that the
> TCPREMOTEHOST and TCPLOCALHOST environment variables will not be set.  Now,
> what exactly is the problem that's caused by that, in your case?

I thought that was the job of couriertcpd?
The problem is that a useful program, couriertls, and by useful I mean
useful to a user to construct (de)-SSL/TLSify I/O streams, doesn't
behave like one would expect it to. Beyond that, how many people here
have expected a certain kind of behavior out of courier by altering the
/etc/hosts file only to eventually learn that it is not (ever)
consulted?  How many people here have struggled only to learn that
courier bypasses entirely the operating system's hostname lookup
preferences (on Linux, /etc/nsswitch.conf usually says to consult
/etc/hosts then DNS, but it can also be configured to consult a bunch of
other things).  There are many times when it's not just inconvenient but
annoying, difficult, or impossible to require a DNS setup.  By forcing
the issue, you are essentially denying a large userbase an easy way to
use courier, and this userbase consists of the overwhelming majority of
home and small network users.  Why should a person have to become
proficient in DNS record keeping and maintainence (with the notoriously
insecure BIND, usually) in addition to having to learn the courier
system?

What's so hard about consulting /etc/hosts?  It's expected behavior.

--
Democracy is two wolves and a sheep voting on what to have for dinner.
Liberty is two wolves attempting to have a sheep for dinner and
finding a well-informed, well-armed sheep.

Jon Nelson <[EMAIL PROTECTED]>
C and Python Code Gardener


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to