Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Mar 2012 12:43:37 GMT
From:      Stefan BALU <balustefan@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/166411: simply enabling pf makes udpxy not to work
Message-ID:  <201203261243.q2QChbof016753@red.freebsd.org>
Resent-Message-ID: <201203261250.q2QCo185019379@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201203261243.q2QChbof016753>