-
Notifications
You must be signed in to change notification settings - Fork 851
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tarantool binary protocol support #1023
base: master
Are you sure you want to change the base?
Conversation
c07b9fe
to
0268ccd
Compare
This isn't compiling with Visual Studio 2015; does it require a later version of Visual Studio? |
0268ccd
to
ed072b3
Compare
Should not require, I'm now dealing with all the fails. |
b0e124c
to
4d666ec
Compare
Yes, MSVC 2015 is too old to compile the msgpuck library. Is this a critical issue? |
Can you explain what the problems are with this version? |
Unfortunately, I don't have an operating system where I can debug a build with MSVC. I need more time to understand what the problem is in the blind. |
(Because MSVC 2015 is able to build tcpdump since 2018.) |
Please avoid non ASCII code and output:
|
Are you sure? |
Or another library? |
Apparently the library is already quite well distributed, I will remake the PR to an external dependency. Though I don’t really understand how to be then with CI and a new dependency. All tests will definitely fail. |
There can be conditional tests. See e.g. |
53349bd
to
58e6e7f
Compare
Fixed. Added base64 encoding of binary data to the msgpuck library. |
Fixed. The msgpuck library contained a bug in the code that caused it to fail to build on MSVC. |
58e6e7f
to
b2c0ee3
Compare
@fxlb, Is there anything else I need to fix? |
I don't see the update. Do you have pushed it? Another important point: |
Thanks for the answer. I had to leave the built-in version of msgpuck since upstream prints binary data as is. In the built-in version, I fixed it: // Fixed. Added base64 encoding of binary data to the msgpuck library. With regards to the rest - proceeded to correct. |
It's not the goal of tcpdump to add/maintain the source code of an external library. For libmsgpuck-dev, it's like libsmi2-dev in tcpdump. we need to link to it and use it if the configure/cmake finds it. The Tarantool dissector will be present if libmsgpuck-dev will be found on the system where the build is being done. |
Understood. I will remove msgpuck from the tcpdump source code and provide a workaround to print binary data. |
876db26
to
a3850fd
Compare
a3850fd
to
43667cf
Compare
Hello, pull request updated:
|
9561bd7
to
0337cf4
Compare
Something wrong with Update: problem with CI is gone. |
0337cf4
to
13d4b33
Compare
Added Tarantool binary protocol parsing (IPROTO). Protocol info From IANA database: Service Name: tarantool Port Number: 3301 Transport Protocol: tcp/udp Description: Tarantool in-memory computing platform
13d4b33
to
993211a
Compare
Added Tarantool binary protocol parsing (IPROTO).
Protocol info From IANA database:
Service Name: tarantool
Port Number: 3301
Transport Protocol: tcp/udp
Description: Tarantool in-memory computing platform