Skip to content

Commit 5fac194

Browse files
committed
sniff slirp traffic
1 parent d5b64a8 commit 5fac194

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.github/workflows/rust.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,14 @@ jobs:
9494
with:
9595
path: /tmp/logs
9696
name: tests-trace-${{ matrix.cgroups }}-${{ matrix.os }}
97+
- uses: actions/upload-artifact@v1
98+
if: always()
99+
with:
100+
path: /tmp/slirp_in.log
101+
- uses: actions/upload-artifact@v1
102+
if: always()
103+
with:
104+
path: /tmp/slirp_out.log
97105

98106
nightly-checks:
99107
runs-on: ubuntu-20.04

uml-ci/uml-slirp.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#!/bin/bash
22

3-
exec slirp-fullbolt 'host addr 10.0.2.2' 'redir tcp 2224 10.0.2.15:22'
3+
stdbuf -i 0 -o 0 tee /tmp/slirp_in.log | slirp-fullbolt 'host addr 10.0.2.2' 'redir tcp 2224 10.0.2.15:22' | stdbuf -i 0 -o 0 tee /tmp/slirp_out.log

0 commit comments

Comments
 (0)