Skip to content

Commit

Permalink
Remove attempt to capture traffic
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianSipos committed Nov 22, 2024
1 parent 9f0ff76 commit b1aa48a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
9 changes: 1 addition & 8 deletions .github/workflows/demo-agent.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b1aa48a

Please sign in to comment.