<nicolagreco>
daviddias: if only I could stay up to date with all the things you are doing..!
<nicolagreco>
I just realized you have a peer-book (simil github.com/nicola/js-peer-set)
<dignifiedquire>
daviddias: today is the day I add bitswap to js-ipfs
Arakela0_ has quit [Remote host closed the connection]
jhiesey has quit [Ping timeout: 244 seconds]
jhiesey_ is now known as jhiesey
<daviddias>
dignifiedquire: rad :D
Arakela007 has joined #ipfs
hsanjuan_ has joined #ipfs
<daviddias>
I'm getting that bitswanNetworkSpawn thing for you
<daviddias>
only need to leave at 6pm
<daviddias>
will have it ready before then :)
hsanjuan has quit [Ping timeout: 244 seconds]
hsanjuan_ is now known as hsanjuan
<daviddias>
nicolagreco: :D
<nicolagreco>
I have to remake the stuff that I am doing I guess
<daviddias>
remake?
cemerick has quit [Ping timeout: 250 seconds]
<daviddias>
peerBook is something js-ipfs uses to store peerInfos, libp2p doesn't use it directly
insanity54 has quit [Ping timeout: 276 seconds]
zorglub27 has joined #ipfs
<nicolagreco>
daviddias: sorry I meant refactor, with cyclon & family I need to have a partialView (in other words a set of peers) from which I can sample and so on, I would prefer to use the peer-book than my piece (and take away something like "sample") which I can build on top
<nicolagreco>
also daviddias what is the difference between `swarm.dial` and get the `conn` and `swarm.openStream` ?
<daviddias>
the next time you swarm.dial, it will just pop a new multiplexed stream
<nicolagreco>
ok so I can safely say conn.end() like in the example
<nicolagreco>
how do I force ending an actual connection
lispmeister has joined #ipfs
<nicolagreco>
I think what we call `conn` is actually a `stream` and what really `conn` is is the multistream (at leas the way I understood it)
s_kunk has joined #ipfs
corvinux has quit [Ping timeout: 252 seconds]
<daviddias>
stream muxer !== multistream
<daviddias>
multistream is our protocol muxing
<daviddias>
stream muxer is stream muxing
<daviddias>
to actually end
<daviddias>
you can ".close" that muxer
<daviddias>
or if you want to close swarm all together
<daviddias>
you can do swarm.close
<daviddias>
and it will close every transport and every muxer
zorglub27 has quit [Ping timeout: 246 seconds]
<daviddias>
dignifiedquire: do you have a rough ceiling of how many bitswaps would you like to spawn for a regular, local, test?
zz_r04r is now known as r04r
<dignifiedquire>
daviddias: I would like to have at least one test with > 100 nodes
<daviddias>
dignifiedquire: sounds good. There is a tiny restriction to 2000 at the moment (could be easily expanded), but I'm concerned about the time that will take to spawn all of these
<nicolagreco>
thanks daviddias
<dignifiedquire>
daviddias: that should be totally fine for now, we can worry about that later
rendar has joined #ipfs
<daviddias>
what abou inMemory repo vs fs repo, will the tests gen more than 1Gb?
<nicolagreco>
daviddias: this is last time to bother, since I will actually head to sleep
<dignifiedquire>
daviddias: is there a remove version of swarm.handle?
poly has joined #ipfs
<poly>
hey, excuse me if this is a dumb question, I just learned about IPFS recently. What stops a DOS attack against the network? Can't anyone just upload several terabytes from /dev/random and overwhelm the network?
<daviddias>
dignifiedquire: no, but now that you ask, seems like we should have
<dignifiedquire>
daviddias: yes
<daviddias>
yet, not sure if there is a good use case for it right now
<daviddias>
you should not have two endpoints listening on the same protocol
<daviddias>
s/endpoints/handlers
<daviddias>
(adding that feature eitherway)
corvinux has joined #ipfs
corvinux has quit [Changing host]
corvinux has joined #ipfs
<dignifiedquire>
daviddias: I have the usecase that I need to cleanup these things when doing a bitswap.stop
<daviddias>
right, because there might be a bitswap.start after too
afisk has joined #ipfs
<dignifiedquire>
daviddias: I got it workig :)
<daviddias>
the full thing?
<dignifiedquire>
daviddias: to js-ipfs nodes exchaning a block
<dignifiedquire>
*two
afisk has quit [Ping timeout: 250 seconds]
<dignifiedquire>
found bugs everyhwhere and preparing prs now
akkad has quit [Ping timeout: 246 seconds]
IlanGodik has quit [Quit: Connection closed for inactivity]
<daviddias>
awesome! :D
<daviddias>
q
akkad has joined #ipfs
computerfreak has joined #ipfs
Guest43915 has joined #ipfs
Guest43915 is now known as rajabose
leer10 has quit [Ping timeout: 260 seconds]
cryptix has joined #ipfs
Arakela007 has quit [Remote host closed the connection]
Arwalk has quit []
ghtdak has quit [Ping timeout: 246 seconds]
ghtdak has joined #ipfs
Combined2857 has joined #ipfs
Combined2857 has quit [Changing host]
Combined2857 has joined #ipfs
Aeon has quit [Ping timeout: 240 seconds]
Aeon has joined #ipfs
Aeon has quit [Changing host]
Aeon has joined #ipfs
zorglub27 has joined #ipfs
poly_ has joined #ipfs
<ipfsbot>
[js-ipfs] dignifiedquire created feat/bitswap (+1 new commit): https://git.io/vwAhO
<ipfsbot>
js-ipfs/feat/bitswap abbddaa Friedel Ziegelmayer: start integration of bitswap
poly has quit [Ping timeout: 244 seconds]
rgrinberg has joined #ipfs
Senji has joined #ipfs
afisk has joined #ipfs
PrinceOfPeeves has joined #ipfs
ecloud has quit [Ping timeout: 240 seconds]
Akaibu has joined #ipfs
afisk has quit [Ping timeout: 276 seconds]
ecloud has joined #ipfs
cemerick has joined #ipfs
<voxelot>
dignifiedquire: your rebase is fun
martinkl_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mattronix has quit [Ping timeout: 252 seconds]
<dignifiedquire>
voxelot: just for you ;)
mattronix has joined #ipfs
<ipfsbot>
[js-ipfs] nginnever pushed 1 new commit to files-core: https://git.io/vwxvA
<ipfsbot>
js-ipfs/files-core 1b5d6bc nginnever: rebase
<pinbot>
now pinning /ipfs/QmXiK42dJM1JUgX2Z3G9AtXvjpn1DKzUAZG67eGab2R1Hj
<daviddias>
voxelot: do you think you can create a test on libp2p-swarm that replicates the 'spdy socket hangup' behaviour?
<pinbot>
[host 4] failed to grab refs for /ipfs/QmXiK42dJM1JUgX2Z3G9AtXvjpn1DKzUAZG67eGab2R1Hj: Post http://[fc3d:9a4e:3c96:2fd2:1afa:18fe:8dd2:b602]:5001/api/v0/refs?arg=/ipfs/QmXiK42dJM1JUgX2Z3G9AtXvjpn1DKzUAZG67eGab2R1Hj&encoding=json&stream-channels=true&r=true&: dial tcp [fc3d:9a4e:3c96:2fd2:1afa:18fe:8dd2:b602]:5001: getsockopt: connection timed out
<pinbot>
[host 7] failed to grab refs for /ipfs/QmXiK42dJM1JUgX2Z3G9AtXvjpn1DKzUAZG67eGab2R1Hj: Post http://[fcdf:a296:afe3:7118:4135:cc0b:ff92:4585]:5001/api/v0/refs?arg=/ipfs/QmXiK42dJM1JUgX2Z3G9AtXvjpn1DKzUAZG67eGab2R1Hj&encoding=json&stream-channels=true&r=true&: dial tcp [fcdf:a296:afe3:7118:4135:cc0b:ff92:4585]:5001: getsockopt: connection timed out
<pinbot>
[host 6] failed to grab refs for /ipfs/QmXiK42dJM1JUgX2Z3G9AtXvjpn1DKzUAZG67eGab2R1Hj: Post http://[fc29:9fda:3b73:c1d2:9302:31e3:964c:144c]:5001/api/v0/refs?arg=/ipfs/QmXiK42dJM1JUgX2Z3G9AtXvjpn1DKzUAZG67eGab2R1Hj&encoding=json&stream-channels=true&r=true&: dial tcp [fc29:9fda:3b73:c1d2:9302:31e3:964c:144c]:5001: getsockopt: connection timed out
<pinbot>
[host 5] failed to grab refs for /ipfs/QmXiK42dJM1JUgX2Z3G9AtXvjpn1DKzUAZG67eGab2R1Hj: Post http://[fcd8:a4e5:3af7:557e:72e5:f9d1:a599:e329]:5001/api/v0/refs?arg=/ipfs/QmXiK42dJM1JUgX2Z3G9AtXvjpn1DKzUAZG67eGab2R1Hj&stream-channels=true&r=true&encoding=json&: dial tcp [fcd8:a4e5:3af7:557e:72e5:f9d1:a599:e329]:5001: getsockopt: connection timed out
<pinbot>
[host 1] failed to grab refs for /ipfs/QmXiK42dJM1JUgX2Z3G9AtXvjpn1DKzUAZG67eGab2R1Hj: Post http://[fce3:c53b:c3c5:2f54:8bb0:b6d9:898e:f140]:5001/api/v0/refs?arg=/ipfs/QmXiK42dJM1JUgX2Z3G9AtXvjpn1DKzUAZG67eGab2R1Hj&encoding=json&stream-channels=true&r=true&: dial tcp [fce3:c53b:c3c5:2f54:8bb0:b6d9:898e:f140]:5001: getsockopt: connection timed out
<pinbot>
[host 2] failed to grab refs for /ipfs/QmXiK42dJM1JUgX2Z3G9AtXvjpn1DKzUAZG67eGab2R1Hj: Post http://[fcfe:eab4:e49c:940f:8b29:35a4:8ea8:b01a]:5001/api/v0/refs?arg=/ipfs/QmXiK42dJM1JUgX2Z3G9AtXvjpn1DKzUAZG67eGab2R1Hj&encoding=json&stream-channels=true&r=true&: dial tcp [fcfe:eab4:e49c:940f:8b29:35a4:8ea8:b01a]:5001: getsockopt: connection timed out
<pinbot>
[host 0] failed to grab refs for /ipfs/QmXiK42dJM1JUgX2Z3G9AtXvjpn1DKzUAZG67eGab2R1Hj: Post http://[fc98:424c:b433:d7e2:7ee3:9541:73ff:2cdb]:5001/api/v0/refs?arg=/ipfs/QmXiK42dJM1JUgX2Z3G9AtXvjpn1DKzUAZG67eGab2R1Hj&encoding=json&stream-channels=true&r=true&: dial tcp [fc98:424c:b433:d7e2:7ee3:9541:73ff:2cdb]:5001: getsockopt: connection timed out
<pinbot>
[host 3] failed to grab refs for /ipfs/QmXiK42dJM1JUgX2Z3G9AtXvjpn1DKzUAZG67eGab2R1Hj: Post http://[fc4e:5427:3cd0:cc4c:4770:25bb:a682:d06c]:5001/api/v0/refs?arg=/ipfs/QmXiK42dJM1JUgX2Z3G9AtXvjpn1DKzUAZG67eGab2R1Hj&r=true&encoding=json&stream-channels=true&: dial tcp [fc4e:5427:3cd0:cc4c:4770:25bb:a682:d06c]:5001: getsockopt: connection timed out
<dignifiedquire>
in addition to the patch I sent above which needs to be in swarm
<voxelot>
right, already patched swarm
nicolagreco_ has joined #ipfs
<voxelot>
dignifiedquire: Error: there are no listeners
<dignifiedquire>
looks like we have a winner
memolition has joined #ipfs
<voxelot>
nobody wants to hear me talk :(
<memolition>
why would anybody want to
<memolition>
just kidding lol
<dignifiedquire>
voxelot: I don't get though why calling `close` with no listeners throws an error Oo
nicolagreco_ has quit [Read error: Connection reset by peer]
<cryptix>
jbenet: you asked me to modularize our golang port of secret-hanshake. when we met at cbase last week my mind was to deep in the code to ask you what that would entail
memolition has quit [Quit: Ex-Chat]
memolition has joined #ipfs
<cryptix>
the transport works now (against js, too) and while i polish it for publishing I might as well do what you want if that helps making it work with libp2p
dguttman has quit [Quit: dguttman]
Aeon has quit [Ping timeout: 260 seconds]
<cryptix>
cc whyrusleeping I guess he meant publishing it as a gx-go package?
<jbenet>
cryptix: talk with daviddias and whyrusleeping about it -- they have the best handle on direct libp2p code stuff
<jbenet>
cryptix: but general idea is that-- make it a module we can use in libp2p. you dont have to change your code to conform with the interface, we can usually shim it to use your interface.
<cryptix>
nice - will do :)
ruby32 has joined #ipfs
<noffle>
whyrusleeping: I want to CR your PR, but this tethered 2g is timing out on all https requests ;) might happen tomorrow instead when I can find a coffee shop, if it can wait D:
<whyrusleeping>
noffle: lol, sounds good
<cryptix>
noffle: mosh all the things ;)
<whyrusleeping>
i think i found a small bug anyways
<whyrusleeping>
so i'm working on that now
afisk has quit [Ping timeout: 265 seconds]
matoro has joined #ipfs
<noffle>
cryptix: ooh, can I proxy my https traffic through mosh somehow?
lothar_m has quit [Ping timeout: 244 seconds]
<noffle>
like, https servers just aren't responding to my tls client hello messages
<noffle>
it must be a tmobile filtering thing
<cryptix>
noffle: sadly no.. more like lynx on a remote system.. was trolling a little tbh
<noffle>
cryptix: ha
afisk has joined #ipfs
<cryptix>
noffle: i asked why you cant use mosh to scp or port forward but all i got was 'we dont want to'
<whyrusleeping>
a majority of moshs coolness is its clientside text interpretation so you can see what youre typing
afisk has quit [Read error: Connection reset by peer]
afisk has joined #ipfs
<noffle>
I'm talking on mosh right now -- functional even on aggressively poor networks
<noffle>
weird though; I don't always get local text interpolation. it hangs /wo output sometimes
<cryptix>
yea, the typeahead is really nice. restablishing the session after minutelong 100% pkt loss is what makes me welp every time
<mmuller_>
is there any advantage to mosh over ssh on stable networks?
rgrinberg has quit [Ping timeout: 240 seconds]
<noffle>
mmuller_: you'll still timeout with ssh, I think?
<cryptix>
mmuller_: resume after suspend/sleep is nice but not sure there is much more
<mmuller_>
yeah, I didn't think so. But I just started using mosh, like, yesterday.
<mmuller_>
(I'm not sure what took me so long, I've been getting my ass kicked by ssh from the train for years)
<noffle>
ha
<cryptix>
i think there is some movement on ipv6 support in mosh which would allow it to work over cjdns ;]
afisk has quit [Read error: Connection reset by peer]
afisk_ has joined #ipfs
bearbin has joined #ipfs
<mmuller_>
cryptix: that's kinda neat
nicolagreco_ has quit [Read error: Connection reset by peer]
palkeo has quit [Quit: Konversation terminated!]
lothar_m has joined #ipfs
zorglub27 has joined #ipfs
nicolagreco_ has joined #ipfs
nicolagreco_ has quit [Read error: Connection reset by peer]
nicolagreco_ has joined #ipfs
insanity54 has quit [Ping timeout: 276 seconds]
rendar has quit [Ping timeout: 276 seconds]
rendar has joined #ipfs
rgrinberg has joined #ipfs
Senji has quit [Ping timeout: 240 seconds]
analphabet has quit [Changing host]
analphabet has joined #ipfs
nicolagreco_ has quit [Read error: Connection reset by peer]
rgrinberg has quit [Ping timeout: 252 seconds]
libman has quit [Remote host closed the connection]
rgrinberg has joined #ipfs
nicolagreco_ has joined #ipfs
pfraze has quit [Remote host closed the connection]
matoro has quit [Ping timeout: 276 seconds]
matoro has joined #ipfs
akkad has quit [Ping timeout: 276 seconds]
Encrypt has joined #ipfs
cemerick has quit [Ping timeout: 276 seconds]
Encrypt has quit [Read error: Connection reset by peer]
Encrypt has joined #ipfs
<demize>
cryptix: WHat about it doesn't work already?
<demize>
(I've used mosh over cjdns for months.)
chriscool has quit [Quit: Leaving.]
chriscool has joined #ipfs
<cryptix>
uuuhm.. last time i checked it wouldnt create udpv4 packets
<demize>
You need another perl dependency, but it has support for it.