-
Notifications
You must be signed in to change notification settings - Fork 1.6k
nfsv2: implement WRITE procedure support. #14185
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
Conversation
Implements support for the NFSv2 WRITE procedure, including decoding of WRITE requests and responses. This enhances NFSv2 protocol coverage and prepares for further testing and validation. Fixes: OISF#4946
|
NOTE: This PR may contain new authors. |
|
Did this pass your local testing? |
victorjulien
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should pass NFS SV tests (and all other tests)
I think this is because the NFSv2 implementation is now properly detecting WRITE and READ operations, which trigger multiple alerts. |
|
Can you be a bit more specific? Review the test pcaps to confirm the addition WRITE's exist, that Suricata logs them, etc. Also, please explain the failure in |
jufajardini
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In addition to Victor's comments:
- as stated by Philippe on the previous PR, in the commit message, what you do mean by "prepares for further testing and validation"? (cf #14171 (review))
- this PR seems to contain lots of changes that are just formatting changes. Formatting changes that are unrelated to the work done in the commit should either be avoided entirely, or, if not possible, be part of a separate commit, please. This makes it much easier to review, and also ensures commits are semantically related to the changes they bring in.
Thanks for the review, the format was about a script I wrote to make sure no formatting errors, but it shouldnt really be so. |
I understand, but we already have formatting checks, and, in all cases, those should go in separate commits :) Could you please address Philippe's question, since the commit message for this PR still states the same? |
|
requested changes have been addressed in this PR #14251 |



Issue #4946
Make sure these boxes are checked accordingly before submitting your Pull Request -- thank you.
Contribution style:
https://docs.suricata.io/en/latest/devguide/contributing/contribution-process.html
Our Contribution agreements:
https://suricata.io/about/contribution-agreement/ (note: this is only required once)
Changes (if applicable):
https://redmine.openinfosecfoundation.org/projects/suricata/issues
Link to ticket: https://redmine.openinfosecfoundation.org/issues/4946
Describe changes:
Provide values to any of the below to override the defaults.
link to the pull request in the respective
_BRANCHvariable.SV_REPO=
SV_BRANCH=OISF/suricata-verify#2729
SU_REPO=
SU_BRANCH=
James Kaddu: [email protected]