[{"data":1,"prerenderedAt":174},["ShallowReactive",2],{"term-p\u002Fpacket":3,"related-p\u002Fpacket":154},{"id":4,"title":5,"acronym":6,"body":7,"category":136,"description":137,"difficulty":138,"extension":139,"letter":16,"meta":140,"navigation":77,"path":141,"related":142,"seo":148,"sitemap":149,"stem":152,"subcategory":6,"__hash__":153},"terms\u002Fterms\u002Fp\u002Fpacket.md","Packet",null,{"type":8,"value":9,"toc":130},"minimark",[10,15,19,23,26,30,119,123,126],[11,12,14],"h2",{"id":13},"eli5-the-vibe-check","ELI5 — The Vibe Check",[16,17,18],"p",{},"A packet is a small chunk of data with an envelope around it. When you send a big file, it gets chopped up into many packets, each with a label saying where it came from and where it's going. They can take different routes and get reassembled at the destination.",[11,20,22],{"id":21},"real-talk","Real Talk",[16,24,25],{},"A packet is a formatted unit of data carried by a network. It consists of a header (containing addressing and control information like source\u002Fdestination IP, sequence number) and a payload (the actual data). IP defines the packet structure at the network layer.",[11,27,29],{"id":28},"show-me-the-code","Show Me The Code",[31,32,37],"pre",{"className":33,"code":34,"language":35,"meta":36,"style":36},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","# Capture packets with tcpdump\ntcpdump -i eth0 -n host google.com\n\n# Capture and save to file\ntcpdump -i eth0 -w capture.pcap\n\n# Analyze with Wireshark\nwireshark capture.pcap\n","bash","",[38,39,40,49,72,79,85,100,105,111],"code",{"__ignoreMap":36},[41,42,45],"span",{"class":43,"line":44},"line",1,[41,46,48],{"class":47},"sHwdD","# Capture packets with tcpdump\n",[41,50,52,56,60,63,66,69],{"class":43,"line":51},2,[41,53,55],{"class":54},"sBMFI","tcpdump",[41,57,59],{"class":58},"sfazB"," -i",[41,61,62],{"class":58}," eth0",[41,64,65],{"class":58}," -n",[41,67,68],{"class":58}," host",[41,70,71],{"class":58}," google.com\n",[41,73,75],{"class":43,"line":74},3,[41,76,78],{"emptyLinePlaceholder":77},true,"\n",[41,80,82],{"class":43,"line":81},4,[41,83,84],{"class":47},"# Capture and save to file\n",[41,86,88,90,92,94,97],{"class":43,"line":87},5,[41,89,55],{"class":54},[41,91,59],{"class":58},[41,93,62],{"class":58},[41,95,96],{"class":58}," -w",[41,98,99],{"class":58}," capture.pcap\n",[41,101,103],{"class":43,"line":102},6,[41,104,78],{"emptyLinePlaceholder":77},[41,106,108],{"class":43,"line":107},7,[41,109,110],{"class":47},"# Analyze with Wireshark\n",[41,112,114,117],{"class":43,"line":113},8,[41,115,116],{"class":54},"wireshark",[41,118,99],{"class":58},[11,120,122],{"id":121},"when-youll-hear-this","When You'll Hear This",[16,124,125],{},"\"Packets are being dropped somewhere on the network.\" \u002F \"Use Wireshark to inspect the packets.\"",[127,128,129],"style",{},"html pre.shiki code .sHwdD, html code.shiki .sHwdD{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic}html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":36,"searchDepth":51,"depth":51,"links":131},[132,133,134,135],{"id":13,"depth":51,"text":14},{"id":21,"depth":51,"text":22},{"id":28,"depth":51,"text":29},{"id":121,"depth":51,"text":122},"networking","A packet is a small chunk of data with an envelope around it.","beginner","md",{},"\u002Fterms\u002Fp\u002Fpacket",[143,144,145,146,147],"TCP","UDP","IP","Bandwidth","Latency",{"title":5,"description":137},{"changefreq":150,"priority":151},"weekly",0.7,"terms\u002Fp\u002Fpacket","mzdP569XhTYdrFT7T1h9174AbYBcZon-PS7vHQ9hx-E",[155,158,162,165,170],{"title":146,"path":156,"acronym":6,"category":136,"difficulty":138,"description":157},"\u002Fterms\u002Fb\u002Fbandwidth","Bandwidth is how wide your internet pipe is — how much data can flow through per second. A narrow pipe means slow speeds, a wide pipe means fast speeds.",{"title":145,"path":159,"acronym":160,"category":136,"difficulty":138,"description":161},"\u002Fterms\u002Fi\u002Fip","Internet Protocol","IP is the postal system of the internet. Every device gets an address (an IP address) and all data gets wrapped in envelopes called packets.",{"title":147,"path":163,"acronym":6,"category":136,"difficulty":138,"description":164},"\u002Fterms\u002Fl\u002Flatency","Latency is the delay before data starts moving — the time it takes for a request to go from your device to the server and back.",{"title":143,"path":166,"acronym":167,"category":136,"difficulty":168,"description":169},"\u002Fterms\u002Ft\u002Ftcp","Transmission Control Protocol","intermediate","TCP is like sending a package with delivery confirmation.",{"title":144,"path":171,"acronym":172,"category":136,"difficulty":168,"description":173},"\u002Fterms\u002Fu\u002Fudp","User Datagram Protocol","UDP is like shouting information across a room — fast but no guarantee anyone heard you. There's no handshake, no confirmation.",1776518300521]