Loading…
Loading…
TCP/IP
A complete TCP/IP networking course for students and working engineers: addressing and subnetting, Ethernet and ARP, IP, DHCP, NAT, ICMP, UDP, DNS, TCP connections, retransmission and congestion control, TLS, IPsec, QUIC and troubleshooting. 91 articles with practice quizzes.
The practical side of UDP: the largest datagram you can send, what happens when the read buffer is too small, how a UDP server's bindings decide which socket gets a datagram, SO_REUSEPORT, dual-stack sockets, receive-buffer drops (measured), GSO, UDP-Lite, translation and today's UDP traffic.
kvi5hnuCode Sprout team member20 minHow hosts find the largest packet a whole path can carry: classic PMTUD with DF and ICMP "fragmentation needed" or Packet Too Big, the per-destination cache, tracepath, what happens when ICMP is blocked (a measured black hole), and the fixes: MSS clamping, PLPMTUD and DPLPMTUD.
kvi5hnuCode Sprout team member18 minHow IPv4 hosts and routers and IPv6 sources split datagrams that don't fit the MTU, how the receiver reassembles them, why one lost fragment loses the whole datagram (measured), reassembly timeouts and memory limits, ARP interaction, and fragment attacks.
kvi5hnuCode Sprout team member21 minWhat UDP gives an application on top of IP, the 8-byte header field by field, how the checksum and pseudo-header are computed (worked from a real packet), zero checksums in IPv4 and IPv6, checksum offload in captures, and what happens at a closed port.
kvi5hnuCode Sprout team member17 minHow hosts tell routers and switches which multicast groups they want: IGMPv3 and MLDv2 reports and queries, source-specific joins, querier election, timers and robustness, snooping switches, multicast router discovery, and attacks, with real captures from a Linux bridge lab.
kvi5hnuCode Sprout team member19 minHow one packet reaches many hosts: subnet and limited broadcasts, SO_BROADCAST, why routers don't forward directed broadcasts, mapping IPv4 and IPv6 multicast groups to Ethernet addresses, joining groups, multicast TTL and loopback, and filtering at each layer, all shown in a lab.
kvi5hnuCode Sprout team member16 minHow IPv6 hosts find routers, prefixes and neighbors with ICMPv6: router and neighbor solicitations and advertisements, duplicate address detection, unreachability detection, ND options, ICMP translation between IPv4 and IPv6, and ICMP attacks, each shown in a lab.
kvi5hnuCode Sprout team member22 minHow ping uses ICMP echo and what its sequence numbers, TTLs, timings, losses and duplicates mean, and how traceroute, tracepath and mtr map a path with UDP, ICMP or TCP probes, run over a lab with known delays, plus how to read stars and rate limits.
kvi5hnuCode Sprout team member17 minEvery common ICMPv4 and ICMPv6 error, triggered in a lab and captured: net, host, port and protocol unreachable, prohibited and blackhole routes, Packet Too Big, redirects, TTL and reassembly timeouts, parameter problems, what applications see, and ICMP extensions.
kvi5hnuCode Sprout team member18 minWhat ICMP is for and how its messages are built: the shared Type, Code and Checksum header, how ICMPv4 and ICMPv6 ride inside IP, error versus informational messages, how hosts process them, the rules for when an error must never be sent, and ICMP rate limiting measured on a real Linux host.
kvi5hnuCode Sprout team member18 minHow networks run IPv4 and IPv6 side by side and connect one to the other: dual stack, tunnels such as DS-Lite and 6rd, stateless and stateful IPv4/IPv6 translation, DNS64 address synthesis, 464XLAT and Teredo, each built and captured in a real lab, plus the classic attacks on firewalls and NATs.
kvi5hnuCode Sprout team member26 minA practical guide to nftables, Linux's packet-filtering framework: hooks and priorities, tables, chains, rules, sets and verdicts, a complete router rule set tested in a real lab, NAT rules, tracing a dropped packet, translating iptables rules, and keeping rules safe.
kvi5hnuCode Sprout team member16 minHow two hosts behind NATs manage to talk directly: pinholes and UDP hole punching measured in a real lab, STUN and its XOR-MAPPED-ADDRESS, NAT behavior discovery, TURN relays, ICE candidate gathering and checks, and asking the NAT directly with UPnP, NAT-PMP and PCP.
kvi5hnuCode Sprout team member21 minHow NAT lets many hosts share one public IPv4 address: basic NAT and NAPT, the NAT table, mapping and filtering behaviors measured in a real lab, timeouts, port forwarding, hairpinning, ALGs, NAT with ICMP and tunnels, NPTv6, and carrier-grade NAT.
kvi5hnuCode Sprout team member24 minWhy firewalls exist, how a packet filter decides from headers alone, why stateless rules break replies and how connection tracking fixes them, what a proxy firewall does differently, and where firewalls sit today, from home routers to cloud security groups.
kvi5hnuCode Sprout team member17 minHow hosts with changing addresses keep a DNS name (the Client FQDN option, DNS UPDATE with TSIG, DHCID records), and the attacks on autoconfiguration: rogue servers and RAs, pool starvation, forged updates and privacy leaks, with lab runs of each defense.
kvi5hnuCode Sprout team member16 minHow hosts configure addresses with no server: IPv6 SLAAC from Router Advertisements, EUI-64, stable-privacy and temporary interface IDs, address lifetimes, Duplicate Address Detection catching a real conflict, and IPv4 link-local addresses, tested in a lab.
kvi5hnuCode Sprout team member15 minHow DHCPv6 differs from DHCP for IPv4: link-local multicast instead of broadcast, DUIDs and identity associations, the four-message exchange, stateless configuration and prefix delegation, all captured from a Kea DHCPv6 server, with what changed in RFC 9915.
kvi5hnuCode Sprout team member15 minThe DHCP exchange step by step, captured from a Kea server: DISCOVER, OFFER, REQUEST and ACK, the client states, renewing and rebinding with a short lease, RELEASE, INFORM and NAK, then relay agents and option 82, rapid commit, FORCERENEW, authentication, and DHCP snooping against rogue servers.
kvi5hnuCode Sprout team member17 minWhat a host needs before it can use the Internet and how DHCP gives it all of that automatically: address pools and leases, the BOOTP-based message format field by field, the options and message types, captured from a real Kea server and dhclient in a lab.
kvi5hnuCode Sprout team member15 min