kubo/p2p/net/conn
Juan Batiz-Benet e37fefdfd3 daemon option to optionally disable secio
This commit adds an option to turn off all encryption. This is a mode
used for tests, debugging, achieving protocol implementation interop,
learning about how the protocol works (nc ftw), and worst case
networks which _demand_ to be able to snoop on all the traffic.
(sadly, there are some private intranets like this...). (We should
consider at least _signing_ all this traffic.)

Because of the severity of this sort of thing, this is an
all-or-nothing deal. Either encryption is ON or OFF _fully_.
This way, partially unencrypted nodes cannot be accidentally left
running without the user's understanding. Nodes without encrypted
connections will simply not be able to speak to any of the global
bootstrap nodes, or anybody in the public network.

License: MIT
Signed-off-by: Juan Batiz-Benet <juan@benet.ai>
2015-06-26 23:36:43 -07:00
..
conn_test.go Reorged imports from jbenet/go-ipfs to ipfs/go-ipfs 2015-03-31 12:52:25 -07:00
conn.go move util.Key into its own package under blocks 2015-06-01 16:10:08 -07:00
dial_test.go net/p2p + secio: parallelize crypto handshake 2015-05-12 05:54:09 -04:00
dial.go daemon option to optionally disable secio 2015-06-26 23:36:43 -07:00
interface.go daemon option to optionally disable secio 2015-06-26 23:36:43 -07:00
listen.go daemon option to optionally disable secio 2015-06-26 23:36:43 -07:00
reuseport.go reuseport: env var to turn it off 2015-04-08 00:19:12 -07:00
secure_conn_test.go net/p2p + secio: parallelize crypto handshake 2015-05-12 05:54:09 -04:00
secure_conn.go net/p2p + secio: parallelize crypto handshake 2015-05-12 05:54:09 -04:00