aboutsummaryrefslogtreecommitdiffstats
path: root/epan
AgeCommit message (Collapse)AuthorFilesLines
2023-03-11WIP: dissector for vsmartcard protocollaforge/rsproHarald Welte2-0/+172
Change-Id: Iba8cbe09b14fcd0644cc3d09303eab1ef71fbca3
2023-03-11rspro: re-order ASN1 choice members to work around wireshark asn.1 bugHarald Welte2-24/+24
It seems that for some reason the asn2wrs.py code generator cannot deal with ASN.1 choices being defined with their numeric values defined in non-ascending order. Other ASN.1 code genreation tools work perfectly fine under such conditions. The decode error happens in the COL_INFO: The numeric value of the choice is mapped to a wrong entry in the string table, resulting in the wrong message type being shown in the INFO column. We apply this patch to the ASN.1 source of the RSPRO protocol definition to fix the decode.
2023-03-11WIP: Osmocom RSPRO dissector supportHarald Welte10-0/+1778
The Osmocom RSPRO protocol is a protocol for remote SIM card access, i.e. extending the SIM card interface between phone/mdoem (UE) and a remote SIM card reader. The primary user of this protocol is osmo-remsim software suite, which can be found at https://osmocom.org/projects/osmo-remsim/wiki RSPRO is specified in ASN.1 using BER and runs on top of the IPA multiplex (protocol-gsm_ipa.c). Change-Id: Ibcdb2c92281d05c36e3973de4d7ec4aa0cd9b207
2023-03-11TLS: Fail without exception when decrypting truncated recordsJohn Thacker2-3/+8
On truncated TLS records, just fail when attempting to decrypt or calculate the handshake hash instead of raising an BoundsError. The appropriate exception will be raised later when fields are actually added to the tree. This only makes a difference on the first pass, especially with unencrypted initial handshake messages, as we don't try to decrypt or calculate the hash on the second pass. Fix #18896
2023-03-10UDS: make code more readable by reformatting HFsDr. Lars Völker1-493/+131
2023-03-10New dissector for GSM L2RCOP (3GPP TS 27.002)Harald Welte3-1/+184
This is a dissector for the GSM "Layer 2 Relay Character Oriented Protocol" as used in non-transparent CSD (Circuit Switched Data) calls in GSM and UMTS cellular networks.
2023-03-10Add new dissector for GSM RLP protocol (3GPP TS 24.022)Harald Welte4-0/+341
This protocol is used in the user plane of non-transparent CSD (Circuit Switched Data) calls in GSM networks. RLP frames are sent over the Um air interface, and are sent as modified V.110 frames over 64k TDM channels in the back-haul/core network. For modern implementations, this means in RFC4040 RTP CLEARMODE. As there's no V.110 decoder in wireshark, we cannot connect the RLP decoder to that. However, we hook it up to the GSMTAP dissector to enable other software to pass the decoded RLP frames into wireshark.
2023-03-10UDS: Cleanup and reworkDr. Lars Völker1-85/+292
2023-03-10Add Silicon Labs copyright to packet-wisun.cMathis Marion1-0/+1
2023-03-10Use Wi-SUN PHY mode ID dissector for MDR commandMathis Marion1-24/+51
2023-03-10Add Wi-SUN MDR command dissectorMathis Marion1-0/+43
2023-03-10Always dissect IEEE 802.15.4 vendor command OUIMathis Marion1-2/+2
This changes the tree received by registered vendor dissectors (the OUI isn't part of the dissected tree anymore). Thankfully there are currently no dissector registered.
2023-03-10Fix build warningshidd3ncod3s3-82/+53
2023-03-10Generate SRVSVC parser using PIDLhidd3ncod3s2-3629/+4912
2023-03-10Update SRVSVC IDL and CNFhidd3ncod3s2-200/+256
2023-03-09IEC104: Unifying filter namesJiří Engelthaler1-13/+24
2023-03-09ORAN FH CUS: Expert malformed info if > 3 bytes in frame after PDUMartin Mathieson1-1/+17
2023-03-09Add support for Wi-SUN JM-IE and JM-PFLMathis Marion1-0/+130
2023-03-09Add support for Wi-SUN LBATS-IEMathis Marion1-0/+44
2023-03-09Drop support for Wi-SUN NR-IE Listening TypeMathis Marion1-14/+0
This feature was dropped between versions 1.1v00 and 1.1v01 of the Wi-SUN FAN specification.
2023-03-09TECMP: Cleanup and fix unitsDr. Lars Völker1-9/+7
- The Voltage was not showing the unit V. - The temperatures now use directly the base unit degree Celsius.
2023-03-09ORAN FH CUS: Add an array length checkGerald Combs1-1/+1
Fixes #18895.
2023-03-08netlink: Add netfilter conntrack status flag hw_offloadJaap Keuter1-0/+9
2023-03-08netlink: Add netlinkrt handling of RTM_SETLINKJaap Keuter1-0/+1
References #18697
2023-03-08netlink: implement new identifiers from Linux 6.2 kernelJaap Keuter5-11/+373
2023-03-08TRDP: Fixed typo and indentation in packet-trdp.cIgor Dmitriev1-2/+2
2023-03-08TRDP: Add dissector for TRDP protocolIgor Dmitriev2-0/+295
2023-03-08UDS: Remove unneeded functions to clean up codeDr. Lars Völker1-63/+18
Removed the following functions as they are not needed anymore: - masked_guint8_value - tvb_get_guintX
2023-03-08ieee80211: Add a field for WLAN FlagsStig Bjørlykke1-0/+9
Add the frame control flags string to a new field. This can be used in a custom column, similar to TCP Flags.
2023-03-07ORAN FH CUS: Misc usability changesMartin Mathieson1-40/+37
2023-03-07SOME/IP: UDP Heur should not always return TRUE (BUGFIX)Dr. Lars Völker1-9/+5
The old SOME/IP Heur always returned true, even for non SOME/IP. This is fixed now.
2023-03-07SMPP: Add command/response fieldDavid Perry1-3/+26
2023-03-07USBLL: Remove unnecessary packet ends transfer checkTomasz Moń1-3/+2
Check whether last received packet ended transfer on STALL only if there was active transfer key set. This fixes failed transfer type assertion for control transfers without data stage that were STALLed by device (during status stage).
2023-03-06ORAN FH CUS: Also configure ext11 using ext12 settingsMartin Mathieson1-32/+106
2023-03-06Add Wi-SUN IEEE 802.11 KDE dissectorMathis Marion1-1/+169
This adds the following KDEs defined by the Wi-SUN FAN specification: - Pairwise Transient Key KDE (PTKID) - Group Transient Key Liveness KDE (GTKL) - Node Role KDE (NR) - LFN Group Transient Key KDE (LGTK) - LFN Group Transient Key Liveness KDE (LGTKL)
2023-03-06Support Wi-SUN EAPOL Key Data dissectionMathis Marion1-1/+8
The Wi-SUN FAN specification describes the format of the EAPOL-Key frame in section 6.5.2.2 (Authentication and PMK Installation Flow): Descriptor Type = 2 Key Information: 1. Key Descriptor Version = 2 2. Key Type = 0 3. Install = 0 4. Key Ack = 0 5. Key MIC = 0 6. Secure = 0 7. Error = 0 8. Request = 1 9. Encrypted Key Data = 0 10. SMK Message = 0 11. Reserved = 0 Key Length = 0 Key Replay Counter = see [IEEE802.11] section 11.6.2. Key Nonce = 0 EAPOL-Key IV = 0 Key RSC = 0 Key MIC = 0 Key Data Length = length of Key Data field in octets. Key Data = PMKID KDE if the PMK is live, PTKID KDE if the PTK is live, GTKL KDE, Node Role KDE, and LGTKL KDE. The current dissector will try do decrypt if the Key Type is 0 while the Encrypted Key Data is unset, which appears to be for supporting non-standard WPA implementations. The Key Data is not encrypted in Wi-SUN, so a workaround is made to dissect the Key Data if the Key Length is 0.
2023-03-06Add id-kp-wisun-fan-device object identifierMathis Marion1-0/+3
Defined in the Wi-SUN FAN specification as: id-kp-wisun-fan-device ::= { iso(1) identified-organization(3) dod(6) internet(1) private(4) enterprise(1) Wi-SUN (45605) FieldAreaNetwork(1) }
2023-03-06PFCP: add BBF TR-459.2 and TR-459.3 IEsAndreas Schultz1-2/+376
2023-03-06PFCP: readd TP Created NAT BindingAndreas Schultz1-0/+1
Was dropped in error in ccbc0d5fe9355177dd88b8e28551021da3d1ee2d
2023-03-06colors: Improve handling of errorsJohn Thacker2-6/+2
Pop up a dialog about bad coloring rules when reading the file (e.g., when first starting Wireshark), rather than waiting until you try to edit them. Have that dialog have details of the problem with the filter instead of a generic message. The report_warning code will consolidate multiple warnings into one if more than one filter has an error, rather than have lots of pop-ups. Since the dialog (or console message, in the unlikely event that somehow the colorfilters are read in a CLI tool) is called from the color filters code, get rid of the separate non-specific pop-up in ColoringRulesDialog and the special preference for having a bogus filter. Now, if the user has a bogus filter in the current profile's colorfilter, they'll get a useful pop-up warning at startup, when that filter is disabled. For filters imported / copied from other profiles through the coloring rules dialog, they'll get the same useful pop-up. For trying to enable a disabled coloring rules with an error, or inserting a *new* coloring rule with invalid filter expression (despite the editor's Red background warning about an invalid expression), there's already both the hint at the bottom of the screen and the OK button becomes disabled. (Maybe the hint could be larger or bold or something when there's an error.) Fix #14906. Fix #15034
2023-03-06ORAN FH CUS: Section ext11 configured by ext13Martin Mathieson1-40/+92
2023-03-06ieee80211: Save AKM_KEY for tag number 221Stig Bjørlykke1-0/+1
Tag number 221 (Microsoft WPA Information Element) contains an AKM type. Save this to fix wlan decryption when this tag is used by Access Point.
2023-03-05UDS: Show unparsed bytesDr. Lars Völker1-260/+173
This patch cleans up the offset and length handling to allow showing unparsed bytes.
2023-03-05ORAN FH CUS: ext11 bundles can be configured using ext6Martin Mathieson1-41/+157
2023-03-05TECMP: cleanup endianness for 1 Byte fieldsDr. Lars Völker1-3/+2
2023-03-04VNC: Fix accidental offset increment in RREJohn Thacker1-1/+0
This was accidentally added in f4242568896a611cfc563c90b57a421ad2805f31 and is clearly incorrect: https://www.rfc-editor.org/rfc/rfc6143#section-7.7.3 Fix #18883
2023-03-04Follow: Remove some unused codeJohn Thacker1-7/+0
2023-03-03UDS: Use wmem to create a stringJohn Thacker1-1/+1
Related to #18878
2023-03-03UDS: fixing typos indification and sub-functionDr. Lars Völker1-11/+11
2023-03-03epan: Do not try to add a bits item with negative bit lengthJohn Thacker1-2/+9
A negative number of bits in a bit item isn't allowed. Treat it as a very large number (i.e., as unsigned), and throw a ReportedBoundsError. This was already happening in most cases, but not in the edge case of a number of bits between -1 and -7 (which was being rounded up to 0 octets and passed our length checks.) Fix #18877