Skip to content
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

[Filebeat] rfc6587 framing for fortinet firewall #23837

Merged
merged 2 commits into from Feb 9, 2021

Conversation

leehinman
Copy link
Contributor

What does this PR do?

Changes fortinet firewall & clientendpoint filesets to use rfc6587
framing when transferring logs via syslog over TCP

Why is it important?

This is necessary to support syslog messages inside TLS and over TCP
if octet counting is used.

Checklist

- [ ] My code follows the style guidelines of this project
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation

  • I have made corresponding change to the default configuration files
  • I have added tests that prove my fix is effective or that my feature works
  • I have added an entry in CHANGELOG.next.asciidoc or CHANGELOG-developer.next.asciidoc.

How to test this PR locally

Use pysyslogclient or other syslog client that can send using octet counting.

@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label Feb 3, 2021
@elasticmachine
Copy link
Collaborator

Pinging @elastic/security-external-integrations (Team:Security-External Integrations)

@botelastic botelastic bot removed the needs_team Indicates that the issue/PR needs a Team:* label label Feb 3, 2021
- use rfc6587 framing when transferring fortinet firewall logs via
  syslog over TCP
- use rfc6587 framing when transferring fortinet clientendpoint logs
  via syslog over TCP
@leehinman leehinman added bug Filebeat Filebeat needs_backport PR is waiting to be backported to other branches. labels Feb 3, 2021
@elasticmachine
Copy link
Collaborator

elasticmachine commented Feb 3, 2021

💚 Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS
Pipeline View Test View Changes Artifacts preview

Expand to view the summary

Build stats

  • Build Cause: Pull request #23837 updated

  • Start Time: 2021-02-09T14:29:01.722+0000

  • Duration: 48 min 21 sec

  • Commit: 6cdcae5

Test stats 🧪

Test Results
Failed 0
Passed 6821
Skipped 1049
Total 7870

Trends 🧪

Image of Build Times

Image of Tests

💚 Flaky test report

Tests succeeded.

Expand to view the summary

Test stats 🧪

Test Results
Failed 0
Passed 6821
Skipped 1049
Total 7870

Copy link
Member

@andrewkroh andrewkroh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@leehinman leehinman merged commit ed01b8f into elastic:master Feb 9, 2021
@leehinman leehinman deleted the fortinet_octet_framing branch February 9, 2021 15:30
@leehinman leehinman added v7.12.0 and removed needs_backport PR is waiting to be backported to other branches. labels Feb 9, 2021
leehinman added a commit to leehinman/beats that referenced this pull request Feb 9, 2021
- use rfc6587 framing when transferring fortinet firewall logs via
  syslog over TCP
- use rfc6587 framing when transferring fortinet clientendpoint logs
  via syslog over TCP

(cherry picked from commit ed01b8f)
leehinman added a commit that referenced this pull request Feb 10, 2021
- use rfc6587 framing when transferring fortinet firewall logs via
  syslog over TCP
- use rfc6587 framing when transferring fortinet clientendpoint logs
  via syslog over TCP

(cherry picked from commit ed01b8f)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants