Open GoogleCodeExporter opened 8 years ago
I can add option that will trigger listening on all available NICs, but still i
don't think it will solve your problem in 100%. The option you really want is
selection of what IP add to invitation code. For now 'LAN mode' (old lan
support) is same as adding localIP to invitation code , if it's not selected
then all invitation code will be created with externalIP. We plan to move that
option to 'just before' creating invitations (tbh it should be there in first
place). Problem will be with user info refreshing because actual code can't
tell if connection is from LAN or WAN.
Original comment by Bastv...@gmail.com
on 29 Jun 2010 at 9:20
Here is how to determine a private IP by looking at it
http://en.wikipedia.org/wiki/Private_network
Example of RetroShare:
User: John Doe
IP(s): 192.168.0.121, 84.11.23.152
Now settings.xml could store something like:
<friend guid="0000000000" nickname="John Doe" lanhost="192.168.0.121" wanhost="84.11.23.152, 83.114.12.54" lastseenonlineat="1276547252054" port="27561" trusted="1" />
Note the last wan hosts are stored in wanhost (primary, secondary). Suitable
for laptops on several locations. When joining one of my friends LAN I could
easily detect him on the private network.
The invitation codes could stay the way they are. Once successfully connected,
extended data could be exchanged with remote client.
Original comment by info%tim...@gtempaccount.com
on 29 Jun 2010 at 10:33
This will be done in some time. Maybe i wasn't clear with "can't tell if
connection is from LAN or WAN". It's not about IP but it doesn't matter any
more because I've found solution.
'The invitation codes could stay the way they are. Once successfully connected,
extended data could be exchanged with remote client.'
That's how Alliance works.
WAN history is good idea.
Original comment by Bastv...@gmail.com
on 29 Jun 2010 at 11:12
I am delighted to hear that response.
Original comment by info%tim...@gtempaccount.com
on 29 Jun 2010 at 11:23
Original comment by Deathfi...@gmail.com
on 22 Aug 2010 at 9:32
Original issue reported on code.google.com by
info%tim...@gtempaccount.com
on 29 Jun 2010 at 2:01