From owner-svn-src-all@FreeBSD.ORG Mon Dec 7 20:21:29 2009 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5362B106568B; Mon, 7 Dec 2009 20:21:29 +0000 (UTC) (envelope-from ermal.luci@gmail.com) Received: from mail-yw0-f194.google.com (mail-yw0-f194.google.com [209.85.211.194]) by mx1.freebsd.org (Postfix) with ESMTP id 1E1FB8FC1C; Mon, 7 Dec 2009 20:21:27 +0000 (UTC) Received: by ywh32 with SMTP id 32so5041518ywh.14 for ; Mon, 07 Dec 2009 12:21:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:from:date:x-google-sender-auth:message-id:subject:to:cc :content-type; bh=0LpZ4wbR++bQ9amEMw0mQ1ZGcdPAE+IVrxk1Y3PImY0=; b=atd3vc82eRQYuRi2gcO35mQTRWX7YBbwc21X8UubI6wcJW+9ZdzakgDUhZZGv90t9k 18txnq+52C6gi/k8c5e/53Phad9reS66lFEAR4ZkpxV2xpQa3tq9CIMctc+BlZtZFGU0 htA5q5Vv+hbXTtWphVwZ8zaqfSnmZ3JYkmI2o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; b=SSo9YNdMewkp7F5DeUoCoSMQihnH4qGdRIozaPmgeFrIcYxoZxdFDdHfctNX0lA02K xwC4f06A4kXhHEoPj9lJ9p5BNzMHSp2WpL/Hso8WQU6pVjpL7kMC/N+6L440qkxJZpjb 8eT7JhrCXBYjOM8e9nRAM7klmjaZC35R/UAqE= MIME-Version: 1.0 Sender: ermal.luci@gmail.com Received: by 10.150.163.2 with SMTP id l2mr12115120ybe.272.1260217287273; Mon, 07 Dec 2009 12:21:27 -0800 (PST) In-Reply-To: <933fa9790912071145k4d97c177qc6f963ba0ffbb13@mail.gmail.com> References: <200912061804.nB6I4R38027652@svn.freebsd.org> <4B1D437F.4050601@elischer.org> <4B1D4723.5090908@elischer.org> <200912072029.05907.max@love2party.net> <933fa9790912071145k4d97c177qc6f963ba0ffbb13@mail.gmail.com> From: =?ISO-8859-1?Q?Ermal_Lu=E7i?= Date: Mon, 7 Dec 2009 21:21:07 +0100 X-Google-Sender-Auth: 88543358c04e9550 Message-ID: <9a542da30912071221t289a57a8gdfbb12c8a0b84753@mail.gmail.com> To: Lytochkin Boris Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Luigi Rizzo , src-committers@freebsd.org, svn-src-all@freebsd.org, Julian Elischer , sem@freebsd.org, svn-src-head@freebsd.org, Max Laier Subject: Re: svn commit: r200183 - head/sbin/ipfw X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Dec 2009 20:21:29 -0000 On Mon, Dec 7, 2009 at 8:45 PM, Lytochkin Boris wrote: > Hi! > > On Mon, Dec 7, 2009 at 10:29 PM, Max Laier wrote: > [cut] > > I just tested an install of r197983 (9.0-CURRENT) that I had on a > test-box and > > route-to works as it is supposed to - AFAICT. FWIW, pf sets sin_len for > every > > use. > > > > Might be a problem/mis-understanding in the OPs configuration that is the > > issue here? > > > > I'll follow up to the thread on -net@ is a second. > > I posted my pf config in original message to -net@: > ===== > scrub in all fragment reassemble > pass in all flags S/SA keep state > pass out quick route-to (em0 10.60.128.254) inet from 10.60.128.0/24 > to any flags S/SA keep state > ===== > > Pretty simple. Even when forward is disabled packets that are matched > by route-to rule are forwarded to default gateway instead of specified > in route-to. And I checked rtalloc_ign_fib() arguments when using pf - > seems that pf does not use this function to lookup route-to route. > > +sem@ > > My crystal ball is broken. Explain your freebsd config, your network topology, some debug output and then it can be considered useful. There are many people using route-to on FreeBSD 8 so it would have come up before. > -- > Regards, > Boris Lytochkin > -- Ermal