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] [day] [month] [year] [list]
Date:	Thu, 09 Apr 2015 22:28:43 -0400 (EDT)
From:	David Miller <davem@...emloft.net>
To:	greearb@...delatech.com
Cc:	netdev@...r.kernel.org
Subject: Re: EACCES sending UDP to broadcast address?

From: Ben Greear <greearb@...delatech.com>
Date: Thu, 09 Apr 2015 18:04:44 -0700

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

You can't send to broadcast addresses without setting the
SOCK_BROADCAST socket option.

I didn't know the answer to this, it took me 10 seconds of grepping
around under net/ipv4 to figure it out.  You could have done this
too.
--
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