Commit Graph

224 Commits

Author SHA1 Message Date
Jeromy 9848eea32b fix some package.json fields 2015-11-16 16:49:11 -08:00
Jeromy 8acc21e88d Vendor in go-peerstream 2015-11-16 16:47:49 -08:00
Jeromy a9de494fe3 update multiaddr-filter 2015-11-16 16:41:23 -08:00
Jeromy 52a0925681 vendor go-ipfs-util 2015-11-15 21:15:23 -08:00
Jeromy ebd0a2dfb2 remove multiple multihash deps 2015-11-15 21:04:44 -08:00
Jeromy 4a64aae7c6 move testutil up 2015-11-15 19:59:59 -08:00
Jeromy 0c73722a91 vendor in notifier 2015-11-15 18:42:27 -08:00
Jeromy d4b42f8e45 fixes for sha3 2015-11-15 18:28:35 -08:00
Jeromy 8f79df770e vendor in gogo protobuf 2015-11-15 17:54:19 -08:00
Jeromy f3d96ac5db use only gogo protobuf 2015-11-15 17:44:56 -08:00
Jeromy 216db146ca more vendoring 2015-11-15 11:56:01 -08:00
Jeromy e142795053 remove dependency on key 2015-11-13 16:18:52 -08:00
Jeromy d68ac4ce4a add gitignore 2015-11-11 16:44:54 -08:00
Jeromy 51fd99e363 extract from 0.4.0 2015-11-11 16:19:51 -08:00
Juan Benet 5a0162c75f Merge pull request #2 from WeMeetAgain/patch-1
Update README.md
2015-10-02 06:28:43 -04:00
Cayman 9f1acc3551 Update README.md
remove duplicate word: project
2015-10-01 14:39:39 -07:00
Juan Batiz-Benet 339bbdaab9 util metrics 2015-09-30 19:24:18 -04:00
Juan Batiz-Benet 2392434b6d rewrote imports to p2p 2015-09-30 19:24:00 -04:00
Juan Batiz-Benet 5dd1bd5e72 added docs 2015-09-30 19:08:00 -04:00
Juan Batiz-Benet 885d86219e move to p2p dir 2015-09-30 18:42:55 -04:00
Jeromy 983ed327ce extract logging
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-09-14 17:35:50 -07:00
Jeromy 5d1b82954f cache nat port mappings for a short period of time
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-09-10 12:59:08 -07:00
Jeromy 78eb217249 WIP: quick fix to the NAT spam too many open fd's bug
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-09-10 12:45:36 -07:00
Jeromy 72696c9852 fix mock notification test
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-09-03 14:28:53 -07:00
rht c3858e87c1 Refactor FullMeshLinked and ConnectAll()
License: MIT
Signed-off-by: rht <rhtbot@gmail.com>
2015-08-28 17:39:05 +07:00
Jeromy 0f3e3fe264 replace nodebuilder with a nicer interface
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>

use NewNode instead of NewIPFSNode in most of the codebase

License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>

make mocknet work with node constructor better

License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>

finish cleanup of old construction method

License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>

blockservice.New doesnt return an error anymore

License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>

break up node construction into separate function

License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>

add error case to default filling on node constructor

License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-08-27 08:43:10 -07:00
rht fc3c6838fb Replace context.TODO in test files with context.Background
License: MIT
Signed-off-by: rht <rhtbot@gmail.com>
2015-08-23 19:55:45 +07:00
Pavol Rusnak 71ef02797c remove elliptic.P224 usage
Fedora/RedHat distros comply with US patent law and remove this curve,
which makes it impossible to run ipfs with distro provided Golang.

License: MIT
Signed-off-by: Pavol Rusnak <stick@gk2.sk>
2015-08-03 16:41:10 +02:00
Jeromy c65f633de1 fix same test in swarm
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-07-22 16:15:50 -07:00
Jeromy 57e6cb40bd fix race condition in notifications test
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-07-22 14:38:13 -07:00
Juan Benet 1879bb06e6 Merge pull request #1471 from heems/master
add transport from netsim and bandwidth to mocknet
2015-07-19 23:36:25 -07:00
Jeromy dff9366ef9 make timing tests actually not run under CI
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-07-19 16:11:06 -07:00
Karthik Bala 536c183b37 add transport logic to mocknet
License: MIT
Signed-off-by: Karthik Bala <karthikbala444@gmail.com>
2015-07-15 19:36:15 -07:00
Juan Batiz-Benet 034d422d3f Merge pull request #1473 from ipfs/godep-peerstream
update go-peerstream to newest version
2015-07-14 21:29:38 -07:00
Jeromy 7b6ff6f13c update go-peerstream to newest version
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-07-14 16:23:30 -07:00
Jeromy aae565ae89 making the daemon shutdown quicker
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-07-14 14:04:56 -07:00
Jeromy 5140ff6ba1 make ping its own protocol
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-07-13 19:19:25 -07:00
Juan Batiz-Benet cbbbda109a expose internal/pb packages.
we shouldn't use internal packages.

License: MIT
Signed-off-by: Juan Batiz-Benet <juan@benet.ai>
2015-07-10 11:08:49 -07:00
rht 0c742fd960 Make sure process context is set last
License: MIT
Signed-off-by: rht <rhtbot@gmail.com>
2015-07-05 09:35:36 +07:00
rht 2a7f53f790 Use WithContextAndTeardown whenever possible
License: MIT
Signed-off-by: rht <rhtbot@gmail.com>
2015-07-05 09:19:06 +07:00
rht 316ba886a9 Change Process interface into object variable
License: MIT
Signed-off-by: rht <rhtbot@gmail.com>
2015-07-04 22:50:23 +07:00
rht e2481a24f3 Replace ctxgroup.ContextGroup -> goprocess.Process
License: MIT
Signed-off-by: rht <rhtbot@gmail.com>
2015-07-04 22:50:23 +07:00
Juan Batiz-Benet 8ad672a767 Merge pull request #1433 from ipfs/fix/addr-filter
add filters from config to addr filter in swarm
2015-07-02 17:00:36 -07:00
Lars Gierth bafe1b04fe swarm: fix peers_total metric
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2015-07-01 21:59:08 +02:00
Jeromy 1c1e389d89 add command to manipulate address filters and a sharness test for them
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-06-30 18:25:34 -07:00
Jeromy c5cdd981e2 add filters from config to addr filter in swarm
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-06-30 15:03:56 -07:00
Lars Gierth 910ebfe9a5 swarm: export ipfs_p2p_peers_total metric
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2015-06-30 16:32:46 +02:00
Juan Batiz-Benet dae8ff49a1 fix swarm notif tests
they were failing intermittently

License: MIT
Signed-off-by: Juan Batiz-Benet <juan@benet.ai>
2015-06-27 00:41:19 -07:00
Juan Batiz-Benet 1cef084e57 mock: fix notif test
License: MIT
Signed-off-by: Juan Batiz-Benet <juan@benet.ai>
2015-06-27 00:18:12 -07:00
Juan Batiz-Benet 19f3395231 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