Skip to content

Instantly share code, notes, and snippets.

@n8fr8
Created February 11, 2022 04:01
Show Gist options
  • Save n8fr8/ceb35106fb00a03a3715090681a958c5 to your computer and use it in GitHub Desktop.
Save n8fr8/ceb35106fb00a03a3715090681a958c5 to your computer and use it in GitHub Desktop.
[IPv4 Header (20 bytes)]
Version: 4 (IPv4)
IHL: 5 (20 [bytes])
TOS: [precedence: 0 (Routine)] [tos: 0 (Default)] [mbz: 0]
Total length: 66 [bytes]
Identification: 16217
Flags: (Reserved, Don't Fragment, More Fragment) = (false, true, false)
Fragment offset: 0 (0 [bytes])
TTL: 64
Protocol: 17 (UDP)
Header checksum: 0xf494
Source address: /192.168.50.1
Destination address: /10.10.10.10
[UDP Header (8 bytes)]
Source port: 42526 (unknown)
Destination port: 53 (Domain Name Server)
Length: 46 [bytes]
Checksum: 0x33d4
[DNS Header (38 bytes)]
ID: 0x42d9
QR: query
OPCODE: 0 (Query)
Authoritative Answer: false
Truncated: false
Recursion Desired: true
Recursion Available: false
Reserved Bit: 0
Authentic Data: false
Checking Disabled: false
RCODE: 0 (No Error)
QDCOUNT: 1
ANCOUNT: 0
NSCOUNT: 0
ARCOUNT: 0
Question:
QNAME: check.torproject.org
QTYPE: 1 (A (Host address))
QCLASS: 1 (Internet (IN))
RESP
[IPv4 Header (20 bytes)]
Version: 4 (IPv4)
IHL: 5 (20 [bytes])
TOS: [precedence: 0 (Routine)] [tos: 0 (Default)] [mbz: 0]
Total length: 82 [bytes]
Identification: 0
Flags: (Reserved, Don't Fragment, More Fragment) = (false, false, false)
Fragment offset: 0 (0 [bytes])
TTL: 0
Protocol: 17 (UDP)
Header checksum: 0xb3de
Source address: /10.10.10.10
Destination address: /192.168.50.1
[UDP Header (8 bytes)]
Source port: 53 (Domain Name Server)
Destination port: 42526 (unknown)
Length: 62 [bytes]
Checksum: 0xf910
[DNS Header (54 bytes)]
ID: 0x42d9
QR: response
OPCODE: 0 (Query)
Authoritative Answer: false
Truncated: false
Recursion Desired: false
Recursion Available: false
Reserved Bit: 0
Authentic Data: false
Checking Disabled: false
RCODE: 0 (No Error)
QDCOUNT: 0
ANCOUNT: 1
NSCOUNT: 0
ARCOUNT: 0
Question:
QNAME: check.torproject.org
QTYPE: 1 (A (Host address))
QCLASS: 1 (Internet (IN))
Answer:
NAME: .check.torproject.org (name: , pointer: 12)
TYPE: 1 (A (Host address))
CLASS: 1 (Internet (IN))
TTL: 3600
RDLENGTH: 4
RDATA:
A RDATA:
ADDRESS: 116.202.120.181 (encoded)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment