Re: sendto() giving EPERM outside a jail



On Saturday 24 March 2007 02:47, Steve Watt wrote:
According to my reading of the man page it is not possible to get this
error unless I'm using jails (which I'm not). The code in question does..
That's probably a buglet in the man page.

I guess it would be nice if the man page(s) mentioned that a firewall could
cause EPERM. I have seen it before with other apps but the sendto() confused
me.

Can someone shed light on what the problem is? The application appears to
work fine even with this error though.

man setsockopt, search for SO_BROADCAST.

It doesn't say anything about EPERM.

--
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
-- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C

Attachment: pgpZ7Y1AtDv3f.pgp
Description: PGP signature



Relevant Pages

  • Re: sendto() giving EPERM outside a jail
    ... On Thursday 22 March 2007 12:13, Julian Elischer wrote: ... error unless I'm using jails. ... I guess my firewall rules aren't doing exactly what I though because ... for Genesis Software - http://www.gsoft.com.au ...
    (freebsd-hackers)
  • Re: atapicam(4) as KLD?
    ... >> rationale for this and which particular EPERM is the culprit? ... for Genesis Software - http://www.gsoft.com.au ...
    (freebsd-current)