[cups.bugs] [LOW] STR #2986: Does not deny browse packets properly from machine with multiple interfaces

Michael R Sweet msweet at apple.com
Tue Nov 4 20:54:09 PST 2008


Ryan Lovett wrote:
> On Tue, Nov 04, 2008 at 01:19:48PM -0800, Michael Sweet wrote:
>> The BrowseAllow and BrowseDeny directives work on the source addresses in
>> the broadcasts from each server and not using the hostnames or IPs in the
>> printer URIs in the browse packets.
>>
>> If you have a server that has multiple addresses on the same physical
>> interface, the source address can vary depending on the configuration and
>> OS used.
> 
> Thank you for your description of the problem. I'm using Ubuntu 8.04 with
> 
>   Listen 127.0.0.1:631
>   Listen a.b.c.10:631
> 
> in the server configuration. Do you know if the source address should vary
> with this configuration?

It isn't the Listen address that controls the source address, but
the configuration of the network interface (ifconfig eth0, eth0:1,
etc.)

>> If you have multiple cupsd's running on that server, there is no
>> way to filter out printers based on the address alone - you'll need to use
>> BrowsePoll instead and point it at the specific instance you want to see on
>> the local system.
> 
> Does this also apply if I'm using a single cupsd instance on the server?

If your server has multiple IPs for the same interface, yes.

-- 
______________________________________________________________________
Michael R Sweet                        Senior Printing System Engineer





More information about the cups-devel mailing list