[colord] SNMP broadcast when plugging/unplugging usb devices
Mauro Santos
registo.mailling at gmail.com
Mon Apr 10 20:54:50 UTC 2017
On 10-04-2017 21:17, Richard Hughes wrote:
> On 10 April 2017 at 17:26, Mauro Santos <registo.mailling at gmail.com> wrote:
>> I have noticed that every time I connect or disconnect any kind of usb
>> devices (mice, u2f keys, flash drives) colord or something very closely
>> related to colord sends an snmp broadcast.
>
> I've not heard of this before. Can you perhaps use strace to work out
> what's leading to the event being emitted? My only guess would be the
> libsane integration.
>
> Richard.
>
I've run colord with strace but I can't make anything of it, please find
the trace attached. I have started colord, then plugged a usb u2f key,
then unplugged it.
For completeness here's what I see on the output of dmesg when
plugging/unplugging the usb u2f key:
usb 1-2: new full-speed USB device number 11 using xhci_hcd
hid-generic 0003:1050:0120.0007: hiddev0,hidraw3: USB HID v1.10 Device
[Yubico Security Key by Yubico] on usb-0000:00:14.0-2/input0
IN= OUT=wlan0 SRC=192.168.10.100 DST=255.255.255.255 LEN=101 TOS=0x00
PREC=0x00 TTL=64 ID=21396 DF PROTO=UDP SPT=38545 DPT=161 LEN=81
IN=wlan0 OUT= MAC= SRC=192.168.10.100 DST=255.255.255.255 LEN=101
TOS=0x00 PREC=0x00 TTL=64 ID=21396 DF PROTO=UDP SPT=38545 DPT=161 LEN=81
IN= OUT=wlan0 SRC=192.168.10.100 DST=255.255.255.255 LEN=101 TOS=0x00
PREC=0x00 TTL=64 ID=21630 DF PROTO=UDP SPT=38545 DPT=161 LEN=81
IN=wlan0 OUT= MAC= SRC=192.168.10.100 DST=255.255.255.255 LEN=101
TOS=0x00 PREC=0x00 TTL=64 ID=21630 DF PROTO=UDP SPT=38545 DPT=161 LEN=81
usb 1-2: USB disconnect, device number 11
IN= OUT=wlan0 SRC=192.168.10.100 DST=255.255.255.255 LEN=101 TOS=0x00
PREC=0x00 TTL=64 ID=22918 DF PROTO=UDP SPT=57075 DPT=161 LEN=81
IN=wlan0 OUT= MAC= SRC=192.168.10.100 DST=255.255.255.255 LEN=101
TOS=0x00 PREC=0x00 TTL=64 ID=22918 DF PROTO=UDP SPT=57075 DPT=161 LEN=81
IN= OUT=wlan0 SRC=192.168.10.100 DST=255.255.255.255 LEN=101 TOS=0x00
PREC=0x00 TTL=64 ID=23161 DF PROTO=UDP SPT=57075 DPT=161 LEN=81
IN=wlan0 OUT= MAC= SRC=192.168.10.100 DST=255.255.255.255 LEN=101
TOS=0x00 PREC=0x00 TTL=64 ID=23161 DF PROTO=UDP SPT=57075 DPT=161 LEN=81
I've found this when looking at an unrelated problem and monitoring some
tcp and udp ports, monitoring the output by uid yields more results when
starting colord.
Are there any other possible culprits? I've started by blaming colord
because stopping only colord (everything else remaining the same) stops
this behavior.
--
Mauro Santos
-------------- next part --------------
A non-text attachment was scrubbed...
Name: strace.log.gz
Type: application/gzip
Size: 40251 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/colord/attachments/20170410/8fa84843/attachment-0001.gz>
More information about the colord
mailing list