Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Jun 2001 04:23:18 -0700
From:      "Morgan Davis" <>
To:        <>
Subject:   lpd: Malformed from address
Message-ID:  <000001c0eb56$6d6ae250$>

Next in thread | Raw E-Mail | Index | Archive | Help
After upgrading two different FreeBSD 4.2 systems to 4.3, they both
began to exhibit trouble when trying to print to their lpd processes.
Watching the raw traffic via tcpdump, both are failing immediately when
lpd tries to resolve the connecting client's address in chkhost():

        error = getnameinfo(f, f->sa_len, NULL, 0, serv, sizeof(serv),
        if (error || atoi(serv) >= IPPORT_RESERVED)
                fatal(0, "Malformed from address");

It can be exercised via telnet:

# telnet golf printer
Connected to
Escape character is '^]'.
lpd: Malformed from address
Connection closed by foreign host.

This happens on both systems, different kernels, one running named and
one not.  What in the world could be causing this?


To Unsubscribe: send mail to
with "unsubscribe freebsd-stable" in the body of the message

Want to link to this message? Use this URL: <$6d6ae250$241978d8>