lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200123165934.9584-1-lmb@cloudflare.com>
Date:   Thu, 23 Jan 2020 16:59:29 +0000
From:   Lorenz Bauer <lmb@...udflare.com>
To:     Alexei Starovoitov <ast@...nel.org>,
        Daniel Borkmann <daniel@...earbox.net>,
        Martin KaFai Lau <kafai@...com>,
        Song Liu <songliubraving@...com>, Yonghong Song <yhs@...com>,
        Andrii Nakryiko <andriin@...com>
Cc:     Lorenz Bauer <lmb@...udflare.com>, netdev@...r.kernel.org,
        bpf@...r.kernel.org
Subject: [PATCH bpf 0/4] Various fixes for sockmap and reuseport tests

I noticed some rough edges while running the sockmap and reuseport tests in
a virtme environment. It only has a single CPU, and the root filesystem is
mounted read-only.

The cause for patch #2 is either the VM being slow because it only has a
single CPU. Patches #3-4 helped me narrow down the problem, so they are
probably useful for others as well.

Lorenz Bauer (4):
  selftests: bpf: use a temporary file in test_sockmap
  selftests: bpf: ignore RST packets for reuseport tests
  selftests: bpf: make reuseport test output more legible
  selftests: bpf: reset global state between reuseport test runs

 .../bpf/prog_tests/select_reuseport.c         | 44 ++++++++++++++++---
 .../bpf/progs/test_select_reuseport_kern.c    |  6 +++
 tools/testing/selftests/bpf/test_sockmap.c    | 15 +++----
 3 files changed, 50 insertions(+), 15 deletions(-)

-- 
2.20.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ