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-prev] [day] [month] [year] [list]
Date:   Fri, 22 Mar 2019 18:43:15 -0700
From:   Alexei Starovoitov <alexei.starovoitov@...il.com>
To:     Peter Oskolkov <posk@...gle.com>
Cc:     Alexei Starovoitov <ast@...nel.org>,
        Daniel Borkmann <daniel@...earbox.net>, netdev@...r.kernel.org,
        bpf@...r.kernel.org, Peter Oskolkov <posk@...k.io>
Subject: Re: [PATCH bpf-next 2/2] selftests: bpf: tc-bpf flow shaping with EDT

On Fri, Mar 22, 2019 at 04:40:19PM -0700, Peter Oskolkov wrote:
> Add a small test that shows how to shape a TCP flow in tc-bpf
> with EDT and ECN.
> 
> Signed-off-by: Peter Oskolkov <posk@...gle.com>
...
> +ip netns exec ${NS_SRC} bash -c "timeout ${TIMEOUT} dd if=/dev/zero \
> +	bs=1000 count=1000000 > /dev/tcp/${IP_DST}/9000 2>/dev/null"

just noticed this trick here and in lwt. Didn't know bash can do it. Nice!

Applied to bpf-next. thanks!

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ