From owner-freebsd-net Thu Feb 3 18:45:41 2000 Delivered-To: freebsd-net@freebsd.org Received: from ind.alcatel.com (postal.xylan.com [208.8.0.248]) by builder.freebsd.org (Postfix) with ESMTP id C17684270 for ; Thu, 3 Feb 2000 18:45:38 -0800 (PST) Received: from mailhub.xylan.com (mailhub [198.206.181.70]) by ind.alcatel.com (8.9.3+Sun/8.9.1 (ind.alcatel.com 3.0 [OUT])) with SMTP id SAA18273; Thu, 3 Feb 2000 18:45:48 -0800 (PST) X-Origination-Site: Received: from omni.xylan.com by mailhub.xylan.com (SMI-8.6/SMI-SVR4 (mailhub 2.1 [HUB])) id SAA08839; Thu, 3 Feb 2000 18:45:48 -0800 Received: from softweyr.com (dyn5.utah.xylan.com [198.206.184.241]) by omni.xylan.com (8.9.3+Sun/8.9.1 (Xylan engr [SPOOL])) with ESMTP id SAA11092; Thu, 3 Feb 2000 18:45:46 -0800 (PST) Message-ID: <389A3EA9.446F9ACF@softweyr.com> Date: Thu, 03 Feb 2000 19:51:21 -0700 From: Wes Peters Organization: Softweyr LLC X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 3.3-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: Mark Powell Cc: Wim Livens , freebsd-net@freebsd.org Subject: Re: Can 3.4-S cope with packets not addressed to it? References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Mark Powell wrote: > > On Thu, 3 Feb 2000, Wim Livens wrote: > > On Wed, Feb 02, 2000 at 06:34:55PM +0000, Mark Powell wrote: > > > We want to force the use of our web caches. Our boundary router is a 3Com > > > NetBuilder II, which we can get to forward port 80 traffic to another IP > > > address. However, it does not rewrite the destination IP address in the IP > > > header. Thus the machine has to be directly connected to the router to > > > actually get the packets. > > > What I'm wondering, is can FreeBSD cope with this? Will it be able to > > > process these packets, with an IP address that is not it's own, at all or > > > > maybe this helps: > > ifconfig ... alias > > Hmmm. Hadn't though of that. Now how many web servers are there in the > world. Could you provide a list and I'll start setting the aliases up. > Seriously, is there any way to get FreeBSD to accept any IP packets? Sure - put the interface in promiscuous mode. The TCP/IP stack doesn't do this because a big part of it's reason for existing is to filter out packets that don't belong to you. If you want to do this, look at the berkeley packet filter manpage - bpf(4). -- "Where am I, and what am I doing in this handbasket?" Wes Peters Softweyr LLC wes@softweyr.com http://softweyr.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message