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 == netstat
=== Listing (Almost all)
[source,bash]
----
netstat -antlupe
----
=== Listing TCP Ports connections === Listing TCP Ports connections
[source,bash] [source,bash]
@ -257,6 +264,10 @@ Displaying Promiscuous mode with -ac switch, netstat print the selected informat
[source,bash] [source,bash]
---- ----
ifconfig eth0 promisc ifconfig eth0 promisc
OR
ip link set eth0 promisc on
---- ----
=== Remove Promiscuous Mode === Remove Promiscuous Mode
@ -311,7 +322,7 @@ lo 65536 15232 0 0 0 15232 0 0 0 LRU
.Promiscuous Mode .Promiscuous Mode
[NOTE] [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 + B flag is for broadcast +
M flag is for multicast + M flag is for multicast +
P flag is for promisc mode + P flag is for promisc mode +

Loading…
Cancel
Save