Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 03 Feb 2000 19:51:21 -0700
From:      Wes Peters <wes@softweyr.com>
To:        Mark Powell <M.S.Powell@salford.ac.uk>
Cc:        Wim Livens <livensw@rc.bel.alcatel.be>, freebsd-net@freebsd.org
Subject:   Re: Can 3.4-S cope with packets not addressed to it?
Message-ID:  <389A3EA9.446F9ACF@softweyr.com>
References:  <Pine.BSF.4.05.10002030920510.26330-100000@plato.salford.ac.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <second ip address>
> 
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?389A3EA9.446F9ACF>