From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Mar 13 12:40:03 2005 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CA34516A4CE for ; Sun, 13 Mar 2005 12:40:03 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 17D7143D5A for ; Sun, 13 Mar 2005 12:40:03 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j2DCe2wk005411 for ; Sun, 13 Mar 2005 12:40:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j2DCe261005410; Sun, 13 Mar 2005 12:40:02 GMT (envelope-from gnats) Resent-Date: Sun, 13 Mar 2005 12:40:02 GMT Resent-Message-Id: <200503131240.j2DCe261005410@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Lupe Christoph Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8A8AF16A4CE for ; Sun, 13 Mar 2005 12:36:22 +0000 (GMT) Received: from buexe.b-5.de (buexe.b-5.de [84.19.0.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id AA1B343D39 for ; Sun, 13 Mar 2005 12:36:21 +0000 (GMT) (envelope-from lupe@lupe-christoph.de) Received: from antalya.lupe-christoph.de (antalya.lupe-christoph.de [172.17.0.9])j2DCaGkA030968; Sun, 13 Mar 2005 13:36:17 +0100 Received: from localhost (localhost [127.0.0.1]) by antalya.lupe-christoph.de (Postfix) with ESMTP id BDD27344F3; Sun, 13 Mar 2005 13:36:11 +0100 (CET) Received: from antalya.lupe-christoph.de ([127.0.0.1]) by localhost (antalya [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 29872-01-5; Sun, 13 Mar 2005 13:36:06 +0100 (CET) Received: from firewally.lupe-christoph.de (firewally.lupe-christoph.de [172.17.0.7]) by antalya.lupe-christoph.de (Postfix) with ESMTP id A63C2344F4; Sun, 13 Mar 2005 13:36:03 +0100 (CET) Received: by firewally.lupe-christoph.de (Postfix, from userid 100) id 6FC75A812; Sun, 13 Mar 2005 13:36:03 +0100 (CET) Message-Id: <20050313123603.6FC75A812@firewally.lupe-christoph.de> Date: Sun, 13 Mar 2005 13:36:03 +0100 (CET) From: Lupe Christoph To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 cc: aaron@daltons.ca cc: bward2@users.sourceforge.net Subject: ports/78777: Lexer collision with pcap library X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Lupe Christoph List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Mar 2005 12:40:04 -0000 >Number: 78777 >Category: ports >Synopsis: Lexer collision with pcap library >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Mar 13 12:40:02 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Lupe Christoph >Release: FreeBSD 4.10-RELEASE-p5 i386 >Organization: >Environment: System: FreeBSD firewally.lupe-christoph.de 4.10-RELEASE-p5 FreeBSD 4.10-RELEASE-p5 #2: Sat Dec 11 17:38:51 CET 2004 lupe@firewally.lupe-christoph.de:/usr/obj/usr/src/sys/FIREWALLY i386 FreeBSD 4.10-RELEASE-p5 >Description: doormand fails with the message emerg: Bad service name "port" on line 17 of guest list phase 3; portnumber or secret 9876 This message is generated in pcap_compile which seems to use doorman's guestfile lexer to scan "udp and port 9876 and dst 172.17.0.7" >How-To-Repeat: Install doorman, copy EXAMPLE files to the real files, run "doormand -D" >Fix: Hide the doorman lexer. This can be done with the flex "-P" option, but that changes yywrap(), too. Flex allows one to work around this by adding %option noyywrap. Note that e.g. Solaris' lex does not have -P. In the long run I believe the pcap library should implement this rather than every program using it. >Release-Note: >Audit-Trail: >Unformatted: