FG
šŸ’» Software

Nmap "operation not permitted" error

Fresh7 days ago
Mar 15, 202613995 views
Confidence Score0%
0%

Problem

I'm running CentOS 5.3 in an openVZ container, and I'm receiving "operation not permitted" errors from Nmap. I have no iptables rules set. How can I get this working?

Error Output

[root@test nmap-5.21]# ./nmap scanme.nmap.org

Starting Nmap 5.21 ( http://nmap.org )
at 2010-12-12 17:03 MSK

Warning: File ./nmap-services exists,
…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Nmap "operation not permitted" error

Low Risk

Maybe your container has a venet interface, which has security restrictions. You need to use veth interfaces to send broadcasts and other nonstandard packets. See Differences between venet and veth.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment