From owner-freebsd-net@FreeBSD.ORG Sat Apr 12 11:18:00 2008 Return-Path: Delivered-To: net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 61E84106566B for ; Sat, 12 Apr 2008 11:18:00 +0000 (UTC) (envelope-from alireza.torabi@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.182]) by mx1.freebsd.org (Postfix) with ESMTP id 452038FC0A for ; Sat, 12 Apr 2008 11:18:00 +0000 (UTC) (envelope-from alireza.torabi@gmail.com) Received: by wa-out-1112.google.com with SMTP id k17so839459waf.3 for ; Sat, 12 Apr 2008 04:18:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=1tx0wGVN/VJ+E11dmM+MuBXosspfFF7nwj7Zt4t+slo=; b=mMF03jVk3ubHfy6PejxMog9NQ/OIWAURIj4GRksrJvRdaMInM0ELgs7tOnsaZ8dUUjr1RETtSZRLT6aGfsfwGdTh9zHG63QFf0Y/cY7tIuO+2ZwzVcrblbwru4FVU4OBDsXFPK/hGUo0zdfXs3sBriTfjvOe2PLMxCflTQfXvJY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=hMS5QrMpYr0X61OCTdncVOZCNR1+BrlX9FIEuorB8yoVkGhxFH9K8XtByOygYYOV4jBoOrTPFO5Hv6WcHLbUrdO/59R9clO92cywKcuzJuw6CVxIrC3Jc++O8JL0f7/9+prp7WmSOMR+rMcytzs9ZrrGlvF/c093nfnOzn3oSoQ= Received: by 10.114.194.1 with SMTP id r1mr4686248waf.40.1207997580786; Sat, 12 Apr 2008 03:53:00 -0700 (PDT) Received: by 10.115.17.16 with HTTP; Sat, 12 Apr 2008 03:53:00 -0700 (PDT) Message-ID: Date: Sat, 12 Apr 2008 11:53:00 +0100 From: "Alireza Torabi" To: "Eugene Grosbein" In-Reply-To: <20080412062251.GA2199@svzserv.kemerovo.su> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20080412062251.GA2199@svzserv.kemerovo.su> Cc: net@freebsd.org Subject: Re: bpf does not see packets forwarded with ipfw fwd X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Apr 2008 11:18:00 -0000 Is BIOCFEEDBACK set? On Sat, Apr 12, 2008 at 7:22 AM, Eugene Grosbein wrote: > Hi! > > One of 7.0 users has reported in some cyrillic newsgroup > a problem that I have reproduced in my 7.0-STABLE system. > That is: tcpdump does not show locally originated outgoing IP packets > that were processed by 'ipfw fwd' rule. The same configuration presents > no problems with 6.3-STABLE. > > Consider simple schema: two FreeBSD boxes (A and B) directly connected > with ethernet intefaces. The box A has another ethernet interface and uses > "ipfw fwd" as its very first ipfw rule to forward some packets to B, > while these packets would normally go out trough mentioned another > interface. Now, tcpdump does NOT show outgoing packets but host B also > runs tcpdump on its incoming interface and does see them. > > I double-checked all paramerets for tcpdump, all routing tables. > I even connected A and B with cross-over ethernet cable, without a switch. > Still, B sees incoming packets coming over the cable and A does not see > them leaving. This bothers me a bit :-) > > Eugene Grosbein > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" >