replace ascii encapsulation diagrams: tcp, ip, ethernet, router re-hop
This commit is contained in:
85
slides/223015c/assets/demos/tcp-segment.html
Normal file
85
slides/223015c/assets/demos/tcp-segment.html
Normal file
@@ -0,0 +1,85 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="de">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>TCP-Segment</title>
|
||||
<style>
|
||||
html, body { margin: 0; padding: 0; background: #fff; font-family: system-ui, sans-serif; }
|
||||
body { padding: 30px; display: inline-block; }
|
||||
.frame {
|
||||
border: 2px solid #1e40af;
|
||||
border-radius: 6px;
|
||||
overflow: hidden;
|
||||
min-width: 640px;
|
||||
}
|
||||
.header {
|
||||
background: #dbeafe;
|
||||
padding: 12px 16px;
|
||||
border-bottom: 2px solid #1e40af;
|
||||
}
|
||||
.header-title {
|
||||
font-weight: 700;
|
||||
color: #1e3a8a;
|
||||
margin-bottom: 8px;
|
||||
font-size: 1.05rem;
|
||||
}
|
||||
.fields {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr 1.3fr;
|
||||
gap: 0;
|
||||
border: 1px solid #1e40af;
|
||||
border-radius: 4px;
|
||||
overflow: hidden;
|
||||
background: #fff;
|
||||
}
|
||||
.field {
|
||||
padding: 8px 12px;
|
||||
border-right: 1px solid #1e40af;
|
||||
font-size: 0.85rem;
|
||||
}
|
||||
.field:last-child { border-right: 0; }
|
||||
.field-label { color: #1e3a8a; font-weight: 600; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.04em; }
|
||||
.field-value { font-family: ui-monospace, monospace; color: #0f172a; margin-top: 2px; }
|
||||
.payload {
|
||||
background: #f3f4f6;
|
||||
padding: 14px 16px;
|
||||
color: #374151;
|
||||
}
|
||||
.payload-label {
|
||||
font-weight: 700;
|
||||
color: #1f2937;
|
||||
font-size: 0.9rem;
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
.payload-value {
|
||||
font-family: ui-monospace, monospace;
|
||||
font-size: 0.95rem;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="frame">
|
||||
<div class="header">
|
||||
<div class="header-title">TCP-Header</div>
|
||||
<div class="fields">
|
||||
<div class="field">
|
||||
<div class="field-label">Source Port</div>
|
||||
<div class="field-value">52431</div>
|
||||
</div>
|
||||
<div class="field">
|
||||
<div class="field-label">Dest Port</div>
|
||||
<div class="field-value">443</div>
|
||||
</div>
|
||||
<div class="field">
|
||||
<div class="field-label">Sequence Nr</div>
|
||||
<div class="field-value">1001</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="payload">
|
||||
<div class="payload-label">Payload</div>
|
||||
<div class="payload-value">GET / HTTP/1.1 ...</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user