Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Feb 2004 10:59:46 +0000
From:      David Malone <dwmalone@maths.tcd.ie>
To:        Alfred Perlstein <alfred@freebsd.org>
Cc:        cvs-all@freebsd.org
Subject:   Re: cvs commit: src/sys/net if_ethersubr.c 
Message-ID:  <200402161059.aa61466@salmon.maths.tcd.ie>
In-Reply-To: Your message of "Sun, 15 Feb 2004 22:28:47 PST." <20040216062847.GA98877@elvis.mu.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
> >   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.



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