Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Feb 2004 16:09:51 -0800
From:      Alfred Perlstein <alfred@freebsd.org>
To:        David Malone <dwmalone@maths.tcd.ie>
Cc:        cvs-all@freebsd.org
Subject:   Re: cvs commit: src/sys/net if_ethersubr.c
Message-ID:  <20040217000951.GD55055@elvis.mu.org>
In-Reply-To: <200402161059.aa61466@salmon.maths.tcd.ie>
References:  <20040216062847.GA98877@elvis.mu.org> <200402161059.aa61466@salmon.maths.tcd.ie>

next in thread | previous in thread | raw e-mail | index | archive | help
Ok, sorry, faulty dimm installed. :)

* David Malone <dwmalone@maths.tcd.ie> [040216 02:59] wrote:
> > >   Return EACCES rather than ENOBUFS if ipfw blocks a packet on the
> > >   way out at layer 2.
> 
> > I think ipfw returns EPERM when denying packets through some other
> > paths.  
> 
> Previously I'd just made sure that blocking a ping at layer 2 and
> layer 3 return the same error after this commit. I just did a quick
> check. Ip_output returns EACCES, ip_input and ether_demux can't
> return an error.
> 
> Ipfw does return EPERM if you try to alter the rules but aren't
> permitted to, but that's a different situation I guess.
> 
> 	David.

-- 
- Alfred Perlstein
- Research Engineering Development Inc.
- email: bright@mu.org cell: 408-480-4684



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