From owner-freebsd-bugs@FreeBSD.ORG Mon Mar 26 12:50:01 2012 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B9943106564A for ; Mon, 26 Mar 2012 12:50:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 756158FC23 for ; Mon, 26 Mar 2012 12:50:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q2QCo1D6019380 for ; Mon, 26 Mar 2012 12:50:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q2QCo185019379; Mon, 26 Mar 2012 12:50:01 GMT (envelope-from gnats) Resent-Date: Mon, 26 Mar 2012 12:50:01 GMT Resent-Message-Id: <201203261250.q2QCo185019379@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Stefan BALU Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8665B1065675 for ; Mon, 26 Mar 2012 12:43:37 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 722E98FC17 for ; Mon, 26 Mar 2012 12:43:37 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q2QChbrC016778 for ; Mon, 26 Mar 2012 12:43:37 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id q2QChbof016753; Mon, 26 Mar 2012 12:43:37 GMT (envelope-from nobody) Message-Id: <201203261243.q2QChbof016753@red.freebsd.org> Date: Mon, 26 Mar 2012 12:43:37 GMT From: Stefan BALU To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: kern/166411: simply enabling pf makes udpxy not to work X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Mar 2012 12:50:01 -0000 >Number: 166411 >Category: kern >Synopsis: simply enabling pf makes udpxy not to work >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Mar 26 12:50:01 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Stefan BALU >Release: FreeBSD 9.0-RELEASE >Organization: - >Environment: FreeBSD **.*****.** 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Sun Mar 25 02:27:31 EET 2012 root@fw.llldental.ro:/usr/obj/usr/src/sys/FW amd64 >Description: I have an issue with pf and udpxy. I have a gateway machine with 3 ethernet cards: re0 -> wan re1 -> lan re2 -> tv The tv interface connects to my isp's IPTV network where multicast udp and igmp packets come and go. In order for my computers and tvs to get the IPTV stream, i use an HTTP to UDP proxy (udpxy). This little application takes HTTP requests in the form of: http://udpxy-server:port/udp/CHANNEL_IP:CHANNEL_PORT from lan clients and registers to these multicast streams on the tv interface. However, the problem appears when i simply enable pf. With no rule in pf.conf, running /etc/rc.d/pf start simply makes udpxy to stop working throwing: read_buf: read: Resource temporary unavailable After spending lots of hours figuring this out, i disabled pf and everything suddenly worked. Using ipfilter, the problem is totally gone. >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: