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

Quic ietf 4967 v20 #7678

Merged
merged 11 commits into from
Aug 3, 2022
Merged

Quic ietf 4967 v20 #7678

merged 11 commits into from
Aug 3, 2022

Conversation

catenacyber
Copy link
Contributor

Link to redmine ticket:
https://redmine.openinfosecfoundation.org/issues/4967
https://redmine.openinfosecfoundation.org/issues/5143
https://redmine.openinfosecfoundation.org/issues/5166

Describe changes:

  • Parses standardized QUIC IETF v1
  • Parses gquic version Q039, 0xfaceb002, etc...
  • JA3 logging and detection on quic
  • Adds quic events and rules
  • bump up rust carte tls_parser already used by rep, so that it can be used by quic
  • Rustfmt previous code

suricata-verify-pr: 783
OISF/suricata-verify#783

Replaces #7676 fixing commit-check

catenacyber and others added 11 commits August 2, 2022 14:31
so that we can use new functions in quic parser
so that we can use hkdf crate for quic
The format of initial packet for quic ietf, ie quic v1,
is described in rfc 9000, section 17.2.2

Parse more frames and logs interesting extensions from crypto frame

Do not try to parse encrypted data, ie after we have seen
a crypto frame in each direction.

Use sni from crypto frame with tls for detection already implemented

Ticket: OISF#4967
Logging as is done in TLS.

Detection using the generic generic ja3.string keyword

Ticket: OISF#5143
adding ja3 and extension fields
@codecov
Copy link

codecov bot commented Aug 2, 2022

Codecov Report

Merging #7678 (f3b6fd3) into master (5f4bcfe) will decrease coverage by 0.00%.
The diff coverage is 54.83%.

@@            Coverage Diff             @@
##           master    #7678      +/-   ##
==========================================
- Coverage   75.93%   75.92%   -0.01%     
==========================================
  Files         659      659              
  Lines      185639   185669      +30     
==========================================
+ Hits       140958   140963       +5     
- Misses      44681    44706      +25     
Flag Coverage Δ
fuzzcorpus 60.64% <23.33%> (-0.08%) ⬇️
suricata-verify 52.58% <48.38%> (+0.03%) ⬆️
unittests 60.71% <14.28%> (-0.01%) ⬇️

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

@suricata-qa
Copy link

Information: QA ran without warnings.

Pipeline 8464

@victorjulien victorjulien mentioned this pull request Aug 3, 2022
@victorjulien victorjulien merged commit f3b6fd3 into OISF:master Aug 3, 2022
@victorjulien
Copy link
Member

Thanks Philippe, nice work!

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

Successfully merging this pull request may close these issues.

3 participants