-
zwischenzugHello. Trying to decode the levin protocol header from a handshake request, and wondering about the q/s/b/e bits (github.com/monero-project/monero/blob/master/docs/LEVIN_PROTOCOL.md)
-
zwischenzugSince this is a request, "The Q bit must be set, the S, B and E bits must be unset"
-
zwischenzugLooking at the header diagram, this should be 0b1000, at byte offset 25
-
zwischenzugAssuming the "reserved" nibble is 0b0000, the 25th byte should be 0x80
-
zwischenzugTaking a tcpdump capture of monerod, I can see all the other levin headers in their proper places, but the 25th byte is 0x01, while I'm expecting 0x80. Am I misunderstanding something?
-
zwischenzugHere's the relevant hex dump: pastebin.com/8wgqbqmN
-
moneromooo80 looks like 1 if bits are mirrored. Could that be the problem ?
-
ErCiccionetest
-
ErCiccioneHey folks, the guy who is being making very nice cheatsheets about the inner mechanisms of Monero just PRd a new one: monero-project/monero-site #1655. Needs to be reviewed
-
zwischenzugmoneromooo, Yea, I was thinking something like that. Just wanted to clarify with any devs who might know how this is supposed to work. I'll try and capture some more messages to see if this "mirroring" occurs with other permutations of q/s/b/e flags.