diff --git a/css.css b/css.css index bba942b..2f36190 100644 --- a/css.css +++ b/css.css @@ -14,7 +14,7 @@ body{ font-family: 'DM Mono', monospace; background-color: #1d1e22; color: white; - font-size: 1.1em; + /*font-size: 1.1em;*/ } h1, h2{ @@ -38,22 +38,20 @@ img{ .panel{ background-color: #393f4d; - padding: 25px; + padding: 2vh 2vh 2vw 2vw; border-radius: 4px; border: solid 1px #feda6a; } .ethernet-frame-grid{ - border: 2px solid white; - height: 3vh; + border: 1px solid #151d30; background-color: #feda6a; color: black; cursor: pointer; } .ethernet-frame-cell{ - height: 3vh; - border-left: 2px solid white; + border-left: 1px solid #151d30; text-align: center; } @@ -76,3 +74,4 @@ img{ margin: 0 auto; } + diff --git a/index.html b/index.html index 963544a..e808bf0 100644 --- a/index.html +++ b/index.html @@ -8,264 +8,263 @@ networking cheat sheet -
- - - github logo -

networking cheat sheet

-
-
- - -

Ethernet Frame

- - -

Preamble

-
- -

SFD

-
- -

Dest. MAC

-
- -

Source MAC

-
- -

[VLAN]

-
- -

EtherType

-
- -

Payload

-
- -

FCS

-
- -

GAP

-
-
-
- -

IPV4 Header

- - -

IP version

-
- -

Header Length

-
- -

DSCP

-
- -

ECN

-
- -

Total Length

-
-
- - -

Identification

-
- -

Flags

-
- -

Fragment Offset

-
-
- - -

TTL

-
- -

Protocol

-
- -

Header Checksum

-
-
- - -

Source address

-
-
- - -

Destination address

-
-
- - -

Options

-
-
-
- -

IPv6 Header

- - -

Version

-
- -

Traffic Class

-
- -

Flow Label

-
-
- - -

Payload Length

-
- -

Next header

-
- -

TTL

-
-
- - -

Source Address

-
-
- - -

Destination address

-
-
-
- -

TCP Header

- - -

Source port

-
- -

Destination port

-
-
- - -

Sequence number

-
-
- - -

Acknowledgment number

-
-
- - -

Data offset

-
- -

Reserved

-
- -

Flags

-
- -

Window size

-
-
- - -

Checksum

-
- -

Urgent pointer

-
-
- - -

Options

-
-
-
- -

UDP Header

- - -

Source Port

-
- -

Destination port

-
-
- - -

Length

-
- -

Checksum

-
-
-
- - -

tcpdump

-

flags

- -i nameCapture named interfaces, any for all - -c integerCapture amount of packages - -DShow available interfaces - -nDo not resolve host-names - -nnDo not resolve host-names or services (ports) - tcpCapture tcp - udpCapture udp, also works with others such as arp - host IPCapture data to or from this host only - src IPCapture data from this host only - dst IPCapture data sent to this host only - net CIDRCapture data to or from this subnet - port numberUse service name instead of port -

tcp flags

- [S] SYNC - [.|A] ACKNOWLEDGE - [R] RESET - [F] FINISHED - [P] PUSH - Flags can be displayed combined, [S.] means sync and acknowledge -
- -

nmap

- IPScan host - LISTScan list - CIDRScan subnet - -iL fileScan targets from file - -iR numberRandom hosts of amount - --excludeExclude hosts - -iL fileScan targets from file - -sUUDP port scan - -nNo DNS resolution - -p-Scan ALL ports from 0 to 65353 - -p n[-n]Scan port or range - -p U:n,T:nScan mixed ports, UDP and TCP - -FFast scan 100 ports - -sVTry to detect service -
- -

mtr

- IPRun route to host - -zResolve ASN - -c numRun num cycles - -rReport mode, useful with -c - -c numRun num cycles - -nNo RDNS - -uuse UDP instead of ICMP - -Tuse TCP instead of ICMP - -f numset first TTL, useful for skipping own router - -i floatset interval, default is 1 second -
-
- -

Provided by tuxstash.de

-
-
-
+ + + github logo +

networking cheat sheet

+
+
+ + +

Ethernet Frame

+ + +

Preamble

+
+ +

SFD

+
+ +

Dest. MAC

+
+ +

Source MAC

+
+ +

[VLAN]

+
+ +

EtherType

+
+ +

Payload

+
+ +

FCS

+
+ +

GAP

+
+
+
+ +

IPV4 Header

+ + +

IP version

+
+ +

Header Length

+
+ +

DSCP

+
+ +

ECN

+
+ +

Total Length

+
+
+ + +

Identification

+
+ +

Flags

+
+ +

Fragment Offset

+
+
+ + +

TTL

+
+ +

Protocol

+
+ +

Header Checksum

+
+
+ + +

Source address

+
+
+ + +

Destination address

+
+
+ + +

Options

+
+
+
+ +

IPv6 Header

+ + +

Version

+
+ +

Traffic Class

+
+ +

Flow Label

+
+
+ + +

Payload Length

+
+ +

Next header

+
+ +

TTL

+
+
+ + +

Source Address

+
+
+ + +

Destination address

+
+
+
+ +

TCP Header

+ + +

Source port

+
+ +

Destination port

+
+
+ + +

Sequence number

+
+
+ + +

Acknowledgment number

+
+
+ + +

Data offset

+
+ +

Reserved

+
+ +

Flags

+
+ +

Window size

+
+
+ + +

Checksum

+
+ +

Urgent pointer

+
+
+ + +

Options

+
+
+
+ +

UDP Header

+ + +

Source Port

+
+ +

Destination port

+
+
+ + +

Length

+
+ +

Checksum

+
+
+
+ + +

tcpdump

+

flags

+ -i nameCapture named interfaces, any for all + -c integerCapture amount of packages + -DShow available interfaces + -nDo not resolve host-names + -nnDo not resolve host-names or services (ports) + tcpCapture tcp + udpCapture udp, also works with others such as arp + host IPCapture data to or from this host only + src IPCapture data from this host only + dst IPCapture data sent to this host only + net CIDRCapture data to or from this subnet + port numberUse service name instead of port +

tcp flags

+ [S] SYNC + [.|A] ACKNOWLEDGE + [R] RESET + [F] FINISHED + [P] PUSH + Flags can be displayed combined, [S.] means sync and acknowledge +
+ +

nmap

+ IPScan host + LISTScan list + CIDRScan subnet + -iL fileScan targets from file + -iR numberRandom hosts of amount + --excludeExclude hosts + -iL fileScan targets from file + -sUUDP port scan + -nNo DNS resolution + -p-Scan ALL ports from 0 to 65353 + -p n[-n]Scan port or range + -p U:n,T:nScan mixed ports, UDP and TCP + -FFast scan 100 ports + -sVTry to detect service +
+ +

mtr

+ IPRun route to host + -zResolve ASN + -c numRun num cycles + -rReport mode, useful with -c + -c numRun num cycles + -nNo RDNS + -uuse UDP instead of ICMP + -Tuse TCP instead of ICMP + -f numset first TTL, useful for skipping own router + -i floatset interval, default is 1 second +
+
+ +

Provided by tuxstash.de

+
+
+

Please hold your phone sideways