(migrating from chat) On Thu, 27 Apr 2000, Brandon wrote: > > This is what I refer to as a shy node. It would only talk to nodes it was > > initiated with on it's list. Nodes that it talked to would have to > > recognize the > > shyness of the node somehow and know to always reset the DataSource of all > > messages they got from a shy node before passing it on, and the shy node > > would > > This could be done with an option or Option or TransportOption or somesuch > thing to notify another node that you are shy.
It doesn't really matter where it is done, but I think dot notation would be pretty useful here: DataSource.Shy=true Since the HandshakeHandler is pluggable, the easiest way to make shy work within the current framework is probably to have a StaticHandshakeHandler that gives false on getHandshake from any node not on the approved list. There would also need to be a call to it in the AcceptConnections class, but that should not be a problem (one could add an approveConnection() method to the HandshakeHandler interface, for the StandardHandshakeHandler it could always return true). > > is not that hard to implement on an IP basis, so if you feel it is a good > > feature... > > I think it's a great feature. > > > _______________________________________________ > Freenet-chat mailing list > Freenet-chat at lists.sourceforge.net > http://lists.sourceforge.net/mailman/listinfo/freenet-chat -- Oskar Sandberg md98-osa at nada.kth.se #!/bin/perl -sp0777i<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<j]dsj $/=unpack('H*',$_);$_=`echo 16dio\U$k"SK$/SM$n\EsN0p[lN*1 lK[d2%Sa2/d0$^Ixp"|dc`;s/\W//g;$_=pack('H*',/((..)*)$/) _______________________________________________ Freenet-dev mailing list Freenet-dev at lists.sourceforge.net http://lists.sourceforge.net/mailman/listinfo/freenet-dev
