SCTP: Support printing some latest chunk types#994
Closed
CacheUseOnly wants to merge 5 commits intothe-tcpdump-group:masterfrom
Closed
SCTP: Support printing some latest chunk types#994CacheUseOnly wants to merge 5 commits intothe-tcpdump-group:masterfrom
CacheUseOnly wants to merge 5 commits intothe-tcpdump-group:masterfrom
Conversation
added 5 commits
July 5, 2022 14:29
Add support for printing SCTP I-DATA chunk based on RFC8260 section 2.1 Prints payload when vflag leve is greater than 1.
Add support for printing I-FORWARD chunk based on RFC8260 section 2.3. Remove REL_CTL (RFC3758) since it is obsolete and it uses the value '0xc2' of I-FORWARD for CNTL_ACK. Print stream IDs and message IDs with `-vv` set.
Add support for printing RE-CONFIG chunk based on RFC6525 section3.1. Prints all optional parameters when `-vv` is set. Example: [RE-CONFIG] [OUT SSN RESET: REQ SEQ:, RES SEQ:, Last TSN:, SID 0 1]
Add support for printing ASCONF and ASCONF-ACK chunk based on RFC5061. Remove REL_CNTL(0xc1) because it's obsolete and conflicts with ASCONF. Prints all ASCONF parameters with `-vv` set. `-vv` Example: [ASCONF] [SEQ: .., ADDR: 192...] [DEL ADDR: C-ID: 0, ADDR: 192...] [ASCONF-ACK] [SEQ: 4161214189] `-v` Example: [ASCONF] [SEQ: .., ADDR: 192...] [DEL ADDR]
Add support for printing PAD chunk based on RFC4820 section3. Example: [PAD]
Member
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Some new SCTP chunk types are implemented in Linux kernel but not yet supported by
tcpdumpto print them appropriately. These patches add corresponding supports for chunks below:Reviewers: marcelo.leitner@gmail.com, lucien.xin@gmail.com
Sign-off-by: luoyuxuan.carl@gmail.com