I really would love to see a configuration file example please!

- for example for the socket, do you recommend:
UNIXPATH = /tmp/gnunet-service-transport.sock

but then for which peer(s)

- I doubt for the second point

- Could you tell me how please?

- I am confused

- I have already set http://localhost:8080/ . Should I do same for the
second peers peer2.conf please?


Le sam. 14 déc. 2024 à 21:01, gogo gogo <[email protected]> a écrit :

> Hi maxime,
>
> I think there is already an official doc I was referring to
> https://docs.gnunet.org/latest/developers/tutorial.html#how-to-connect-manually
> and this is where I am stuck.
>
> Could you provide a configuration file example please?
>
> Le sam. 14 déc. 2024 à 18:12, Maxime Devos <[email protected]> a
> écrit :
>
>> If you wish to start multiple peers on one machine, you probably need to
>> adjust the configuration more.
>>
>>
>>
>>    - If things are still the same as when I last worked with this (and
>>    IIRC), some things are _*outside*_ GNUNET_HOME. There are some
>>    sockets … somewhere (I think under /tmp? Not sure where.). So, GNUnet 
>> might
>>    be getting confused from this.
>>    - Maybe wait a few seconds after doing ‘gnunet-arm […] -s’, instead
>>    of the &&. Maybe the TCP or UDP transports haven’t choosen a port yet? I’m
>>    not sure this is how it works though – not familiar with this, this is
>>    speculation.
>>    - I’m not sure if UDP ports are choosen automatically. If they
>>    aren’t, then there might be some kind of port conflic. In case of UDP
>>    (unidirectional), then the peers would be unable to verify each others
>>    existence.
>>    - Even if they are choosen automatically, this automation probably
>>    had NAT-punching in mind, not this.
>>    - For an isolated network, I think you also need to tell GNUnet to
>>    bind to ‘localhost’ instead of everything.
>>
>>
>>
>> It would be nice to have official documentation on setting up this kind
>> isolated one-machine, multiple peers network. It seems quite convenient for
>> safely testing things out. (Though for full isolation, a ‘unix’ transport
>> would be needed.)
>>
>>
>>
>> Best regards,
>> Maxime Devos
>>
>

Reply via email to