Re: RFC: BSD network stack virtualization

2002-10-16 Thread Ruben van Staveren
Isn't this something that can overcome the current shortcomings of jail(2) ? (the no other stacks/no raw sockets problem) - Ruben -- ,-_ .. /() ) | Ruben van Staveren http://ruben.is.verweg.com/ |_o (__ ( |M

Re: mpd - Radius

2002-10-16 Thread Michael Bretterklieber
Hi, Archie Cobbs schrieb: > Michael Bretterklieber writes: > >>Now I got pap-radius-auth with mpd to work :-) > > > Cool! > > You may want to contact Brendan Bank <[EMAIL PROTECTED]> because he's > also working on mpd+RADIUS. > > It would be nice if you two could coordinate and maybe review

Realtek 8150 support

2002-10-16 Thread Michael Choo
Hi, Are there any development on a Realtek 8150 USB NIC driver? Been searching all over and all I can find are Linux drivers. -- Best regards, Michael mailto:[EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-net" in the body o

Re: MPD PPTP tunneling intermittantly fails

2002-10-16 Thread Nikolai Saoukh
On Wed, Oct 16, 2002 at 05:01:59PM -0700, Archie Cobbs wrote: | That doesn't look so good. But it doesn't look "crazy" from the | netgraph side, just like a lot of packets are being dropped. | There must be something specific about your setup that causes this. Specific is MPPE. I have the same p

Patch for review: only report protocol data via EVFILT_READ filter

2002-10-16 Thread Kelly Yancey
Currently, the value returned in a kevent's data member by the EVFILT_READ filter is "number of bytes in the socket buffer" which includes control and out-of-band data. However, this isn't particularly useful as any read(), readv(), or readmsg() for the amount of data reported may block if the

Re: MPD PPTP tunneling intermittantly fails

2002-10-16 Thread Archie Cobbs
Leonard Chung writes: > I'm just using Windows clients, so there are no OS X clients. > > Here's the ngctl output: > > chung# ngctl msg ng0:inet.ppp.link0 getstats > Rec'd response "getstats" (3) from "ng0:inet.ppp.link0": > Args: { xmitPackets=1967 xmitOctets=209321 xmitLoneAcks=395 xmitDrops

Re: mpd - Radius

2002-10-16 Thread Archie Cobbs
Michael Bretterklieber writes: > Now I got pap-radius-auth with mpd to work :-) Cool! You may want to contact Brendan Bank <[EMAIL PROTECTED]> because he's also working on mpd+RADIUS. It would be nice if you two could coordinate and maybe review each other's code... > I made it now with a stat

Re: mpd - Radius

2002-10-16 Thread Michael Bretterklieber
Hi, mpd - basic radius (pap only) support now finished, see attachements. two new files: radius.h radius.c four modified files: Makefile bund.h bund.c pap.c (I hope I got all changes files) You can activate radius by adding this config-param: set bundle radius /etc/radius.conf you have to re

possible routed bug

2002-10-16 Thread Luoqi Chen
Hi, I've encountered a possible bug in routed code that's interfering with path mtu discovery mechanism. Routed deletes any cloned route as soon as it sees one (with exception of arp routes in the local ethernet), including protocol cloned routes served as holders for path mtu information. Could

Re: xl driver and POLLING

2002-10-16 Thread Mihail Balikov
http://gosho.interbgc.com/if_xl.c.diff - Original Message - From: "Darcy Buskermolen" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, October 17, 2002 12:31 AM Subject: xl driver and POLLING Has there been any work done on adding POLLING support to the xl driver? -- Darc

xl driver and POLLING

2002-10-16 Thread Darcy Buskermolen
Has there been any work done on adding POLLING support to the xl driver? -- Darcy Buskermolen Wavefire Technologies Corp. ph: 250.717.0200 fx: 250.763.1759 http://www.wavefire.com To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-net" in the body of the message

RFC: BSD network stack virtualization

2002-10-16 Thread Marko Zec
Hi all, on http://www.tel.fer.hr/zec/BSD/vimage/ you can find the patches against 4.7-RELEASE kernel sources, which provide the functionality of maintaining multiple independent network stack images within a single operating system kernel. No userland patches are necessary, except an additional v

Re: mpd - Radius

2002-10-16 Thread Michael Bretterklieber
Hi, Now I got pap-radius-auth with mpd to work :-) I made it now with a static define. The next step will be to add the appropriate config-param for mpd.conf. Are there any hints, a small howto would be great? Something like: - naming conventions of param - where to add param - how to access p

Re: mpd - Radius

2002-10-16 Thread Michael Bretterklieber
Hi, Julian Elischer wrote: >On Wed, 16 Oct 2002, Michael Bretterklieber wrote: > > > >>Hi, >> >>I'm now evaluating if its difficult to extend mpd with radius >>authentication (with libradius). >>I have some questions: >> >>1. Will be in auth.c the function AuthGetData() the right place to put

Re: CFR: m_tag patch

2002-10-16 Thread Julian Elischer
On Wed, 16 Oct 2002, Luigi Rizzo wrote: > On Thu, Oct 17, 2002 at 03:07:07AM +0900, JINMEI Tatuya / ?$B?@L@C#:H?(B wrote: > ... > > (I re-read the thread) perhaps the example in my previous message > > wasn't good (and it was at least incorrect). According to the > > discussion on the thread,

Re: mpd - Radius

2002-10-16 Thread Julian Elischer
On Wed, 16 Oct 2002, Michael Bretterklieber wrote: > Hi, > > I'm now evaluating if its difficult to extend mpd with radius > authentication (with libradius). > I have some questions: > > 1. Will be in auth.c the function AuthGetData() the right place to put > Radius stuff? > 2. What was the

Re: CFR: m_tag patch

2002-10-16 Thread Sam Leffler
> On Thu, Oct 17, 2002 at 03:07:07AM +0900, JINMEI Tatuya / ?$B?@L@C#:H?(B wrote: > ... > > (I re-read the thread) perhaps the example in my previous message > > wasn't good (and it was at least incorrect). According to the > > discussion on the thread, we'll probably keep m_tag_cookie being 0 an

Re: CFR: m_tag patch

2002-10-16 Thread Luigi Rizzo
On Thu, Oct 17, 2002 at 03:07:07AM +0900, JINMEI Tatuya / ?$B?@L@C#:H?(B wrote: ... > (I re-read the thread) perhaps the example in my previous message > wasn't good (and it was at least incorrect). According to the > discussion on the thread, we'll probably keep m_tag_cookie being 0 and > use m_

Re: CFR: m_tag patch

2002-10-16 Thread JINMEI Tatuya / $B?@L@C#:H(B
> On Wed, 16 Oct 2002 07:46:10 -0700, > Luigi Rizzo <[EMAIL PROTECTED]> said: > Actually from what i have read on previous postings on this thread, > the only additional check that you might/will need is to make sure > that m_tag_cookie corresponds to the GENERIC ABI. (I re-read the thr

mpd - Radius

2002-10-16 Thread Michael Bretterklieber
Hi, I'm now evaluating if its difficult to extend mpd with radius authentication (with libradius). I have some questions: 1. Will be in auth.c the function AuthGetData() the right place to put Radius stuff? 2. What was the intention behind the function CustomAuthData()? 3. How should radius co

Re: ENOBUFS

2002-10-16 Thread Sam Leffler
> Sam Leffler wrote: > > Try my port of the netbsd kttcp kernel module. You can find it at > > > > http://www.freebsd.org/~sam > > this seems to use some things from netbsd like > so_rcv.sb_lastrecord and SBLASTRECORDCHK/SBLASTMBUFCHK. > Is there something else I need to apply to build it on > fr

RE: ENOBUFS

2002-10-16 Thread Don Bowman
Sam Leffler wrote: > Try my port of the netbsd kttcp kernel module. You can find it at > > http://www.freebsd.org/~sam this seems to use some things from netbsd like so_rcv.sb_lastrecord and SBLASTRECORDCHK/SBLASTMBUFCHK. Is there something else I need to apply to build it on freebsd -STABLE?

Re: cvs commit: src/sys/dev/kbd atkbdcreg.h

2002-10-16 Thread Terry Lambert
Poul-Henning Kamp wrote: > In message <[EMAIL PROTECTED]>, Bruce Evans writes: > >Ideally, header files wouldn't have any "variable sized structs" or > >anything else that depends on options. Core headers have to be much > >more careful about this because including an options header nested > >wou

Re: ENOBUFS

2002-10-16 Thread Sam Leffler
> > The 900Mbps are similar to what I see here on similar hardware. > > What kind of receive performance do you observe? I haven“t got that > far yet. > > > > For your two-interface setup, are the 600Mbps aggregate send rate on > > both interfaces, or do you see 600Mbps per interface? In the latte

Re: RFC: eliminating the _IP_VHL hack.

2002-10-16 Thread Bruce Evans
On Wed, 16 Oct 2002, Poul-Henning Kamp wrote: > In message <[EMAIL PROTECTED]>, Bruce Evans writes: > >On Tue, 15 Oct 2002, Jeffrey Hsu wrote: > > > >> > The side effect of having some source-files using the _IP_VHL hack and > >> > some not is that sizeof(struct ip) varies from file to file,

Re: CFR: m_tag patch

2002-10-16 Thread Luigi Rizzo
Actually from what i have read on previous postings on this thread, the only additional check that you might/will need is to make sure that m_tag_cookie corresponds to the GENERIC ABI. Also note that in your example the code should be conditional on __FreeBSD_version and not on __FreeBSD__

Re: ENOBUFS

2002-10-16 Thread Luigi Rizzo
On Wed, Oct 16, 2002 at 08:57:19AM +0300, Petri Helenius wrote: > > > > how large are the packets and how fast is the box ? > > Packets go out at an average size of 1024 bytes. The box is dual > P4 Xeon 2400/400 so I think it should qualify as "fast" ? I disabled yes, it qualifies as fast. With

dynamic load of em/fxp/bge

2002-10-16 Thread Don Bowman
I am trying to load the if_em, if_fxp, if_bge drivers via /boot/loader.conf. I've added if_fxp_load="YES" if_bge_load="YES" if_em_load="YES" The problem is that the bge driver doesn't load. It will if I manually load it after startup with kldload. The issue seems to be a dependency on miibus,

Re: cvs commit: src/sys/dev/kbd atkbdcreg.h

2002-10-16 Thread Poul-Henning Kamp
In message <[EMAIL PROTECTED]>, Bruce Evans writes: >> This kind of bug is a _really_ horribly thing as we end up with one bit >> of code thinking a particular structure is 136 bytes and another that it >> is only 112 bytes. >> >> Ideally all places would remember to #include the right "o

Re: IPv6 tunnel with PPPoE

2002-10-16 Thread JINMEI Tatuya / $B?@L@C#:H(B
> On Sat, 12 Oct 2002 01:01:03 -0500, > drogoh <[EMAIL PROTECTED]> said: > I am wondering if anyone has used an IPv6 tunnel with something like freenet6 using >PPPoE with userland PPP. I've tried to use one myself, but my problem APPEARS to be >with PPP, because in the ppp.log I see li

Re: CFR: m_tag patch

2002-10-16 Thread JINMEI Tatuya / $B?@L@C#:H(B
> On Fri, 11 Oct 2002 11:12:02 -0700, > "Sam Leffler" <[EMAIL PROTECTED]> said: >> > struct m_tag { >> > SLIST_ENTRY(m_tag) m_tag_link; /* List of packet tags > */ >> > u_int16_t m_tag_id; /* Tag ID */ >> > u_int16_t m_ta

RE: MPD PPTP tunneling intermittantly fails

2002-10-16 Thread Leonard Chung
I'm just using Windows clients, so there are no OS X clients. Here's the ngctl output: chung# ngctl msg ng0:inet.ppp.link0 getstats Rec'd response "getstats" (3) from "ng0:inet.ppp.link0": Args: { xmitPackets=1967 xmitOctets=209321 xmitLoneAcks=395 xmitDrops=345 recvPackets=1590 recvOctets=248

Re: RFC: eliminating the _IP_VHL hack.

2002-10-16 Thread Poul-Henning Kamp
In message <[EMAIL PROTECTED]>, Bruce Evans writes: >On Tue, 15 Oct 2002, Jeffrey Hsu wrote: > >> > The side effect of having some source-files using the _IP_VHL hack and >> > some not is that sizeof(struct ip) varies from file to file, which at >> > best is confusing an at worst the source

Re: RFC: eliminating the _IP_VHL hack.

2002-10-16 Thread Bruce Evans
On Tue, 15 Oct 2002, Jeffrey Hsu wrote: > > The side effect of having some source-files using the _IP_VHL hack and > > some not is that sizeof(struct ip) varies from file to file, which at > > best is confusing an at worst the source of some really evil bugs. There is no such effect, or ip