frigginglorious has quit [Read error: Connection reset by peer]
frigginglorious has joined #sandstorm
mnutt_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mnutt_ has joined #sandstorm
frigginglorious has quit [Quit: frigginglorious]
aldeka has quit [Remote host closed the connection]
ocdtrekkie has quit [Remote host closed the connection]
ocdtrekkie has joined #sandstorm
aldeka has joined #sandstorm
jemc has quit [Ping timeout: 260 seconds]
jacksingleton has joined #sandstorm
frigginglorious has joined #sandstorm
jemc has joined #sandstorm
jacksingleton has quit [Ping timeout: 240 seconds]
kentonv has quit [Read error: Connection timed out]
jemc has quit [Quit: WeeChat 1.4]
kentonv has joined #sandstorm
jemc has joined #sandstorm
Zarutian has quit [Quit: Zarutian]
jemc has quit [Ping timeout: 265 seconds]
mnutt_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jemc has joined #sandstorm
rgrinberg has quit [Ping timeout: 276 seconds]
rgrinberg has joined #sandstorm
frigginglorious has quit [Quit: frigginglorious]
rgrinberg has quit [Ping timeout: 240 seconds]
mnutt_ has joined #sandstorm
kentonv has quit [Read error: Connection timed out]
kentonv has joined #sandstorm
mnutt_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
kentonv has quit [Read error: Connection timed out]
kentonv has joined #sandstorm
kentonv has quit [Read error: Connection timed out]
kentonv has joined #sandstorm
digitalcircuit has quit [Ping timeout: 250 seconds]
digitalcircuit has joined #sandstorm
frankier has quit [Ping timeout: 250 seconds]
frankier has joined #sandstorm
kentonv has quit [Read error: Connection timed out]
kentonv has joined #sandstorm
ocdtrekkie has quit [Remote host closed the connection]
aldeka has quit [Remote host closed the connection]
aldeka has joined #sandstorm
ocdtrekkie has joined #sandstorm
frankier has quit [Ping timeout: 250 seconds]
axx_ has left #sandstorm [#sandstorm]
tierce has joined #sandstorm
frankier has joined #sandstorm
raoulzecat has quit [Ping timeout: 276 seconds]
kentonv has quit [Read error: Connection timed out]
kentonv has joined #sandstorm
frankier has quit [Ping timeout: 250 seconds]
Zarutian has joined #sandstorm
Zarutian_ has joined #sandstorm
Zarutian has quit [Read error: Connection reset by peer]
Zarutian_ is now known as Zarutian
_iwc has quit [Read error: Connection reset by peer]
frankier has joined #sandstorm
jemc has quit [Ping timeout: 246 seconds]
kentonv has quit [Read error: Connection timed out]
kentonv has joined #sandstorm
rgrinberg has joined #sandstorm
rgrinberg has quit [Quit: WeeChat 1.5]
rgrinberg has joined #sandstorm
ragesoss has quit [Quit: No Ping reply in 180 seconds.]
ragesoss has joined #sandstorm
papa- is now known as papa
halindrome has quit [Ping timeout: 276 seconds]
halindrome has joined #sandstorm
frankier has quit [Ping timeout: 265 seconds]
JimVFD has joined #sandstorm
frankier has joined #sandstorm
mnutt_ has joined #sandstorm
Zarutian has quit [Read error: Connection reset by peer]
mnutt_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jemc has joined #sandstorm
larjona has quit [Read error: Connection reset by peer]
larjona has joined #sandstorm
jemc has quit [Quit: WeeChat 1.4]
jemc has joined #sandstorm
mnutt_ has joined #sandstorm
kentonv has quit [Read error: Connection timed out]
kentonv has joined #sandstorm
rgrinberg has quit [Ping timeout: 265 seconds]
rgrinberg has joined #sandstorm
dwrensha has quit [Ping timeout: 276 seconds]
dwrensha has joined #sandstorm
kentonv has quit [Read error: Connection timed out]
kentonv has joined #sandstorm
frankier has quit [Ping timeout: 250 seconds]
kentonv has quit [Read error: Connection timed out]
kentonv has joined #sandstorm
mnutt_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
frankier has joined #sandstorm
<asheesh>
TIL 'openssl asn1parse'
mnutt_ has joined #sandstorm
frankier has quit [Ping timeout: 252 seconds]
<pdurbin>
heh, definitely in my notes
frigginglorious has joined #sandstorm
jadewang has joined #sandstorm
rgrinberg has quit [Ping timeout: 276 seconds]
frankier has joined #sandstorm
kentonv has quit [Read error: Connection timed out]
kentonv has joined #sandstorm
jadewang has quit [Read error: Connection timed out]
jadewang has joined #sandstorm
rgrinberg has joined #sandstorm
jadewang has quit [Read error: Connection timed out]
jadewang has joined #sandstorm
frigginglorious_ has joined #sandstorm
frigginglorious has quit [Ping timeout: 260 seconds]
frigginglorious_ is now known as frigginglorious
jadewang has quit [Read error: Connection timed out]
jadewang has joined #sandstorm
kentonv has quit [Read error: Connection timed out]
kentonv has joined #sandstorm
jadewang has quit [Read error: Connection timed out]
jadewang has joined #sandstorm
frigginglorious has quit [Quit: frigginglorious]
<zarvox>
I've always used dumpasn1 for that, but TIL!
alec_t has joined #sandstorm
jadewang has quit [Read error: Connection timed out]
jadewang has joined #sandstorm
kentonv has quit [Read error: Connection timed out]
frigginglorious has joined #sandstorm
amyers has joined #sandstorm
amyers has quit [Read error: Connection reset by peer]
mnutt_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
amyers has joined #sandstorm
jadewang has quit [Read error: Connection timed out]
jadewang has joined #sandstorm
jadewang has quit [Read error: Connection timed out]
jadewang has joined #sandstorm
amyers has quit [Remote host closed the connection]
<zarvox>
dwrensha: any guess how a Sandstorm server might come to have a record in the users collection with a loginIdentities that contains an id that does not have a corresponding document in the users collection?
amyers has joined #sandstorm
<zarvox>
I'm looking through the migrations and nothing obvious jumps out at me, but this seems to exist on both alpha and zero, and I found it rather surprising
amyers has quit [Read error: Connection reset by peer]
<dwrensha>
what is "zero"?
amyers has joined #sandstorm
<zarvox>
kenton's local dev instance
amyers has quit [Read error: Connection reset by peer]
amyers has joined #sandstorm
<dwrensha>
maybe at one point we didn't upgrade demo identities to be permanent?
<zarvox>
did alpha previously have demo users enabled, though? I thought it was on demo.sandstorm.io, a separate instance.
rgrinberg has quit [Ping timeout: 276 seconds]
bemasc has quit [Ping timeout: 240 seconds]
amyers has quit [Remote host closed the connection]
amyers has joined #sandstorm
<dwrensha>
zarvox: I seem to have such a user in my database too!
<dwrensha>
I have not located such a user in my database
<zarvox>
Ahhh. 'k.
<zarvox>
I'm currently stuck between "that should never happen; let's figure out why it happened and clean up the DBs" and "figure out how to appropriately pass on undefined everywhere we attempt to look up an identity by ID"
<dwrensha>
zarvox: demo identities are the only ones that ever get deleted, I think
frigginglorious has quit [Quit: frigginglorious]
<zarvox>
that's my impression too
rgrinberg has joined #sandstorm
<zarvox>
how do demo identity IDs get generated? it looks like it should be sha256hex("demo:$DEMO_USER_ACCOUNT_ID") but that's not checking out locally
mnutt_ has joined #sandstorm
<zarvox>
also, kenton says alpha never had demo accounts enabled, but this problem triggers there too
<dwrensha>
weird!
<zarvox>
( fwiw, the issue is in /admin-new/users , which shows no users and delivers a stacktrace to console.log )
<dwrensha>
zarvox: yes, sha256hex("demo:$DEMO_USER_ACCOUNT_ID") is how demo ids are generated
<zarvox>
(that bug is easily worked around, but I'm bothered by the DB inconsistency and trying to figure out how deep the rabbit hole goes, and if we can ever have sane invariants)
amyers has quit [Ping timeout: 276 seconds]
<dwrensha>
er, maybe not exactly
<dwrensha>
more like sha256hex("demo:$ORIGINAL_DEMO_USER_USER_ID")
<dwrensha>
and then the new ID overwrites the old one
<zarvox>
and ORIGINAL_DEMO_USER_USER_ID is discarded into the ether, so I can probably never reconstruct that identity hash?
<dwrensha>
right
<dwrensha>
demo identities are created before demo accounts
<dwrensha>
two-step login, etc.
<dwrensha>
so the thing we throw away is just an ID that meteor proposed for the newly created user record.
<zarvox>
*nod*
<zarvox>
so we currently hypothesize that the only way the server gets into this state is through demo identities being deleted, but we forgot to attach "expires" to the account that owns said identity.
<zarvox>
That seems to contradict alpha's current state and the assertion that alpha has never run demo accounts.
frigginglorious has joined #sandstorm
amyers has joined #sandstorm
frigginglorious has quit [Quit: frigginglorious]
jadewang has quit [Read error: Connection timed out]
kentonv has joined #sandstorm
jadewang has joined #sandstorm
amyers has quit [Remote host closed the connection]
amyers has joined #sandstorm
mnutt_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
frigginglorious has joined #sandstorm
jadewang has quit [Read error: Connection timed out]
jadewang has joined #sandstorm
jadewang has quit [Read error: Connection timed out]
jadewang has joined #sandstorm
gkoz has quit [Ping timeout: 240 seconds]
decipherstatic has quit [Ping timeout: 276 seconds]
gkoz has joined #sandstorm
mnutt_ has joined #sandstorm
decipherstatic has joined #sandstorm
jadewang has quit [Read error: Connection timed out]
jadewang has joined #sandstorm
kentonv has quit [Read error: Connection timed out]
amyers has quit [Ping timeout: 250 seconds]
karla has joined #sandstorm
karla has quit [Remote host closed the connection]
mnutt_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<asheesh>
Howdy, all.
* zarvox
waves
<asheesh>
This UTF8STRING thing was pretty fascinating.
<asheesh>
Turns out that "valueTagClass" and "type" are not the same thing.
<asheesh>
I do feel like I understand SNMP better now, though, as a side-effect.
<zarvox>
SNMP? you mean ASN.1?
<zarvox>
(or does SNMP also use ASN.1?)
<asheesh>
Yeah, iirc SNMP is all about OIDs.
<zarvox>
TIL!
<asheesh>
: D
<asheesh>
I am just sitting here giggling about ASN.1 for some reason.
<asheesh>
I wish that our friend, the Protocol Captain, had suggested some alternate encoding scheme for all these things, back in the day.
<asheesh>
Just kidding; I know that's not what Cap'n Proto stands for.
<frigginglorious>
I am happy to announce there is slight progress on a 100% offline Sandstorm server for web app hackathon.
<asheesh>
Nice, frigginglorious!
<asheesh>
I was going to say, for your hackathon, you're going to *really* want to test vagrant-spk etc.
<asheesh>
I definitely didn't build it with any kind of "offline-first" assumption.
<asheesh>
But also, for Sandstorm itself, people do get really excited about using it as "the one server platform for a non-Internet-connected LAN in the woods" and so documenting that etc. would be HUGE.
<frigginglorious>
asheesh: aw yeah? hell, i guess so
<frigginglorious>
i kind of figured someoen would have a doc up for me to follow :P
<asheesh>
You are the anchor of your own ascension.
<frigginglorious>
im garbage at networking stuff, so im mucking with bind9 in ubuntu right now
<frigginglorious>
asheesh: yeah, this wildcard stuff is what i need!
<asheesh>
There is also a hypothetical awesome hack you can do with MDNS if you want.
<asheesh>
Namely, you can use something like https://github.com/hashicorp/mdns to write a mdns server that dynamically creates a wildcard record.
<asheesh>
This is sort of in insane/awesome/unusual territory, so feel free to ignore it.
<asheesh>
But basically, if you run a custom mDNS responder on a machine, it can listen for multicast DNS requests (e.g. foo.bar.local) and respond however it wants.
<asheesh>
So then, you can write code that checks for "Is this mDNS request for *.bar.local?" and if so, respond with your own IP address.
<asheesh>
This does assume all your clients have mDNS, and I'm under the impression that on Windows, mDNS is not universal.
<frigginglorious>
asheesh: oh, mDNS runs on the client. that makes sense. That… isnt ideal.
<asheesh>
mDNS queries are issued by the client, but they are responded-to from anywhere in the network.
<asheesh>
So you would run your custom mDNSd on the Sandstorm server, and so you'd only need the custom mDNSd in the one place.
<asheesh>
What's not ideal about this? (-:
<frigginglorious>
oh! neat. But a windows client would have trouble connecting to it?