Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Jun 2001 04:23:18 -0700
From:      "Morgan Davis" <mdavis@cts.com>
To:        <freebsd-stable@freebsd.org>
Subject:   lpd: Malformed from address
Message-ID:  <000001c0eb56$6d6ae250$241978d8@cts.com>

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),
                            NI_NUMERICSERV);
        if (error || atoi(serv) >= IPPORT_RESERVED)
                fatal(0, "Malformed from address");

It can be exercised via telnet:

# telnet golf printer
Trying 205.163.23.102...
Connected to golf.cts.com.
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?

--Morgan


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?000001c0eb56$6d6ae250$241978d8>