Comments (6)
If it were sending the wrong length information then we would see a lot more big red messages in the console output of PyBitmessage saying that the magic bytes are wrong or that the checksum is wrong. What you are seeing is compelling but I've had my PyBitmessage client running for almost 24 hours since the last restart, I have 41 connections currently, and I have no checksum invalid messages in my console output and the only times the magic bytes on messages were wrong is when non-bitmessage clients connected to my computer trying to do other things like use it as an HTTP proxy. Do you get different behavior when you request different msg objects?
from pybitmessage.
I get this behavior only for this one object. That is what makes this strange. I guess I have to look into that deeper.
from pybitmessage.
At least I have proof right now that it's not receiving wrong things ;)
I captured the communication between my client and PyBitmessage, and I found the broken message. I cut the messages before and the messages after, because it was really big. And also, I filtered it so that only traffic that I received was captured. Unforunately I could not safe the capture in binary, so I chose a hexdump. Here's a download link: https://www.dropbox.com/s/igq41relamoechs/hexdump.bm.zip
In the first line, the fifth last byte is the start of the message, I think you can work your way from there. Note that the dump isn't even 801987 bytes long, but you can find two other messages at the end. There are probably more messages before that, as I can't really search in the hexdump.
from pybitmessage.
I've seen your commit where you used the socket.sendall method instead of socket.send. After reading the documentation, I think that could have fixed this issue. I'll update if it persists.
from pybitmessage.
Excellent. I had a feeling last night that this would also fix your issue. You will still get this issue if you are connected to Ubuntu users who are using version Bitmessage 0.2.7 and earlier though.
from pybitmessage.
I've updated the PyBitmessage client and repeated my tests, it seems to be working.
from pybitmessage.
Related Issues (20)
- Append `*.sql` files into `buildozer.spec`
- APPImage doesn't connect anymore HOT 8
- Bitmesage Plus enhanced security
- Pyelliptic is deprecated HOT 1
- Arch Linux is missing a maintainer
- Linux Mint 21 (cinnamon) incompatibility
- Incorrect stream offset in `HandleDisseminatePreEncryptedMsg`
- *
- Peter Surda (Peter Šurda) poses a significant threat to Bitmessage. HOT 3
- PyQt4 module is not availabale anymore HOT 3
- Newbie on Linux(Ubuntu) with AppImage HOT 1
- Appimage release
- 中文比特channel (ad, can close me)
- How to setup the development environment which is identical to the one core developers are using? HOT 14
- How about using the "Black" code formatter on the whole codebase?
- Don't use "hello %1".arg("world") : arg() can't be used in Python 3 HOT 6
- objectracker.py should be renamed to objecttracker.py
- Texts of the peers are almost invisible on Dark theme of GTK HOT 1
- msgid is stored as text type HOT 5
- OpenBSD connectivity issues HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pybitmessage.