[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAADnVQJrRONd+pPpfahyzLG7WCP54y_eoNb_8zCsN_m=S_OSZQ@mail.gmail.com>
Date: Fri, 29 Apr 2022 09:41:51 -0700
From: Alexei Starovoitov <alexei.starovoitov@...il.com>
To: Maxim Mikityanskiy <maximmi@...dia.com>
Cc: bpf <bpf@...r.kernel.org>, Alexei Starovoitov <ast@...nel.org>,
Daniel Borkmann <daniel@...earbox.net>,
Andrii Nakryiko <andrii@...nel.org>,
Network Development <netdev@...r.kernel.org>,
Tariq Toukan <tariqt@...dia.com>,
Martin KaFai Lau <kafai@...com>,
Song Liu <songliubraving@...com>, Yonghong Song <yhs@...com>,
John Fastabend <john.fastabend@...il.com>,
KP Singh <kpsingh@...nel.org>,
"David S. Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>,
Eric Dumazet <edumazet@...gle.com>,
Hideaki YOSHIFUJI <yoshfuji@...ux-ipv6.org>,
David Ahern <dsahern@...nel.org>,
Shuah Khan <shuah@...nel.org>,
Jesper Dangaard Brouer <hawk@...nel.org>,
Nathan Chancellor <nathan@...nel.org>,
Nick Desaulniers <ndesaulniers@...gle.com>,
Joe Stringer <joe@...ium.io>,
Florent Revest <revest@...omium.org>,
"open list:KERNEL SELFTEST FRAMEWORK"
<linux-kselftest@...r.kernel.org>,
Toke Høiland-Jørgensen <toke@...e.dk>,
Kumar Kartikeya Dwivedi <memxor@...il.com>,
Florian Westphal <fw@...len.de>,
Paolo Abeni <pabeni@...hat.com>
Subject: Re: [PATCH bpf-next v8 4/5] bpf: Add selftests for raw syncookie helpers
On Fri, Apr 29, 2022 at 4:16 AM Maxim Mikityanskiy <maximmi@...dia.com> wrote:
> + SYS("iptables -t raw -I PREROUTING \
> + -i tmp1 -p tcp -m tcp --syn --dport 8080 -j CT --notrack");
> + SYS("iptables -t filter -A INPUT \
> + -i tmp1 -p tcp -m tcp --dport 8080 -m state --state INVALID,UNTRACKED \
> + -j SYNPROXY --sack-perm --timestamp --wscale 7 --mss 1460");
> + SYS("iptables -t filter -A INPUT \
> + -i tmp1 -m state --state INVALID -j DROP");
> +
> + ctrl_file = SYS_OUT("./xdp_synproxy --iface tmp1 --ports 8080 --single \
> + --mss4 1460 --mss6 1440 --wscale 7 --ttl 64");
That doesn't work for test_progs-no_alu32.
sh: line 1: ./xdp_synproxy: No such file or directory
https://github.com/kernel-patches/bpf/runs/6227226675?check_suite_focus=true#step:6:7380
and going to be fragile in general.
Could you launch it as a kthread or fork it
like other tests are doing ?
Powered by blists - more mailing lists