Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Ensure flow ID transmission #48

Merged
merged 2 commits into from
Sep 10, 2019
Merged

Ensure flow ID transmission #48

merged 2 commits into from
Sep 10, 2019

Conversation

satta
Copy link
Member

@satta satta commented Sep 2, 2019

syslog-ng apparently has a bug (to be confirmed) that will silently convert JSON numbers larger than INT_MAX to strings containing INT_MAX in decimal. Obviously this issue causes the same wrong flow ID to be reported for all forwarded events. This MR introduces a workaround: flow IDs are converted to strings within FEVER before being forwarded, so this problem does not occur.

types/eve.go Outdated Show resolved Hide resolved
@satta satta merged commit b3d4e88 into DCSO:master Sep 10, 2019
@satta satta deleted the flowids branch September 10, 2019 08:55
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants