diff --git a/.github/workflows/demo-agent.yml b/.github/workflows/demo-agent.yml index aa0ba9f..08d1a70 100644 --- a/.github/workflows/demo-agent.yml +++ b/.github/workflows/demo-agent.yml @@ -49,21 +49,14 @@ jobs: - name: Dependencies run: | sudo apt-get update && sudo apt-get install -y \ - python3-pip python3-wheel tshark + python3-pip python3-wheel python -m pip install --upgrade pip pip3 install '.[container]' - name: Prep run: ./container/run.py --config container/example.yaml prep - name: Start run: ./container/run.py --config container/example.yaml start - - name: Record traffic - run: tshark -i br-dtnA -i br-dtnB -f 'port 4556 or port 1113 or icmp' -w build/capture.pcap & - name: Check run: ./container/run.py --config container/example.yaml check - name: Check run: ./container/run.py --config container/example.yaml stop - - name: Archive coverage - uses: actions/upload-artifact@v4 - with: - name: integration-test-capture - path: build/capture.pcap diff --git a/README.md b/README.md index df022e6..5141979 100644 --- a/README.md +++ b/README.md @@ -103,6 +103,11 @@ To observe the log of one of the nodes: docker container exec -it node003 journalctl -f ``` +To capture traffic across container networks, run similar to: +``` +wireshark -i br-dtnA -i br-dtnB -f 'port 4556 or port 1113 or icmp' -Y 'bpv7' -k +``` + To call DBus methods in one of the nodes: ``` docker container exec -it node003 dbus-send --system --print-reply --dest=org.ietf.dtn.node.udpcl /org/ietf/dtn/udpcl/Agent org.ietf.dtn.udpcl.Agent.pmtud_start string:node002. uint16:4556