Can I stop CUPS from automatically adding remoteprinters?

Mark London mrl at psfc.mit.edu
Thu May 8 09:02:20 PDT 2008


> Mark London wrote:
> > Redhat 4 comes with cups-1.1.22
> >
> > I don't see an option "show printer shared by other system"  Apparently that is added in later versions.  RHEL4's version doesn't seem to have the option automatically-discovered, so I can't disable it.
> >
> >
> >>------=_Part_27805_21119144.1210252711999
> >>Content-Type: text/plain; charset=ISO-8859-1
> >>Content-Transfer-Encoding: 7bit
> >>Content-Disposition: inline
> >>
> >>Hello, What CUPS version are you using ?
> >>
> >>Did you tried to disable option on Administration page called (Show printers
> >>shared by other system) ?
> >>
> >>
> >>
> >>2008/5/7, Mark London <mrl at psfc.mit.edu>:
> >>
> >>>Under RHEL4, CUPS crashes when someone with a mac powerbook puts their
> >>>computer on the network (which has printer sharing on) and then takes it
> >>>off.  He uses the powerbook at home, where he needs printer sharing
> >>>enabled.  We have no need to have printers found automatically.  I have all
> >>>our needed printers defined manually.  Can I turn off or block this
> >>>feature?  Thanks. - Mark
> >>>
> >>>I [07/May/2008:12:43:16 -0400] Added remote printer "
> >>>Canon_MP800 at 198.125.180.58"...
> >>>I [07/May/2008:13:43:26 -0400] Remote destination "
> >>>Canon_MP800 at 198.125.179.158" has timed out; deleting it...
> >>>I [07/May/2008:13:43:26 -0400] Remote destination "
> >>>Canon_MP800 at 198.125.180.58" has timed out; deleting it...
> >>>I [07/May/2008:13:43:26 -0400] Saving printers.conf...
> >>>
> >>>CUPSD is dead after the above happens.
> >>>_______________________________________________
> >>>cups mailing list
> >>>cups at easysw.com
> >>>http://lists.easysw.com/mailman/listinfo/cups
> >>>
> >>
> >>------=_Part_27805_21119144.1210252711999
> >>Content-Type: text/html; charset=ISO-8859-1
> >>Content-Transfer-Encoding: 7bit
> >>Content-Disposition: inline
> >>
> >>Hello, What CUPS version are you using ? <br><br>Did you tried to disable option on Administration page called (Show printers shared by other system) ?<br><br><br><br><div><span class="gmail_quote">2008/5/7, Mark London <<a href="mailto:mrl at psfc.mit.edu">mrl at psfc.mit.edu</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
> >>Under RHEL4, CUPS crashes when someone with a mac powerbook puts their computer on the network (which has printer sharing on) and then takes it off.  He uses the powerbook at home, where he needs printer sharing enabled.  We have no need to have printers found automatically.  I have all our needed printers defined manually.  Can I turn off or block this feature?  Thanks. - Mark<br>
> >> <br> I [07/May/2008:12:43:16 -0400] Added remote printer "<a href="mailto:Canon_MP800 at 198.125.180.58">Canon_MP800 at 198.125.180.58</a>"...<br> I [07/May/2008:13:43:26 -0400] Remote destination "<a href="mailto:Canon_MP800 at 198.125.179.158">Canon_MP800 at 198.125.179.158</a>" has timed out; deleting it...<br>
> >> I [07/May/2008:13:43:26 -0400] Remote destination "<a href="mailto:Canon_MP800 at 198.125.180.58">Canon_MP800 at 198.125.180.58</a>" has timed out; deleting it...<br> I [07/May/2008:13:43:26 -0400] Saving printers.conf...<br>
> >> <br> CUPSD is dead after the above happens.<br> _______________________________________________<br> cups mailing list<br> <a href="mailto:cups at easysw.com">cups at easysw.com</a><br> <a href="http://lists.easysw.com/mailman/listinfo/cups">http://lists.easysw.com/mailman/listinfo/cups</a><br>
> >> </blockquote></div><br>
> >>
> >>------=_Part_27805_21119144.1210252711999--
> >>
> >
> >
>
> For CUPS 1.1.x, see the comments on "Browsing" and
> related in the cupsd.conf file (that one that
> is originally delivered) and either turn browing off
> completely or exclude the hosts the printers
> of which you don't want from browsing.

I tried turning it off, denying access in several different ways, no luck.  So I used iptables to block udp port 631, and that works. :)






More information about the cups mailing list