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

From: Henning P. Schmiedehausen (mailgate@hometree.net)
Date: Fri Sep 07 2001 - 04:06:00 EST


Matthias Andree <matthias.andree@stud.uni-dortmund.de> writes:

>On Thu, 06 Sep 2001, Alan Cox wrote:

>> If you accept 10.0.0.1 from the outside you are leaking information. It

>No, if you accept 10.*.*.* from the outside, your routers are broken.

BS. This has nothing to do with "accepting connections from addresses":

% telnet mail.intermeta.de smtp
Trying 212.34.181.3... <---- Note!
Connected to mail.intermeta.de.
Escape character is '^]'.
220 mail.intermeta.de ESMTP Sendmail 8.11.6/8.11.6; Fri, 7 Sep 2001 11:00:01 +0200
HELO mail.hometree.net
250 mail.intermeta.de Hello IDENT:henning@tangens.hometree.net [212.34.181.34], pleased to meet you
MAIL FROM: <henning@hometree.net>
250 2.1.0 <henning@hometree.net>... Sender ok
RCPT TO: <henning@[192.168.2.1]>
550 5.7.1 <henning@[192.168.2.1]>... Relaying denied
RCPT TO: <henning@[192.168.2.3]>
250 2.1.5 <henning@[192.168.2.3]>... Recipient ok
RCPT TO: <henning@[10.11.12.13]>
550 5.7.1 <henning@[10.11.12.13]>... Relaying denied
QUIT

You may guess now, which the _real_ IP address of "mail.intermeta.de"
is. Yes, "that other mailer" leaks this information. But only for its
own, local IP address.

More "real world" you can't get as in this example. The box transfers
about 1000 Mails per day which may not be much in todays internet but
is fine as "my little mail home". Percentage of failed mails because
of [ip-addr] adressing: 0.00%

So where lies the problem with all this? If the current reporting of
the netmasks is a bug: Fine, fix it, get on with life.

I agree totally with Alan here. If the config can be reported by the
4.3 API, then it should be and be correct. If it can't: Well tough
luck for "really, really" portable mailers.

        Regards
                Henning

-- 
Dipl.-Inf. (Univ.) Henning P. Schmiedehausen       -- Geschaeftsfuehrer
INTERMETA - Gesellschaft fuer Mehrwertdienste mbH     hps@intermeta.de

Am Schwabachgrund 22 Fon.: 09131 / 50654-0 info@intermeta.de D-91054 Buckenhof Fax.: 09131 / 50654-20 - 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:39 EST