From owner-freebsd-bugs@FreeBSD.ORG Fri Feb 27 18:20:02 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 193691065673 for ; Fri, 27 Feb 2009 18:20:02 +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 CF9428FC19 for ; Fri, 27 Feb 2009 18:20:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n1RIK1wj092469 for ; Fri, 27 Feb 2009 18:20:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n1RIK1So092468; Fri, 27 Feb 2009 18:20:01 GMT (envelope-from gnats) Resent-Date: Fri, 27 Feb 2009 18:20:01 GMT Resent-Message-Id: <200902271820.n1RIK1So092468@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, Denis Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 28E1C106566C for ; Fri, 27 Feb 2009 18:12:23 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 17ACF8FC14 for ; Fri, 27 Feb 2009 18:12:23 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n1RICMgc050676 for ; Fri, 27 Feb 2009 18:12:22 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n1RICMGi050675; Fri, 27 Feb 2009 18:12:22 GMT (envelope-from nobody) Message-Id: <200902271812.n1RICMGi050675@www.freebsd.org> Date: Fri, 27 Feb 2009 18:12:22 GMT From: Denis To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: misc/132176: pf stalls connection when using route-to 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: Fri, 27 Feb 2009 18:20:02 -0000 >Number: 132176 >Category: misc >Synopsis: pf stalls connection when using route-to >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Feb 27 18:20:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Denis >Release: 7.1 >Organization: NGC >Environment: FreeBSD host.domain.com 7.1-RELEASE-p3 FreeBSD 7.1-RELEASE-p3 #0: Tue Feb 24 09:48:43 CET 2009 root@hostname.domain.com:/usr/obj/usr/src/sys/dell amd64 >Description: On 6.3 i used such pf config: ------ if_bce0="bce0" if_bce0_gw="172.20.51.1" if_bce1="bce1" scrub in all pass out on $if_bce1 route-to ($if_bce0 $if_bce0_gw) from $if_bce0 to any ------- It is used to such situation: I have 2 interfaces. default route on bce1 such pf rule makes perly to packets coming from bce0 go out through if_bce0_gw ignoring default gw. On 7.1 config changed to this one: --------- pass out on $if_bce1 route-to ($if_bce0 $if_bce0_gw) from $if_bce0 to any no state flags any --------- On 7.1-p2 it works fine. On 7.1-p3 i can upload via scp to server, but download stalls. >How-To-Repeat: install 7.1-p3 on host with 2 network interfaces and apply listed pf config. then try scp any file from this host. for example: server - is host with 7.1-p3 client - any box run from client: scp user@server:~/anyfile . >Fix: >Release-Note: >Audit-Trail: >Unformatted: