Commit Graph

81279 Commits

Author SHA1 Message Date
Gtker f5212ff5cb WOW: Add realmlist support for 2.4.3
Wiki:
https://wowdev.wiki/CMD_REALM_LIST_Server

C++ implementation:
ee05ec5a40/src/realmd/AuthSocket.cpp (L821)
2021-06-09 05:53:52 +00:00
Gtker 5d6dcbcdd2 WOW: Add TBC support for logon proof server to client
Wiki:
https://wowdev.wiki/CMD_AUTH_LOGON_PROOF_Server

C++ implementation:
ee05ec5a40/src/realmd/AuthSocket.cpp (L261)
2021-06-09 05:53:52 +00:00
Gtker 3ab1ad6a45 WOW: Refactor parse_logon_proof into two functions
The changes for 2.4.3 and forward brings complexity to fields and
parsing that are best performed in separate functions.
2021-06-09 05:53:52 +00:00
Eugene Adell 8d27c5617d TCP: Don't reassemble OoO segments when TCP SEQ Analysis is not enabled.
In rare circumstances where port numbers are reused and sequence
numbers are lower in the later conversations, disabling TCP
sequence numbers analysis while enabling out-of-order reassembly
was leading to reassembly inconsistency. Closes #15096.
2021-06-09 05:38:19 +00:00
basakkalfa 7132fcaeb0 PROFINET: DCP SET Block with 0 Block Length
If there is DCP SET block with 0 block length, it is dissected
as erroneous block since DCP SET block can not have 0 block
length. Moreover, DCPBlockLength is not decoded if DCP option
and suboption is 0. However, each DCP block must have
Option/Suboption/DCPBlockLength. This is also fixed.
2021-06-09 05:23:16 +00:00
Thomas Dreibholz d346ab21d6 Updated unit test with relative sequence numbers. 2021-06-09 05:08:11 +00:00
Thomas Dreibholz 29f8579ac1 Pointer "ha" needs to be checked before using it. 2021-06-09 05:08:11 +00:00
Thomas Dreibholz 927b9619e0 Minor clean-ups. 2021-06-09 05:08:11 +00:00
Thomas Dreibholz a91231f1a0 SCTP: Added option to show relative TSNs instead of absolute ones. 2021-06-09 05:08:11 +00:00
Chuck Craft 55511e61bb Qt: Protocol Hierarchy - protocol abbrev tooltip
Closes #16781
2021-06-09 04:52:29 +00:00
Chuck Craft bfd5e3f9aa Qt: Protocol Hierarchy - protocol abbrev tooltip
Partial solution for #16781
2021-06-09 04:52:29 +00:00
Chuck Craft 26210c1fe9 WSUG: README.Debian - update file: link; add online link
Debian policy (https://www.debian.org/doc/debian-policy/ch-docs.html)
is to store README in gzip format.
Add online link for those without local copy installed.
2021-06-09 04:36:34 +00:00
John Thacker c8301ce979 DVB-S2-BB: Make compute_crc8 offset parameter a guint
There's no reason to limit the tvb offset input parameter of this CRC8
function to a guint8, particularly now that the User Packet CRCs
later in the Base Band Frame are being checked.
2021-06-08 19:30:30 -04:00
Isaac Boukris 07bc6e4399 krb5: fix PAC server signature verification in U2U 2021-06-08 17:36:44 +00:00
Isaac Boukris f94f22b7f8 krb5: add TGT-REQ/TGT-REP dissection per the U2U RFC draft
https://datatracker.ietf.org/doc/html/draft-swift-win2k-krb-user2user-03
2021-06-08 17:36:44 +00:00
Isaac Boukris 33a61d14b5 credssp: also decrypt TSRequest/pubKeyAuth blobs 2021-06-08 17:36:44 +00:00
Isaac Boukris 81bed686da credssp: decrypt TSRequest/authInfo using the gssapi_wrap handler
and fix TSCredentials/TSPasswordCreds dissection.
2021-06-08 17:36:44 +00:00
Isaac Boukris fa1204c02c credssp: add support for gss-api and krb5 dissection
Since the gssapi handler can cope fine with ntlm blobs, remove the
heuristic in ntlmssp and call the gssapi dissector directly. In turn
we get kerberos support, including decpryption with keytab etc.
2021-06-08 17:36:44 +00:00
Isaac Boukris 6f528e6cd7 credssp: update TSRequest asn1 struct with new optional fields
and limit errorCode and clientNonce to respective versions as per MS-CSSP.
2021-06-08 17:36:44 +00:00
Isaac Boukris 2764f53e20 credssp: fix dissect_credssp_heur() with modern clients (using version 6) 2021-06-08 17:36:44 +00:00
Isaac Boukris 9147201351 credssp: fix dissection in RDP stream
When there are more packets on the stream after credssp, like tpkt-rpd
data, the credssp heuristics fails when invoked by tls and then even the
packets for which the credssp heuristics succeeded do not get dissected
as credssp but as tpkt-continuation data.
To work around that, call the credssp heuristic dissector directly from
the rdp dissector before trying fastpath.
Leave the credssp heursitics in TLS for other protocols such as HTTP
where it may work.
2021-06-08 17:36:44 +00:00
Isaac Boukris 5363626d5a rdp: add basic dissection of fastpath PDUs
See MS-RDPBCGR 5.4.4 Packet Layout in the I/O Data Stream
2021-06-08 17:36:44 +00:00
Developer Alexander 3827f16d37 PTP: Make PTP dissector accessible for lua scripts
Use register_dissector to dissector handle for PTP dissector to make
it accessible by name for lua scripts via Dissector.get().
2021-06-08 17:20:34 +00:00
Joakim Karlsson 37f53ee543 file-pcapng: fix might be clobbered by ‘longjmp’ or ‘vfork’ [-Werror=clobbered] 2021-06-08 17:45:30 +02:00
Martin Mathieson 8775e2c694 check_static.py: remove unused option 2021-06-08 10:47:59 +01:00
Stig Bjørlykke 76a93df87c smb: Fix 32bit build
The maximum size stored in calculated_size is already checked if
bigger than G_MAXUINT32, so add a cast to size_t.
2021-06-08 10:18:10 +02:00
Stig Bjørlykke 1bb3d761b8 epan: Change export_object_entry_t.payload_len to size_t
The *real* maximum object size is size_t, so change payload_len
to match this.
2021-06-08 07:16:22 +00:00
Simon Barber 97e5b64f6f ieee80211_radio: Clarify Aggregate duration field description.
Change-Id: Ieaff474e4be59b5b41a8262431dbfbc6995579c9
2021-06-08 05:32:16 +00:00
John Thacker 73eca0905d DVB-S2-BB: Two coverity flagged issues from !3239
Address two issues found by coverity.
2021-06-07 20:10:41 -04:00
Alexis La Goutte 307b669aa5 ieee80211: rename TBTT Information to Neighbor AP Information 2021-06-07 20:00:47 +00:00
Alexis La Goutte 17893e35c6 rtps-processed: remove unused else block
From review of Luis
2021-06-07 19:27:27 +00:00
Alexis La Goutte aa36919b4b rtps-virtual-transport: Add comment about type of variable
following code review from Luis
2021-06-07 19:27:27 +00:00
Alexis La Goutte a65b879b04 rtps-virtual-transport: Fix unused variable 2021-06-07 19:27:27 +00:00
Alexis La Goutte b65488b4be rtps-processed: Fix Dead Store found by Clang Analyzer
packet-rtps-processed.c:321:13: warning: Value stored to 'offset' is never read [deadcode.DeadStores]
packet-rtps-processed.c:349:13: warning: Value stored to 'offset' is never read [deadcode.DeadStores]
packet-rtps-processed.c:356:9: warning: Value stored to 'offset' is never read [deadcode.DeadStores]
2021-06-07 19:27:27 +00:00
Alexis La Goutte e520217ea5 rtps-virtual-transport: Fix Dead Store
packet-rtps-virtual-transport.c:946:17: warning: Value stored to 'offset' is never read [deadcode.DeadStores]
packet-rtps-virtual-transport.c:995:5: warning: Value stored to 'offset' is never read [deadcode.DeadStores]
2021-06-07 19:27:27 +00:00
João Valverde 586535bdb8 Add documentation for display filter raw string syntax 2021-06-07 18:58:49 +00:00
Gerald Combs 35f5c116ca GitLab CI: Don't clobber the Code Lines before_script. 2021-06-07 11:40:19 -07:00
Gerald Combs e80e118f7a GitLab CI: Add more code line counters.
Count lines using cloc, scc, and tokei in addition to SLOCCount.
2021-06-07 18:20:10 +00:00
João Valverde 2c477efabd WSUG: Add section about regexes and the display filter
Add section about common regex pitfalls and correct some examples.

Also add a more information about the string field type, including
an explanation of byte escape sequences.

Ping #15716.
2021-06-07 18:04:35 +00:00
João Valverde e931336a2d doc: Replace link to pcrepattern(3) 2021-06-07 18:04:35 +00:00
Stig Bjørlykke 44a615e854 Qt: Give a directory to wsApp->setLastOpenDir()
Use wsApp->setLastOpenDirFromFilename() to convert a filename
to a directory name before calling wsApp->setLastOpenDir().

This will ensure to always store a directory instead of a filename
in the recent gui.fileopen_remembered_dir.
2021-06-07 13:52:59 +00:00
Chuck Craft 8c79fa5e1b Qt: add display filter - invalid new filter syntax 2021-06-07 13:36:20 +00:00
Anders Broman 7e9ac7a4fc GTPv2: Additional RRM Policy Index, add Index to IE tree. 2021-06-07 12:15:35 +02:00
Stig Bjørlykke 68e360bf04 ui: Return length from ssl_export_sessions()
All users of ssl_export_sessions() calculates the length of the
returned string, so let's return the length instead.
2021-06-07 08:59:02 +02:00
Stig Bjørlykke 5dbaa8d3b2 wsutil: Add filesystem write_file_binary_mode()
Add a generic function to write content to file. Use this on write
TLS session keys from UI and tshark, and for export objects.

Remove the now unused export_object_ui.[ch].
2021-06-07 06:24:28 +00:00
João Valverde 6895f71574 WSUG: Fix reference to macro syntax
Fixes #17408.
2021-06-07 04:04:30 +01:00
João Valverde 9e1be36071 version info: Clean clang version
__VERSION__ is copied from GCC, clang has __clang_version__.

Apparently clang's __VERSION__ already includes the name:

  Compiled (64-bit) using clang Clang 11.1.0
2021-06-07 00:20:14 +00:00
João Valverde e5cb4ddd87 Qt: Fix clang -Wmisleading-indentation 2021-06-07 00:20:14 +00:00
Michael Tuexen 4ddae68508 pcapng: add support for custom blocks 2021-06-06 21:15:35 +00:00
João Valverde 4aff36d501 Replace g_assert() with ws_assert() in places 2021-06-06 20:05:26 +00:00