Re: notion of a local address [was: Re: ioctl SIOCGIFNETMASK: ip alias

From: Steve VanDevender (stevev@efn.org)
Date: Thu Sep 06 2001 - 13:11:53 EST


Wietse Venema writes:
> If an MTA receives a mail relaying request for user@domain.name
> then it would be very useful if Linux could provide the MTA with
> the necessary information to distinguish between local subnetworks
> and the rest of the world. Requiring the local sysadmin to enumerate
> all local subnetwork blocks by hand is not practical.

I think you're making a couple of unjustified assumptions here:

First, you shouldn't assume that all the other hosts on a local subnet
are under the same administrative control as the host with the MTA in
question (think of a host in a colocation facility), and therefore you
also shouldn't assume that you should allow mail relaying to or from
other hosts on the same subnet by default.

Second, you can't assume that an administrator can or will put all hosts
he wants to allow relaying to or from on the same subnet as the MTA.

It's not only practical to require the sysadmin to enumerate which hosts
or networks he wants to permit relaying from, it's the only solution
that gives the sysadmin the required level of control over relaying
based on client IP addresses.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Sep 07 2001 - 21:00:36 EST