Pablo Neira Ayuso wrote:
Patrick McHardy wrote:
I see. That kind of makes sense, but if you're running a
synchronization daemon anyways, you might as well renumber
all nodes so you still have proper balancing, right?
Hm, I was not replying to your question ;). Right, the renumbering also
requires getting the states back to the original node. We can use the
same hashing approach in userspace to know which states belong to
original node that has come back to life when it requests a
resynchronization.
Indeed, the daemon may also add a new rule for the node that has gone
down but that results in another extra hash operation to mark it or not
(one extra hash per rule) :(.
This is not true. We may have something like this (assuming two nodes):
if no mark set and hash % 2 == 0, accept
if no mark set and hash % 2 == 1, accept
if no mark set, drop
So we can still do this adding rules with the iptables interface. But
still having the /proc looks like a simple interface for this.
--
"Los honestos son inadaptados sociales" -- Les Luthiers
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html