Re: New version of TAP driver for FreeBSD -current

2000-07-11 Thread Jordan K. Hubbard

 Long time back i sent request to the list and asked about including this
 driver into the source tree. i still did not receive any reply. Some people
 seems to be using this driver for Ethernet tunneling (with VTUN software).
 Somebody even requested for OpenBSD port. So it would be really nice to
 hear from one of the commiters.

Hi Maksim,

I've looked at this driver and think it looks useful, though I'm a
little concerned about the handling of bridge support.  We don't
really encourage users to edit module Makefiles just to enable a given
feature in the compiled module since that naturally leads to
situations where one /modules directory is not the same as another
(where you might want to copy things), even though all the same module
names appear.  It also leads to version skew between the kernel and
the modules since sliding a new kernel into place which doesn't have
BRIDGE support would now mysteriously break a module, leading to some
confusion to any admin new on the scene.

Isn't there a better way of enabling support in the module all the
time and conditionally using it only if the kernel also provides the
right support?  At that point it would be my opinion (and mine only)
that it was ready to come into FreeBSD-current as a new feature.

- Jordan


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



RE: New version of TAP driver for FreeBSD -current

2000-07-11 Thread Yevmenkin, Maksim N, CSCIO

Jordan,

 I've looked at this driver and think it looks useful, though I'm a
 little concerned about the handling of bridge support.   We don't
 really encourage users to edit module Makefiles just to enable a given
 feature in the compiled module 

[...]

i think that whole ``#ifdef BRIDGE'' section can be removed from the code.
``ether_input'' seems to be take care of it. it also feeds frame to ``bpf'',
so it also can be removed. thanks to Nick Sayer for the hint :)

i just got e-mail that makes a good point about Ethernet bridging

quote
it seems freebsd 4.x bridgin code is somewhat broken.. (it initializes the 
tables of devices it can bridge at boot time).. thus tap0 isnt available
yet..

so basically bridging doesnt work ;(
/quote

ooops :) will check on it :) seems to me we need some interface to
add/remove interfaces to/from bridge.

Thanks,
emax


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



New version of TAP driver for FreeBSD -current

2000-07-10 Thread Yevmenkin, Maksim N, CSCIO

Hello All,

The new version of TAP driver for FreeBSD -current is available at

http://home.earthlink.net/~evmax/tap-fbsd5.tar.gz

Changes:

- small bug fixes, code improvements and cleanup
- man page (derived from tun(4))
- if_tap module can be unloaded now (works for me, but please test it)
- standalone Makefile (to build module outside of main source tree)

Long time back i sent request to the list and asked about including this
driver into the source tree. i still did not receive any reply. Some people
seems to be using this driver for Ethernet tunneling (with VTUN software).
Somebody even requested for OpenBSD port. So it would be really nice to
hear from one of the commiters.

Thanks,
emax


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: New version of TAP driver for FreeBSD -current

2000-07-10 Thread Boris Popov

On Mon, 10 Jul 2000, Yevmenkin, Maksim N, CSCIO wrote:

 Long time back i sent request to the list and asked about including this
 driver into the source tree. i still did not receive any reply. Some people
 seems to be using this driver for Ethernet tunneling (with VTUN software).
 Somebody even requested for OpenBSD port. So it would be really nice to
 hear from one of the commiters.

You might want to post request for review to the net@ list. If
inclusion of if_tap driver will be considered as reasonable I can bring it
in the tree.

--
Boris Popov
http://www.butya.kz/~bp/



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message