Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Thu, 01 May 2014 03:08:26 +0200
From: Stefan de Konink <stefan@...ink.de>
To: <musl@...ts.openwall.com>
Subject: Requirement for proper DNS resolving / source port = 0

Hi,

I am setting up an embedded system, and consider that I have not set up 
anything other then I have explicitly described.

I am using a Linux kernel 3.14.2, and have set up kernel autoconfiguration 
(ip=dhcp). That having said, I am able to ping external hosts using 
busybox.

My current problem is that I am unable to resolve hostnames in my system. 
The file /etc/resolv.conf is in place, and I am observing outgoing DNS 
requests. The strange thing about them is that the source port is actually 
0, not illegal, but it isn't getting any replies.

I have tried to add /etc/hosts and /etc/services. I am able to ping 
localhost, which does resolve to an IP address using the entry from 
/etc/hosts.

Is this a bad kernel configuration? Does anyone have a hint where to look 
for?

My guess it is related to here... and I guess it is expecting udp port 
randomization, which does not seem to happen. Any clues?

http://git.musl-libc.org/cgit/musl/tree/src/network/getaddrinfo.c#n53


Stefan

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.