From owner-freebsd-hackers Wed Apr 24 14:10:43 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id OAA25377 for hackers-outgoing; Wed, 24 Apr 1996 14:10:43 -0700 (PDT) Received: from palmer.demon.co.uk (palmer.demon.co.uk [158.152.50.150]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id OAA25344 for ; Wed, 24 Apr 1996 14:10:36 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by palmer.demon.co.uk (sendmail/PALMER-1) with SMTP id WAA04098 ; Wed, 24 Apr 1996 22:09:37 +0100 (BST) To: jleppek@suw2k.hisd.harris.com (James Leppek) cc: freebsd-hackers@freefall.freebsd.org From: "Gary Palmer" Subject: Re: could tunnel device do this? In-reply-to: Your message of "Mon, 22 Apr 1996 09:50:45 EDT." <9604221350.AA06758@suw2k.hisd.harris.com> Date: Wed, 24 Apr 1996 22:09:37 +0100 Message-ID: <4096.830380177@palmer.demon.co.uk> Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk 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.