Subject: lib/9885: arcnet ID in libpcap conflict with traditional libpcap syntax
To: None <gnats-bugs@gnats.netbsd.org>
From: None <itojun@itojun.org>
List: netbsd-bugs
Date: 04/14/2000 07:15:14
>Number:         9885
>Category:       lib
>Synopsis:       arcnet ID in libpcap conflict with traditional libpcap syntax
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    lib-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Apr 14 07:16:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Jun-ichiro itojun Hagino
>Release:        netbsd-current
>Organization:
	itojun.org
>Environment:

NetBSD starfruit.itojun.org 1.4X NetBSD 1.4X (STARFRUIT) #177: Wed Apr 12 19:02:20 JST 2000     itojun@starfruit.itojun.org:/usr/home/itojun/NetBSD/src/sys/arch/i386/compile/STARFRUIT i386

>Description:
	NetBSD libpcap has extension to support arcnet.  this is
	defined in scanner.l as "AID", and the regex for this is ":{B}"
	(colon, and then hexadecimals).
	Unfortunately, libpcap uses ":" to special purpose, for byte
	range in protocol header.  AID definition conflict with it, and
	raises incompatible behavior with other libpcap.
>How-To-Repeat:
	# tcpdump -n 'ip[2:2] > 576'
	it will raise syntax error on NetBSD, not on other systems.  This
	example is present on tcpdump(8).
>Fix:
	- change syntax for arcnet address.
	- disable arcnet support.
	- what others?
>Release-Note:
>Audit-Trail:
>Unformatted: