Real traffic simulation¶
With the network started, the Simulation button starts a capture at each end of every cable. Everything shown afterwards (traveling envelopes, events, layers, decisions) comes from those captures.
The project's rule: a packet is never invented
minired does not emulate protocols: it interprets what really went through the Linux network. If something could not be observed, it says so ("no exit observed") instead of drawing it.
Two modes¶
- Each envelope travels along the cable and stops at the device that receives it. When a switch floods, several envelopes leave at once.
- Labels in the interface language (Spanish, English or Portuguese) and with device names: "ARP: who has 10.0.0.2?", "ICMP echo pc1 → pc2", "DHCP Discover: dc1 looks for a server", "HTTP GET /".
- Click an envelope or an event: the device's OSI view, with the inbound and outbound layers and the numbered decisions ("the destination MAC is broadcast: the switch floods", "the routing table has a route…, TTL 64 → 63", "NAT changed the source IP").
- Background traffic (OSPF hellos, Linux ARP re-checks) is hidden, with a checkbox to show it.
- Packet list numbered by time, with a filter.
- Layer tree decoded by
tsharkand bytes in hexadecimal. - Download of a PCAPng with one interface per cable end, to open in Wireshark.

Where each decision comes from¶
Each decision in the OSI view states its source, so the student knows how solid it is:
| Source | Meaning | Example |
|---|---|---|
| observed | It is in the capture | The TTL went from 64 to 63; the source IP changed; it left through two ports |
| configuration | Declared by the lab | Access port of VLAN 10; ACL rule 1 |
| state | Read from the device when the capture started and stopped | Routing table, ARP neighbors, the switch's MAC table |
| inferred | Implied by standard behavior and cannot be read at that instant | "The switch learns the source MAC on the incoming port" |
Correlation confidence¶
To link the hops of the same packet, minired correlates the observations from every end. Each hop has a confidence level:
- high: the same frame, unchanged, from one end to the next (for example, through a switch);
- medium: it crossed a router (the MACs change and the TTL drops, but the rest matches);
- low: it crossed a NAT (the address or the port changed);
- uncorrelated: where it came from was not found. It is drawn loose, with a dotted border and "?".
