lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <552723FF.40705@candelatech.com>
Date:	Thu, 09 Apr 2015 18:14:39 -0700
From:	Ben Greear <greearb@...delatech.com>
To:	Eric Dumazet <eric.dumazet@...il.com>
CC:	netdev <netdev@...r.kernel.org>
Subject: Re: EACCES sending UDP to broadcast address?

On 04/09/2015 06:12 PM, Eric Dumazet wrote:
> On Thu, 2015-04-09 at 18:04 -0700, Ben Greear wrote:
>> I'm running as root user, 4.0-rc6 + hack kernel.
>>
>> User-space app is (or should be) trying to send a UDP frame
>> to 255.255.255.255 destination.
>>
>> I am getting EACCESS from sendmmsg.
>>
>> Is this expected?  Is there something even more special than root these
>> days?
> 
> man 7 socket
> 
>        SO_BROADCAST
>               Set  or  get  the  broadcast flag.  When enabled, datagram
> sockets are allowed to send packets to a broadcast address.  This option
> has no effect on stream-oriented
>               sockets.
> 
> 
> 
> root user still has to use this option.


Thanks, I'll go do that.

Ben

-- 
Ben Greear <greearb@...delatech.com>
Candela Technologies Inc  http://www.candelatech.com

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ