Browse Source

nmap

master
test2 5 years ago
parent
commit
4050f0b80a
  1. 13
      ex-1_iptables.adoc

13
ex-1_iptables.adoc

@ -161,6 +161,13 @@ Because the ports into your computer can cause a security risk, it’s critical
== netstat
=== Listing (Almost all)
[source,bash]
----
netstat -antlupe
----
=== Listing TCP Ports connections
[source,bash]
@ -257,6 +264,10 @@ Displaying Promiscuous mode with -ac switch, netstat print the selected informat
[source,bash]
----
ifconfig eth0 promisc
OR
ip link set eth0 promisc on
----
=== Remove Promiscuous Mode
@ -311,7 +322,7 @@ lo 65536 15232 0 0 0 15232 0 0 0 LRU
.Promiscuous Mode
[NOTE]
====
Look under the last column “Flg” for value “P”. If it’s there, it means promiscuous mode is enabled for that network interface + .
Look under the last column “Flg” for value “P”. If it’s there, it means promiscuous mode is enabled for that network interface +
B flag is for broadcast +
M flag is for multicast +
P flag is for promisc mode +

Loading…
Cancel
Save