Re: EACCES of UDP packet

2021-06-22 Thread Claudio Jeker
On Tue, Jun 22, 2021 at 04:48:26PM +0800, Siegfried Levin wrote: > > Why have you chosen to hide information that may be useful in debugging > > your problem? > > I’m truly sorry for the inconvenience but I do have some concerns of security > and privacy. I confirm it is not a broadcast address

Re: EACCES of UDP packet

2021-06-22 Thread Siegfried Levin
> Why have you chosen to hide information that may be useful in debugging your > problem? I’m truly sorry for the inconvenience but I do have some concerns of security and privacy. I confirm it is not a broadcast address because it is the public IP of the server and this issue has a

Re: EACCES of UDP packet

2021-06-22 Thread Philip Guenther
On Mon, Jun 21, 2021 at 9:07 PM Siegfried Levin wrote: > Thanks a lot for the hint. Unfortunately I’m still not able to see why > sendto failed with 13 Permission denied. The AF_INET address masked is the > correct one of my server, not a broadcast address. A sendto before this one > to the same

Re: EACCES of UDP packet

2021-06-21 Thread Siegfried Levin
Thanks a lot for the hint. Unfortunately I’m still not able to see why sendto failed with 13 Permission denied. The AF_INET address masked is the correct one of my server, not a broadcast address. A sendto before this one to the same address just worked. 3058 myapp CALL

Re: EACCES of UDP packet

2021-06-15 Thread Theo de Raadt
use ktrace Siegfried Levin wrote: > Hi, > > I have a application run by a normal user communicating with the server with > UDP. It crashes very occasionally, like once per week, due to EACCES when > sending a UDP packet. According to the manpage >

EACCES of UDP packet

2021-06-15 Thread Siegfried Levin
Hi, I have a application run by a normal user communicating with the server with UDP. It crashes very occasionally, like once per week, due to EACCES when sending a UDP packet. According to the manpage (https://man.openbsd.org/OpenBSD-6.9/sendmsg.2#EACCES), the reason might be either being