Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
jschwinger233 committed Nov 26, 2023
1 parent aa38138 commit c94f5e9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ jobs:
with:
provision: 'false'
cmd: |
set -ex
sysctl net.ipv4.conf.all.proxy_arp=1
sysctl net.ipv4.conf.default.proxy_arp=1
Expand All @@ -89,6 +91,8 @@ jobs:
iptables -t filter --policy FORWARD ACCEPT
iptables -t nat -I POSTROUTING 1 -s 10.0.0.1/24 -o enp0s2 -j MASQUERADE
/host/skbdump/skbdump --oneshot -i any 'dst host 1.1.1.1 and tcp[tcpflags] = tcp-syn' 2>&1 1>/tmp/log | (read _; sleep 1; ip net e testns curl --connect-timeout 1 1.1.1.1 &>/dev/null || true)
ip a
/host/skbdump/skbdump --oneshot -i any 'dst host 1.1.1.1 and tcp[tcpflags] = tcp-syn' 2>&1 1>/tmp/log | (read _; ip net e testns curl --connect-timeout 1 1.1.1.1 &>/dev/null || true)
cat /tmp/log

0 comments on commit c94f5e9

Please sign in to comment.