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: <1428628362.25985.284.camel@edumazet-glaptop2.roam.corp.google.com>
Date:	Thu, 09 Apr 2015 18:12:42 -0700
From:	Eric Dumazet <eric.dumazet@...il.com>
To:	Ben Greear <greearb@...delatech.com>
Cc:	netdev <netdev@...r.kernel.org>
Subject: Re: EACCES sending UDP to broadcast address?

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.

--
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