well, the man page is not always complete. For sure I can say that EPERM 
is returned by sendto() when you block the traffic with some iptables 
rules on  outbound chain.

Regards,
Bogdan

adi wrote:
> On Tue, Feb 16, 2010 at 12:22:50PM +0200, Bogdan-Andrei Iancu wrote:
>   
>> The blocking is generated from kernel level it is typically related to 
>> the send socket (the IP used to send the message from). maybe you have 
>> some iptables on the OUTPUT chain.
>>     
>
> Thanks for responding. For sure there is no firewall rule on my
> system. 'Unfortunately', the problem goes away (I do change opensips.cfg
> several times). I'm a bit confuse with return code from sendto(), which
> should not EPERM according to linux manpage.
>
> Regards,
>
> P.Y. Adi Prasaja
>
> _______________________________________________
> Devel mailing list
> [email protected]
> http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
>
>   


-- 
Bogdan-Andrei Iancu
www.voice-system.ro


_______________________________________________
Devel mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel

Reply via email to