Date: Thu, 25 Apr 96 10:14:08 EDT From: jleppek@suw2k.hisd.harris.com (James Leppek) To: gpalmer@FreeBSD.ORG Cc: freebsd-hackers@freefall.freebsd.org Subject: Re: could tunnel device do this? Message-ID: <9604251414.AA10683@suw2k.hisd.harris.com>
next in thread | raw e-mail | index | archive | help
I did not word my question and therefore my intent very well at all :-) I really wasn't looking for a tap but more like an intermediate route to a process. I would like to be able to provide IP security via a user process. Ideally I would like to be able to push (like streams) a new module into the network interface. I guess there is no clean way to do that. :-( Trying to generate some type of IP-in-IP scheme would still rely on application level knowledge of another network/packet type. Oh well.... Thanks Jim Leppek > From gary@palmer.demon.co.uk Wed Apr 24 17:07:27 1996 > To: jleppek@suw2k.hisd.harris.com (James Leppek) > Cc: freebsd-hackers@freefall.freebsd.org > From: "Gary Palmer" <gpalmer@FreeBSD.ORG> > Subject: Re: could tunnel device do this? > Date: Wed, 24 Apr 1996 22:09:37 +0100 > Sender: gary@palmer.demon.co.uk > > James Leppek wrote in message ID > <9604221350.AA06758@suw2k.hisd.harris.com>: > > This is really a 2 part question: > > > part 1: what would be the best way to route all IP packets from a > > ethernet card to a process, I am guessing that the tun > > device could do this. > > I don't think you can do this. The `tun' device acts like a normal > network interface, and has it's own route, etc, so you couldn't just > dump all the traffic from an ethernet onto it, the packet would have > to be routed to the i/f. Perhaps the `bpf' device is what you're > looking for? > > > part 2: what kind of thruput could be expected when doing this? If I had > > a pentium 166 could it saturate a 10Mbit line? What % of a 100Mbit link > > Dunno ... you were asking in part one about dumping ether -> process, > not vice versa! > > Gary > -- > Gary Palmer FreeBSD Core Team Member > FreeBSD - Turning PC's into workstations. See http://www.FreeBSD.ORG/ for info. >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9604251414.AA10683>