I have just found the following message in syslog:
Feb 12 13:25:56 samsung5-ubuntu colord-sane: message repeated 2 times: [ [bjnp]
create_broadcast_socket: ERROR - bind socket to local address failed - Cannot
assign requested address]
that matches:
● colord.service - Manage, Install and Generate Color Profiles
Loaded: loaded (/lib/systemd/system/colord.service; static; vendor preset:
enabled)
Active: active (running) since Tue 2019-02-12 02:30:41 CET; 11h ago
Main PID: 2098 (colord)
Tasks: 3 (limit: 4915)
Memory: 14.9M
CGroup: /system.slice/colord.service
└─2098 /usr/lib/colord/colord
Feb 12 02:30:41 samsung5-ubuntu systemd[1]: Starting Manage, Install and
Generate Color Profiles...
Feb 12 02:30:41 samsung5-ubuntu systemd[1]: Started Manage, Install and
Generate Color Profiles.
Feb 12 02:30:42 samsung5-ubuntu colord[2098]: failed to get session [pid 2118]:
No data available
Feb 12 02:30:42 samsung5-ubuntu colord-sane[2240]: [bjnp]
create_broadcast_socket: ERROR - bind socket to local address failed - Cannot
assign requested address
This lead me to investigate the SANE scanner and more specifically
/etc/sane.d/dll.conf which seems to list image scanner hardware drivers,
including canon ones.
However, commenting out 'net' or all canon-related lines does not change
anything:
# systemctl restart colord
# systemctl status colord
● colord.service - Manage, Install and Generate Color Profiles
Loaded: loaded (/lib/systemd/system/colord.service; static; vendor preset:
enabled)
Active: active (running) since Tue 2019-02-12 14:21:12 CET; 4s ago
Main PID: 31838 (colord)
Tasks: 4 (limit: 4915)
Memory: 8.0M
CGroup: /system.slice/colord.service
└─31838 /usr/lib/colord/colord
Feb 12 14:21:12 samsung5-ubuntu systemd[1]: Starting Manage, Install and
Generate Color Profiles...
Feb 12 14:21:12 samsung5-ubuntu systemd[1]: Started Manage, Install and
Generate Color Profiles.
Feb 12 14:21:13 samsung5-ubuntu colord-sane[31859]: [bjnp]
create_broadcast_socket: ERROR - bind socket to local address failed - Cannot
assign requested address
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to cups in Ubuntu.
https://bugs.launchpad.net/bugs/1671974
Title:
CUPS - Excessive Amounts of UDP Multicast Traffic for BJNP
Status in cups package in Ubuntu:
Confirmed
Bug description:
It appears that the cups-browsed service as of Xenial (version
1.8.3-2ubuntu3.1) sends an excessive amount of UDP multicast requests
for ports 8610 (Canon MFNP) and 8612 (Canon BJNP) under unexpected
conditions and regardless of a presence or lack of Canon printer
devices on the network.
This is manifested by enabling UFW, and observing multicast requests being
blocked that are sent from the host machine's network IPv4 or IPv6 address to
the multicast address, e.g.
[UFW BLOCK] IN=wlp3s0 OUT= MAC= SRC=<Machine IPv6>
DST=ff02:0000:0000:0000:0000:0000:0000:0001 LEN=64 TC=0 HOPLIMIT=1
FLOWLBL=96642 PROTO=UDP SPT=8612 DPT=8612 LEN=24
IN= OUT=wlan0 SRC=192.168.90.45 DST=192.168.91.255 LEN=44 TOS=0x00
PREC=0x00 TTL=64 ID=7742 DF PROTO=UDP SPT=8612 DPT=8610 LEN=24
Users have observed that the requests can be reproduced when any USB device
is plugged/unplugged into the computer, regardless of whether the device has
anything to do with printing:
https://twitter.com/gertvdijk/status/621790755758178304
https://bugs.kali.org/view.php?id=3094
Just Googling "udp 8612", shows are a large number of results on different
websites of people who have observed this behaviour in firewall and traffic
logs, and have noticed that it may contribute to network slowdown and latency:
https://askubuntu.com/questions/867739/what-is-this-traffic/867786
https://serverfault.com/questions/667376/watchguard-blocking-internal-udp-packets
https://jehurst.wordpress.com/2016/01/22/small-victories/ recommends
disabling the cups-browsed service to stop these requests:
systemctl stop cups-browsed.service
systemctl disable cups-browsed.service
There are probably two things to address here:
1. Connecting any USB device should not cause these requests unless the
device is actually a printer or directly related to printing.
2. Requests independent of connecting USB devices should be rate limited to a
degree and/or should be dependent on the actual presence of a Canon printer
configured on the network.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1671974/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp