From: SourceForge.net <no...@so...> - 2004-09-28 18:03:52
|
Bugs item #1035428, was opened at 2004-09-27 12:41 Message generated for change (Comment added) made by zooko You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=436453&aid=1035428&group_id=43482 Category: Network / EGTP Group: v0.6.2 Status: Open Resolution: None Priority: 7 Submitted By: Zooko O'Whielacronx (zooko) Assigned to: Zooko O'Whielacronx (zooko) Summary: relay server loop Initial Comment: I have a relay server that is behind relay. It sometimes gets into a loop where it sends msg to itself asking itself to "pass this along", then receives the message, then wraps it in another layer of encryption and sends it to itself again. ---------------------------------------------------------------------- >Comment By: Zooko O'Whielacronx (zooko) Date: 2004-09-28 13:26 Message: Logged In: YES user_id=52562 Well, that's a good question. There are a few ways why you might want to do that, but they aren't common. For example, maybe node A can talk to relay server B but can't talk to relay server C. Maybe node D can talk to relay server C but can't talk to relay server B. Then D could send to A via B via C. Part of my motivation for doing it the "loop prevention" way instead of the "don't use a relay behind relay" way is that I've already implemented the loop prevention, and since it doesn't work that means there's a bug in what I wrote. :-) But another reason is that your node can't control what other nodes do. Suppose your node tells me "If you want to talk to me, send to relay server B.". I try to send to relay server B, and I find out that "If you want to talk to relay server B, send to relay server C.". Well, in my opinion, my node should go ahead and send to relay server C. It can't hurt (as long as B and C do proper loop-prevention). Maybe B's internet connection has fluctuated, and he is normally directly reachable, but for the next five minutes he isn't directly reachable so we use relay server C for the next five minutes. What do you think? ---------------------------------------------------------------------- Comment By: Arno Waschk (arnowa) Date: 2004-09-28 11:36 Message: Logged In: YES user_id=642335 hm, i do not understand... who is helped by a relay server behind a relay? why should one want to enable that? ---------------------------------------------------------------------- Comment By: Zooko O'Whielacronx (zooko) Date: 2004-09-27 15:46 Message: Logged In: YES user_id=52562 I don't want to disable relay server behind relay -- I want to fix the "prevent looping relay" code. I agree about v0.6.2 -- it was my mistake that I put it in v0.6.3. ---------------------------------------------------------------------- Comment By: Arno Waschk (arnowa) Date: 2004-09-27 15:43 Message: Logged In: YES user_id=642335 Yeah, we need to disable relay server as soon as it find itself behind relay. I guess that one is worth being put into 0.6.2 group. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=436453&aid=1035428&group_id=43482 |