Re: scanlogd doesnt start anymore after upgrade from 8.2 to 8.3 cause of USB

2012-04-22 Thread Hilko Meyer
Claudius wrote:
If you are using packet filter,
echo hw.usb.no_pf=1 /boot/loader.conf

http://lists.freebsd.org/pipermail/freebsd-stable/2012-January/065421.html

Hope this helps.

Thanks! 
| echo hw.usb.no_pf=1 /boot/loader.conf
did the trick. That helped.

I'm a bit puzzled to see a disrupive change like this  merged to a
Stable-branch without a heads-up and without documentation how to
disable it.


regards,
hilko
PS: forgot to mention I'm not subsricbed to this list. Please keep me
CCed.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: scanlogd doesnt start anymore after upgrade from 8.2 to 8.3 cause of USB

2012-04-22 Thread Jason Hellenthal

Did you recompile your ports so this would go away ?

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

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

On Sun, Apr 22, 2012 at 05:47:24PM +0200, Hilko Meyer wrote:
 Claudius wrote:
 If you are using packet filter,
 echo hw.usb.no_pf=1 /boot/loader.conf
 
 http://lists.freebsd.org/pipermail/freebsd-stable/2012-January/065421.html
 
 Hope this helps.
 
 Thanks! 
 | echo hw.usb.no_pf=1 /boot/loader.conf
 did the trick. That helped.
 
 I'm a bit puzzled to see a disrupive change like this  merged to a
 Stable-branch without a heads-up and without documentation how to
 disable it.
 
 
 regards,
 hilko
 PS: forgot to mention I'm not subsricbed to this list. Please keep me
 CCed.
 ___
 freebsd-stable@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-stable
 To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org

-- 

 - (2^(N-1))
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: scanlogd doesnt start anymore after upgrade from 8.2 to 8.3 cause of USB

2012-04-22 Thread Hilko Meyer
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 = /lib/libpcap.so.7 (0x28112000)
libcrypto.so.6 = /lib/libcrypto.so.6 (0x2813f000)
libc.so.7 = /lib/libc.so.7 (0x2829a000)
hilko@falko:~ ldd /usr/local/bin/scanlogd
/usr/local/bin/scanlogd:
libpcap.so.7 = /lib/libpcap.so.7 (0x2808f000)
libc.so.7 = /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
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


scanlogd doesnt start anymore after upgrade from 8.2 to 8.3 cause of USB

2012-04-21 Thread Hilko Meyer
Hi,

today I updated one server to 8.3. Now scanlod fails to start with some
weird error message:
root@falko:~ /usr/local/etc/rc.d/scanlogd start  
Starting scanlogd.
pcap_compile: USB link-layer type filtering not implemented
/usr/local/etc/rc.d/scanlogd: WARNING: failed to start scanlogd

USB?!? Where does that come from? tcpdump seems affected too:
root@falko:~ tcpdump 
tcpdump: WARNING: usbus0: no IPv4 address assigned
tcpdump: unsupported data link type USB

Any ideas about the reason?

regards,
Hilko
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: scanlogd doesnt start anymore after upgrade from 8.2 to 8.3 cause of USB

2012-04-21 Thread Claudius
If you are using packet filter,
echo hw.usb.no_pf=1 /boot/loader.conf

http://lists.freebsd.org/pipermail/freebsd-stable/2012-January/065421.html

Hope this helps.

--
regards Claudius

On 22/04/12 04:21, Hilko Meyer wrote:
 Hi,
 
 today I updated one server to 8.3. Now scanlod fails to start with some
 weird error message:
 root@falko:~ /usr/local/etc/rc.d/scanlogd start  
 Starting scanlogd.
 pcap_compile: USB link-layer type filtering not implemented
 /usr/local/etc/rc.d/scanlogd: WARNING: failed to start scanlogd
 
 USB?!? Where does that come from? tcpdump seems affected too:
 root@falko:~ tcpdump 
 tcpdump: WARNING: usbus0: no IPv4 address assigned
 tcpdump: unsupported data link type USB
 
 Any ideas about the reason?
 
 regards,
 Hilko
 ___
 freebsd-stable@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-stable
 To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org