<html>
<head>
<base href="https://bugzilla.netfilter.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - nftables - dynamic update for verdict map from the packet path"
href="https://bugzilla.netfilter.org/show_bug.cgi?id=1736#c15">Comment # 15</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - nftables - dynamic update for verdict map from the packet path"
href="https://bugzilla.netfilter.org/show_bug.cgi?id=1736">bug 1736</a>
from <span class="vcard"><a class="email" href="mailto:pablo@netfilter.org" title="Pablo Neira Ayuso <pablo@netfilter.org>"> <span class="fn">Pablo Neira Ayuso</span></a>
</span></b>
<pre>(In reply to Pablo Neira Ayuso from <a href="show_bug.cgi?id=1736#c14">comment #14</a>)
<span class="quote">> table ip loadbalancer {
> map affinity-mappings {
> type ipv4_addr : ipv4_addr
> size 65535
> flags dynamic,timeout
> timeout 4m
> }
>
> chain candidate-endpoint-1 {
> update @affinity-mappings { ip saddr counter : 11.0.2.1 }
> }
>
> chain candidate-endpoint-2 {
>
> update @affinity-mappings { ip saddr counter : 11.0.2.2 }
> }
>
> chain service-ABC {
>
> numgen random mod 2 vmap { 0 : goto candidate-endpoint-1, 1
> : goto candidate-endpoint-2 }
> meta l4proto tcp dnat to ip saddr map @affinity-mappings :
> 5001
> }
>
> }</span >
This should be 'jump' not 'goto' BTW, so the dnat lookup happens after
refreshing @affinity-mappings.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are watching all bug changes.</li>
</ul>
</body>
</html>