when i say two hosts i say some thing like this:
...@85.34.5.6.7.8(Real internet IP):127.0.0.1:7575(NAT IP behind a router).
Doing that i can just set the GID without using DynDNS, for example. Ok, we still have the problem with dynamic IP, but i think that the problem with NAT is resolved, what you think?
About the code, yes, i want to help! :)
Regards,
Matheus S. Lima
Bacharelado em Ciência da Computação
Universidade Federal de São Carlos
--- Em sex, 24/12/10, Cyrus Pencroff <dele...@gmail.com> escreveu:
Hi, in fact, about security, expose local IP is not a good idea, but can make more easy to add friends node without using other methods to find the specific user IP. I have see one project named Retroshare, he use the friend-to-friend concept too, he create a PGP key public, that you have to send and received to the friend node. In this text file, exist the hashed key, that is unique, and the internet ip, local ip and the port in use. After user has exchanged this text, the link is established. For the user, NAT is invisible. About the GID: ExampleFriend@7002d187e4f190af535e4dbf79a66063d5b8a367@192.168.0.55,89.123.45.67:7755 I think that can be a way of do that, Gazzera can create a GID which have the information need to pass over NAT, without help. The problem with broadcast is, if we doing that, maybe the user don't want to be exposed like that way for other computer, even in local network. The use of that modified GID can resolve that too, i can add node from the internet and local too just the ones i want(Ok, both nodes will have to use internet to talk, but work in Retroshare). About the code, thanks for share :) Regards |
Matheus S. Lima Bacharelado em Ciência da Computação Universidade Federal de São Carlos |
--- Em ter, 28/12/10, Cyrus Pencroff <dele...@gmail.com> escreveu: |
Cyrus, do you have anything to need help in project? What you think about the nat? |
Regards, Matheus S. Lima Bacharelado em Ciência da Computação Universidade Federal de São Carlos |
--- Em ter, 28/12/10, Cyrus Pencroff <dele...@gmail.com> escreveu: |
|
Data: Terça-feira, 28 de Dezembro de 2010, 13:52 |