kubo/p2p
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
..
crypto Replace 'var * bytes.Buffer' with '\1 := new(bytes.Buffer)' 2015-05-26 23:18:04 +07:00
discovery mdns: use my fork of hashicorp/mdns 2015-05-29 01:30:44 +02:00
host protocolEOF: demoted EOF to Debug, kept the else as Warning 2015-04-28 10:32:55 +02:00
nat Reorged imports from jbenet/go-ipfs to ipfs/go-ipfs 2015-03-31 12:52:25 -07:00
net daemon option to optionally disable secio 2015-06-26 23:36:43 -07:00
peer move util.Key into its own package under blocks 2015-06-01 16:10:08 -07:00
protocol p2p/net/identify: clump addr observers into groups 2015-06-07 17:00:56 -07:00
test Replace Critical{,f} with Error{,f} 2015-06-18 10:03:57 +07:00