Show Idle (>14 d.) Chans


← 2022-01-04 | 2022-01-07 →
whaack[billymg]: greetings to pestnet
awt[billymg]: whaack: greetings
awt[billymg]: whaack: glad to hear you're checking out the source
whaack[billymg]: awt: it's a pleasure reading, going through the full blatta category on your blog atm
whaack[billymg]: as i mentioned in the above lines, it appears that somehow a half-byte is getting written ocassionally to the body of the message, or maybe i just saw 0x20 as a halfbyte because it terminates with a 0
whaack[billymg]: in any case the irc client -> local server line has this extra 0x20, which gets eliminated on the relays, causing a dupe message
whaack[billymg]: very possibly the bug is on the end of certain irc clients, which for whatever reason send some junk byte to blatta
awt[billymg]: whaack: hmm but the dedup check isn't until after the message has been decrypted
awt[billymg]: or hmm
whaack[billymg]: awt: right, my understanding of the problem is somewhere between locasl irc client and blatta an extra junk byte gets padded on, in my one example i've found the junk byte is 0x20, or maybe it's just an extra 0x2, then during the whole encrypt, send over wire, decrypt, this junk byte gets removed, and thus inside the db th
awt[billymg]: oh ok so you're saying junk is being added on to the unecrypted message bytes before they are stored in the db and then when the message comes back those bytes are gone?
whaack[billymg]: awt: precisely
asciilifeform[billymg]: awt: potentially a dump cmd that'd shit out hexdump of last N msgs might be handy in case like this
asciilifeform[billymg]: (i.e. you see a dupe, can get a dump and see whether mutation hypothesis holds)
whaack[billymg]: i'm going to spam for a bit, to check if i can reproduce the dupe message bug, please ignore the below
whaack[billymg]: trying to reproduce dupe, please ignore 1
whaack[billymg]: trying to reproduce dupe, please ignore 2
whaack[billymg]: trying to reproduce dupe, please ignore 3
whaack[billymg]: trying to reproduce dupe, please ignore 4
whaack[billymg]: trying to reproduce dupe, please ignore 5
whaack[billymg]: trying to reproduce dupe, please ignore n
whaack[billymg]: trying to reproduce dupe, please ignore n
whaack[billymg]: trying to reproduce dupe, please ignore n
whaack[billymg]: trying to reproduce dupe, please ignore n
whaack[billymg]: trying to reproduce dupe, please ignore n
whaack[billymg]: done, no dupes :/
whaack[billymg]: going to try again, this time with a trailing space
whaack[billymg]: ^ i think that is the bug, trailing spaces are getting chomped out
whaack[billymg]: yup, 0x20 is a space
asciilifeform[billymg]: interesting btw failure of embargo queue:
asciilifeform[billymg]: UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 111: ordinal not in range(128)
asciilifeform[billymg]: ^ lol, crashed when pasting
whaack[billymg]: at first i threw 0x20 into an ascii converter in order to see what character it was, and i got no visual response (since the character is a space " "), so i assumed it was a junk non-ascii byte, which delayed my discovery of the bug
awt[billymg]: testing trailing space
awt[billymg]: motherfucker
whaack[billymg]: solution is to make sure that relays don't remove the trailing space, imo
awt[billymg]: nice work whaack
awt[billymg]: tab completion in weechat adds a trailing space
awt[billymg]: also seen for the first time in the wild: whaack[4]
whaack[billymg]: might as well leave ourselves unpeered for testing purposes
whaack[billymg]: also asciilifeform: if i may add a suggestion to the spec, i think that if you receive a message from the same peer who sent the message, there should be a way to also include all those who relayed to you
whaack[billymg]: atm the fact that you are peered to the origin means you lose information in your console
whaack[billymg]: err, ircclient
whaack[billymg]: so say you are peered to me, and i send you a msg, you may want to receive <whaack[*|awt|signpost], where the * symbolizes you received the msg from me
whaack[billymg]: and if there are many peers then <whaack[*|5]>, for example
signpost[billymg]: here's some whitespace
signpost[billymg]: good find whaack
signpost[billymg]: ^ I don't think that one had trailing whitespace btw
signpost[billymg]: but I might've accidentally hit the spacebar
awt[billymg]: signpost: tab completion adds a space
asciilifeform[billymg]: whaack: not sure i get it -- why wouldja want to mark relayers if you in fact got a nonhearsay (immediate) msg ?
asciilifeform[billymg]: the immediate copy is the 'authoritative' one
asciilifeform[billymg]: if you have it, dun really matter who else gives a copy
asciilifeform[billymg]: the [] notation is currently to mark hearsays, such that is clear via whom the hearsay came
signpost[billymg]: re: tab completion
whaack[billymg]: i guess just to see the net topology, but perhaps not necessary for every message
signpost[billymg]: probably best to get that info from logs
signpost[billymg]: more room for additional detail
whaack[billymg]: or a command
asciilifeform[billymg]: oh ha just got a signpost and a signpost[4] of same msg
asciilifeform[billymg]: (either embargo mechanism is buggy, or immed. copy actually delayed by >1s?)
asciilifeform[billymg]: whaack: maybe i'm thick, but as i see it 'i got the immediate and these-here relay copies' doesn't add useful info
asciilifeform[billymg]: if you have the immediate copy, you know the message is authentic (unless the peer's key was compromised somehow)
whaack[billymg]: right, it's to know the health of your topology for every msg, but not very useful
whaack[billymg]: asciilifeform: the original msg i believe has the whitespace, and all the relays do not
asciilifeform[billymg]: the [] info is useful in 2 cases : 1) you aint in fact peered with the originator. in that case you want to know via which peer he is able to reach you 2) the immed. copy was lost in transit somehow. then useful to see that N of yer peers in fact had received it
asciilifeform[billymg]: whaack: if the whitespace mutates, this is a bug
asciilifeform[billymg]: messages are to be unmolested in relay.
whaack[billymg]: yes, that is the bug, somehow in the encrypt/decrypt/relay process trailing whitespaces are getting nixed
asciilifeform[billymg]: right makes sense
whaack[billymg]: i'm looking for where exactly it's happening, have not found yet
signpost[billymg] perhaps late to the game, but in unrelated lulz, vitalik is now being forthright about ethereum centralization.
asciilifeform[billymg]: 'yes it's a paypal, kthx' ?
asciilifeform[billymg]: 'censorship is still prevented' lol
signpost[billymg]: "inevitable" etc, but hey, block *validation* still "decentralized" lol
whaack[billymg]: poor guy needs to use some of his 'billions' to get himself some food
asciilifeform[billymg]: ever since the dao thing, the paypalism was obv. to all but perhaps down's syndrome sufferers
asciilifeform[billymg]: whaack: d00d swallowed, what, 100k btc. would be surprised if he's short of food.
asciilifeform[billymg]: even if he only gets to eat 1% and handlers eat the rest
signpost[billymg]: "Finally, there???s one more big winner I see coming this year: regulators."
signpost[billymg] looks forward to covid passport smart contract on ethereum determining whether he can purchase petrofood.
asciilifeform[billymg]: doesn't seem readily distinguishable from past N yrs of reichpress ethertardium agitprop
whaack[billymg]: idk, perhaps the stress of running such a high profile scam is what has taken such a toll on his body, he does not look healthy
asciilifeform[billymg]: whaack: prolly mp's disease (substance abuse)
asciilifeform[billymg]: the grim reaper of noveau-riche errywhere
asciilifeform[billymg]: 'why ~shouldn't~ i party 24/7', crash, rinse, repeat, 'doctor's orders', switch $substance a coupla times, croak.
whaack[billymg]: test space
whaack[billymg]: ^ signpost or anyone else, any chance you *didnt* see a dupe of that msg?
billymg: vitalik has always looked like that though, i think it's part of his "brand"
billymg: saw him described somewhere as "vitalik is what a dumb person thinks a genius looks like" -- i.e. turbo autist too busy being glued to his screen creating The Next Big Thing to bother to eat
billymg: whaack: fwiw did not see a dupe of http://logs.bitdash.io/pest/2022-01-05#1001834
bitbot: Logged on 2022-01-05 20:48:11 whaack[billymg]: test space
whaack[billymg]: billymg: makes sense, we are not peered, so only the relays were sent to you, and all of the relays remove the whitespace
billymg: ahh, i see. makes sense now
asciilifeform[billymg]: whaack: i saw dupe: whaack | test space whaack[signpost] | test space
signpost[billymg]: whaack: no dupe over here, just one 'test space' msg
signpost[billymg]: trim's probably the wrong thing here eh? should just consider the message to be w/e was sent
asciilifeform[billymg]: signpost: aha, per spec there oughtn't to be any molestation of the msg
asciilifeform[billymg]: i.e. whatever is received from irc frontend, after filtering commands, oughta get sent
asciilifeform[billymg]: (ditto when relaying)
asciilifeform[billymg]: http://logs.bitdash.io/pest/2022-01-05#1001837 << as one'd expect, when usg.mit did casting call, they picked the expected sort of trained seal, as for any other hollywood production
bitbot: Logged on 2022-01-05 21:10:20 billymg: saw him described somewhere as "vitalik is what a dumb person thinks a genius looks like" -- i.e. turbo autist too busy being glued to his screen creating The Next Big Thing to bother to eat
whaack[billymg]: i found the problem, pretty sure
whaack[billymg]: irc clients append \r\n to the end of every msg, awt is using python's rstrip() method to get rid of that, but the function rstrip also gets rid of trailing whitespaces
whaack[billymg]: awt: offending line is 244 in infosec.py
signpost[billymg]: yeah, there'll be no end to the special casing that kind of thing unless it's removed entirely.
awt[billymg]: interesting ty whaack
asciilifeform[billymg]: ohey anuther: awt | interesting ty whaack awt[signpost|whaack] | interesting ty whaack
whaack[billymg]: probably he tab completed my name and that added a trailing space
awt[billymg]: asciilifeform: yeah tab completion
jonsykkel[billymg]: got < awt[asciilifeform|asciilifeform]> interesting ty whaack
asciilifeform[billymg]: nao that's strange
asciilifeform[billymg]: (doesn't dedupe there?)
jonsykkel[billymg]: ye dunno whats up with that
← 2022-01-04 | 2022-01-07 →