WIDEn-N when N exceeds hoplimit... Seems to me there is nothing wrong with sending a W5-5 packet if the network will trap it once it gets to W5-2(hop count3). This doesn't work well with the kpc3's trapping method, but should be permitted. :-/
As for Wn-N where N>n .... Anyone who uses a path of WIDE1-7 is trying to beat the KPC digpeaters. Don't allow. Also, in the case WIDEn-N where n-N>hoplimit, don't digipeat. Wide 7-4 has already been 3 hops, so don't digipeat if hoplimit =3 It should be smart enough to add up all hops in path and not digipeat based on total hops. This will trap the jokers who use WIDE3-3,WIDE3-3,WIDE3-3 in their paths. The point to hop limts is to protect the network, so figure out how folks can beat the kpc3's and make sure those holes are closed. In retrospect, it would have been nice to have the hop count start at 0 and go up. That would have made hoplimits so much easier. Hey, tongue in cheek question.... since the -n numbers are negative (right??? lol) they don't actually decrement.... they increment towards 0. So can we use a path of WIDE7-7 and have it go right past 0 into positive numbers... ie WIDE7+2, WIDE7+3, etc.... lol. Wes On Mon, Nov 16, 2009 at 12:16, Scott Miller <[email protected]> wrote: > Ok, time to get this hashed out. The current digipeating algorithm > follows. I'm aware of two issues that need to be resolved: > > 1. Handling of WIDEn-N when N exceeds HOPLIMIT. Currently ignores 'n' > and caps 'N' at HOPLIMIT. Some folks want to drop longer paths > entirely, some just want the cap. Some want to cap based on total hops. > > 2. WIDE1-1 handling. Setting ALIAS to WIDE1 and HOPLIMIT to 0 should do > it, but it'll still respond to WIDE1-anything. > > Here's the algorithm: > > For each digipeater address field in packet: > > -If address field is marked as used, skip this address > > -If this is the first unused address > AND address is my callsign > AND DIGI is ON: > --Mark address as used > --Add to dupe list > --Queue for retransmission and exit > > -For each enabled entry in the alias list: > > --If this is not the first unused address > AND preemption is disabled, skip this alias > > --If the address is an exact match (less SSID): > ---Substitute our callsign if 'ID' is ON > ---Mark address field as used > ---Add to dupe list > ---Queue for retransmission and exit > > --If alias hoplimit is non-zero and prefix matches: > ---Skip if 'n' suffix is not a number > ---Skip if SSID (N) is zero > ---If SSID > hoplimit, set SSID to hoplimit > ---Decrement SSID > ---Insert our callsign if 'ID' is ON > ---If SSID = 0, mark address as used > ---If using preemption, mark all previous addresses as used > ---Add to dupe list > ---Queue for retransmission and exit > > Scott > > > ------------------------------------ > > Yahoo! Groups Links > > > > -- Wes --- God help those who do not help themselves.
