Skip to content

Latest commit

 

History

History
73 lines (37 loc) · 7.74 KB

SOURCES.md

File metadata and controls

73 lines (37 loc) · 7.74 KB

Primary references and reading tasks

Course index · Lab guide

Use these as references while implementing, not as assignments to read whole books first. Sources were consulted while revising the course on 2026-09-21; APIs and OS behavior can change. Pin dependencies for reproducible work. The classroom formats are defined in WIRE_FORMATS.md; real protocol rules come from their specifications.

Week 1

The Rust Book: Getting Started, common concepts, and collections. Read only the features used today. Explain values, mutation, UTF-8 and safe lookup in your own words.

Week 2

Control flow, HashMap, and HashSet. Identify ordering guarantees and missing-key behavior before designing report tests.

Week 3

Modules, recoverable errors, and ownership. Trace one owned input from file read to result; distinguish absence from failure.

Week 4

Structs, enums, lifetimes, Read, Write, and clap derive tutorial. Use public interfaces and deliberate error contracts; do not turn every reference example into a project dependency.

Week 5

IPv4, RFC 791, IPv6, RFC 8200, Neighbor Discovery, RFC 4861, SLAAC, RFC 4862, and Rust networking types. Read address/header and neighbor/route procedures selectively. A prefix computation is not a replacement for an OS route table.

Week 6

Wireshark User's Guide, UDP, RFC 768, TCP, RFC 9293, and the IP specifications above. Compare fields with a decoder while retaining capture metadata and its limitations. For checksum/offload questions, inspect the capture guide and actual NIC configuration before declaring a corrupt sender.

Week 7

Rust UdpSocket, DNS, RFC 1035, and DNS clarifications, RFC 2181. Check receive-buffer behavior and compression-name rules. The course's field messenger has no security/authentication or general discovery standard claim.

Week 8

Rust TcpStream, TcpListener, TCP specification, and Tokio framing explanation. Learn partial I/O on blocking streams before converting code to async. Separate EOF, reset and timeout.

Week 9

Tokio tutorial, select and cancellation, graceful shutdown, and copy_bidirectional. Inspect exact primitive behavior in the version selected by your Cargo.lock. Half-close and error behavior are public contracts worth testing even when a library handles copying.

Week 10

Modbus Organization specifications: use the application protocol, TCP/IP implementation guide and serial-line guide appropriate to the exercise. Application protocol PDF provides function and exception layouts. Read function 03 plus data encoding first; use the serial guide for RTU CRC/timing, not a TCP tutorial.

Week 11

rusty-bacnet upstream, its actual pinned source/tests/examples, and the applicable ASHRAE 135 standard/addenda through BACnet International/ASHRAE resources. The destination repo's config/upstream-lock.toml is the starting revision, not a promise that the upstream default branch has identical APIs. An independent implementation such as BACpypes3 is useful as an optional external oracle.

Week 12

Use the applicable ASHRAE 135 application-service/segmentation procedures and pinned rusty-bacnet tests. The Day 81 model contract explicitly limits the simulator. Trace timer ownership and peer capability in actual code before a live test. COV and segmentation support must be demonstrated for the chosen revision and peer.

Week 13

Use BACnet network-layer and BACnet/IP procedures, plus the destination router's architecture/testing docs. Read Linux network namespaces and ip-netns for the test bed. BACnet/IPv6 and BACnet/SC are distinct protocol/support questions; use applicable standard material and actual implementation evidence.

Week 14

Raspberry Pi configuration, NetworkManager connection properties, nmcli, DHCPv4, RFC 2131, DHCP options, RFC 2132, and nftables documentation. Match instructions to actual hardware/OS. Inspect shared-mode service ownership before combining tutorials.

Week 15

Use the Modbus serial guide, applicable BACnet MS/TP procedures, the pinned upstream frame/CRC tests and the actual adapter manual. In the destination repo, read docs/hardware/WAVESHARE_USB_RS485_C.md, docs/TESTING.md, and current hold/evidence notes. PTY and host-read timestamps are not physical bus certification.

Week 16

Start with /home/ben/Desktop/diy-bacnet-router/AGENTS.md and its required linked documents, then actual source call sites. For management networking: HTTP semantics, RFC 9110, HTTP/1.1 framing, RFC 9112, Rustls, and WebSocket, RFC 6455. Use maintained libraries for full HTTP/TLS; test limits and failure behavior at your application boundary.

Packt as a companion

Network Programming with Rust provides useful historical project ideas. See the chapter crosswalk in INDEX.md. Rebuild the intent against current APIs; do not make reviving old manifests a prerequisite. The new course adds deeper packet interpretation, IPv6, failure experiments, BACnet routing and appliance evidence.