Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Apr 2012 22:07:14 +0200
From:      Hilko Meyer <Hilko.Meyer@gmx.de>
To:        Jason Hellenthal <jhellenthal@dataix.net>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: scanlogd doesnt start anymore after upgrade from 8.2 to 8.3 cause of USB
Message-ID:  <p2o8p7dq15vjlf588s2i7c4jtt9r9dccrg@mail.arcor.de>
In-Reply-To: <20120422191822.GA16958@DataIX.net>
References:  <evo6p7td49unnnop57tu5crft24tc6co8f@mail.arcor.de> <t198p7taa6n2orl9tlkmpq845r46q3kjin@mail.arcor.de> <20120422191822.GA16958@DataIX.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Jason Hellenthal schrieb:
>
>Did you recompile your ports so this would go away ?

That was the first thing I tried. Didn't helped.

>More than likely some of your system is running against libpcap
>installed from ports etc... This happens.

No libcap from ports installed. And both affected programs linked to
systemlibpcap:
hilko@falko:~> ldd /usr/sbin/tcpdump
/usr/sbin/tcpdump:
        libpcap.so.7 =3D> /lib/libpcap.so.7 (0x28112000)
        libcrypto.so.6 =3D> /lib/libcrypto.so.6 (0x2813f000)
        libc.so.7 =3D> /lib/libc.so.7 (0x2829a000)
hilko@falko:~> ldd /usr/local/bin/scanlogd
/usr/local/bin/scanlogd:
        libpcap.so.7 =3D> /lib/libpcap.so.7 (0x2808f000)
        libc.so.7 =3D> /lib/libc.so.7 (0x280bc000)

>You should also expect these things to happen in an upgrade when you
>leave software behind.

Thats true, but that wasn't the case here. In my understanding it's
related to this from the 8.3-Releasenotes:
| The FreeBSD usb(4) subsystem now supports USB packet filter. This =
allows
| to capture packets which go through each USB host controller. The
| implementation is almost based on bpf(4) code. The userland program
| usbdump(8) has been added.[r221174]

After that 'netstat -i' shows usbus entries. And it seens the
contributed libcap doesn't know how to handle that.

regards,
hilko



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?p2o8p7dq15vjlf588s2i7c4jtt9r9dccrg>