From owner-freebsd-net Mon Sep 18 23:34:35 2000 Delivered-To: freebsd-net@freebsd.org Received: from gluttony.henshaw.net (gluttony.henshaw.net [63.70.222.4]) by hub.freebsd.org (Postfix) with SMTP id 98BEC37B422 for ; Mon, 18 Sep 2000 23:34:33 -0700 (PDT) Received: (qmail 85965 invoked from network); 19 Sep 2000 06:34:28 -0000 Received: from dhcp-64-58-25-247.henshaw.net (HELO Ben.henshaw.net) (64.58.25.247) by gluttony.henshaw.net with SMTP; 19 Sep 2000 06:34:28 -0000 Message-Id: <5.0.0.25.2.20000919002842.025be470@pop.henshaw.net> X-Sender: (Unverified) X-Mailer: QUALCOMM Windows Eudora Version 5.0 Date: Tue, 19 Sep 2000 00:35:02 -0600 To: Julian Elischer From: Ben Schumacher Subject: Re: netgraph based MAC authentication (core dump information) Cc: freebsd-net@freebsd.org In-Reply-To: <39C620D3.167EB0E7@elischer.org> References: <5.0.0.25.2.20000913221340.00a04950@pop.henshaw.net> <5.0.0.25.2.20000915183859.026c2310@pop.henshaw.net> <5.0.0.25.2.20000917182707.01c52a20@pop.henshaw.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org At 07:04 AM 9/18/2000 -0700, Julian Elischer wrote: >it seems that the packet you are reinjecting into the >system does not include a pointer to theinterface it comes from, >and udp_input() is calling in_broadcast with this packet's ifp >pointer which is NULL. > >try the following patch.. Julian- The patch worked. Everything seems to be working fine now. The patched seem to fix both the DHCP issue (the kernel panics) and the ARP issue. One quick question though, if I do decide to go the node route, can you suggest any reference on mbuf packets? I don't care if its a book or website or man page, etc. I just haven't been able to find much, except the information I gleaned from reading through mbuf.h. I just figure there must be something else out there. So far my daemon is working the way its suppose to, but CPU usage gets pretty high (3% or more) when I'm testing with just one client box, so I'm worried about what may happen if I connect 100 or more. Anyway, thanks for all your help. - Ben Schumacher To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message