Skip to content

enip: convert to rust#10850

Closed
catenacyber wants to merge 1 commit into
OISF:masterfrom
catenacyber:enip-rust-3958-v16
Closed

enip: convert to rust#10850
catenacyber wants to merge 1 commit into
OISF:masterfrom
catenacyber:enip-rust-3958-v16

Conversation

@catenacyber
Copy link
Copy Markdown
Contributor

@catenacyber catenacyber commented Apr 15, 2024

Link to redmine ticket:
https://redmine.openinfosecfoundation.org/issues/3958

Describe changes:

  • convert enip parser to rust

Alon the way, also

  • transactions are now bidirectional
  • there is a enip logger
  • gap support is improved with probing for resync
  • frames
  • events
  • enip_command keyword accepts now string enumeration as values.
  • more keywords, to have parity with logging

#10417 rebased after merge of #10819

SV_BRANCH=OISF/suricata-verify#1666

Ticket: 3958

- transactions are now bidirectional
- there is a logger
- gap support is improved with probing for resync
- frames support
- app-layer events
- enip_command keyword accepts now string enumeration as values.
- add enip.status keyword
- add keywords :
    enip.product_name, enip.protocol_version, enip.revision,
    enip.identity_status, enip.state, enip.serial, enip.product_code,
    enip.device_type, enip.vendor_id, enip.capabilities,
    enip.cip_attribute, enip.cip_class, enip.cip_instance,
    enip.cip_status, enip.cip_extendedstatus
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 15, 2024

Codecov Report

Attention: Patch coverage is 43.37767% with 1958 lines in your changes are missing coverage. Please review.

Project coverage is 82.33%. Comparing base (784ce30) to head (a0455c1).
Report is 27 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #10850      +/-   ##
==========================================
- Coverage   82.83%   82.33%   -0.51%     
==========================================
  Files         913      932      +19     
  Lines      246847   249173    +2326     
==========================================
+ Hits       204474   205152     +678     
- Misses      42373    44021    +1648     
Flag Coverage Δ
fuzzcorpus 63.48% <33.52%> (-0.83%) ⬇️
suricata-verify 61.56% <38.83%> (-0.53%) ⬇️
unittests 61.77% <11.22%> (-0.56%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

@suricata-qa
Copy link
Copy Markdown

Information: QA ran without warnings.

Pipeline 20077

@catenacyber catenacyber added the needs rebase Needs rebase to main label Apr 18, 2024
@catenacyber
Copy link
Copy Markdown
Contributor Author

Rebased in #10901

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs rebase Needs rebase to main

Development

Successfully merging this pull request may close these issues.

2 participants