Subject: bin/3042: pppd parsing of "active filter" broken by new libpcap
To: None <gnats-bugs@gnats.netbsd.org>
From: None <paul@pgoyette.bdt.com>
List: netbsd-bugs
Date: 12/17/1996 19:21:11
>Number:         3042
>Category:       bin
>Synopsis:       pppd parsing of "active filter" broken by new libpcap
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    bin-bug-people (Utility Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Dec 17 19:35:00 1996
>Last-Modified:
>Originator:     Paul Goyette
>Organization:
>Release:        Dec 14, 1996
>Environment:
	System:	NetBSD pgoyette.bdt.com 1.2B NetBSD 1.2B (PGOYETTE) #176: 
		Sun Dec 15 03:12:25 PST 1996 paul@pgoyette.bdt.com:
		/home/paul/src/sys/arch/mac68k/compile/PGOYETTE 
		(current as of Sat Dec 14 04:58:13 1996) mac68k
>Description:
	Recent changes to libpcap routines have broken pppd's ability to
	parse active filter expressions.  NB:  pppd uses a private version
	of gencode.c but uses the libpcap version of optimize.c.  The bug
	manifests itself as an infinite loop in routine bpf_optimize().
>How-To-Repeat:
	Insert the following line in /etc/ppp/options file:

active-filter "udp or (tcp and not tcp port ntp)"
>Fix:
	Unknown at this time.
>Audit-Trail:
>Unformatted: