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] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAJpBn1zEzz4mM0eHxP32GtVTsvr+CgqZ93iZPCaap0hv35DSbQ@mail.gmail.com>
Date:   Fri, 6 Jul 2018 08:19:40 -0700
From:   Jakub Kicinski <jakub.kicinski@...ronome.com>
To:     Roman Mashak <mrv@...atatu.com>
Cc:     David Ahern <dsahern@...il.com>, stephen@...workplumber.org,
        oss-drivers@...ronome.com,
        Linux Netdev List <netdev@...r.kernel.org>,
        Simon Horman <simon.horman@...ronome.com>,
        Pieter Jansen van Vuuren 
        <pieter.jansenvanvuuren@...ronome.com>
Subject: Re: [PATCH iproute2-next] tc: m_tunnel_key: Add tunnel option support
 to act_tunnel_key

On Fri, Jul 6, 2018 at 6:32 AM, Roman Mashak <mrv@...atatu.com> wrote:
> Jakub Kicinski <jakub.kicinski@...ronome.com> writes:
>
>> From: Simon Horman <simon.horman@...ronome.com>
>>
>> Allow setting tunnel options using the act_tunnel_key action.
>>
>> Options are expressed as class:type:data and multiple options
>> may be listed using a comma delimiter.
>>
>>  # ip link add name geneve0 type geneve dstport 0 external
>>  # tc qdisc add dev eth0 ingress
>>  # tc filter add dev eth0 protocol ip parent ffff: \
>>      flower indev eth0 \
>>         ip_proto udp \
>>         action tunnel_key \
>>             set src_ip 10.0.99.192 \
>>             dst_ip 10.0.99.193 \
>>             dst_port 6081 \
>>             id 11 \
>>             geneve_opts 0102:80:00800022,0102:80:00800022 \
>>     action mirred egress redirect dev geneve0
>
> [...]
>
> Jakub, could you also add relevant tests for the new option in file
> $(kernel)/tools/testing/selftests/tc-testing/tc-tests/actions/tunnel_key.json?

We'll look into it!

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ