netdev
[Top] [All Lists]

ipv4-mapped ipv4 connect() for UDP broken in test10

To: linux-kernel@xxxxxxxxxxxxxxx
Subject: ipv4-mapped ipv4 connect() for UDP broken in test10
From: Felix von Leitner <felix-kernel@xxxxxxx>
Date: Wed, 26 Nov 2003 09:17:45 +0100
Resent-date: Wed, 26 Nov 2003 17:50:18 +0900 (JST)
Resent-from: YOSHIFUJI Hideaki / 吉藤英明 <yoshfuji@xxxxxxxxxx>
Resent-message-id: <20031126.175018.52712920.yoshfuji@wide.ad.jp>
Resent-to: netdev@xxxxxxxxxxx
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: Mutt/1.5.4i
My IPv6 port for djbdns' dnscache does not work with -test10.

The symptom is that all queries time out.

Some digging reveals that djbdns does this (with scope_id 0):

  socket(PF_INET6,...)
  bind socket to ::
  connect() socket to IP of peer (in this case, 210.81.13.179)
  send() dns query

at this point, the query is not sent over ppp0 as it should, but it is
sent to lo.  Not only that, but the queries are _received_ by the same
djbdns (with servfail), although the destination IP is as said above
210.81.13.179 and none of my local IPs: 10.0.0.6, 127.0.0.1, or
217.88.123.45.

Any ideas?  Please do not ship 2.6.0-final with a bug like this in it!

Felix
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

<Prev in Thread] Current Thread [Next in Thread>