Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20130814021920.7e719d8f@sibserver.ru>
Date: Wed, 14 Aug 2013 02:19:20 +0800
From: orc <orc@...server.ru>
To: musl list <musl@...ts.openwall.com>
Subject: dn_expand() confuses postfix

musl's dn_expand() confuses postfix - always returns 0, then postfix's
libdns.a gets wrong shifts and gives up with something like:

./test_dns_lookup: lookup yandex.ru type MX flags 2
./test_dns_lookup: dns_query: yandex.ru (MX): OK
./test_dns_lookup: warning: dns_get_fixed: bad class: 30722
./test_dns_lookup: fatal: Name service error for name=yandex.ru type=MX: Malformed or unexpected name server reply

If someone will face same error with postfix & musl, then get portable
dn_expand.c from
http://tclsysdns.googlecode.com/svn/trunk/unix/dn_expand.c and put it
in src/dns (edit Makefile.in to include src & obj).

(btw running whole LAMP/FTP stack with musl - some issues appear like
iconv need to be replaced with libiconv to make some CMS happy, so I
have some compatibility experience here. Musl much more perfect than I
expected)

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.