Unix Technical Forum

Re: tap driver

This is a discussion on Re: tap driver within the mailing.openbsd.tech forums, part of the OpenBSD category; --> On Wed, Oct 15, 2003 at 05:52:03PM +0200, Dries Schellekens wrote: > On Wed, 15 Oct 2003, redmar wrote: ...


Go Back   Unix Technical Forum > Unix Operating Systems > OpenBSD > mailing.openbsd.tech

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-18-2008, 06:38 AM
Claudio Jeker
 
Posts: n/a
Default Re: tap driver

On Wed, Oct 15, 2003 at 05:52:03PM +0200, Dries Schellekens wrote:
> On Wed, 15 Oct 2003, redmar wrote:
>
> > > > I've successfully added the tap device with these files to my 3.3 >

> > stable box,
> > >
> > > Why do people need this device? Isn't it the same as tun(4)?

> >
> > tun is network layer, tap is datalink layer.

>
> What is wrong with bpf(4)?
>


We already had that discussion once around 3.0.

From the manpages:

bpf -> Berkeley Packet Filter
The Berkeley Packet Filter provides a raw interface to data link layers
in a protocol-independent fashion. All packets on the network, even
those destined for other hosts, are accessible through this mechanism.

tap -> Ethernet tunnel software network interface
The tap interface is a software loopback mechanism that can be loosely
described as the network interface analog of the pty(4), that is, tap
does for network interfaces what the pty driver does for terminals.



> > I'm for example using the tap device for a bridged VPN with OpenVPN.


One reason is probably also that OpenVPN does not have a bpf support.
Last but not least I ported it becasue of a simulator.

--
:wq Claudio

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 03:07 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com