[mnet-devel] Re: MT setup
Arno Waschk
hamamatsu at gmx.de
Thu Dec 4 20:47:45 GMT 2003
yeah, that is cool a hint. is that in the docs somewhere?
On 4 Dec 2003 12:37:05 -0500, Zooko O'Whielacronx <zooko at zooko.com> wrote:
>
> Hey waitasecond -- where is the public key and IP address of your MT? It
> should be in this phonebookentry dict, but it isn't:
>
> here comes my infodict
> {'services': [{'publishing allowed': 'true', 'type': 'block server'},
> {'type': 'meta tracker'}], 'platform': 'win32', 'sequence num': 8, 'node
> version': '0.7.0.105-UNSTABLE', 'pyver': '2.3.2 (#49, Oct 2 2003,
> 20:02:00) [MSC v.1200 32 bit (Intel)]'}
> there went my infodict
>
> I suppose this is because your IP address isn't routeable. Hm..
> Looking in
> TCPCommsHandler I see that there is a flag to allow non-routeable IP
> addresses, passed in by ListenerManager. I see that ListenerManager got
> that
> flag from MojoTransactionManager. Looking in MojoTransactionManager I
> see
> that it got that flag from egtp.Node. Looking in egtp.Node I see that
> it gets
> that flag passed in when the egtp.Node is constructed. Looking in
> mnetlib/scripts/startup.py, I see this code:
>
> allownonrouteableip =
> confutils.is_true_bool(self.confdict.get("ALLOW_RFC1918_IP", 'no'))
>
> Node.Node.__init__(self, self.peerset, lookupman=lm, discoveryman=dm,
> datadir=datadir, nodeId=nodeId,
> allownonrouteableip=allownonrouteableip,
> clientversion=clientversion, kbps_in=kbps_in, kbps_out=kbps_out,
> listen_port=listen_port, announce_ip=announce_ip)
>
> So put "ALLOW_RFC1918_IP: true" into your node.conf file and try again!
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: IBM Linux Tutorials.
> Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
> Free Linux Tutorials. Learn everything from the bash shell to sys admin.
> Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
> _______________________________________________
> mnet-devel mailing list
> mnet-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mnet-devel
>
--
www.arnowaschk.de
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
Free Linux Tutorials. Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
mnet-devel mailing list
mnet-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mnet-devel
More information about the Mnet-devel
mailing list