<html>
<head>
<base href="https://bugzilla.netfilter.org/" />
</head>
<body><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> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED WONTFIX - Define set of set with in ipset list:sets"
href="https://bugzilla.netfilter.org/show_bug.cgi?id=1687">bug 1687</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>NEW
</td>
<td>RESOLVED
</td>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>---
</td>
<td>WONTFIX
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED WONTFIX - Define set of set with in ipset list:sets"
href="https://bugzilla.netfilter.org/show_bug.cgi?id=1687#c6">Comment # 6</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED WONTFIX - Define set of set with in ipset list:sets"
href="https://bugzilla.netfilter.org/show_bug.cgi?id=1687">bug 1687</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 Phil Sutter from <a href="show_bug.cgi?id=1687#c5">comment #5</a>)
<span class="quote">> Just for clarification as I'm not sure where to pick you up:
>
> Pablo's example makes use of defines which resolve in user space (i.e., when
> parsing input. The three sets FR, MC and CH he defines merge into the geoip
> named set before the whole thing is applied in kernel space, creating a
> single
> set containing all the elements.</span >
No plans to support for this multi-lookup feature.
If you would like to know what country this IP belongs to, then you could
combine this with mark.
define FR = {
1.1.1.1 : 1,
}
define MC = {
2.2.2.2 : 2,
}
define CH = {
3.3.3.3 : 3,
}
table ip filter {
map geoip {
type ipv4_addr : mark
elements = { $FR, $MC, $CH }
}
}
In this example above, mark 1 corresponds to FR, mark 2 to MC and mark 3 to CH.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are watching all bug changes.</li>
</ul>
</body>
</html>