notduncansmith has quit [Read error: Connection reset by peer]
<lgierth>
whyrusleeping: for requests which don't start in /ipfs or /ipns, i want the gatewayhandler to resolve the host header, and assume /ipns/$hostfromheader/$requesturi
<lgierth>
then you can point A/AAAA records at gateway and it just works
<lgierth>
the part about resolving the host header, i have in nginx
<lgierth>
when it's in ipfs-gateway, any gateway can do this
Leer10 has joined #ipfs
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
<ipfsbot>
[go-ipfs] lgierth opened pull request #1573: gateway: fall back to IPNS + Host header if hash absent from URI (master...gateway-host-header) http://git.io/v3PxW
<lgierth>
whyrusleeping: ^ (but let me add a test or two)
notduncansmith has quit [Read error: Connection reset by peer]
yosafbridge has joined #ipfs
voxelot has quit [Ping timeout: 260 seconds]
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
anshukla has joined #ipfs
reit has joined #ipfs
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
Eudaimonstro has quit [Quit: Leaving]
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
Tv` has quit [Quit: Connection closed for inactivity]
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
keroberos has quit [Excess Flood]
keroberos has joined #ipfs
konubinix has quit [Read error: Connection reset by peer]
konubinix has joined #ipfs
kbala has quit [Quit: Connection closed for inactivity]
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
besenwesen has quit [Quit: ☠]
besenwesen has joined #ipfs
besenwesen has joined #ipfs
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
domanic has joined #ipfs
strls has quit [Ping timeout: 240 seconds]
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
Eudaimonstro has joined #ipfs
dignifiedquire has joined #ipfs
mildred has joined #ipfs
Eudaimonstro has quit [Ping timeout: 272 seconds]
Eudaimonstro has joined #ipfs
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
bedeho has quit [Ping timeout: 246 seconds]
Eudaimonstro has quit [Ping timeout: 256 seconds]
slothbag has joined #ipfs
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
marianoguerra has joined #ipfs
marianoguerra has joined #ipfs
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
marianoguerra has quit [Quit: leaving]
Encrypt has joined #ipfs
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
marianoguerra has joined #ipfs
<M-davidar>
any haskellers in here?
domanic has quit [Ping timeout: 246 seconds]
m0ns00n has joined #ipfs
Eudaimonstro has joined #ipfs
Encrypt has quit [Quit: EAting time!]
compleatang has joined #ipfs
mildred has quit [Quit: Leaving.]
ei-slackbot-ipfs has quit [Remote host closed the connection]
ei-slackbot-ipfs has joined #ipfs
Eudaimonstro has quit [Ping timeout: 244 seconds]
eternaleye has quit [Ping timeout: 255 seconds]
eternaleye has joined #ipfs
mildred has joined #ipfs
Encrypt has joined #ipfs
<jbenet>
lgierth: i think whyrusleeping is saying it's already working on ipfs gateway
<jbenet>
ipfs get ice | jbenet
<lgierth>
jbenet: yeah i noticed that too right before going to bed
<lgierth>
just no idea why. gonna find out :)
<lgierth>
corehttp.IPNSHostnameOption()
<jbenet>
nice
<ipfsbot>
[go-ipfs] lgierth closed pull request #1573: gateway: fall back to IPNS + Host header if hash absent from URI (master...gateway-host-header) http://git.io/v3PxW
<lgierth>
it should use r.Header["Host"] though instead of r.Host
<lgierth>
ah no it's fine
<lgierth>
Per RFC 2616, this is either the value of the "Host" header or the host name given in the URL itself. It may be of the form "host:port"
domanic has joined #ipfs
<lgierth>
bbiab
<rschulman>
M-davidar: I am a very very bad haskeller
<rschulman>
but I can sorta read the code if I have to
<jbenet>
M-davidar bitemyapp (usually here) and otherchas__ are haskellers
<M-davidar>
rschulman: jbenet: cool. I'm writing some (basic) ipfs API bindings for Haskell, but wanted to make sure I wasn't stepping on anyone's toes
<rschulman>
I’m not aware of anyone else doing so.
<jbenet>
lgierth: oh but i mean, this link should work without redirection: ipfs.io/docs/install
<lgierth>
jbenet: don't understand, what would it redirect to?
<lgierth>
this looks good: curl -v gateway.ipfs.io/docs/install/ -H 'Host: ipfs.io'
<jbenet>
lgierth: ok cool! that's what i meant :)
<lgierth>
coolio :)
<jbenet>
lgierth: you have push on website
* lgierth
pushing the button
<rschulman>
woooooo!
<rschulman>
:)
<jbenet>
lgierth: boom.
<jbenet>
lmk when ready and i'll go through it and make sure it's all good
<lgierth>
i'll be at the lake for a couple of hours, i have my phone (with data) and laptop with me, so call/text me in case of shit hitting the fan
<lgierth>
leavin in 30 min or so
<lgierth>
i'll point it only to the NYC and EU droplets ok?
<lgierth>
don't want camp people to go all the way to SGP
<jbenet>
lgierth: there's people all over the world-- it should anycast ?
<lgierth>
yeah but it doesn't at the moment - TODO
<lgierth>
amazon route53 doesn't set itself up in an hour :)
<lgierth>
dns should propagate any miunte
<lgierth>
if the address you get is not in 192.30.252.0/24, then it's propagated
<lgierth>
i'd like to find an anycast solution that can be deployed by anyone though
uhhyeahbret has quit [Quit: WeeChat 1.2]
<lgierth>
hrm yeah not sure, maybe route53 is the best solution, and community networks should simply inject their own local gateways via their dns resolver
voxelot has joined #ipfs
voxelot has joined #ipfs
yalamerde has joined #ipfs
voxelot has quit [Ping timeout: 240 seconds]
<jbenet>
lgierth: a problem: i dont think its a good plan to have ipfs.io be overridden.
<jbenet>
lgierth: we must keep ipfs.io a canonical source
nessence has quit [Remote host closed the connection]
vijayee has quit [K-Lined]
<whyrusleeping>
lol 'not everything works in the browser' closed
anshukla has joined #ipfs
<ipfsbot>
[go-ipfs] whyrusleeping pushed 1 new commit to node-construct-v2: http://git.io/v3DVD
<ipfsbot>
go-ipfs/node-construct-v2 bcbdeca Jeromy: use NewNode instead of NewIPFSNode in most of the codebase...
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
mildred has joined #ipfs
marianoguerra has quit [Ping timeout: 244 seconds]
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
yalamerde has quit [Read error: Connection reset by peer]
<ogd>
mappum: me and mafintosh are sitting by the dj near the big rocket in the field RF hackin
dignifiedquire has quit [Quit: dignifiedquire]
Eudaimonstro has joined #ipfs
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
Encrypt has quit [Quit: Dinner time!]
Eudaimonstro has quit [Ping timeout: 252 seconds]
anshukla has quit [Remote host closed the connection]
anshukla has joined #ipfs
mildred has quit [Ping timeout: 240 seconds]
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
freedaemon has quit [Ping timeout: 272 seconds]
eyebloom has joined #ipfs
dignifiedquire has joined #ipfs
mildred has joined #ipfs
<lgierth>
jbenet: resolving itself is fine. we do these redirects from /ipfs/hash to /ipfs/hash/, in some cases, and these need to be aware that the Request.URI had been rewritten from /foo to /ipfs/hash/foo, and thus the redirect should be to /foo/ and not to /ipfs/hash/foo/
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
anshukla has quit [Remote host closed the connection]
Eudaimonstro has joined #ipfs
<lgierth>
whyrusleeping: ^
<lgierth>
is there any way i could override the Location header set by gatewayHandler, but after the fact? only in IPNSHostnameOption() do we know if we need to rewrite that header
<lgierth>
the other option, which seems more obvious to me, is to dissolve IPNSHostnameOption() into gatewayHandler
Eudaimonstro has quit [Read error: Connection reset by peer]
<substack>
brewster kale using ipfs!
<rschulman>
substack: I know, cool huh?
<whyrusleeping>
substack: :D
<whyrusleeping>
lgierth: i wouldnt complain if IPNSHostnameOption was dissolved
Eudaimonstro has joined #ipfs
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
<lgierth>
then so be it
Encrypt has joined #ipfs
<daviddias>
krl: around?
<daviddias>
Where can I found the Web Components stuff?
<whyrusleeping>
this node construction refactor thing is a lot more complicated than i thought it would be
<jbenet>
whyrusleeping: brewster showed his blog on ipfs o/
<jbenet>
substack yeah! :D
<jbenet>
whyrusleeping what's the workaround you did to fix krl's ipns problem?
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
<jbenet>
nvm solved it by publishing offline
anshukla has joined #ipfs
anshukla_ has joined #ipfs
anshukla has quit [Ping timeout: 246 seconds]
kbala has joined #ipfs
JasonWoof has quit [Quit: uptime: 103 days, time to reboot]
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
<whyrusleeping>
jbenet: i pushed the ipnsfs (mfs) creation for the local ipns keyspace into the mount command
notduncansmith has quit [Read error: Connection reset by peer]
<whyrusleeping>
Bat`O: i might have to mail you a sticker
<whyrusleeping>
speaking of which, i need to mail rschulman a sticker too
<Bat`O>
\\o//
<whyrusleeping>
that will all have to wait until i move, all my stamps are in a box somewhere
<ipfsbot>
[go-ipfs] whyrusleeping created blockservice-no-err (+1 new commit): http://git.io/v3SSl
<ipfsbot>
go-ipfs/blockservice-no-err f209763 Jeromy: blockservice.New doesnt need to return an error...
fleeky has quit [Remote host closed the connection]
fleeky has joined #ipfs
<ipfsbot>
[go-ipfs] whyrusleeping opened pull request #1575: blockservice.New doesnt need to return an error (master...blockservice-no-err) http://git.io/v3SSj
Eudaimonstro has quit [Remote host closed the connection]
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
eudaimonstro_ has quit [Ping timeout: 246 seconds]
<ipfsbot>
[go-ipfs] lgierth opened pull request #1577: gateway: make IPNSHostname work on responses too (master...gateway-host-header) http://git.io/v3S7H
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
<lgierth>
whyrusleeping: do you have time for a quick CR? ^
<lgierth>
i volunteer for gateway refactoring in one of the next sprints