Home > Linux > Network Notes

Network Notes

Block an IP Address

iptables -I FORWARD -s -j ACCEPT
iptables -I FORWARD -s -j DROP

What connections are Established

To view what connections are established on our host we use lsof (list open files).

# lsof | grep ESTA

To avoid DNS resultion, that slows down we use the -n option (numerical).

# lsof -n | grep ESTA

Explore your Network

First we send some Traffic to the connected hosts in our Network, hopefully they do respond

# ping -b

Now we look if some hosts did reply.

# arp -a
KategorienLinux Tags:
  1. Bisher keine Kommentare
  1. Bisher keine Trackbacks
Du musst Dich anmelden um einen Kommentar zu schreiben