Re: small tun(4) improvement

2004-10-14 Thread Julian Elischer
Andre Oppermann wrote: Julian Elischer wrote: Andre Oppermann wrote: P.S. I'm working on making protocols within protocols domains loadable at least for IPv4. I did some work on this once.. things have got a lot more complicated however with locking.. Actually there are not tha

Re: small tun(4) improvement

2004-10-14 Thread Andre Oppermann
Julian Elischer wrote: > > Andre Oppermann wrote: > > > >P.S. I'm working on making protocols within protocols domains loadable at > >least for IPv4. > > > I did some work on this once.. things have got a lot more complicated > however with locking.. Actually there are not that many locking probl

Re: small tun(4) improvement

2004-10-14 Thread Julian Elischer
Andre Oppermann wrote: Gleb Smirnoff wrote: On Thu, Oct 14, 2004 at 08:01:46PM +0200, Andre Oppermann wrote: A> > any objections about commiting this improvement to tun(4)? A> > In my ng_device I have a similar function ngdwrite(), which was A> > cut-n-pasted from tunwrite(). And my tests wit

Re: small tun(4) improvement

2004-10-14 Thread Andre Oppermann
Gleb Smirnoff wrote: > > On Thu, Oct 14, 2004 at 08:01:46PM +0200, Andre Oppermann wrote: > A> > any objections about commiting this improvement to tun(4)? > A> > In my ng_device I have a similar function ngdwrite(), which was > A> > cut-n-pasted from tunwrite(). And my tests with a patched ng_d

Re: small tun(4) improvement

2004-10-14 Thread Gleb Smirnoff
On Thu, Oct 14, 2004 at 08:01:46PM +0200, Andre Oppermann wrote: A> > any objections about commiting this improvement to tun(4)? A> > In my ng_device I have a similar function ngdwrite(), which was A> > cut-n-pasted from tunwrite(). And my tests with a patched ng_device have A> > shown 30% speedu

Re: Get multicast addresses from interface

2004-10-14 Thread Bruce M Simpson
On Thu, Oct 14, 2004 at 08:01:49AM -0700, Brooks Davis wrote: > On Thu, Oct 14, 2004 at 05:44:57PM +0400, Grigory Klyuchnikov wrote: > > How can a user process get IPv6 multicast addresses of ethernet > > interfaces? I have FreeBSD 5.2.1 and get interface addresses > > via ioctl(SIOCGIFCONF) or sys

Re: small tun(4) improvement

2004-10-14 Thread Andre Oppermann
Gleb Smirnoff wrote: > > Collegues, > > any objections about commiting this improvement to tun(4)? > In my ng_device I have a similar function ngdwrite(), which was > cut-n-pasted from tunwrite(). And my tests with a patched ng_device have > shown 30% speedup on large writes. I don't think it

Re: small tun(4) improvement

2004-10-14 Thread Andre Oppermann
Gleb Smirnoff wrote: > > Collegues, > > any objections about commiting this improvement to tun(4)? > In my ng_device I have a similar function ngdwrite(), which was > cut-n-pasted from tunwrite(). And my tests with a patched ng_device have > shown 30% speedup on large writes. I don't think it

small tun(4) improvement

2004-10-14 Thread Gleb Smirnoff
Collegues, any objections about commiting this improvement to tun(4)? In my ng_device I have a similar function ngdwrite(), which was cut-n-pasted from tunwrite(). And my tests with a patched ng_device have shown 30% speedup on large writes. I don't think it will help tun(4) to be a much faste

Re: Error 49, socket problem?

2004-10-14 Thread Stephane Raimbault
From: [EMAIL PROTECTED] To: "Stephane Raimbault" <[EMAIL PROTECTED]> CC: [EMAIL PROTECTED] Subject: Re: Error 49, socket problem? Date: Thu, 14 Oct 2004 10:46:58 +0900 At Wed, 13 Oct 2004 09:36:03 -0600, Stephane Raimbault wrote: > > I doubt it's a DoS attack, however it could very well be. > Well

Re: Get multicast addresses from interface

2004-10-14 Thread Brooks Davis
On Thu, Oct 14, 2004 at 05:44:57PM +0400, Grigory Klyuchnikov wrote: > Hello, > > How can a user process get IPv6 multicast addresses of ethernet > interfaces? I have FreeBSD 5.2.1 and get interface addresses > via ioctl(SIOCGIFCONF) or sysctl(witch NET_RT_IFLIST), > but all returned addresses are

Get multicast addresses from interface

2004-10-14 Thread Grigory Klyuchnikov
Hello, How can a user process get IPv6 multicast addresses of ethernet interfaces? I have FreeBSD 5.2.1 and get interface addresses via ioctl(SIOCGIFCONF) or sysctl(witch NET_RT_IFLIST), but all returned addresses are unicast. In net/if.h there is a struct ifma_msghdr: /* * Message format for use

Re: kern/44355: After deletion of an IPv6 alias, the route to the whole subnet is removed too.

2004-10-14 Thread George V. Neville-Neil
Synopsis: After deletion of an IPv6 alias, the route to the whole subnet is removed too. Responsible-Changed-From-To: freebsd-net->[EMAIL PROTECTED] Responsible-Changed-By: gnn Responsible-Changed-When: Thu Oct 14 11:34:13 GMT 2004 Responsible-Changed-Why: Took responsibility for patching and te