Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Jan 1998 17:16:52 -0800 (PST)
From:      Archie Cobbs <archie@whistle.com>
To:        perhaps@yes.no (Eivind Eklund)
Cc:        dennis@etinc.com, tom@sdf.com, jamie@itribe.net, hackers@FreeBSD.ORG
Subject:   Re: FreeBSD Netcards
Message-ID:  <199801140116.RAA06492@bubba.whistle.com>
In-Reply-To: <86iurpz82n.fsf@bitbox.follo.net> from Eivind Eklund at "Jan 12, 98 10:38:40 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
Eivind Eklund writes:
> > >  This is raw socket stuff is interesting.  Example source please.  I
> > >don't believe this problem exists anymore.  I know that Julian fixed
> > >problems with routing sockets.  As a side point, routing sockets and raw
> > >sockets can only be accessed by root processes.
> > 
> > Just look in raw_usrreq(). the default case is a panic. 
> 
> Fixed in revision 1.12 as of April 27, 1997.
> 
> Do you have anything else?  (I don't think any of us want panic()s to
> occur for userland errors, though I think they often are the correct
> path for a kernel error.)

I don't know if this one still exists, but it used to be that
you could set the MTU of an interface to zero, and then cause
a kernel divide-by-zero panic by sending a packet out of it.

In the case I saw, it was using the TUNSIFINFO ioctl() on the
tunnel interface.

-Archie

___________________________________________________________________________
Archie Cobbs   *   Whistle Communications, Inc.  *   http://www.whistle.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199801140116.RAA06492>