我在 openVZ 容器中运行 CentOS 5.3,并且收到来自 Nmap 的“操作不允许”错误。
[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,
but Nmap is using
/usr/local/share/nmap/nmap-services
for security and consistency reasons.
set NMAPDIR=. to give priority to
files in your local directory (may
affect the other data files too).
sendto in send_ip_packet: sendto(4,
packet, 28, 0, 64.13.134.52, 16) =>
Operation not permitted
Offending packet: ICMP 127.0.0.1 >
64.13.134.52 echo request (type=8/code=0) ttl=46 id=49000
iplen=28 sendto in …Run Code Online (Sandbox Code Playgroud)