[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

4.4 How Zone Gating works for echomail and what seen-bys is stripped

We have EchoArea with links from zone1 & zone2. Echo->useAka with zone2. Defined by "-a " or the by the first Echo->address from config if not defined in EchoArea line.

Program algorythm:

1.
check pkt zone address
2.
split links in to groups: with (pktaddr.zone == linkaddr.zone) and (pktaddr.zone != linkaddr.zone)
3.
send msg to first group of links (their aka adding to seen-bys and echo->useAka too if not in seen-bys yet)
4.
if (pktaddr.zone != echo->useAka.zone) seen-bys cleaned.
5.
send msg to second group of links (their aka adding to seen-bys and echo->useAka too if not in seen-bys yet)
6.
store msg in msgbase

Examples:

a) msg comes from z1. for z1 links we sending seen-bys with z2 nodes. but z1 links must clean seen-bys by themselves (this is z2 echo) or download this echo from z1 link. after that seen-bys cleaned and msg forwarded to z2 links. in the msgbase seen-bys from z2 links only.

b) msg comes from z2. forward it to z2 links. then forward to z1 links. seen-bys not cleaned: this is z2 echo and z1 links must clean it by themselves or receive echo from z1 link. store in msgbase with all seen-bys from z1 & z2 nodes.

c) scan works the same: first sending to z2 links, adding to seen-by's z1 links and export to them.



This document was generated by Pavel Andreew on August, 28 2002 using texi2html