epam / epam/nfstrace

CIFSv1 and CIFSv2 parsing do not work correct on BE platforms

Open
#9 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
166
Forks
36
PR merge metrics
No merged PRs in 30d

Description

The CIFSv1/v2 implementation does not perform conversion of Request/Responce messages' fields from LE encoding(native CIFS representation in traffic) to host encoding (on BE platforms).
As result, values of Request/Responce messages' fields are wrong.

Currently it is hotfixed via special conversion [NST::API::SMBv2::pc_to_net](https://github.com/epam/nfstrace/commit/ade6d79ee0c2b9a08bdba0c4f849f61931e24d5e#diff-c75ca887bf21db1bbff50a57145f0f14L559).

The problem is that unconverted values are available via API for plugins.

Affected components:
- third-party plug-ins
- PrintAnalyzer

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.