I can reproduce this under ubuntu:
https://github.com/joyent/illumos-joyent/issues/117



On 2016-06-01 20:51, Robert Mustacchi wrote:
On 5/30/16 6:53 , Kilian Ries wrote:
Hi,


is there any chance to get nmap running inside a lx-centos7 zone? Already tried it with privileged / unprivileged flag, getting the following errors:


###

nmap x.x.x.x 22


Starting Nmap 6.40 ( http://nmap.org ) at 2016-05-30 13:46 UTC

dnet: Failed to open device eth0

QUITTING!

###


###

nmap --unprivileged x.x.x.x 22


Starting Nmap 6.40 ( http://nmap.org ) at 2016-05-30 13:46 UTC

Problem binding to interface , errno: 92

socket_bindtodevice: Protocol not available

###



The next step i'll try is to build a statically-linked binary under smartos and try to use it via /native in the lx-zone, but isn't there an easier solution?

Could you perhaps strace that so we can see how it's trying to pen the
devices in those cases and what errors it's getting?

Thanks,
Robert



-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com

Reply via email to