Answer the question
In order to leave comments, you need to log in
Why does nmap give "Operation not permitted"?
sudo nmap 192.168.208.1-254
Starting Nmap 7.12 ( https://nmap.org ) at 2017-09-13 16:58 SAMT
sendto in send_ip_packet_sd: sendto(4, packet, 44, 0, 192.168.208.65, 16) => Operation not permitted
Offending packet: TCP 10.20.208.6:34958 > 192.168.208.65:443 S ttl=50 id=14568 iplen=44 seq=3905354628 win=1024 <mss 1460>
........
Answer the question
In order to leave comments, you need to log in
Most likely this address is 192.168.208.65 and / or the port is covered by a firewall on the local host (where you run nmap), or somehow it turned out to be blocked in selinux.
Most likely a problem with the firewall.
You need to have the following rules:
iptables -I OUTPUT -m state --state NEW,ESTABLISHED,RELATED,INVALID -j ACCEPT
iptables -I INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
sudo service firewalld stop
and try. Psq
answered about the rules , only you need them through firewall-cmd.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question