What is NAT traversal? And how to remove the encryption feature? #18
-
Beta Was this translation helpful? Give feedback.
Replies: 6 comments
-
Hi @DaniellMesquita. Practically, NAT traversal means solving the problem of NOT having a public IP address. Without such a public IP, your computer can't be accessed directly from the internet - i.e. no incoming connections simply because your computer can't be uniquely identified on the internet. IPFS solves this by connecting your computer to a publicly accessible computer and asking it to forward certain incoming connections to your computer. Read more about it here. Vanilla IPFS and its Pubsub have no encryption. But a chat must be secure. Hence IPFS-Chat's encryption can't be disabled. Why would you require removing encryption, what is your use case? [If you need to share unencrypted files, just add them to IPFS with |
Beta Was this translation helpful? Give feedback.
-
Thanks for your detailed answer.
Interesting. So this is a feature inherent of IPFS; makes sense.
I fear it couldn't be decrypted by powerful bodies when users engage on unlawful activities, such as extremist groups. I'm developing CommonChain, which like blockchain, is a merkle tree system; but different than blockchain, it serves other purpose: collectively verifying a centralized URL, matching with its IPFS version. It will enable, for example, to still access a NFT's content even when the centralized servers (such as Imgur) aren't anymore available. And pubsub will be essential for it. And your chat would be useful to integrate in my GUI chat app (Communicator), but I fear how its encryption feature could turn problematic. |
Beta Was this translation helpful? Give feedback.
-
@DaniellMesquita
That's a legitimate fear. On the flip side however, the uncompromising privacy makes it possible to exchange sensitive information with peace of mind - be it government intel, political views or confidential files.
I share your views about Bash. The low barrier to entry is indeed one of the reasons IPFS-Chat is in Bash. Makes it possible even for non-coders and newcomers to inspect the code, at least get a feel of what they are using. Helps them become more confident about the app.
My best wishes to you 👍 |
Beta Was this translation helpful? Give feedback.
-
Yes! That's why I don't like React and other similar frameworks. Javascript is a language you don't need to compile. The source-code is also the compilation, ready for use. |
Beta Was this translation helpful? Give feedback.
-
Are files unencrypted on-disk? |
Beta Was this translation helpful? Give feedback.
-
@DaniellMesquita
Yes. Files are only encrypted during transit across the network - so no one can peek. Encryption-decryption is fully managed by IPFS-Chat - behind the screens. The chat-buddies see the unencrypted files only. |
Beta Was this translation helpful? Give feedback.
Hi @DaniellMesquita.
Practically, NAT traversal means solving the problem of NOT having a public IP address. Without such a public IP, your computer can't be accessed directly from the internet - i.e. no incoming connections simply because your computer can't be uniquely identified on the internet. IPFS solves this by connecting your computer to a publicly accessible computer and asking it to forward certain incoming connections to your computer. Read more about it here.
Vanilla IPFS and its Pubsub have no encryption. But a chat must be secure. Hence IPFS-Chat's encryption can't be disabled. Why would you require removing encryption, what is your use case? [If you need to share unencrypte…