Reference

117 networking commands

The Linux commands the labs use, in troubleshooting order: syntax, the options worth knowing, real output and how to read it.

Cards and addresses

Is my card up, and which address and network does it have?

Who is next to you

Who is on my own network, and which MAC address answers for an address?

Switches, real and virtual

Which ports does a switch have, which MACs has it learned, and what do its flows say?

Is it reachable?

Where does a packet go next, does it arrive, and where does it stop?

Names

Which address does a name turn into, and who says so?

Ports by hand

Is anything listening, and can I talk to it?

On the wire

What is actually sent and received, and what answers?

Firewall and NAT

Is a rule dropping, refusing or rewriting the traffic?

Speed

How fast is it, and what makes it slow?

Attacking a web app

What can I read, run or reach through a web app that trusts its input?

Passwords and hashes

How do I guess a login, build a target-specific wordlist, and crack what I loot?

Addresses and time

Who hands out addresses and settings, and does every clock agree?

Name servers

Does the DNS server load the zone it should, and sign it?

Shells and files

Can I log in to a device, and move files to and from it?

Routing and tunnels

Do the routers agree on routes, and is the tunnel up?

Logging in to the network

Is this device or user let onto the network?

Directories and tickets

Who is this user, and can they prove it?

Detection and audit

Did something attack this network, or change on this host?

Counters and flows

What do the devices report about themselves: counters, flows, logs?

Automation

Can a script read and change many devices at once?

Learn it on real machines.

Every lab is a small network of real Linux machines in your browser. Sign in with Google or email to start.

Start learning