Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Sep 2001 14:01:53 -0700
From:      Cy Schubert - ITSD Open Systems Group <Cy.Schubert@uumail.gov.bc.ca>
To:        Hajimu UMEMOTO <ume@mahoroba.org>
Cc:        ohartman@klima.physik.uni-mainz.de, freebsd-questions@FreeBSD.ORG, freebsd-stable@FreeBSD.ORG
Subject:   Re: LPD problems in 4.4-STABLE 
Message-ID:  <200109182102.f8IL29h65842@cwsys.cwsent.com>
In-Reply-To: Your message of "Wed, 19 Sep 2001 03:20:39 %2B0900." <20010919.032039.74711539.ume@mahoroba.org> 

next in thread | previous in thread | raw e-mail | index | archive | help

In message <20010919.032039.74711539.ume@mahoroba.org>, Hajimu UMEMOTO 
writes:
> Hi,
> 
> >>>>> On Tue, 18 Sep 2001 16:09:32 +0200 (CEST)
> >>>>> "Hartmann, O." <ohartman@klima.physik.uni-mainz.de> said:
> 
> ohartman> Well, it sounds very strange that only root is excluded from access
>  to
> ohartman> the lpd. Please help.
> 
> It is expected behavior.  FreeBSD's lpd had been broken for a long
> time, and recently fixed accidentally.
> However, many clients break lpr's traditional scheme.  So, new option
> -W was added.  From man lpd:
> 
>      -W      By default, the lpd daemon will only accept connections which
>              originate from a reserved-port (<1024) on the remote host.  The
>              -W flag causes lpd to accept connections coming from any port.
>              This is can be useful when you want to accept print jobs from
>              certain implementations of lpr written for Windows.

RFC 1179 states that LPD connections should originate from ports 
721-731.  I know of only one LPD, MVS TCP/IP Print Services, that 
enforces this.  I think it's fine to have an LPD option or options that 
allows print to come from non-standard ports, e.g. < 1024 or any port, 
however should LPR/LPD conform to the standard?  Having said that, all 
UNIX systems I've worked on, except for AIX, do not completely adhere 
to the RFC, hence printing from non-conforming systems would definitely 
break.


Regards,                         Phone:  (250)387-8437
Cy Schubert                        Fax:  (250)387-5766
Team Leader, Sun/Alpha Team   Internet:  Cy.Schubert@osg.gov.bc.ca
Open Systems Group, ITSD
Ministry of Management Services
Province of BC



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: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200109182102.f8IL29h65842>