From owner-freebsd-pf@freebsd.org Mon Dec 4 18:57:10 2017 Return-Path: Delivered-To: freebsd-pf@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B69C3E68171 for ; Mon, 4 Dec 2017 18:57:10 +0000 (UTC) (envelope-from jjasen@gmail.com) Received: from mail-vk0-x22b.google.com (mail-vk0-x22b.google.com [IPv6:2607:f8b0:400c:c05::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 62D0574E6F for ; Mon, 4 Dec 2017 18:57:10 +0000 (UTC) (envelope-from jjasen@gmail.com) Received: by mail-vk0-x22b.google.com with SMTP id h203so10257191vka.6 for ; Mon, 04 Dec 2017 10:57:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=v6zslU2UvgLaMyyV2bsHZlujiIK/6TVB/bDs1V4DD3M=; b=YMHChIfepIWcA/yh9LLFBbf4xMi3TRR+I3CJgBP0fz0k2LuG0pdkIQl2OSIgOcR2q0 FHRoHbHC0qb5Unp+lgGMO1UapTzeByVILm5cs0M+G6uQm1F6AjWQWwO5WQdUGFrkxtNd Huiy/7af+fQ1vGJySLlgsTu2ysL+2LreT5ZKnEggwqiiVtkUh31bvNpV+ujJflfnwmnN ZvNSMMUl+FK5cqsSF0/kc6l9u415Uu5X/FNn8N0lMlCANuBrrmzap61zkyzYgwW6SdyM b97ZfH+iaZrkCndTXuZlx2C+AberfasW96Q5P5XjEP0+COmAFCpZkb06EAUpy9jImFnc 5/og== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=v6zslU2UvgLaMyyV2bsHZlujiIK/6TVB/bDs1V4DD3M=; b=uNovHYIshyt2pEkPDmmK4gjghbrHo0J0Ce2tF51FHXDI/F8SczalDxMNUfh6GIJ1eV lSPWC4pgzzoT25IqRARYH4nmZdZOMGk5fUztbJXPVCWacYPDRfiiT5mMHG8VCYA+g5p1 7W5qRgSUOKjA4n75iuSnPA7AzQBSO8z99lHmLVmVi49qFItWKE0HGN+3x3LNSpd8dnyr nFIcn8tn70vt7715zz19AxcRUFtEcDuptj+V7J4XtH2g6S0c7+8Rb7r6G4/WEjcj7/5T ty59dqokjHffyrhE8rbbM2dBvHHv+XaWIrIYtUTdjHkMy2RFNue1JZIe/45H6IXTH6zh Z6Aw== X-Gm-Message-State: AKGB3mI4FwHsb129Dn+ewrWmjgajiFTtaTUAnQpcSY4z0iPyAZuLFlQW h9SHv63c2GeGXF/85ZEkcmwBkw== X-Google-Smtp-Source: AGs4zMYWS4BYqquQvc4M9r16fCjR/68lAPD3WYJiCa9q78ELHmKdYZnn+h6oBk/6gM4IwiIeclQV2g== X-Received: by 10.31.244.73 with SMTP id s70mr72833vkh.18.1512413828924; Mon, 04 Dec 2017 10:57:08 -0800 (PST) Received: from [10.1.29.193] ([198.119.59.10]) by smtp.googlemail.com with ESMTPSA id r142sm4614696vke.5.2017.12.04.10.57.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 04 Dec 2017 10:57:08 -0800 (PST) Subject: Re: problems with tftp-proxy in 11.1? To: Kristof Provost Cc: FreeBSD PF References: From: John Jasen Message-ID: <9f0fc087-2aed-535e-c779-be0cc49cde26@gmail.com> Date: Mon, 4 Dec 2017 13:57:07 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Content-Language: en-US X-BeenThere: freebsd-pf@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: "Technical discussion and general questions about packet filter \(pf\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Dec 2017 18:57:10 -0000 rdr pass log proto udp \ =C2=A0=C2=A0 from {,} \ =C2=A0=C2=A0 to port tftp \ =C2=A0=C2=A0 tag ALLOWED \ =C2=A0=C2=A0 -> 127.0.0.1 port 6969 There is a pass quick tagged ALLOWED later in rules. /etc/inetd.conf contains: acmsoda dgram=C2=A0=C2=A0 udp=C2=A0=C2=A0=C2=A0=C2=A0 wait=C2=A0=C2=A0=C2= =A0 root=C2=A0=C2=A0=C2=A0 /usr/libexec/tftp-proxy tftp-proxy Depending on circumstances, we see a lot or a very few of the following messages: "pf connection lookup failed (no rdr?)" We also see very slow tftp response through the 11.1 firewall, with occasional complete failures. On 12/03/2017 11:40 AM, Kristof Provost wrote: > On 2 Dec 2017, at 4:56, John Jasen wrote: >> Attempts to run tftp-proxy across a freebsd system running pf result i= n >> very slow performance and an endless amount of: >> >> "pf connection lookup failed (no rdr?)" >> Is there something that has regressed in 11.1, or am I missing somethi= ng? >> > I=E2=80=99m not aware of any such regressions, but that of course doesn= =E2=80=99t mean the > can=E2=80=99t be there. > > Can you post the relevant bits of your rules/configuration? A small tes= t case > would be ideal. > > Regards, > Kristof