mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-21 05:35:15 +02:00
test(e2e): relay filters shape real traffic on both relay engines
Extend the docker and IOU relay negative controls with the filters the
relay itself supports (delay, frequency_drop, bpf), asserted through real
ICMP — the first live coverage of the relay filter path:
* bridge engine (docker): delay 100 grows the RTT by ~200 ms and comes
back on clear; frequency_drop 2 kills the round trips (the filter counts
every packet crossing the bridge, both directions sharing one counter,
so on an alternating ping stream one whole direction dies; verified
against uBridge directly), frequency_drop -1 blackholes, and bpf drops
by libpcap expression ('icmp', then 'greater 150' discriminating by
frame size).
* iol_bridge engine (IOU): the same delay and frequency_drop effects
through the port's iol_bridge filter list, plus the available_filters
spot check.
Docker 33 s, IOU 168 s, both green.
This commit is contained in:
5 files changed
+94
-11
No files matched your search
@@ -465,9 +465,10 @@ L2-anchor spec §E assertions (no L3 identity, forwarding ports, idle
|
||||
silence with the guests' links down), the filter matrix one type at a time
|
||||
(netem core and extensions, cls_bpf match-drop, the eBPF classifier, each
|
||||
asserted through real traffic), suspend, capture, link delete/re-create,
|
||||
container stop/start, a relay negative control, and the relay→kernel
|
||||
upgrade on project reopen (the datapath choice is flipped across a server
|
||||
restart). The container image is digest-pinned and pulled through the
|
||||
container stop/start, a relay negative control — whose own filters
|
||||
(delay/frequency_drop/bpf) are asserted to really shape the relay wire as
|
||||
uBridge userspace bridge filters — and the relay→kernel upgrade on project
|
||||
reopen (the datapath choice is flipped across a server restart). The container image is digest-pinned and pulled through the
|
||||
server's own pull route on a cache miss, so collaborators test the same
|
||||
bytes.
|
||||
|
||||
|
||||
Reference in new issue
Block a user